Controlling mysensors actuators via MQTT - need help



  • Hi,
    I just built MQTT gateway. It works fine delivering data from the sensors, but I can not figure out, how to send commands to actuators, like relays. What command, for instance, shall I send to MQTT gateway to switch on relay on node 1?

    Also, when I connect to gateway MQTT server via mosquitto_pub (publishing client) and try to publish something - it does not show in the MQTT reading client. Is this normal, or I have some problem with MQTT server?



  • Problem solved. The right command would be
    topic: MyMQTT/1/1/V_LIGHT
    message: 1


Log in to reply
 

Suggested Topics

10
Online

11.4k
Users

11.1k
Topics

112.7k
Posts