Running scene on device ON/OFF...even if device is already in this status

Hi,

Here is my small issue, hoping you experts can help.
I want a Z-Wave device to be “virtually paired” with an X-10 device. That is, when the X-10 device is turned ON, the Z-Wave device should also turn on. When the X-10 device is turned off, the Z-Wave device is turned on.

The X-10 device is a virtual device (see below for why this is the case if you want details), so its status ON or OFF actually doesn’t matter.
I have created 2 scenes attached to the X-10 device, controlling the Z-Wave on ‘a device is turned on…’/‘…off’.

And it works! Only not always… it doesn’t work when I order he X-10 device ON, and it was already ON. So the Z-Wave device remains OFF (and same thing for OFF).
Is there any way to run a scene or LUUP code, whenever an “ON” or “OFF” order is sent to a device, no matter if this device is already in this status?

Now I could creates scenes for the opposite scenario (having the Z-Wave device update the X-10 device), so they are always in sync. But that would be 2 more scenes per device. I am afraid this would be heavy, and am looking for maybe another solution.

Thanks a lot !
Pierre

—Below are my setup if you want more details

  • My Setup
    I have a universal remote (Philips Pronto NG SBC-RU990 - EU) that has 433Mhz wireless, and can control X-10.
    I have an USB RFXCom (Rfxtrx) connected to my Vera 2 with UI5, allowing my Vera to send an receive X-10 orders.
    I have miscellaneous Z-Wave devices, and want my Pronto to control the Z-wave devices (indirectly of course)
  • Am I crazy?
    No, and for a fact it works…only with the caveat described above. I am even surprised by the very small lag between commands (less than a second from remote press to Z-Wave operation). What can I say? I love the good old Pronto ;D, despite having an SQ Blaster, controlling the home and HT devices from a touch screen on a phone with absolutely no hard button is nothing natural to me.
  • About the X-10 devices
    Those X-10 virtual devices have been created automatically by the RFXtrx (thanks to Lolodomo’s great plugin) by sending the X10 commands from my Pronto. They are in the Range M1-M16, and work as regular ON/OFF devices in Vera.