Plugin Update V1.87

Thank You i will Run thru the User guide :slight_smile: do you have two RFXtrx ? to same Vera .
So i think i run the old trunk beta 3 on my vera plus right now , do i just upload to your new V1.87 .
Or will all my devices i have be gone or do i have to update them also ? i have quiet a lot of different brands i i dont remember how to add all of them :slight_smile:

Thanks

I have two RFXtrx connected through a powered USB hub. You should be able to just upload all of the files for version 1.87. I believe that all of your devices should still be there.

Thank you i will update my RfxTrx first then Upload .

Thanks for all help :slight_smile:

Hi

I’ve just updated the plugin to this version (from 1.30) and most of my Somfy devices have stopped responding. The two that still work are the latest 2 additions to the system. When I sort the managed devices by type, these are the only 2 that come up as Somfy RTS, the rest show as undefined category.

What do the altid of the devices that do not work look like?

Hi

The altid of one device that isn’t working reads

WC/RFY0/00051/00

Thanks

Modify it to look like WC/RFY.0/00051/00 (note the period after RFY)

Thanks Tinman

modified as suggested, and rebooted Vera, but still no response. All the Somfy devices are now categorised properly within the managed devices of the Rfxtrx, but still only the two latest additions respond. All are working fine from the Somfy remotes

thanks

At this point I suggest you enable debug on the RFXtrx, attempt to operate one or more of the Somfy devices that appear inoperable and then view the LuaUPNP.log in your browser (http://your-Vera-IP-address:3480/cgi-bin/cmh/log.sh?Device=LuaUPnP))
Look for Error or Warning log entries.

Hi
Solved the problem - somehow the RFx had been set to the wrong frequency! The only issue I have now is that the device I deleted when trying to solve the issue won’t recreate properly. Following the Vesternet instructions I can create the device, but when I try and pair it, there is no “program” option for the “run’” command

OK, what device are you trying to create? We’re still talking about a Somfy type device?

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>