processing incoming MQTT messages to actuate gateway local relay / variable.



  • I've seen the relay sketch which has a receive function but that is for Radio Nodes, i was wondering about processing arrived MQTT messages to the MQTTClient gateway so it changes a variable / acts on a relay.

    is there any way to do that ? is it using the receive function as well ?

    note: i've already defines a message that has the V_type and CHILD_ID matching, i've got the message on the gateway console, i was wondering to get it into a variable.

    Thanks



  • @Meshx86 i figured out the problem which i believe it is a bug, you can't have in your incoming MQTT prefix "/" or "-" in the path, otherwise the message won't be parsed properly



  • by hek:

    This PR was merged a few days ago:

    https://github.com/mysensors/MySensors/pull/633



Suggested Topics

47
Online

11.4k
Users

11.1k
Topics

112.7k
Posts