Search found 5 matches

by dariann
Tuesday 19 September 2023 21:44
Forum: dzVents
Topic: Why switchOn sends brightness:254 instead of state:on?
Replies: 6
Views: 584

Re: Why switchOn sends brightness:254 instead of state:on?

I haven't found solution, so I used Node-RED for this and it works very well, so maybe this message thread should be placed in different topic? Maybe which is about Zigbee integration with Domoticz, but I am not sue. Anyway, below is a screenshot of Node-RED nodes which I used. Unfortunately, my ...
by dariann
Monday 04 September 2023 12:16
Forum: dzVents
Topic: Why switchOn sends brightness:254 instead of state:on?
Replies: 6
Views: 584

Re: Why switchOn sends brightness:254 instead of state:on?

Could you tell me which topic of zegbee2mqtt says that? For instance, using MQTT Explorer I found this one: * homeassistant/select/0x84fd27fffe47d363/power_on_behavior/config { "availability": [ { "topic": "zigbee2mqtt/bridge/state", "value_template": "{{ value_json.state }}" }, { "topic ...
by dariann
Monday 04 September 2023 11:23
Forum: dzVents
Topic: Why switchOn sends brightness:254 instead of state:on?
Replies: 6
Views: 584

Re: Why switchOn sends brightness:254 instead of state:on?

Because of the behavior "pwr_bookshelf1" which is different depending on the payload. In case it is: {"state": "ON"}, the LED light is turning on smoothly {"brightness": 254"}, the LED light is turning on instantly I would like to turn it on smoothly instead of instantly, thus my question. Is it ...
by dariann
Saturday 02 September 2023 18:31
Forum: dzVents
Topic: Why switchOn sends brightness:254 instead of state:on?
Replies: 6
Views: 584

Re: Why switchOn sends brightness:254 instead of state:on?

After some digging, I have noticed that on "Switches" dashboard I have a switch "pwr_bookshelf1" with description "Light/Switch, Switch, Dimmer", so I clicked "edit" and changed "Switch Type" from "Dimmer" to "On/Off". As a result, I started getting payload {"state": "ON"} as expected, but dimmer ...
by dariann
Saturday 02 September 2023 16:19
Forum: dzVents
Topic: Why switchOn sends brightness:254 instead of state:on?
Replies: 6
Views: 584

Why switchOn sends brightness:254 instead of state:on?

Hi All, I have a power supply driven by zigbee2mqtt which is activated by sending data to the "zigbee2mqtt/pwr_bookshelf1/set" topic. I am toggling its state by "switchOn" and "switchOff" like in this script: return { on = { devices = { 'btn_square1_action_on', 'btn_square1_action_off' } }, logging ...