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
-
💬 EASY PIR multisensors box
OpenHardware.io • 14 Mar 2018, 20:53 • openhardware.io 13 Jun 2018, 20:54 -
Domoticz Gateway
Domoticz • 8 Apr 2021, 19:58 • WiktorDIY 11 Apr 2021, 19:32 -
💬 4-channel switcher/dimmer
OpenHardware.io • 26 Feb 2017, 20:18 • openhardware.io 13 Jun 2017, 02:59 -
💬 heating circuit regulation with nextion display
OpenHardware.io • 23 Jan 2017, 19:12 • openhardware.io 23 Jan 2017, 19:12 -
💬 Very narrow and minimal switch node
OpenHardware.io • 9 Feb 2016, 22:22 • openhardware.io 14 Nov 2016, 20:14 -
💬 NModule MiLight bridge shield
OpenHardware.io • 29 May 2017, 18:42 • openhardware.io 20 Oct 2017, 11:19 -
💬 Mini Dimmer Box
OpenHardware.io • 31 Mar 2018, 11:19 • openhardware.io 31 Mar 2018, 11:24 -
💬 MySensors RS-485 Universal Module
OpenHardware.io • 18 Jun 2020, 05:45 • openhardware.io 18 Jun 2020, 18:40