Z-Uno 2 Sensor Device Channels Not Created Properly

Discussions about Z-Way software and Z-Wave technology in general
Post Reply
davidtheITGuy
Posts: 27
Joined: 24 Sep 2021 03:55

Z-Uno 2 Sensor Device Channels Not Created Properly

Post by davidtheITGuy »

I love the new Z-Uno device and am excited to be working with it.
I am having trouble creating channels for the board however. The sketch that I used with the Gen 5 (older) board doesn't seem to create the same
Z-Wave device channels on the new Gen 7 board.

Here is the code that I used to set up my channels on the original Z-Uno board:

Code: Select all

// set up channels
ZUNO_SETUP_CHANNELS(
  //     ZUNO_SENSOR_MULTILEVEL_TEMPERATURE(getterTemperature),                          // not used
  ZUNO_SWITCH_BINARY(getterMasterEnable, setterMasterEnable),                       	// this is channel 1: the master enable switch
  ZUNO_SENSOR_MULTILEVEL_HUMIDITY(getterHumidity),                              	// this is channel 2: the DHT22 device sensor for the ambient humidity
  ZUNO_SWITCH_MULTILEVEL(getterDehumid, setterDehumid),                             // this is channel 3: the slider to set the target dehumidity level
  ZUNO_SENSOR_BINARY(ZUNO_SENSOR_BINARY_TYPE_GENERAL_PURPOSE, getterRelayEnable)    // this is channel 4: sensor to pass the value of the dehumidifer relay
);
Here is the raw controller configuration for the above channels that worked CORRECTLY:
Controller output for Gen 5 Device Config
Controller output for Gen 5 Device Config
Z-Uno Gen 5 Device Channel Config.PNG (89.01 KiB) Viewed 2111 times
The same setup macro code when run with the new Gen 7 board produces this INCORRECTLY:
Controller output for Gen 7 Device Config
Controller output for Gen 7 Device Config
Z-Uno Gen 7 Device Channel Config.PNG (87.85 KiB) Viewed 2111 times
In addition to the new Z-Uno Gen 7 board missing one of the device channels:

Code: Select all

ZUNO_SENSOR_BINARY_TYPE_GENERAL_PURPOSE
Also, the parameters on the Gen 7 for the three sensors that DID show up don't seem right.

Not sure what is happening but the only clue that I have is that my controller is a Aeotec Gen 5 Z-Stick. Is it possible that the new Z-Uno board won't respond properly on configuration with a Gen 5 controller? I thought Gen 7 and Gen 5 was backwardly compatible.

I will try to obtain a Gen 7 controller but they don't seem to be widely available yet.

Thanks for any advice or assistance anyone has on this.
User avatar
PoltoS
Posts: 7649
Joined: 26 Jan 2011 19:36

Re: Z-Uno 2 Sensor Device Channels Not Created Properly

Post by PoltoS »

New Z-Uno 2 follows new Z-Wave Plus v2. Sensor Binary is not used anymore. Instead Notification is used.

Old Z-Uno did both Notification and Sensor Binary for backward support. New does only Notification.
davidtheITGuy
Posts: 27
Joined: 24 Sep 2021 03:55

Re: Z-Uno 2 Sensor Device Channels Not Created Properly

Post by davidtheITGuy »

Understood, thank you.
davidtheITGuy
Posts: 27
Joined: 24 Sep 2021 03:55

Re: Z-Uno 2 Sensor Device Channels Not Created Properly

Post by davidtheITGuy »

Quick follow up please: I did some research under ZUNO_Definitions.h and see the constant definitions for notifications but in the Z-Uno references page (https://z-uno.z-wave.me/reference/) there doesn't seem to be guidance on how its used. Can you provide a brief syntax example please? Thank you.
Post Reply