Sensor on gateway
-
Hello,
Is it possible to add some sensors (for example: DS18B20) physically to gateway?
I am using Pidome as a controller and I am able to pass the data from other NRF24 connected with arduino through gateway(with standard sketch), however I do not know how to send the data stored locally form sensors on the gateway and pass it to controller.Best regards
Darek
-
It should be possible to connect sensors to the gateway and pass it to the controller but I have not seen anybody doing it so probably you will have to write/merge the code yourself.
-
You have to rewrite part of MyGateWay.cpp or create your own class. It is not that easy that it looks like at first glance. I did it but it didn't end up in that good functionality so I skipped it and made a separte sensor and keept the Gateway unchanged.
You have another answer in the same direction here: http://forum.mysensors.org/topic/722/is-it-possible-to-have-an-ethernet-gateway-also-act-as-a-node-single-arduino-setup/4
Suggested Topics
-
Update RF24 library to latest version
Bug Reports • 23 Mar 2014, 23:37 • andriej 24 Mar 2014, 22:52 -
Email notifications received twice
General Discussion • 6 Feb 2023, 16:15 • Jodaille 11 days ago -
Code Garage to the rescue.
General Discussion • 11 Jan 2025, 11:25 • skywatch 23 Feb 2025, 14:57 -
Is it possible to extract child ID from a just sent message?
General Discussion • 8 Nov 2021, 09:21 • Nigel31 7 days ago -
ESP32 with LoRa
General Discussion • 31 Jan 2023, 11:06 • dhanushmh 4 days ago -
Which device I have to use to connect with accelerometer before connecting to my pc?
General Discussion • 24 Jan 2023, 17:16 • Yada Kijsathan 21 days ago