maxwellhadley / node-red-contrib-rfxcom

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

rfx-meter - wireless energy monitors OWL #47

Closed mac-d closed 6 years ago

mac-d commented 6 years ago

Hello, I have two wireless energy monitors from OWL in use. After the update, I only get data from a current meter. The RFXCOM receives both transmitters. What can I do?

maxwellhadley commented 6 years ago

I have made no change to the energy meter handling in the recent update, it should not have affected your OWLs. What version were you running previously?

mac-d commented 6 years ago

Hello, unfortunately I do not know that. I did an update on both the RFXcom and node-red. I just noticed that with the RFXcom Manager both ammeters are displayed. If I only use the rfx-meter and debug, only one sender will be displayed. nice greeting dieter

maxwellhadley commented 6 years ago

Please first check the rfx-mter node is set to 'listen for data messages from any address'. I don't see why that would have changed, though.

I would like to check the messages are getting through to Node-RED from the RFXtrx433E. Please can you stop Node-RED, then set the environment variable RED_DEBUG=rfxcom and re-start Node-RED. This will send extra debug messages from the rfxcom module to the console output.

OWL sensors send messages of different types, depending on the model:

Where ... is a number which counts up with each message, and id1, id2 are the address or id bytes of the sensor.

If you look at the console output for lines like:

[rfxcom] on /dev/cu.usbserial-A1R1A6A - Received: 0B,11,00,00,00,1E,F1,CE,01,00,00,70

(where your device port will be different, obviously) these are the actual bytes returned by the RFXtrx433E. If you see messages from both sensors, it's a problem with node-red-contrib-rfxcom. If not, it's something to do with the receiver itself.

mac-d commented 6 years ago

Hello, Unfortunately, I'm not so good with the Node-Red system. Where do I have to make the entry RED_DEBUG = rfxcom? I use Node-Red via ioBroker. Thank you Dieter

maxwellhadley commented 6 years ago

Ah - that makes it difficult. I need to make a change that allows debug to be enabled from the Node-RED editor. New issue #48 addresses this

mac-d commented 6 years ago

Many Thanks. I'm waiting for the new version