maxwellhadley / node-red-contrib-rfxcom

node-RED nodes to access an RFXtrx433 transceiver
BSD 2-Clause "Simplified" License
22 stars 13 forks source link

Battery Level #94

Closed gaetan29 closed 4 years ago

gaetan29 commented 4 years ago

Hi, Is there a way to retrieve the battery level (or at least its status) of an 433 Mhz device ? "Battery" tag is showing undet RFXmngr. Thanks

IMG_1298

maxwellhadley commented 4 years ago

Yes, both RSSI (signal level) and battery status, if available, are present as properties of the status field of the message object. Not all devices send battery status, but environmental sensors like the ones you show generally do. This is a packet from a remote control, which doesn't send battery status:

image

gaetan29 commented 4 years ago

Hi, I do use the "RFX Sensor" node ... and only get the following data (see attached screenshots).... nothing about payload, battery status ... Regards

RFX01 RFX02

maxwellhadley commented 4 years ago

You need to set the debug node to show all message properties, not just payload. Double-click the debug node, and set the Output to 'complete message object':

image

gaetan29 commented 4 years ago

I see... I can indeed see everything now. Many thanks.

maxwellhadley commented 4 years ago

You're welcome!