Hi,
I have a channel in my sketch defined as ZUNO_SWITCH_MULTILEVEL(). I 've implemented both setter and getter for it. All is fine. When I try to send from a controlling device (per direct association) the value of 0xFF, in the setter I see the value 0x63 (Full On) being logged and interpreted.
what could be the root cause of this? Can this be modified in some hidden configuration parameter?
with the same controlling device I can control an AEOTEC Dimmer and it works as expected. I notice that the dimmer starts on to the latest value set.
Thanks in advance
CC command multilevel switch with 0xFF
Re: CC command multilevel switch with 0xFF
Sure you are on 2.15? The value 0xFF should be passed as is to your setter. It is your responsbility to convert it to something in the range 1-63
-
- Posts: 68
- Joined: 18 Jan 2016 15:25
Re: CC command multilevel switch with 0xFF
Hi,
I am on 2.1.7. I have just confirmed this behaviour with Indigo domo Sw on Mac. From there I can send RAW commands to the Z-uno. I see that 0xFF is automatically interpreted to 0x63.
shall I switch to an older version, 2.1.6 maybe?
I am on 2.1.7. I have just confirmed this behaviour with Indigo domo Sw on Mac. From there I can send RAW commands to the Z-uno. I see that 0xFF is automatically interpreted to 0x63.
shall I switch to an older version, 2.1.6 maybe?
-
- Posts: 68
- Joined: 18 Jan 2016 15:25
Re: CC command multilevel switch with 0xFF
Btw, I just tested with CC BASIC with 0xFF and it works fine. It restores to the last active value. It seems that the issue only happens with CC MULTILEVEL SWITCH
Re: CC command multilevel switch with 0xFF
Indeed.... Please check this line in ZWSupport.ucxt
https://github.com/Z-Wave-Me/Z-Uno-Core ... .ucxt#L434
You can remove the check for 0xFF and then 0xFF will be passed as it is to the Setter. The file in the library folder.
The reason for this is because 0xFF was deprecated:
https://github.com/Z-Wave-Me/Z-Uno-Core ... .ucxt#L434
You can remove the check for 0xFF and then 0xFF will be passed as it is to the Setter. The file in the library folder.
The reason for this is because 0xFF was deprecated:
-
- Posts: 68
- Joined: 18 Jan 2016 15:25
Re: CC command multilevel switch with 0xFF
Thanks. I will give it a try.
-
- Posts: 68
- Joined: 18 Jan 2016 15:25
Re: CC command multilevel switch with 0xFF
BTW,
the 0xFF value has been deprecated only for the Multilevel Switch Report Command, but not for the Multilevel Switch Set Command. This means a device must be able to respond to 0xFF values in Set commands, but should not report a 0xFF value when reporting back to Controller or other associated nodes.
the 0xFF value has been deprecated only for the Multilevel Switch Report Command, but not for the Multilevel Switch Set Command. This means a device must be able to respond to 0xFF values in Set commands, but should not report a 0xFF value when reporting back to Controller or other associated nodes.
Re: CC command multilevel switch with 0xFF
Well noted. We will check it again