ZWave Dimmer Control #38

Closed
opened 2022-07-05 01:38:41 +02:00 by blacklight · 0 comments
Owner

I've been trying to get a ZWave dimmer switch to work, but need to follow a strange sequence of operations.

  1. Level is at 0 as shown in PP returned JSON and lamp is OFF.
  2. Set level to 130: zwave.set_value { id_on_network = fc61d6d1.15.26.1.0, data = 130 }. Reported as 0 in JSON and lamp is OFF.
  3. Set level to 255: zwave.set_value { id_on_network = fc61d6d1.15.26.1.0, data = 255 }. Lamp is now ON at 130 (not max brightness) but JSON reports 0.
  4. Set level to 0: zwave.set_value { id_on_network = fc61d6d1.15.26.1.0, data = 0 }. Lamp is OFF, but JSON reports level of 76!

Looking around in OWZ and python-OZW forums, it looks as though OZW changed how it handled dimmer transitions, and as python-OZW is pretty much unmaintained now, I guess that these changes may not be fully supported in python-OZW??

I then tried running Zwavejs2Mqtt which worked well and seems to be more actively maintained than python-OZW.

What are your thoughts on PP support for zwavejs2mqtt? If you thought this could work in a similar manner to zigbee2mqtt, then I'd be happy to take a look when I had a bit of time.

Thanks,

Chris

I've been trying to get a ZWave dimmer switch to work, but need to follow a strange sequence of operations. 1. Level is at 0 as shown in PP returned JSON and lamp is OFF. 2. Set level to 130: `zwave.set_value { id_on_network = fc61d6d1.15.26.1.0, data = 130 }`. Reported as 0 in JSON and lamp is OFF. 3. Set level to 255: `zwave.set_value { id_on_network = fc61d6d1.15.26.1.0, data = 255 }`. Lamp is now ON at 130 (not max brightness) but JSON reports 0. 4. Set level to 0: `zwave.set_value { id_on_network = fc61d6d1.15.26.1.0, data = 0 }`. Lamp is OFF, but JSON reports level of 76! Looking around in OWZ and python-OZW forums, it looks as though OZW changed how it handled dimmer transitions, and as python-OZW is pretty much unmaintained now, I guess that these changes may not be fully supported in python-OZW?? I then tried running [Zwavejs2Mqtt](https://github.com/zwave-js/zwavejs2mqtt) which worked well and seems to be more actively maintained than python-OZW. What are your thoughts on PP support for zwavejs2mqtt? If you thought this could work in a similar manner to zigbee2mqtt, then I'd be happy to take a look when I had a bit of time. Thanks, Chris
Sign in to join this conversation.
No Milestone
No project
No Assignees
1 Participants
Notifications
Due Date
The due date is invalid or out of range. Please use the format 'yyyy-mm-dd'.

No due date set.

Dependencies

No dependencies set.

Reference: platypush/platypush#38
No description provided.