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 -
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@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/
Hello! It looks like you're interested in this conversation, but you don't have an account yet.
Getting fed up of having to scroll through the same posts each visit? When you register for an account, you'll always come back to exactly where you were before, and choose to be notified of new replies (either via email, or push notification). You'll also be able to save bookmarks and upvote posts to show your appreciation to other community members.
With your input, this post could be even better 💗
Register Login