Vera - Smarter Home Control Forum

Advanced => Programming => DIY Hardware => Topic started by: DylanBalloo on September 21, 2016, 10:24:05 am

Title: Z-Uno
Post by: DylanBalloo on September 21, 2016, 10:24:05 am
Hello Vera Community,
Has anyone ever worked the new board Z-Uno for any project.
https://z-uno.z-wave.me/ (https://z-uno.z-wave.me/)
Is it compatible with the Vera Edge.
Thanks
Regards
Dylan
Title: Re: Z-Uno
Post by: akbooer on September 21, 2016, 12:50:41 pm
No, but it looks quite interesting.  There's already a plugin which accesses Arduino-based sensors https://www.mysensors.org/controller/vera, and two under development to access the ZWave.me Razberry board or their UZB stick via openLuup: http://forum.micasaverde.com/index.php/topic,38297.0.html and http://forum.micasaverde.com/index.php/topic,39261.0.html

So a plugin which was sort of cross between the two would make an interesting addition to the options we have for accessing ZWave devices.
Title: Re: Z-Uno
Post by: Z-Waver on September 21, 2016, 03:40:24 pm
They indicate Vera compatibility (https://z-uno.z-wave.me/z-wave/interoperability-with-z-wave-controllers/) on their site.

If you're familiar with Arduino, I'd say go for it. I certainly will as soon as(if) they are available in the U.S. But, if you're not really familiar with Arduino, this is probably not for you.
Title: Re: Z-Uno
Post by: rumen33 on October 05, 2016, 02:05:03 pm
Z-Uno is very useful device and full Vera support will be great.
Title: Re: Z-Uno
Post by: PoltoS on July 11, 2017, 06:28:57 pm
They indicate Vera compatibility (https://z-uno.z-wave.me/z-wave/interoperability-with-z-wave-controllers/) on their site.

All popular sensor types are supported by Vera. But exotic pressure/distance/radiation/... sensors are not visible in Vera.

I certainly will as soon as(if) they are available in the U.S.

Now it is available. Check https://z-uno.us (https://z-uno.us)

I think now once it is available in US, there would be more Vera Edge/Plus users and MiCasaVerde will make a better support of Z-Uno.
Title: Re: Z-Uno
Post by: Sammy2 on July 12, 2017, 12:47:55 pm
They indicate Vera compatibility (https://z-uno.z-wave.me/z-wave/interoperability-with-z-wave-controllers/) on their site.

All popular sensor types are supported by Vera. But exotic pressure/distance/radiation/... sensors are not visible in Vera.

I certainly will as soon as(if) they are available in the U.S.

Now it is available. Check https://z-uno.us (https://z-uno.us)

I think now once it is available in US, there would be more Vera Edge/Plus users and MiCasaVerde will make a better support of Z-Uno.

And Vera needs to get more interoperability!
Title: Re: Z-Uno
Post by: poordom on July 14, 2017, 07:53:58 pm
Hello Vera Community,
Has anyone ever worked the new board Z-Uno for any project.
https://z-uno.z-wave.me/
Is it compatible with the Vera Edge.
Thanks
Regards
Dylan

Good evening All,

As anyone started working with the Z-Uno card yet.

I have just placed an order for 1, hopefully my lack of experience and programming skills, won't cripple me.

Does one need a specific Plug-In for this unit.

Dom
Title: Re: Z-Uno
Post by: zedrally on July 14, 2017, 09:57:28 pm
No plugin needed.
Hopefully the mods can start a seperate group for this.

You can also read some discussion on Z-UNO here;

http://forum.micasaverde.com/index.php/topic,49661.msg324637.html#msg324637 (http://forum.micasaverde.com/index.php/topic,49661.msg324637.html#msg324637)

some on the Home Seer forums here:

https://forums.homeseer.com/showthread.php?p=1315013#post1315013 (https://forums.homeseer.com/showthread.php?p=1315013#post1315013)

Technical and further questions can be raised here:

http://forum.z-wave.me/viewforum.php?f=3427&sid=1c8cea40e5e4cceb63e174747b0e11c5 (http://forum.z-wave.me/viewforum.php?f=3427&sid=1c8cea40e5e4cceb63e174747b0e11c5)

You will find that you are only limited by your imagination with this device, I'm just scratching the surface and see unlimited possibilities and look forward to reading how others are using ZUNO.
Title: Re: Z-Uno
Post by: mvader on July 15, 2017, 01:24:18 pm
not to poo poo on anyone who has a legitimate use for this device.. but i don't see the appeal at $76
you can get a nodemcu for like $2-3
this appears to be zwave + arduino = $76
nodemcu is wifi+arduino = $3
what am i missing?
Title: Re: Z-Uno
Post by: akbooer on July 15, 2017, 02:24:44 pm
what am i missing?

Market volume?
Title: Re: Z-Uno
Post by: zedrally on July 15, 2017, 04:42:00 pm
Same could be said about Zig Bee, horses for Courses and time will tell.
Title: Re: Z-Uno
Post by: poordom on July 16, 2017, 03:20:47 pm
not to poo poo on anyone who has a legitimate use for this device.. but i don't see the appeal at $76
you can get a nodemcu for like $2-3
this appears to be zwave + arduino = $76
nodemcu is wifi+arduino = $3
what am i missing?

I fully agree with you about the price, I wasn't aware of Nodemcu, I will keep it in mind.

I chose the Z-Uno, because, I am not a programmer, or an engineer, and I wanted a simple access to       Z-Wave, without having to learn all the Z-Wave stuff.

Dom
Title: Re: Z-Uno
Post by: zedrally on July 16, 2017, 06:39:39 pm
What most forget is that this is native Z-Wave not WiFi, 433 or other communication frequencies and protocols.


If you want a development board to integrate directly without serial adaptors or plugins then this cuts other devices out of the loop.


With the WiFi spectrum becoming flooded, it's easy to forget that WiFi devices  and their ilk may not function correctly, while Z-Wave on it's dedicated frequency will.


I have several projects for this in mind, one of which involves communication with a MegaA. To me that is combining the best of both worlds.
Title: Re: Z-Uno
Post by: mvader on July 17, 2017, 11:14:33 am
What most forget is that this is native Z-Wave not WiFi, 433 or other communication frequencies and protocols.


If you want a development board to integrate directly without serial adaptors or plugins then this cuts other devices out of the loop.


With the WiFi spectrum becoming flooded, it's easy to forget that WiFi devices  and their ilk may not function correctly, while Z-Wave on it's dedicated frequency will.


I have several projects for this in mind, one of which involves communication with a MegaA. To me that is combining the best of both worlds.

if this is a product that you are trying to sell or get a kick back from, then i understand and i'm not trying to be a hater.
but to me this is very expensive and you can accomplish the same task far cheaper. for example, i'm putting in some under cabinet lighting.
I considered a native zwave solution, using the fibario rgb device, it's $70. i purchased a node mcu for $6 and am achieving the same results.
I personally don't have any wifi reliability issues, but I recognize that is subjective to the environment. but i have dozens of wifi devices, as well as zwave, 433 and other RF devices. I really don't have any issues with them.
I would certainly prefer to have a native zwave solution. but the cost to implement vs going wifi is substantial. If you have the extra money then great.
but when you can buy 10 esp based arduino devices for the cost of 1 of these.
if the cost was much less (and i know that zwave chips are more expensive) then it would be more ideal.
Title: Re: Z-Uno
Post by: zedrally on July 17, 2017, 06:33:56 pm


snip


but when you can buy 10 esp based arduino devices for the cost of 1 of these.
if the cost was much less (and i know that zwave chips are more expensive) then it would be more ideal.


And this is the beauty of this device, you can have up to 10 devices all rolled into one.
USD$7.60 is pretty cheap per device.
Title: Re: Z-Uno
Post by: mvader on July 18, 2017, 09:48:55 am


snip


but when you can buy 10 esp based arduino devices for the cost of 1 of these.
if the cost was much less (and i know that zwave chips are more expensive) then it would be more ideal.


And this is the beauty of this device, you can have up to 10 devices all rolled into one.
USD$7.60 is pretty cheap per device.

ahh.. in certain situations, that may be an ideal solution (kitchen lighting for example).  so i guess i can see a use case for this.
Title: Re: Z-Uno
Post by: poordom on July 19, 2017, 09:10:05 am
What most forget is that this is native Z-Wave not WiFi, 433 or other communication frequencies and protocols.


If you want a development board to integrate directly without serial adaptors or plugins then this cuts other devices out of the loop.


With the WiFi spectrum becoming flooded, it's easy to forget that WiFi devices  and their ilk may not function correctly, while Z-Wave on it's dedicated frequency will.


I have several projects for this in mind, one of which involves communication with a MegaA. To me that is combining the best of both worlds.

if this is a product that you are trying to sell or get a kick back from, then i understand and i'm not trying to be a hater.
but to me this is very expensive and you can accomplish the same task far cheaper. for example, i'm putting in some under cabinet lighting.
I considered a native zwave solution, using the fibario rgb device, it's $70. i purchased a node mcu for $6 and am achieving the same results.
I personally don't have any wifi reliability issues, but I recognize that is subjective to the environment. but i have dozens of wifi devices, as well as zwave, 433 and other RF devices. I really don't have any issues with them.
I would certainly prefer to have a native zwave solution. but the cost to implement vs going wifi is substantial. If you have the extra money then great.
but when you can buy 10 esp based arduino devices for the cost of 1 of these.
if the cost was much less (and i know that zwave chips are more expensive) then it would be more ideal.

In reading your response, I think you miss the point of the Z-uno, I would expect the learning curve of the Arduino / Z-Wave to be a lot less intense then having to learn all these different protocols, to accomplish sone of the same functions achieved by the Z-Uno.

Yes, I agree, cost is a deterrent, but I believe the Z-Uno, is made in order to simplify, and package everything into a small unit, and made to satisfy a demand by the hobbyist and not the engineers or knowledgeable programmers.

And no, I do not get a kick back from Z-Wave.

Dom

Title: Re: Z-Uno
Post by: mvader on July 19, 2017, 11:23:06 am
In reading your response, I think you miss the point of the Z-uno
Dom

sure - back on page 1, my first comment was "what am i missing".


Quote from: poordom
With the WiFi spectrum becoming flooded, it's easy to forget that WiFi devices  and their ilk may not function correctly, while Z-Wave on it's dedicated frequency will.

I would expect the learning curve of the Arduino / Z-Wave to be a lot less intense then having to learn all these different protocols, to accomplish sone of the same functions achieved by the Z-Uno.

Your comments read like everything else will fail and is too involved and too complicated to be bothered with.
this z-uno is easier than other options and will never fail.
at least that is how it come across to me.  thus my question about why your showing such support for a $70 device that (in my opinion) has limited use case for the money.

it was pointed out to me you could run several applications off of 1 z-uno, and that is something i didn't think about.. so in that specific use case.
to have native z-wave, i agree. a great option.
however. beyond that, if you have different applications all over your house, say automated blinds in every room.
you won't put a $70 z-uno on each and every blind, just for the sake of having native z-wave, when you can put a $6 esp based wifi device on each one achieve the same effect.

if you have a use case where 1 device will do everything in 1 room, then great. it seems like a fine choice. but for me, most of my dozens of situations will get low cost nrf radios or esp based radios on arduinos. the programming is the same regardless of which radio i choose.
Title: Re: Z-Uno
Post by: poordom on July 19, 2017, 03:20:01 pm
Good afternoon Mvader,

" Your comments read like everything else will fail "

I have had home automation of one kind or another for the last 30 years, hate to say this, but everything will fail at one time or another, doesn't matter what it is.

I can't be to explicit about the Z-Uno, since I haven't received mine yet, but I would see the Z-Uno, located in a central location, where Analog sensor could be connected, and have the Z-Uno act a act and re-act device.

From what I understand the Z-Uno can be integrated to my Vera Plus, quite easily, I hope I am right about all this, we shall see.

Dom
Title: Re: Z-Uno
Post by: zedrally on July 21, 2017, 09:49:15 pm
Here is a SS of the 10 channel Z-UNO, i have been asked what it looks like in Vera but cannot post attachments in PM's.


Title: Re: Z-Uno
Post by: zedrally on July 21, 2017, 09:58:51 pm

you won't put a $70 z-uno on each and every blind, just for the sake of having native z-wave, when you can put a $6 esp based wifi device on each one achieve the same effect.



No, you use a Z-UNO to control all of your blinds, not 1.


As Dom points out it's usefulness will become apparent if you have one in a room controlling or sensing the environment.
What you are missing is that it isn't just one device but can be 10 different devices packaged into one.
Then it becomes cost effective having LUX. Temp, Dimmers, Lights, Motion etc all in one device.
Title: Re: Z-Uno
Post by: poordom on July 25, 2017, 11:57:17 am
Will Z-Uno automatically recognized by Vera Plus.

Dom
Title: Re: Z-Uno
Post by: zedrally on July 25, 2017, 07:02:55 pm
The images above are from a Vera Edge, I see no reason why they would be different on a Plus.


They configured themselves.
Title: Re: Z-Uno
Post by: poordom on July 31, 2017, 05:05:59 pm
The images above are from a Vera Edge, I see no reason why they would be different on a Plus.


They configured themselves.

Well my Z-Uno, configures itself as a dimmer ?

How did you manage to get 10 ch.

Loaded the Arduino as described, the version 1.6.5

Did you add a special sketch?

Thanks

Dom
Title: Re: Z-Uno
Post by: zedrally on July 31, 2017, 07:42:38 pm
Not sure of the procedure you used, but you did upload the 10 channel sketch via the Arduino interface?


http://z-uno.z-wave.me/examples/Certified10Channels (http://z-uno.z-wave.me/examples/Certified10Channels)


You may need to do a factory reset and try uploading it again.
A lot of this comes down to finger problems.
Can I suggest that you start with the "easy" examples to get a feeling of the compiling/upload procedures, then move onto altering code. Also,as you are using a VP, it could be helpful to post a screen shot.
Title: Re: Z-Uno
Post by: poordom on August 03, 2017, 12:58:21 pm
Good morning Zedrally,

A short note to let you know that I was able to load the 10 Channel sketch, so now begins my adventure into a new experience, I will keep you posted.

Dom
Title: Z-Uno
Post by: pcarneyhome on August 04, 2017, 09:42:18 am
Hi,

Thought I'd throw my two sense in. I'm a huge fan of Hek's MySensors.org work and have a half dozen sensors connected via a Arduino Nano gateway to my Veraedge. While I agree with posters who recommend ESP Wifi or Arduino with NRF24 for low cost and flexibility, I can not recommend them for reliability. Some of my sensors and relays have never failed while others fail to send or receive a signal 1-2% of the time. Can't explain why, I've changed out parts and find there's not always a rhyme or reason. Sometimes it's the radio, length of wires, power supply, etc.(please don't ask me "have you added a capacitor to the radio?"Lol !!!). I've always chalked it up to cheap Chinese knock offs and 'hobby grade' products. I have no intention of replacing all my Arduino nodes, but there are a couple of sensors that I need better reliability, consistency, and the piece of mind it brings. For those few nodes, I'm hoping the Z-uno fills that gap. As far as I'm concerned for $70 I'm buying a 'consumer grade' product that should work as expected. If not, I'll expect a refund. I'll keep people informed of the results, but in truth only time will tell.
Title: Re: Z-Uno
Post by: zedrally on August 04, 2017, 08:35:31 pm
^^^
Expect a learning curve, but I'm sure you will be a happy chappy.  :)
Title: Re: Z-Uno
Post by: poordom on August 11, 2017, 07:01:02 pm
Hey zedrally,

Well got my Zuno working with the ten channels, I now need to spend some time with the unit to better understand its functionality.

Oh! I heard about those Vegemite sandwiches, our granddaughter was in Australia last year, not something that she brought back home LOL.

Dom
Title: Re: Z-Uno
Post by: zedrally on August 11, 2017, 07:42:40 pm
I found the learning curve in C++ was the hardest, although nearly all of the functions are simply copy & paste. It's just getting them the right order!


I'm still in the curve but the possibilities that Z-Uno gives is very exciting in particular the possibility of a central room device that can monitor, control power to multiple devices & sense. The 10 channel example is a great introduction to the possibilities.



Title: Re: Z-Uno
Post by: pjpankhurst on August 15, 2017, 04:06:51 am
I found the learning curve in C++ was the hardest, although nearly all of the functions are simply copy & paste. It's just getting them the right order!


I'm still in the curve but the possibilities that Z-Uno gives is very exciting in particular the possibility of a central room device that can monitor, control power to multiple devices & sense. The 10 channel example is a great introduction to the possibilities.

I've seen a couple of posts about z uno using C++, it doesn't, it is based on C which is a lot simpler as it is non object oriented.
Title: Re: Z-Uno
Post by: poordom on August 17, 2017, 06:49:48 pm
Crazy question, about C.

Which primary language is used by the Arduino / Z-Uno.

Dom
Title: Re: Z-Uno
Post by: pjpankhurst on August 24, 2017, 02:14:47 pm
The language reference for Arduino is here:

https://www.arduino.cc/en/Reference/HomePage

The z-uno one is based on this, and can be found here:

https://z-uno.z-wave.me/Reference/

The definitive reference for the C Language is the book written by Kernighan & Ritchie
Title: Re: Z-Uno
Post by: Stiansen on December 03, 2017, 02:35:59 am
Hi

Have any of you had problems adding the z-uno again after excluding it? I cant get the Vera to accept the z-uno inclusion after deleting it from Vera. I have tried to reset the zuno and also a recover. On Vera I have tried to go back to an earlier backup to see if a new z-network would work. No solution there either.. I tried to upload different sketches as well but that did not help either.

I have no idea what to do now, dont want to buy a new one either since the zuno seems fine.
Title: Re: Z-Uno
Post by: Michal on December 05, 2017, 07:10:01 am
Hi

Have any of you had problems adding the z-uno again after excluding it? I cant get the Vera to accept the z-uno inclusion after deleting it from Vera. I have tried to reset the zuno and also a recover. On Vera I have tried to go back to an earlier backup to see if a new z-network would work. No solution there either.. I tried to upload different sketches as well but that did not help either.

I have no idea what to do now, dont want to buy a new one either since the zuno seems fine.

Make sure that you have set the right Z-wave frequency band in Arduino IDE (EU/US/RU/etc). By default it is Russia!
Title: Re: Z-Uno
Post by: zedrally on December 05, 2017, 04:44:51 pm
I also have experienced this with Vera.
My diagnosis was that if hadn't been Excluded or the Exclusion process was not complete.
The solution was to Exclude Z-UNO with HomeSeer.
No more problems after that. For reasons unknown the Vera Inclusion/Exclusion process is not robust and in some cases requires multiple attempts before the device is off the network after which it can be included easily.
Title: Re: Z-Uno
Post by: Stiansen on December 06, 2017, 08:08:07 am
Thanks for replies!

Will check the frequency setting today but since I got it included the first time I assume its set to Europe.

The problem happened when I uploaded a new sketch without excluding the zuno. After that it was not detected by Vera anymore. In the end I had to delete it from Vera since I had no way of contacting the zuno. I went back to a backup from way before the zuno to see if that helped (old z-wave network), and thus trying to eliminate Vera as the problem. That did not work either so I have my doubts regarding the zuno reset/recover function not working properly..

Have thought of one last attempt: Thinking of taking a full backup of Vera, deleting the z-wave network completely and check if the zuno will then get included. That way I can 100% write off Vera if it still doesn't work.

Tried contacting the zuno guys as well without any response..
Title: Re: Z-Uno
Post by: zedrally on December 06, 2017, 03:24:22 pm
If you are using Windows 10 OS the latest update has updated the usb driver to a version that does not work with ZUNO, I have had reports of the uzbser.sys failing which causes no COMM with the ZUNO.
Roll back to the original driver results in communication restored.
Attached copy of the original which works, you need to rename .txt to .sys

EDIT: If you want an answer from the Z Wave guys you need to post a forum topic. PM's often go missing.
Title: Re: Z-Uno
Post by: Stiansen on December 07, 2017, 02:16:40 am
Thank you thank you!!

Got it working last night and I have to embarrassingly admit that it was set to Russian frequency..... I opened a new window in Arduino IDE when I uploaded the second sketch, then it probably changed to Russian by default. But thank you again for the support! :)

Now got it up and running with 4 channels and temp&humidity. Pretty great.

However, I got one small problem. I have not got my 4 channel relay yet (plan is to control the ventilation system), but do you guys know why my outputs are inverted? I have connected diodes but when I set the digital output high the diode turns off, and on when I turn the output low. Also need to pulse the output signal since I just want it to send a control signal to turn on different settings.
Title: Re: Z-Uno
Post by: Michal on December 29, 2017, 01:53:41 am
Thank you thank you!!

Got it working last night and I have to embarrassingly admit that it was set to Russian frequency..... I opened a new window in Arduino IDE when I uploaded the second sketch, then it probably changed to Russian by default. But thank you again for the support! :)

Now got it up and running with 4 channels and temp&humidity. Pretty great.

However, I got one small problem. I have not got my 4 channel relay yet (plan is to control the ventilation system), but do you guys know why my outputs are inverted? I have connected diodes but when I set the digital output high the diode turns off, and on when I turn the output low. Also need to pulse the output signal since I just want it to send a control signal to turn on different settings.

Great that you found the error.  How are your diodes connected? Could you post a sketch/photo?
Title: Re: Z-Uno
Post by: Stiansen on January 31, 2018, 09:18:39 am
Sorry for delayed response.

Got it working directly with my ventilation system now, see attached picture.

Using PLEG to monitor CO2 through netatmo and moisture in bathrooms, ventilation will then go high and go low again when its under a set limit. Works as intended! :)

Thanks for alle the help.
Title: Re: Z-Uno
Post by: Tillsy on February 10, 2018, 04:52:59 pm
G'day guys

I am really enjoying experimenting with the Z-UNO, and have no problem with OUTPUTS - as many as I like.

INPUTS, however, are driving me insane - the documentation, and the guy who supports it on the official forum, acknowledge this but talk in riddles so am hoping some of you can better explain.

When I create a single input it works a treat.  Define the channel, create the getter, and then in the main loop read the relevant and if a change is detected raise a zuneSendReport(x).

The problem is when there are multiple inputs.  Let's say even just two.  Define TWO channels, create both getters, and in the main loop read both ports and if a change is detected on the first one raise a zuneSendReport(1) (assuming it is the first defined channel) and the other obviously zuneSendReport(2).

Only the first works - you can see the flicker of the green LED that traffic is being send over Z-WAVE and my Vera Plus shows the input status change.  However for the second one nothing happens.  I can write debug code and see that it is executing - and I can swap the two channels around and transfer the problem between them.  Likewise I can create 3, 4, 5 inputs and only the first works.

The official documentation does state that, when it comes to inputs, if you have more than one of the same type then only the first will work.  Okay great that's my exact scenario.  It then goes on to say that you need to use MultiChannel Association Command Class and that instead of association of Life Line group with node 1 (controller) use association with 1:0 (node 1, channel 0).  Cool, so what the heck does that mean?

I've hunted through the programming reference, the Arduino IDE setting, the device settings in Vera, and cannot for the life of me work this out.

The official support guy suggests a couple of things to people who ask this same question:
1. "Set parameter 12" - no difference :(
2. "Please try to remove node #1 (controller is usually it is #1) from the the Association group #1 and add in MCA #1:0 (channel 0 of the controller)" - this is as meaningless to me as the similar description above
3. "Multi channels are not available in the user interface, only by raw commands" - still no help?
4. Various other explanations of the above, but in English sentences that don't make sense (I'm thinking the guy is not native English) - so still no help

I'm thinking I am missing something really obvious, but it has me stumped as you would think you simply define a bunch of inputs and they simply work... just like with outputs.  But it is made VERY clear that is not the case, that by design you need to do something, but finding out exactly what it is I need to do has frustrated me for two days now.  I notice a few of you have posted here saying it has worked well for you, so hopefully someone can clarifying what I'm missing :)

Cheers
Chris