jcort
(Jan Cortenbach)
January 4, 2021, 7:59pm
1
Hi,
I’m looking for a way to detect the usage of the physical on/off switch that is connected to my Aeotec Nano Dimmer, so that I can switch the other lights in the room. The trick is that I don’t want to trigger this behavior when I’m switching on the light from Homeassistant itself…
I haven’t been able figure this one out yet. Any ideas from the smart people here?
Hi Jan,
Did you ever get an answer to this? Was looking into the same thing as I just installed a dual nano yesterday… There are a lot of parameters, perhaps automatic report?
Let me know please if you found an answer.
Thanks.
For what it is worth, this is my silly level log file when I flip a switch:
Log Level changed to: Silly
2023-08-22T08:17:32.398Z CNTRLR [Node 044] [setValue] calling SET_VALUE API BinarySwitchCCAPI:
property: targetValue
property key: undefined
optimistic: true
2023-08-22T08:17:32.407Z DRIVER all queues busy
2023-08-22T08:17:32.414Z SERIAL » 0x010e00132c07600d00022501ff25e5bd (16 bytes)
2023-08-22T08:17:32.420Z DRIVER » [Node 044] [REQ] [SendData]
│ transmit options: 0x25
│ callback id: 229
└─[MultiChannelCCCommandEncapsulation]
│ source: 0
│ destination: 2
└─[BinarySwitchCCSet]
target value: true
2023-08-22T08:17:32.425Z SERIAL « [ACK] (0x06)
2023-08-22T08:17:32.427Z SERIAL « 0x0104011301e8 (6 bytes)
2023-08-22T08:17:32.431Z SERIAL » [ACK] (0x06)
2023-08-22T08:17:32.433Z DRIVER « [RES] [SendData]
was sent: true
2023-08-22T08:17:32.447Z SERIAL « 0x01070013e50000030d (9 bytes)
2023-08-22T08:17:32.448Z SERIAL » [ACK] (0x06)
2023-08-22T08:17:32.450Z DRIVER « [REQ] [SendData]
callback id: 229
transmit status: OK
2023-08-22T08:17:32.454Z CNTRLR [Node 044] [setValue] result of SET_VALUE API call for BinarySwitchCCAPI: unde
fined
2023-08-22T08:17:32.455Z CNTRLR [Node 044] [setValue] updating value with event
2023-08-22T08:17:32.457Z CNTRLR [Node 044] [translateValueEvent: value updated]
commandClass: Binary Switch
endpoint: 2
property: targetValue
propertyKey: undefined
internal: false
secret: false
event source: driver
2023-08-22T08:17:32.458Z CNTRLR [Node 044] [translateValueEvent: value updated]
is root endpoint: false
is application CC: true
should hide root values: false
2023-08-22T08:17:32.460Z CNTRLR [Node 044] [translateValueEvent: value updated]
commandClass: Binary Switch
endpoint: 2
property: currentValue
propertyKey: undefined
internal: false
secret: false
event source: undefined
2023-08-22T08:17:32.462Z CNTRLR [Node 044] [~] [Binary Switch] currentValue: false => true [Endpoint 2]
2023-08-22T08:17:32.464Z CNTRLR [Node 044] [translateValueEvent: value updated]
is root endpoint: false
is application CC: true
should hide root values: false
2023-08-22T08:17:32.466Z DRIVER all queues idle
2023-08-22T08:17:33.469Z DRIVER all queues busy
2023-08-22T08:17:33.475Z SERIAL » 0x010d00132c06600d0002250225e640 (15 bytes)
2023-08-22T08:17:33.477Z DRIVER » [Node 044] [REQ] [SendData]
│ transmit options: 0x25
│ callback id: 230
└─[MultiChannelCCCommandEncapsulation]
│ source: 0
│ destination: 2
└─[BinarySwitchCCGet]
2023-08-22T08:17:33.482Z SERIAL « [ACK] (0x06)
2023-08-22T08:17:33.485Z SERIAL « 0x0104011301e8 (6 bytes)
2023-08-22T08:17:33.487Z SERIAL » [ACK] (0x06)
2023-08-22T08:17:33.488Z DRIVER « [RES] [SendData]
was sent: true
2023-08-22T08:17:33.506Z SERIAL « 0x01070013e60000030e (9 bytes)
2023-08-22T08:17:33.507Z SERIAL » [ACK] (0x06)
2023-08-22T08:17:33.509Z DRIVER « [REQ] [SendData]
callback id: 230
transmit status: OK
2023-08-22T08:17:33.521Z SERIAL « 0x010d0004002c07600d02002503ff6b (15 bytes)
2023-08-22T08:17:33.523Z SERIAL » [ACK] (0x06)
2023-08-22T08:17:33.525Z CNTRLR [Node 044] [translateValueEvent: value updated]
commandClass: Binary Switch
endpoint: 2
property: currentValue
propertyKey: undefined
internal: false
secret: false
event source: undefined
2023-08-22T08:17:33.527Z CNTRLR [Node 044] [~] [Binary Switch] currentValue: true => true [Endpoint 2]
2023-08-22T08:17:33.528Z CNTRLR [Node 044] [translateValueEvent: value updated]
is root endpoint: false
is application CC: true
should hide root values: false
2023-08-22T08:17:33.532Z DRIVER « [Node 044] [REQ] [ApplicationCommand]
└─[MultiChannelCCCommandEncapsulation]
│ source: 2
│ destination: 0
└─[BinarySwitchCCReport]
current value: true
2023-08-22T08:17:33.534Z DRIVER all queues idle
2023-08-22T08:17:38.273Z SERIAL « 0x01140004000d0e32022164000212d10258000212d1c3 (22 bytes)
2023-08-22T08:17:38.277Z SERIAL » [ACK] (0x06)
2023-08-22T08:17:38.281Z CNTRLR [Node 013] [translateValueEvent: metadata updated]
commandClass: Meter
endpoint: 0
property: value
propertyKey: 65537
internal: false
secret: false
event source: undefined
2023-08-22T08:17:38.284Z CNTRLR [Node 013] [Meter] value[65537]: metadata updated [Endpoint 0]
2023-08-22T08:17:38.285Z CNTRLR [Node 013] [translateValueEvent: metadata updated]
is root endpoint: true
is application CC: true
should hide root values: false
2023-08-22T08:17:38.288Z CNTRLR [Node 013] [translateValueEvent: value updated]
commandClass: Meter
endpoint: 0
property: value
propertyKey: 65537
internal: false
secret: false
event source: undefined
2023-08-22T08:17:38.290Z CNTRLR [Node 013] [~] [Meter] value[65537]: 135.889 => 135.889 [Endpoint 0]
2023-08-22T08:17:38.291Z CNTRLR [Node 013] [translateValueEvent: value updated]
is root endpoint: true
is application CC: true
should hide root values: false
2023-08-22T08:17:38.295Z DRIVER « [Node 013] [REQ] [ApplicationCommand]
└─[MeterCCReport]
type: Electric
scale: kWh
rate type: Consumed
value: 135.889
time delta: 600 seconds
prev. value: 135.889
daniel_bichanich:
property key: undefined
Changed parameter 80 from Hail to Basic CC Report. Works fine now.