Help on ESP8266 recieve msg and do somthing?



  • Hi,
    I use esp8266 wifi gateway with mysensors ver 2.0. I would like it also to recieve message from a sensor node (node 12) and do somthing like blink or switch a relay.
    Ive tried to implement void recieve function (like i use in a node sensor) on the gateway and wait for sender to be node 12. But the gatway ignores the recive function and does nothing.
    Any ideas?
    Tnx


  • Mod

    @leeoz the problem is caused by a bug in MySensors 2.0. The receive function is not called. That had been fixed in the development branch. You can download the development branch from github if you want to use it right away.

    More info in https://forum.mysensors.org/topic/4419/send-message-to-sensor-on-gw/


Log in to reply
 

Looks like your connection to MySensors Forum was lost, please wait while we try to reconnect.