Zway-MQTT icon indicating copy to clipboard operation
Zway-MQTT copied to clipboard

Splitting dimmers into two mqtt objects

Open labanx opened this issue 8 years ago • 3 comments

Currently dimmers are exposed with both on/off and dimmer level on the same attribute. Looking at other solutions they split these two objects into two groups.

Example server/room/Dimmer/switch (on/off) server/room/Dimmer/level (dim level)

Might it be beneficial to use an similar approach? Making the mqtt plugin more friendly for other systems.

labanx avatar Feb 25 '17 15:02 labanx

Thanks for your feedback @labanx. Could you give some examples of the other systems you are referring to?

Edubits avatar Feb 25 '17 15:02 Edubits

Example on platforms that expects this behaviour. https://home-assistant.io/components/light.mqtt/

Not directly an an dimmer example, but RGB uses the same approach https://github.com/mertenats/open-home-automation/tree/master/ha_mqtt_rgb_light

https://github.com/cblomart/zwaymqtt Seems to expose both switch and dimmer

Again not dimmer, but two datapoints http://wetwa.re/?p=154

Exposes both binary and "dimming" on z-wave wallmote

@Edubits thanks for the quick response

labanx avatar Feb 25 '17 15:02 labanx

There is more complex convention about home automation and mqtt https://github.com/homieiot/convention

pastukhov avatar Aug 22 '18 11:08 pastukhov