Can I use MySensors library to have one Sensor Transmitter and one Receiver without any Gateway
-
I am 74 years old retired Telecom Engineer and new to MySensors forum. I like the MySensors Battery node for Soil Monitoring and using it with ESP8266 WiFi gateway. I also want to have a Simple setup just One Transmitter and One Receiver without any Gateway to monitor Soil Moisture (and Node's Battery) of my Green House. Any pointer will be greatly appreciated.
-
Welcome to the forum @RagoTube
Yes, it can be done by using node to node communication and setting MY_PARENT_NODE_IS_STATIC and MY_PARENT_NODE_ID.
But it might be easier to use the plain radiohead library, since you would not need most features in MySensors.
-
@mfalkvidd Thank you for your immediate solution. I will try it now.
-
One little project and you're hooked! You know you're going to want another sensor in the yard, so consider a gateway running MQTT (called a broker). Once you have that, it's really easy to add more sensors.
But if you're really strong willed an will only be using two devices ever, you might look at https://nrf24.github.io/RF24/index.html. You can get an Arduino Nano and an nRF24 radio for about $3.50 from Aliexpress (downside: delivery takes ~2 months, so get 10 each.)
MySensors Library can do this, too, but I find it a little bloated.
Personal note: I'm 70, retired engineer, and have only four projects going right now.
Suggested Topics
-
Update RF24 library to latest version
Bug Reports • 23 Mar 2014, 23:37 • andriej 24 Mar 2014, 22:52 -
Human presence sensors....
General Discussion • 31 Jan 2025, 10:54 • skywatch 9 Feb 2025, 19:36 -
No merge into master in the last 5 years, should we use development?
General Discussion • 23 Sept 2024, 17:48 • kiesel 17 days ago -
Is it possible to extract child ID from a just sent message?
General Discussion • 8 Nov 2021, 09:21 • Nigel31 12 days ago -
Meet in Malmö, Summer 2016?
General Discussion • 1 Feb 2016, 15:34 • bjacobse 4 Mar 2025, 00:29 -
ESP-NOW
General Discussion • 22 Apr 2018, 05:58 • NeverDie 17 Feb 2025, 22:24