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