syoma755 / Commandfusion-MQTT-Plugin

MQTT Plug-in for Commandfusion iViewer
2 stars 2 forks source link

Commandfusion-MQTT-Plugin

MQTT Plug-in for Commandfusion iViewer Simple MQTT Client for Commandfusion iViewer

Usage is quite simple:

Setup:

Use Add Command to generate publish messages. Just put MQTT_Publish function in Javascript field,according to example in script. For example:

For switch: Field Javascript: MQTT_Publish("/myhome/command/Light_FF_Bath_Ceiling/state","ON", system)

For slider: Field Command Value: {{[sliderval]}} Field Javascript: MQTT_Publish("/myhome/command/Temperature_Setpoint/state",data, system) Do not forget to set "Javascript sends command value" flag

To process feedbacks:

Some improvements are planned: