Plugin Update V1.87

Yes, a Venetian blind. I can create it using the new device routine, but when I then try and pair using the manage device routine, the “‘command” option isn’t available. All the other Somfy devices have this option and are working. I’m on firmware Pro2 1043.

What does the device altid look like? Are you running the latest version of the plugin? (V1.94)

The altid is WC/RFY.9/0012F/01 and the plug-in is 1.94

OK, I need to make some additions to the code that I overlooked. In the meantime try this:

  1. Change the altid to WC/RFY.0/0012F/01
  2. You’ll want to do an Luup reload - this is done easily by uploading one of the plugin files again
  3. refresh your browser
  4. See if the Program command is now available for the device if so
  5. try pairing it again. If that succeeds
  6. go back and change the altid back to what it was
    Let me know if this works.

Hi
No luck with this. Tried creating as an awning and pairing, which worked, but when I used your procedure to change to venetian, it loses connectivity

OK - I’ll look into this. It would help to see what’s shown in the log file.

I’ve tried to access the log using the url you posted earlier, but just get a blank page

I’ve updated some files. See the posting here Fix for Somfy devices - Version 1.95 - USB RFXtrx Transceiver - Ezlo Community

Hi

tried the update and the program option is now there, but the device won’t pair. Log extract below

03/08/20 19:58:54.565 JobHandler_LuaUPnP::HandleActionRequest device: 12 service: urn:upnp-rfxcom-com:serviceId:rfxtrx1 action: SendCommand <0x72c88520>
08 03/08/20 19:58:54.566 JobHandler_LuaUPnP::HandleActionRequest argument DeviceNum=12 <0x72c88520>
08 03/08/20 19:58:54.566 JobHandler_LuaUPnP::HandleActionRequest argument serviceId=urn:upnp-rfxcom-com:serviceId:rfxtrx1 <0x72c88520>
08 03/08/20 19:58:54.567 JobHandler_LuaUPnP::HandleActionRequest argument action=SendCommand <0x72c88520>
08 03/08/20 19:58:54.567 JobHandler_LuaUPnP::HandleActionRequest argument DeviceId=370 <0x72c88520>
08 03/08/20 19:58:54.568 JobHandler_LuaUPnP::HandleActionRequest argument CommandType=Program <0x72c88520>
50 03/08/20 19:58:54.568 luup_log:12: RFXtrx: dbg: sendUnusualCommand->Device number: 370 Command: Program <0x72c88520>
50 03/08/20 19:58:54.569 luup_log:12: RFXtrx: dbg: sendUnusualCommand-> altid: WC/RFY.9/001F9/01 subAltid: RFY.9/ command: Program <0x72c88520>
50 03/08/20 19:58:54.570 luup_log:12: RFXtrx: dbg: findChild-> parentDevice: 12 altid: RFY.9/001F9/01 deviceType: urn:schemas-micasaverde-com:device:WindowCovering:1 <0x72c88520>
50 03/08/20 19:58:54.570 luup_log:12: RFXtrx: dbg: devicenum found in table - key: RFY.9/001F9/01urn:schemas-micasaverde-com:device:WindowCovering:1 devicenum: 370 myDevice: true <0x72c88520>
01 03/08/20 19:58:54.571 LuaInterface::CallFunction_Job device 12 function SRFXtrx_rfxtrx1_SendCommand_run failed [string “module(“L_RFXtrx”, package.seeall)…”]:1742: bad argument #2 to ‘format’ (integer expected, got nil) <0x72c88520>
08 03/08/20 19:59:02.366 JobHandler_LuaUPnP::HandleActionRequest device: 12 service: urn:upnp-rfxcom-com:serviceId:rfxtrx1 action: SetAutoCreate <0x72c88520>
08 03/08/20 19:59:02.366 JobHandler_LuaUPnP::HandleActionRequest argument DeviceNum=12 <0x72c88520>
08 03/08/20 19:59:02.366 JobHandler_LuaUPnP::HandleActionRequest argument serviceId=urn:upnp-rfxcom-com:serviceId:rfxtrx1 <0x72c88520>
08 03/08/20 19:59:02.367 JobHandler_LuaUPnP::HandleActionRequest argument action=SetAutoCreate <0x72c88520>
08 03/08/20 19:59:02.367 JobHandler_LuaUPnP::HandleActionRequest argument enable=true <0x72c88520>
50 03/08/20 19:59:02.368 luup_log:12: RFXtrx: dbg: setAutoCreate true <0x72c88520>
50 03/08/20 19:59:02.369 luup_log:12: RFXtrx: dbg: setVariable - deviceNum: 12 variable: AutoCreate value: 1 <0x72c88520>
06 03/08/20 19:59:02.369 Device_Variable::m_szValue_set device: 12 service: upnp-rfxcom-com:serviceId:rfxtrx1 variable: AutoCreate was: 0 now: 1 #hooks: 0 upnp: 0 skip: 0 v:(nil)/NONE duplicate:0 <0x72c88520>
08 03/08/20 19:59:03.742 JobHandler_LuaUPnP::HandleActionRequest device: 12 service: urn:upnp-rfxcom-com:serviceId:rfxtrx1 action: SendCommand <0x72c88520>
08 03/08/20 19:59:03.743 JobHandler_LuaUPnP::HandleActionRequest argument DeviceNum=12 <0x72c88520>
08 03/08/20 19:59:03.743 JobHandler_LuaUPnP::HandleActionRequest argument serviceId=urn:upnp-rfxcom-com:serviceId:rfxtrx1 <0x72c88520>
08 03/08/20 19:59:03.744 JobHandler_LuaUPnP::HandleActionRequest argument action=SendCommand <0x72c88520>
08 03/08/20 19:59:03.744 JobHandler_LuaUPnP::HandleActionRequest argument DeviceId=370 <0x72c88520>
08 03/08/20 19:59:03.745 JobHandler_LuaUPnP::HandleActionRequest argument CommandType=Program <0x72c88520>
50 03/08/20 19:59:03.745 luup_log:12: RFXtrx: dbg: sendUnusualCommand->Device number: 370 Command: Program <0x72c88520>
50 03/08/20 19:59:03.746 luup_log:12: RFXtrx: dbg: sendUnusualCommand-> altid: WC/RFY.9/001F9/01 subAltid: RFY.9/ command: Program <0x72c88520>
50 03/08/20 19:59:03.746 luup_log:12: RFXtrx: dbg: findChild-> parentDevice: 12 altid: RFY.9/001F9/01 deviceType: urn:schemas-micasaverde-com:device:WindowCovering:1 <0x72c88520>
50 03/08/20 19:59:03.747 luup_log:12: RFXtrx: dbg: devicenum found in table - key: RFY.9/001F9/01urn:schemas-micasaverde-com:device:WindowCovering:1 devicenum: 370 myDevice: true <0x72c88520>
01 03/08/20 19:59:03.748 LuaInterface::CallFunction_Job device 12 function SRFXtrx_rfxtrx1_SendCommand_run failed [string “module(“L_RFXtrx”, package.seeall)…”]:1742: bad argument #2 to ‘format’ (integer expected, got nil) <0x72c88520>