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
-
Office plant monitor
OpenHardware.io • 29 Jul 2016, 19:56 • openhardware.io 16 Jul 2017, 11:24 -
💬 MySensors Stable Node
OpenHardware.io • 21 Feb 2016, 21:07 • openhardware.io 5 Jun 2019, 20:45 -
#define DEFAULT_RFM69_IRQ_PIN
General Discussion • 26 Jul 2023, 09:38 • Tmaster 1 Aug 2023, 21:34 -
💬 MySensors InCan double light switch
OpenHardware.io • 13 Feb 2019, 12:50 • openhardware.io 4 days ago -
💬 OH Easy Advanced Gateway
OpenHardware.io • 30 May 2017, 20:14 • openhardware.io 30 Jun 2017, 16:29 -
Can't get ESP8266 gateway to work anymore
My Project • 8 Aug 2021, 22:17 • Zwer2k 12 Aug 2021, 09:05 -
💬 "Drömsyn" Weather prediction lamp
OpenHardware.io • 21 Nov 2019, 13:03 • openhardware.io 21 Nov 2019, 13:59 -
💬 Wirsbo/uponor thermostat
OpenHardware.io • 18 Dec 2016, 19:16 • openhardware.io 13 Nov 2019, 10:37