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 -
Meet in Malmö, Summer 2016?
General Discussion • 1 Feb 2016, 15:34 • bjacobse 7 days ago -
Running out of nodeId's
General Discussion • 3 Sept 2024, 07:33 • NielBierman 25 Jan 2025, 17:19 -
No merge into master in the last 5 years, should we use development?
General Discussion • 23 Sept 2024, 17:48 • kiesel 3 Oct 2024, 14:18 -
Human presence sensors....
General Discussion • 31 Jan 2025, 10:54 • skywatch 30 days ago -
Anybody got one / a few spare minimalist rfm69hw shields for wemos d1 mini?
General Discussion • 20 Sept 2024, 08:45 • kiesel 11 Oct 2024, 15:32