Gateway report all nodes rf power
-
Hi,
I'm running a mysensors network using RFM69 radios and I am wondering if it is possible to have the gateway report (as sensors) all the attached node's rf power levels?
I have played with the rf reporting and I currently have a couple of nodes reporting their levels. I configured the 'sensors' as S_LIGHT_LEVEL since I report the 0-100% transmit level. I couldn't find a sensor specific to rf power.
Just thought it would be easier to have the gateway report the levels since the measurements are coming from the gateway in the first place.
Thanks,
Kevin
-
@KevinT I do that for 1 node in https://github.com/mfalkvidd/Arduino-MySensors-ESP8266-RFM69-Gateway/blob/master/Arduino-MySensors-ESP8266-RFM69-Gateway.ino#L119
You could replace the if clause with a line that saves the ID of the node, and set that node ID on the msgRssi1 message when sending it.
-
@mfalkvidd Thanks, that's exactly what I need. I wasn't sure how to retrieve the values at the gateway.
Just wondering how the receive works. Is it called every time the gateway receives data from a node, after the node processes the message?Thanks again,
KevinT
-
@KevinT every time, yes. I don't know the relation to processing.
Suggested Topics
-
💬 MySensors temperature sensor
OpenHardware.io • 13 Mar 2017, 22:57 • openhardware.io 13 Mar 2017, 22:57 -
💬 NodeManager
OpenHardware.io • 23 Mar 2017, 22:45 • openhardware.io 26 May 2019, 18:10 -
MySensors LG TV controller
OpenHardware.io • 15 Mar 2016, 13:11 • openhardware.io 15 Mar 2016, 13:11 -
MyPowerMeter v1.0
OpenHardware.io • 16 Mar 2016, 22:13 • openhardware.io 6 Sept 2016, 20:08 -
💬 NRF51822 Livolo 2 channel 1 way EU switch(VL-C700X-1_Ver_C2)
OpenHardware.io • 11 Oct 2017, 13:40 • openhardware.io 12 Oct 2017, 07:38 -
💬 NModule Temperature, Humidity, Light, Door sensor shield
OpenHardware.io • 28 May 2017, 16:09 • openhardware.io 27 May 2018, 12:32 -
Solar powered sensor board
OpenHardware.io • 15 Mar 2016, 17:32 • openhardware.io 30 Mar 2019, 23:19