Is this possible? MQTT & Node request...
-
Evening all,
I'm currently using the MQTT client on an ESP8266. I have a number of sensors deployed using a mixture of Nano's and Mini's.
I'd like to know if this is possible:
Node 1 - Rain Sensor (Digital input) / Soil Sensor (Digital Input) / Light Sensor
Node 2 (Sleeps and wakes every 10 minutes) - Relay
I'd like Node 2 to wake and check either the values of node 1, or alternatively check a source such as NodeRED for the values. Based on the values open / close the relay.
Currently I have the MQTT client connected to Mosquitto.
-
Hello @hek
Thank you for the reply, and the amazing MySensors.
Do you think I could have Node2 request some kind of status from NodeRed for example, rather than the Node directly?
Cheers,
Mark
-
Hello @hek
Thank you for the reply, and the amazing MySensors.
Do you think I could have Node2 request some kind of status from NodeRed for example, rather than the Node directly?
Cheers,
Mark
@Mark-Swift check this for node-to-node communication http://forum.mysensors.org/topic/3467/basic-setup-network/2 as @hek said setup a database in nodered to save the values received from node-1 and you could request that from node-2
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