Page 1 of 1

LIDL Smart Switch, how to see off state?

Posted: Tuesday 22 November 2022 14:13
by HansOtten
I have a LIDL Smart Switch, type Lidl HG08164

Shows up fine after pairing in ZIGBEE2MQTT.

In zigbee2MQTT I can see using the button, action "on" = single click, action "off" = double click. That looks fine, it reports this OK.

In Domoticz with zigbee2mqtt plugin the device appears as Silvercrest smart button, type Light/Switch Selector switch, Selector

In the log of the wall switch device I see reported the action "on" and "off" as expected. The button works fine, Domoticz sees on/off.
In the switch I see three states: on, off and Off as dropdown. One too much?

I made a scene with one lamp. On from the wall switch button works fine. Ans Off is reported in the log as "off", but the lamp does not switch off.

In the switch I see three states: on, off and Off as dropdown. When I select Off (uppercase O!) the lamp goes off. When I select off on the switch icon(what the wall switch probably sends) nothing happens.

How can I make the scene act on "off" instead of on "Off"?

Hans

Re: LIDL Smart Switch, how to see off state?

Posted: Friday 25 November 2022 9:34
by SterkeJerke
I have a simular question, on how to use that switch:
Schermafbeelding 2022-11-25 093258.png
Schermafbeelding 2022-11-25 093258.png (32.83 KiB) Viewed 1050 times


And the log in Zigbee2mqtt:

2022-11-25 09:31:19MQTT publish: topic 'zigbee2mqtt2/Lidl Knop/action', payload 'on'
Info 2022-11-25 09:34:03MQTT publish: topic 'zigbee2mqtt2/Lidl Knop', payload '{"action":"brightness_step_up","action_step_size":85,"action_transition_time":0.1,"battery":100,"linkquality":83}'
Info 2022-11-25 09:34:03MQTT publish: topic 'zigbee2mqtt2/Lidl Knop', payload '{"action":"","battery":100,"linkquality":83}'
Info 2022-11-25 09:34:03MQTT publish: topic 'homeassistant/device_automation/0x2c1165fffe9e45a6/action_brightness_step_up/config', payload '{"automation_type":"trigger","device":{"identifiers":["zigbee2mqtt_0x2c1165fffe9e45a6"],"manufacturer":"Lidl","model":"Silvercrest smart button (HG08164)","name":"Lidl Knop"},"payload":"brightness_step_up","subtype":"brightness_step_up","topic":"zigbee2mqtt2/Lidl Knop/action","type":"action"}'
Info 2022-11-25 09:34:03MQTT publish: topic 'zigbee2mqtt2/Lidl Knop/action', payload 'brightness_step_up'
Info 2022-11-25 09:34:04MQTT publish: topic 'zigbee2mqtt2/Lidl Knop', payload '{"action":"brightness_step_up","action_step_size":85,"action_transition_time":0.1,"battery":100,"linkquality":83}'
Info 2022-11-25 09:34:04MQTT publish: topic 'zigbee2mqtt2/Lidl Knop', payload '{"action":"","battery":100,"linkquality":83}'
Info 2022-11-25 09:34:04MQTT publish: topic 'zigbee2mqtt2/Lidl Knop/action', payload 'brightness_step_up'
Info 2022-11-25 09:34:04MQTT publish: topic 'zigbee2mqtt2/Lidl Knop', payload '{"action":"brightness_stop","battery":100,"linkquality":112}'
Info 2022-11-25 09:34:04MQTT publish: topic 'zigbee2mqtt2/Lidl Knop', payload '{"action":"","battery":100,"linkquality":112}'
Info 2022-11-25 09:34:04MQTT publish: topic 'homeassistant/device_automation/0x2c1165fffe9e45a6/action_brightness_stop/config', payload '{"automation_type":"trigger","device":{"identifiers":["zigbee2mqtt_0x2c1165fffe9e45a6"],"manufacturer":"Lidl","model":"Silvercrest smart button (HG08164)","name":"Lidl Knop"},"payload":"brightness_stop","subtype":"brightness_stop","topic":"zigbee2mqtt2/Lidl Knop/action","type":"action"}'
Info 2022-11-25 09:34:04MQTT publish: topic 'zigbee2mqtt2/Lidl Knop/action', payload 'brightness_stop'


Edit:
Thinking about it, I will not be able to see status? So would need to create a script to turn a group on/off/ dim/ temperature for a group?



Edit 2:

FOund my answer:
https://www.domoticz.com/wiki/Dummy_for ... tor_Switch