dkucic Posted August 13, 2016 Posted August 13, 2016 Any setup the Aeon Smart Switch 6 gen 5? I am running 5.0.4 and when I try to change the LED color in reg 83 I cannot specify Parameter size 3. ISY only have 1,2,4 for size. Also odd is when i try size 4 I cannot set something over 3 bytes for the value. Anyone know how this cryptic config parameters box works for anything with a size greater than one or decode the RGB -> decimal parameter values? https://blog.m.nu/smart-switch-6-parameters/ -Matt
dkucic Posted August 13, 2016 Author Posted August 13, 2016 I found there is a Color Switch node that shows up. I have no clue what fade up / down / off does from the control. However from a program you can set the RGB values and that is what I wanted anyhow for status. Still would like to know how set/query parameters with more than 1 byte. Anyone know.
Chris Jahn Posted August 14, 2016 Posted August 14, 2016 I found there is a Color Switch node that shows up. I have no clue what fade up / down / off does from the control. However from a program you can set the RGB values and that is what I wanted anyhow for status. Still would like to know how set/query parameters with more than 1 byte. Anyone know. Hi Matt, I'm not sure I understand, you can specify the parameter size of either 1, 2, or 4 bytes using either the direct command (off of the node device tree menu), or in programs to set a configuration parameter value. The parameter size/value are returned to us from the device itself when it is queried.
dkucic Posted August 14, 2016 Author Posted August 14, 2016 I am trying to set the color on the AEON smartswitch 6 from configure parameters using Z-wave Configuration Parameters. These things are awesome indicators with 16 million colors. I have the param mapping from this link, as I could not find it on AEON site. https://blog.m.nu/smart-switch-6-parameters/ When I try to use param 33 which is byte size 4 33 Set the RGB LED color value for testing.Value1: ReservedValue2: Red valueValue3: Green valueValue4: Blue value – 4 I cannot figure if the value to enter is [Value1 Value2 Value3 Value4] or [Value4 Value3 Value2 Value1]. So I tried 255 0x000000FF to see what I get and it is blank. When i try 0x0000FF00=65280 i get blue? If I try a number over 0x00FFFFFF=16777215 it rounds to 16777215 so how can I write the 4th byte? There is the night light register 83. It states 3 bytes in the web link but thinking that is wrong and should be 4 after some more digging where I saw an example hex with 4 bytes R-G-B-[res]. So I try to just query the register with 4 bytes and get errors [Zwave28 Query Config ZW006_186 param 83]. I cannot seem to query 4byte registers. I can write 65535(0x0000FF00) and get blue same for green value but cannot write a value > 0xFFFFFF in Config Param. I also figured from this that the data is 0x[val1 val2 val3 val4] I am using 5.0.4 to support this device. I found that I can use the color switch node for this device in programs to get the feature desired and gave up figuring this out. But this seems like a bug or I am not sure how to access the 4th byte (value1) Is there any documentation on the Configuration Parameters? Would be great to hit F1 on this box and it describe each field and what it does and how to use. Also the Color Switch panel has the RGB values at the top. Then there a three buttons Fade Up/Down/Stop and three dropdown boxes. What is the cryptic interface? I have a Ph.D. and this interface has me beyond stumped. beyond fade up / down toggling 0-255 how do I set any RGB value. Why are the boxes not just R= G= B=. Again I cannot find any help on that. It make sense under programs where it asks for the RGB values and that is what I needed anyhow. -Matt
Chris Jahn Posted August 15, 2016 Posted August 15, 2016 I cannot figure if the value to enter is [Value1 Value2 Value3 Value4] or [Value4 Value3 Value2 Value1]. So I tried 255 0x000000FF to see what I get and it is blank. When i try 0x0000FF00=65280 i get blue? If I try a number over 0x00FFFFFF=16777215 it rounds to 16777215 so how can I write the 4th byte? Hi Matt, The ISY can try to write 4-bytes, but its up to the device to allow that. I would suggest you try setting values 0x0F000000, 0x000F0000, 0x00000F00 to see what colors appear. The 'Set Configuration Parameter' dialog only allows for a 4-byte signed integer, so that may be why you are having trouble setting a value > 127 on the 4th byte. Is there any documentation on the Configuration Parameters? Would be great to hit F1 on this box and it describe each field and what it does and how to use. The documentation for the configuration parameters usually comes with the device itself (because they are device specific). Also the Color Switch panel has the RGB values at the top. Then there a three buttons Fade Up/Down/Stop and three dropdown boxes. What is the cryptic interface? I have a Ph.D. and this interface has me beyond stumped. beyond fade up / down toggling 0-255 how do I set any RGB value. Why are the boxes not just R= G= B=. Again I cannot find any help on that. It make sense under programs where it asks for the RGB values and that is what I needed anyhow. We just present the capabilities of the device as Z-Wave reports it to us. Unfortunately, that support is not always as intuitive as it is in other cases. In future we hope to add more custom support for devices to improve the user interface.
dkucic Posted August 15, 2016 Author Posted August 15, 2016 Hi Matt, The ISY can try to write 4-bytes, but its up to the device to allow that. I would suggest you try setting values 0x0F000000, 0x000F0000, 0x00000F00 to see what colors appear. The 'Set Configuration Parameter' dialog only allows for a 4-byte signed integer, so that may be why you are having trouble setting a value > 127 on the 4th byte. I tried just that but as I mentioned I cannot set the 4th byte as ISY input box rounds it off. The configure parameter text box does not accept the 4th byte(??) ie 0x??000000 not the 7th bit(8'b?xxxxxx). But if it ISY is using signed decimal on any user input direct write text box that is supposed to write a register (what they call parameter) that is bad practice for registers, see any I2C program. I could understand a translation needed from a program internal variable but not a user input box for direct write. Honestly it would be better if this box accepted a hex value like 0xFFFFFFFF to avoid the need to fire up matlab to do dec->hex->dec conversions. However, it is not the device not accepting the 4 bytes it is ISY(maybe but the rounding happens in the text box before the transmission confirmed in the Event viewer sending the rounded number). The input box is rounding the number to 3 bytes and querying 4 bytes always fails across multi-devices/registers. Please verify you can correctly write a 4 byte device with the interface. If not, I think this is a bug in ISY 5.0.4 (have not tried in other versions) The documentation for the configuration parameters usually comes with the device itself (because they are device specific). Not looking for help the device parameters here. Just help on the input boxes with examples. For instance if it is a signed int the help should state that so users do not have to guess. Same goes for Fade Up/Down/Stop What does each do. What happens when I select Red next to each. We just present the capabilities of the device as Z-Wave reports it to us. Unfortunately, that support is not always as intuitive as it is in other cases. In future we hope to add more custom support for devices to improve the user interface. I guess my question is what do these control do and how do I use them to set a specific RGB value. I think the input control you have implemented to support various device types with a parameter color. But seems odd if the query is RGB(boxes at top) why is the user input for setting not the same RGB? I have never seen anything about fade in the Smart Switch 6 device so really likely an interface choice of ISY. Maybe a carry over from some other device but again with F1 or help at least know how to use this. Weirder is in programs I can set RGB for this node. I would have not even messed with this if 4 byte writes worked. Can you explain how the this interface works and how I could set 0xF0F0F0 for the color? Maybe that would help.
Chris Jahn Posted August 16, 2016 Posted August 16, 2016 I tried just that but as I mentioned I cannot set the 4th byte as ISY input box rounds it off. The configure parameter text box does not accept the 4th byte(??) ie 0x??000000 not the 7th bit(8'b?xxxxxx). But if it ISY is using signed decimal on any user input direct write text box that is supposed to write a register (what they call parameter) that is bad practice for registers, see any I2C program. I could understand a translation needed from a program internal variable but not a user input box for direct write. Honestly it would be better if this box accepted a hex value like 0xFFFFFFFF to avoid the need to fire up matlab to do dec->hex->dec conversions. However, it is not the device not accepting the 4 bytes it is ISY(maybe but the rounding happens in the text box before the transmission confirmed in the Event viewer sending the rounded number). The input box is rounding the number to 3 bytes and querying 4 bytes always fails across multi-devices/registers. Please verify you can correctly write a 4 byte device with the interface. If not, I think this is a bug in ISY 5.0.4 (have not tried in other versions) Hi Matt, I actually was incorrect , the Set Configuration Parameter dialog only accepts an unsigned integer (so its a pain to set negative numbers). I just did a test and watched the actual device messages being sent, and the ISY does indeed send the full 4-byte value as specified in the dialog. Can you please recreate the problem and post the output? As of now, we cannot reproduce the problem. There is a problem where programs limit 4-byte unsigned values to 0..0x7FFFFFFF, but as I mentioned above, the dialog allows 0..0xFFFFFFFF Not looking for help the device parameters here. Just help on the input boxes with examples. For instance if it is a signed int the help should state that so users do not have to guess. Same goes for Fade Up/Down/Stop What does each do. What happens when I select Red next to each. I guess my question is what do these control do and how do I use them to set a specific RGB value. I think the input control you have implemented to support various device types with a parameter color. But seems odd if the query is RGB(boxes at top) why is the user input for setting not the same RGB? I have never seen anything about fade in the Smart Switch 6 device so really likely an interface choice of ISY. Maybe a carry over from some other device but again with F1 or help at least know how to use this. Weirder is in programs I can set RGB for this node. I would have not even messed with this if 4 byte writes worked. Can you explain how the this interface works and how I could set 0xF0F0F0 for the color? Maybe that would help. Again, we support setting configuration parameters as defined by the Z-Wave specification; it is generic in that you can set a 1,2 or 4 byte value to a specific parameter whose meaning is entirely defined by the manufacturer. When they say val1/val2/val3/val4 for a 4-byte parameter, it is the device manufacturer that must explain how that maps to a single 4-byte value. I know its frustrating, but we don't have control over this. I googled the parameter table for this device and noticed it does specify 3 bytes for some parameters (the problem is 3 bytes is not actually a valid Z-Wave parameter value length). Presumably though, to set value 0xF0F0F0, you would send a 4-Byte value of 0x00F0F0F0 (15790320) To add to the confusion, it appears that this device uses configuration parameters and the actual Z-Wave Color command class to modify the color (2 entirely different mechanisms to change the same thing). Each color component (R,G, or B ) has a level (0-100%), hence, Fade Up/Down/Stop applies to the level of the color component specified (in Z-Wave docs they call it start/stop level change). I agree, some popup help or hover help would be of benefit to users.
MWoods329 Posted August 27, 2016 Posted August 27, 2016 How did you even get this device to function? The ISY won't let me turn this device on or off. Somehow all of the other settings work (energy reporting, LED colors, etc) but it is permanently in the "off" state.
Recommended Posts
Archived
This topic is now archived and is closed to further replies.