I am trying to change some of the code for this plugin to include imagintronix protocol for instance but I am struggling with how to see the raw data that the rfxcom sends to the Vera. Does anybody know how I can isolate the raw message stream send to the Vera? This seems to me the only way to reverse engineer the code.
You may try looking at the Vera log. Look for LastReceivedMsg in the log. If you have MS Excel the easiest way to retrieve the log is to use the ELVira tool. You can find it here: http://forum.micasaverde.com/index.php/topic,30265.0.html
If the message is one that the plugin doesn’t know how to decode you should find a message to that effect.
I don’t see imagintronix listed anywhere in the RFXtrx user guide as one of the devices the transceiver recognizes. If that’s the case then I doubt you’ll find anything in the Vera log that you can use.
OK - after looking at the existing plugin code I see that a imagintronix soil sensor is apparently supported. If you’re trying to use a different imagintronix device it will depend upon whether or not the transceiver will decode the signal.
Thanks for the pointers. I am aware of the log and the last message thing. But I only see this if this is not recognised. I need to enable the protocol and I am looking for a way to stream all the data coming from the rfx device. That way I can reverse engineer the code.
@buurent - I see the LastReceivedMsg in the log for every message sent by the transceiver. I used this info to fix a problem in the code where it didn’t recognize the message that contained the firmware version and firmware type.
The easiest way to enable the protocol is to use the RFXmngr application on Windows.
There are also free tools available for Windows to capture all USB data. I’ve used USBCap
Ah Thanks that might work. I used RFXmgr but that also does not give me the raw stream but the translated information. My soil sensors work fine when I hook them up to RFXmgr but the protocol is not enabled on the plugin. I wil have a look at USBCap.
Best Home Automation shopping experience. Shop at Ezlo!