Somfy/RTS control

Posted on
Sun Jul 29, 2018 7:42 am
koburg offline
Posts: 126
Joined: Jul 27, 2017

Re: Pre-release version 7.1.0

FlyingDiver wrote:
Somehow I totally missed that post from March with the Somfy device info. Can you capture that again and this time post it here with CODE tags. The other post is missing most of the JSON punctuation, which makes it harder to decipher. Or zip up the log and post it to a new GitHub issue: https://github.com/FlyingDiver/Indigo-RFPlayer/issues


here it is

Code: Select all
29. jul. 2018 15.40.26
   RFPlayer                        Known device list:
knownDevices : (dict)
     RTS-3191872 : (dict)
          description : Shutter (string)
          devices : (list)
               Item : 1741008089 (integer)
          frameData : (dict)
               header : (dict)
                    cluster : 0 (string)
                    dataFlag : 0 (string)
                    floorNoise : -82 (string)
                    frameType : 0 (string)
                    frequency : 433420 (string)
                    infoType : 3 (string)
                    protocol : 9 (string)
                    protocolMeaning : RTS (string)
                    rfLevel : -27 (string)
                    rfQuality : 10 (string)
               infos : (dict)
                    id : 3191872 (string)
                    qualifier : 7 (string)
                    qualifierMeaning : (dict)
                         flags : (list)
                              Item : Up/On (string)
                    subType : 0 (string)
                    subTypeMeaning : Shutter (string)
          playerId : 1124932660 (integer)
          protocol : 9 (string)
          status : Active (string)
          subType : 0 (string)
     RTS-3322944 : (dict)
          description : Shutter (string)
          devices : (list)
               Item : 322467678 (integer)
          frameData : (dict)
               header : (dict)
                    cluster : 0 (string)
                    dataFlag : 0 (string)
                    floorNoise : -93 (string)
                    frameType : 0 (string)
                    frequency : 433920 (string)
                    infoType : 3 (string)
                    protocol : 9 (string)
                    protocolMeaning : RTS (string)
                    rfLevel : -66 (string)
                    rfQuality : 6 (string)
               infos : (dict)
                    id : 3322944 (string)
                    qualifier : 7 (string)
                    qualifierMeaning : (dict)
                         flags : (list)
                              Item : Up/On (string)
                    subType : 0 (string)
                    subTypeMeaning : Shutter (string)
          playerId : 1124932660 (integer)
          protocol : 9 (string)
          status : Active (string)
          subType : 0 (string)
     RTS-3388480 : (dict)
          description : Shutter (string)
          devices : (list)
               Item : 513280744 (integer)
               Item : 513280744 (integer)
               Item : 513280744 (integer)
               Item : 513280744 (integer)
               Item : 513280744 (integer)
               Item : 513280744 (integer)
               Item : 513280744 (integer)
          frameData : (dict)
               header : (dict)
                    cluster : 0 (string)
                    dataFlag : 0 (string)
                    floorNoise : -87 (string)
                    frameType : 0 (string)
                    frequency : 433420 (string)
                    infoType : 3 (string)
                    protocol : 9 (string)
                    protocolMeaning : RTS (string)
                    rfLevel : -35 (string)
                    rfQuality : 10 (string)
               infos : (dict)
                    id : 3388480 (string)
                    qualifier : 7 (string)
                    qualifierMeaning : (dict)
                         flags : (list)
                              Item : Up/On (string)
                    subType : 0 (string)
                    subTypeMeaning : Shutter (string)
          playerId : 1580545739 (integer)
          protocol : 9 (string)
          status : Active (string)
          subType : 0 (string)
     X10-A1 : (dict)
          description : X10-A1 (string)
          devices : (list)
               Item : 1428924100 (integer)
          infoType : 0 (string)
          protocol : 1 (string)
          protocolMeaning : X10 (string)
          status : Active (string)
          subType : None (string)
     X10-A2 : (dict)
          description : X10-A2 (string)
          devices : (list)
               Item : 839629549 (integer)
          infoType : 0 (string)
          protocol : 1 (string)
          protocolMeaning : X10 (string)
          status : Active (string)
          subType : None (string)


is this better ?

Posted on
Sun Jul 29, 2018 7:43 am
FlyingDiver offline
Posts: 2448
Joined: Jun 07, 2014
Location: Cape Coral, FL

Re: Pre-release version 7.1.0

koburg wrote:
is this better ?


Yes.

joe (aka FlyingDiver)
my plugins: http://forums.indigodomo.com/viewforum.php?f=177

Posted on
Sun Jul 29, 2018 7:45 am
FlyingDiver offline
Posts: 2448
Joined: Jun 07, 2014
Location: Cape Coral, FL

Re: Somfy/RTS control

Now can you turn on debug level logging and use your remove to open and close (or close then open) just one of the shutters. The commands for those should show up in the log.

joe (aka FlyingDiver)
my plugins: http://forums.indigodomo.com/viewforum.php?f=177

Posted on
Sun Jul 29, 2018 7:55 am
koburg offline
Posts: 126
Joined: Jul 27, 2017

Re: Pre-release version 7.1.0

norcoscia wrote:
koburg wrote:
norcoscia wrote:
What type of rollers do you have - if somfy there is a plug in or you can control with a script if you have their bridge.


It is Somfy what plugin. I have rfplayer plugin.



The PlugIn is called Somfy Manager (it is in beta but works great). It was written by user howartp. It will require the Somfy Mylink bridge to work. The bridge handles the translation from IP to Somfy RF. If you want any more info just let me know... happy to help.


Ok thanks but.

Im from Europe and the device they have similar to this from Somfy is called Connexoon io
https://shop.somfy.dk/styringer/connexoon

and I could buy mylink but pay around 200 $ for this I can just buy the rfxcom device for around 80$ and control many other devices.

the reason I bought this rfplayer was the two radios and that they stated on the website that it was so easy to use but that is not the truth as
I Worte earlier I spent more than 20 hours just try making the Somfy work with parrot and no support from the rfplayer company.

Posted on
Sun Jul 29, 2018 8:02 am
koburg offline
Posts: 126
Joined: Jul 27, 2017

Re: Somfy/RTS control

FlyingDiver wrote:
Now can you turn on debug level logging and use your remove to open and close (or close then open) just one of the shutters. The commands for those should show up in the log.



Yes I have tried with the verbose logging on but only this is showing

Code: Select all
RFPlayer Threaddebug            RF Dongle: Frame from RTS-3322944, known and not configured.  Ignoring.

Posted on
Sun Jul 29, 2018 8:09 am
koburg offline
Posts: 126
Joined: Jul 27, 2017

Re: Somfy/RTS control

i have found a guide here from the French controller called JEEDOM

someone made a guide how the rfplayer is setup they are using the parring mode ASSOC please see the guide use google translate it is on French I believe.

https://blog.domadoo.fr/guides/motorisations-somfy-rts-dispositifs-rfplayer-jeedom/

there are another controller called eedomus which also use same method

https://doc.eedomus.com/en/index.php/Eedomus_and_RFPlayer. (English)

Posted on
Sun Jul 29, 2018 8:13 am
koburg offline
Posts: 126
Joined: Jul 27, 2017

Re: Somfy/RTS control

this is json code taken from the rfplayer software

Code: Select all
ZIA33{ "frame" :{"header": {"frameType": "0", "cluster": "0", "dataFlag": "0", "rfLevel": "-62", "floorNoise": "-89", "rfQuality": "6", "protocol": "9", "protocolMeaning": "RTS", "infoType": "3", "frequency": "433920"},"infos": {"subType": "0", "subTypeMeaning": "Shutter", "id": "3322944", "qualifier": "7", "qualifierMeaning": { "flags": ["Up/On"]}}}}
ZIA33{ "frame" :{"header": {"frameType": "0", "cluster": "0", "dataFlag": "0", "rfLevel": "-61", "floorNoise": "-88", "rfQuality": "6", "protocol": "9", "protocolMeaning": "RTS", "infoType": "3", "frequency": "433920"},"infos": {"subType": "0", "subTypeMeaning": "Shutter", "id": "3322944", "qualifier": "1", "qualifierMeaning": { "flags": ["Down/Off"]}}}}
ZIA33{ "frame" :{"header": {"frameType": "0", "cluster": "0", "dataFlag": "0", "rfLevel": "-53", "floorNoise": "-86", "rfQuality": "8", "protocol": "9", "protocolMeaning": "RTS", "infoType": "3", "frequency": "433920"},"infos": {"subType": "0", "subTypeMeaning": "Shutter", "id": "3322944", "qualifier": "4", "qualifierMeaning": { "flags": ["My"]}}}}

Posted on
Sun Jul 29, 2018 8:17 am
FlyingDiver offline
Posts: 2448
Joined: Jun 07, 2014
Location: Cape Coral, FL

Re: Somfy/RTS control

First, update to the latest pre-release plugin: https://github.com/FlyingDiver/Indigo-R ... /tag/7.1.1

After you install that and restart, you need to create an Indigo device for each of your shutters. It'll be type RFPlayer -> "Discovered Sensor". Pick one of the RTS devices from that list. (I need to rename that to "Discovered Device".)

Then try using the Indigo client UI to turn that shutter on or off.

joe (aka FlyingDiver)
my plugins: http://forums.indigodomo.com/viewforum.php?f=177

Posted on
Sun Jul 29, 2018 8:20 am
FlyingDiver offline
Posts: 2448
Joined: Jun 07, 2014
Location: Cape Coral, FL

Re: Somfy/RTS control

koburg wrote:
Code: Select all
RFPlayer Threaddebug            RF Dongle: Frame from RTS-3322944, known and not configured.  Ignoring.


FYI - this message means that the plugin has seen a valid frame to/from this RTS device, but that there's no Indigo device associated with it.

joe (aka FlyingDiver)
my plugins: http://forums.indigodomo.com/viewforum.php?f=177

Posted on
Sun Jul 29, 2018 8:36 am
koburg offline
Posts: 126
Joined: Jul 27, 2017

Re: Somfy/RTS control

FlyingDiver wrote:
First, update to the latest pre-release plugin: https://github.com/FlyingDiver/Indigo-R ... /tag/7.1.1

After you install that and restart, you need to create an Indigo device for each of your shutters. It'll be type RFPlayer -> "Discovered Sensor". Pick one of the RTS devices from that list. (I need to rename that to "Discovered Device".)

Then try using the Indigo client UI to turn that shutter on or off.


I can add only one of the 3 devices I have but it will not respond

Code: Select all
 WebServer                       request to turn off device "test rts" from 127.0.0.1
   RFPlayer Error                  plugin does not define method actionControlSensor
   WebServer                       request to turn on device "test rts" from 127.0.0.1
   RFPlayer Error                  plugin does not define method actionControlSensor
   WebServer                       request to turn off device "test rts" from 127.0.0.1
   RFPlayer Error                  plugin does not define method actionControlSensor
Attachments
Skærmbillede 2018-07-29 kl. 16.34.26.png
Skærmbillede 2018-07-29 kl. 16.34.26.png (13.69 KiB) Viewed 221 times

Posted on
Sun Jul 29, 2018 8:58 am
FlyingDiver offline
Posts: 2448
Joined: Jun 07, 2014
Location: Cape Coral, FL

Re: Somfy/RTS control

koburg wrote:

I can add only one of the 3 devices I have but it will not respond

Code: Select all
 WebServer                       request to turn off device "test rts" from 127.0.0.1
   RFPlayer Error                  plugin does not define method actionControlSensor
   WebServer                       request to turn on device "test rts" from 127.0.0.1
   RFPlayer Error                  plugin does not define method actionControlSensor
   WebServer                       request to turn off device "test rts" from 127.0.0.1
   RFPlayer Error                  plugin does not define method actionControlSensor


Update to https://github.com/FlyingDiver/Indigo-R ... /tag/7.1.2, which should fix that error.

What do you mean "I can add only one of the 3 devices"? What happens when you try to create the others? Are you seeing three devices in the pop-up when you create the device?

joe (aka FlyingDiver)
my plugins: http://forums.indigodomo.com/viewforum.php?f=177

Posted on
Sun Jul 29, 2018 9:00 am
koburg offline
Posts: 126
Joined: Jul 27, 2017

Re: Somfy/RTS control

no I only See one device to make/add as new indigo device

but the log says known device on all 3 devices (all with different id)

Posted on
Sun Jul 29, 2018 9:01 am
FlyingDiver offline
Posts: 2448
Joined: Jun 07, 2014
Location: Cape Coral, FL

Re: Somfy/RTS control

koburg wrote:
no I only See one device to make/add as new indigo device

but the log says known device on all 3 devices (all with different id)


How many shutters do you actually have?

joe (aka FlyingDiver)
my plugins: http://forums.indigodomo.com/viewforum.php?f=177

Posted on
Sun Jul 29, 2018 9:06 am
koburg offline
Posts: 126
Joined: Jul 27, 2017

Re: Somfy/RTS control

I have 3 now I can see them

there was some old test rfplayer devices I made some time ago deleted all and made again

now this error in the log

Code: Select all
 WebServer                       request to turn off device "rts 3" from 127.0.0.1
   RFPlayer Error                  Error in plugin execution ExecuteAction:

Traceback (most recent call last):
  File "plugin.py", line 314, in actionControlSensor
KeyError: (u'RTS-3388480',)

Posted on
Sun Jul 29, 2018 9:09 am
FlyingDiver offline
Posts: 2448
Joined: Jun 07, 2014
Location: Cape Coral, FL

Re: Somfy/RTS control

Do the "Dump known devices to log" again and post that.

joe (aka FlyingDiver)
my plugins: http://forums.indigodomo.com/viewforum.php?f=177

Who is online

Users browsing this forum: No registered users and 1 guest