Zway-MQTT
Zway-MQTT copied to clipboard
Splitting dimmers into two mqtt objects
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.
Thanks for your feedback @labanx. Could you give some examples of the other systems you are referring to?
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
There is more complex convention about home automation and mqtt https://github.com/homieiot/convention