Open TheMasterofBlubb opened 1 year ago
08:53:31.367 -> ***BLOCK SLEEP!
08:53:31.367 -> Tread running:1
08:53:31.367 -> 1086031INCOMING SRC_ID:1.0 DST_ID:8192.0 KEY:1 OPTS:0 DATA:60 0D 00 07 6C 01 A6 04 26 01
08:53:31.367 -> 46 FF
08:53:31.367 -> 1086042UNPACKED: SRC_ID:1.0 DST_ID:8192.7 KEY:1 OPTS:0 DATA:6C 01 A6 04 26 01 46 FF
08:53:31.367 -> 1086052SV UNPACK: SRC_ID:1.0 DST_ID:8192.7 KEY:1 OPTS:0 DATA:26 01 46 FF
08:53:31.413 -> N_CH=9
08:53:31.413 -> CHANNEL WAS FOUND:6
08:53:31.413 ->
08:53:31.413 -> >>> (1086064) ENQUEUED PACKAGE: SRC_ID:14.7 DST_ID:1.0 KEY:1 OPTS:25 DATA:6C 02 26 FF 00
08:53:31.413 -> CommandQueue Size:1
08:53:31.413 -> *** QCH:0
08:53:31.413 ->
08:53:31.413 -> >>> (1086077) OUTGOING PACKAGE: SRC_ID:14.7 DST_ID:1.0 KEY:1 OPTS:25 DATA:6C 02 26 FF 00
08:53:31.460 -> *** PROCESSED:1
08:53:31.460 -> *** CLEANUP:0
This is my debug output of when the packet arrives. 26 01 46 FF<- 26 is a Multileel Switch related command with the 0x46 beeing the set brightness.
8:55:27.116 -> ***BLOCK SLEEP!
08:55:27.116 -> Tread running:1
08:55:27.116 -> 1200608INCOMING SRC_ID:1.0 DST_ID:8192.0 KEY:1 OPTS:0 DATA:60 0D 00 07 6C 01 A7 0A 33 05
08:55:27.116 -> 03 02 FF 03 00 04 00 FF
08:55:27.116 -> 1200622UNPACKED: SRC_ID:1.0 DST_ID:8192.7 KEY:1 OPTS:0 DATA:6C 01 A7 0A 33 05 03 02 FF 03
08:55:27.116 -> 00 04 00 FF
08:55:27.162 -> 1200634SV UNPACK: SRC_ID:1.0 DST_ID:8192.7 KEY:1 OPTS:0 DATA:33 05 03 02 FF 03 00 04 00 FF
08:55:27.162 ->
08:55:27.162 -> N_CH=9
08:55:27.162 -> CHANNEL WAS FOUND:6
08:55:27.162 -> Set RGB Ch# 0 Color RED New Value = 255
08:55:27.162 -> EEPROM.update(00000007, ff)
08:55:27.162 -> EEPROM.update(00000008, 00)
08:55:27.162 -> EEPROM.update(00000009, 00)
08:55:27.162 -> Set RGB Ch# 0 Color GREEN New Value = 0
08:55:27.162 -> EEPROM.update(00000007, ff)
08:55:27.162 -> EEPROM.update(00000008, 00)
08:55:27.162 -> EEPROM.update(00000009, 00)
08:55:27.209 -> Set RGB Ch# 0 Color BLUE New Value = 0
08:55:27.209 -> EEPROM.update(00000007, ff)
08:55:27.209 -> EEPROM.update(00000008, 00)
08:55:27.209 -> EEPROM.update(00000009, 00)
(Ignore all the rest of output) This is from when i sent a color comand from the same interface (doesnt matter if from the HA UI or froom ZWave JS Node details). Notably this arrives SOMEWHERE, but setting the brightness doesnt trigger any handler inside my sketch
More info:
Connected peripherals: None currrently
Code:
Compiler log:
Hi, i got a small issue, that im either to blindd to find the right "button" for or its some sort of bug or missing feature.
When using the line mentioned above in a sketch and checking the available endpoints on the Razberry controller, i can see that on the ZWChannel of the Color Switch there also is a Multilevel switch which in home assistant is linked to the brightness. In the Debug i can see that the command arrives in the channel (not ZWChannel) of the Color Switch (which is totally fine for me), but there is no way to actually process that packet in my sketch.
I also tried the "dynamic" way, but ended up having the issue described here https://forum.z-wave.me/viewtopic.php?f=3427&t=35761&p=97798&hilit=multichannel#p97798 , the gist is that if you try to dynamically make channels, the Z-Uno 2 stops responding to interviews (no other debug output then what is described in the forum post, HA with Zwave JS event log can read some hardware basics but fails when interviewing for functionality AND configuration, or basically only FW version etc is read).
What i want to achievve in my project is more or less just a LED Controller that is integrated into Home Assistant.
Help is much appreciated