As per the title, in order to integrate my new zWave alarm items with my existing X10 Alarm while I am slowly replacing it, I am trying to “fake” the replaced sensors’ signals, to trigger the expected events on the existing alarm.
I can see the messages come in, but if I copy that message to the 'SendMessage" command, it sends a totally different message:
I might be able to help but I need more details about exactly what you are trying to do.
I think you are trying to use the RFXtrx to send X10 messages.
What are you doing with Vera and/or the RFXtrx plugin to send these messages?
I have an older X10-based Marmitek alarm, and we just replaced our windows and doors (and frames) with composite, and the original X10 door/window sensors were taken out together with the old frames…
So for the new composite doors/windows/frames I am using Sensative Security Strips (they work fine with Vera boxes, even on UI5, once you’ve tweaked the settings and installed 1.5.672) as they’re invisible.
Now I want to use the RFXTRX to send/emulate the DS10E/BNL ‘trigger’ and ‘untrigger’ signals to the X10-based Marmitek 9509 alarm system, until such time that I can completely replace the alarm with a Z-Wave based system, whenever the Sensative Security Strips trigger/untrigger…
(Does that help? Or do you need more information?)
Have you modified the plugin code to be able to send that message? If you have I’d suggest trying again but replacing the last byte (59) with 00. The transceiver sends that info based on the signal it receives but expects it to be 00 when sending.
No plugin code modification (at least for this one!) yet… Would have to spend some time getting to understand the codebase before I could make changes w/o decreasing the WAF
No, not yet. I’ve been experimenting with adding code to a scene to try to send the messages. No luck so far. My attempts so far either fail or cause the serial port to lose its connection to the transceiver.
I have a temporary workaround, but it is an ugly kludge: I connected a KIKA potential-free switch to an X10 door/window-sensor, so I can trigger that, but it isn’t the most reliable solution!
You might try this from the Vera Apps → Develop Apps → Test Luup code (Lua) dialog:
luup.call_action(“urn:upnp-rfxcom-com:serviceId:rfxtrx1”, “SendMessage”, {[“Message”] = “082000003A3531xx00”}, yyyy)
where xx is either 00 or 02 and yyyy is your RFXtrx device number
If this works you should be able to use it as lua code in a scene triggered by your new sensors.
When I send:
luup.call_action(“urn:upnp-rfxcom-com:serviceId:rfxtrx1”, “SendMessage”, {[“Message”] = “08200207aabbcc0D00”}, 120)
(where aabbcc is the code of my SRsomething alarm remote)
I can successfully disarm the alarm, so the code itself is being transmitted, as per the log:
I may have found something… The alarm keeps track of the sequence number, and the one the real sensor uses is different from the one the simulated one (with the same ID) uses…
I will try later to add a new virtual sensor (ie different hex ID) to the alarm…
Successfully added a new sensor to the old alarm… So it was the sequencing that screwed it up…
After that (in normal alarm mode) it gave the “door open” ping…
SUCCESS!!!
Thanks a bunch for putting me on the right track!
Best Home Automation shopping experience. Shop at Ezlo!