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
-
💬 MySFreezer - Node for Freezer and Lab Equipment monitoring
OpenHardware.io • 12 Dec 2016, 06:13 • openhardware.io 12 Dec 2016, 06:13 -
💬 Wireless Touch Switch: Relay Model - (For Livolo crystals)
OpenHardware.io • 15 Jan 2018, 20:45 • openhardware.io 7 Jul 2018, 18:32 -
💬 MySensors Easy Pro Mini
OpenHardware.io • 31 May 2017, 07:30 • openhardware.io 20 Nov 2018, 15:59 -
💬 RFM69 Relay Actuator Node (mains powered)
OpenHardware.io • 3 Feb 2017, 11:54 • openhardware.io 16 Mar 2017, 13:39 -
💬 RFM69 Multisensor Node (CR2032)
OpenHardware.io • 23 Jan 2017, 14:17 • openhardware.io 4 Jan 2019, 09:00 -
💬 MySensors D1 mini
OpenHardware.io • 20 Mar 2017, 22:36 • openhardware.io 8 Sept 2017, 17:44 -
💬 RFM69 Livolo 1 channel 1 way EU switch(VL-C700X-1_Ver_C2)
OpenHardware.io • 8 May 2017, 16:04 • openhardware.io 12 May 2017, 22:01 -
💬 MDMSGate
OpenHardware.io • 10 Jul 2016, 19:42 • openhardware.io 2 Jul 2019, 06:44