Somfy Plugin error

Posted on
Sun Feb 03, 2013 5:56 pm
Scoyvr offline
Posts: 2
Joined: Aug 27, 2012

Somfy Plugin error

I am using a plug in recently created for me for my Somfy blinds and drapes. I have created two action groups for night and day, ie at night the drapes, blackout blinds and sheers close. Sometimes the commands all work i.e. the drapes, blackouts and sheers all close. Other times the drapes may only work, other times, the drapes, and one of the blackout blinds and so on. If I keep pressing the button on the iPad eventually the commands will all be completed. Any thoughts on how I overcome this problem. It seems that there is a transmission problem.

Posted on
Mon Feb 04, 2013 7:06 pm
matt (support) offline
Site Admin
User avatar
Posts: 21411
Joined: Jan 27, 2003
Location: Texas

Re: Action Group working randomly

Can you copy/paste what the Event Log shows in both the failure and success cases? That will help us troubleshoot the nature of the problem.

Image

Posted on
Tue Feb 05, 2013 8:56 am
Scoyvr offline
Posts: 2
Joined: Aug 27, 2012

Re: Action Group working randomly

Matt,

Attached are some of the most recent logs. I have had successes but they have not appeared in the logs. The logs are all only partial as they are too large and I am receiving a reject message about the amount of characters.

Log 1

2013-02-04 00:00:09 Application Created new log file (Indigo Server version 5.1.8)
2013-02-04 00:00:09 Autelis Somfy Error Error in plugin execution runConcurrentThread:

Traceback (most recent call last):
File "plugin.py", line 46, in runConcurrentThread
File "/Library/Application Support/Perceptive Automation/Indigo 5/Plugins/AutelisSomfy.indigoPlugin/Contents/Server Plugin/Autelis.py", line 69, in runConcurrentThread
File "/Library/Application Support/Perceptive Automation/Indigo 5/Plugins/AutelisSomfy.indigoPlugin/Contents/Server Plugin/Autelis.py", line 147, in checkForMessages
<type 'exceptions.NameError'>: global name 'processSDN' is not defined

2013-02-04 00:00:09 Autelis Somfy Error plugin runConcurrentThread function returned or failed (will attempt again in 10 seconds)
2013-02-04 00:00:19 Autelis Somfy Error Error in plugin execution runConcurrentThread:

Traceback (most recent call last):
File "plugin.py", line 46, in runConcurrentThread
File "/Library/Application Support/Perceptive Automation/Indigo 5/Plugins/AutelisSomfy.indigoPlugin/Contents/Server Plugin/Autelis.py", line 69, in runConcurrentThread
File "/Library/Application Support/Perceptive Automation/Indigo 5/Plugins/AutelisSomfy.indigoPlugin/Contents/Server Plugin/Autelis.py", line 142, in checkForMessages
<type 'exceptions.UnicodeDecodeError'>: 'ascii' codec can't decode byte 0xf9 in position 3: ordinal not in range(128)

2013-02-04 00:00:19 Autelis Somfy Error plugin runConcurrentThread function returned or failed (will attempt again in 10 seconds)
2013-02-04 00:00:29 Autelis Somfy Error Error in plugin execution runConcurrentThread:

Traceback (most recent call last):
File "plugin.py", line 46, in runConcurrentThread
File "/Library/Application Support/Perceptive Automation/Indigo 5/Plugins/AutelisSomfy.indigoPlugin/Contents/Server Plugin/Autelis.py", line 69, in runConcurrentThread
File "/Library/Application Support/Perceptive Automation/Indigo 5/Plugins/AutelisSomfy.indigoPlugin/Contents/Server Plugin/Autelis.py", line 147, in checkForMessages
<type 'exceptions.NameError'>: global name 'processSDN' is not defined

2013-02-04 00:00:29 Autelis Somfy Error plugin runConcurrentThread function returned or failed (will attempt again in 10 seconds)
2013-02-04 00:00:39 Autelis Somfy Error Error in plugin execution runConcurrentThread:

Traceback (most recent call last):
File "plugin.py", line 46, in runConcurrentThread
File "/Library/Application Support/Perceptive Automation/Indigo 5/Plugins/AutelisSomfy.indigoPlugin/Contents/Server Plugin/Autelis.py", line 69, in runConcurrentThread
File "/Library/Application Support/Perceptive Automation/Indigo 5/Plugins/AutelisSomfy.indigoPlugin/Contents/Server Plugin/Autelis.py", line 142, in checkForMessages
<type 'exceptions.UnicodeDecodeError'>: 'ascii' codec can't decode byte 0xe6 in position 3: ordinal not in range(128)

2013-02-04 00:00:39 Autelis Somfy Error plugin runConcurrentThread function returned or failed (will attempt again in 10 seconds)
2013-02-04 00:00:49 Autelis Somfy Error Error in plugin execution runConcurrentThread:

Traceback (most recent call last):
File "plugin.py", line 46, in runConcurrentThread
File "/Library/Application Support/Perceptive Automation/Indigo 5/Plugins/AutelisSomfy.indigoPlugin/Contents/Server Plugin/Autelis.py", line 69, in runConcurrentThread
File "/Library/Application Support/Perceptive Automation/Indigo 5/Plugins/AutelisSomfy.indigoPlugin/Contents/Server Plugin/Autelis.py", line 147, in checkForMessages
<type 'exceptions.NameError'>: global name 'processSDN' is not defined

2013-02-04 00:00:49 Autelis Somfy Error plugin runConcurrentThread function returned or failed (will attempt again in 10 seconds)
2013-02-04 00:01:00 Autelis Somfy Error Error in plugin execution runConcurrentThread:

Traceback (most recent call last):
File "plugin.py", line 46, in runConcurrentThread
File "/Library/Application Support/Perceptive Automation/Indigo 5/Plugins/AutelisSomfy.indigoPlugin/Contents/Server Plugin/Autelis.py", line 69, in runConcurrentThread
File "/Library/Application Support/Perceptive Automation/Indigo 5/Plugins/AutelisSomfy.indigoPlugin/Contents/Server Plugin/Autelis.py", line 142, in checkForMessages
<type 'exceptions.UnicodeDecodeError'>: 'ascii' codec can't decode byte 0x8b in position 3: ordinal not in range(128)

2013-02-04 00:01:00 Autelis Somfy Error plugin runConcurrentThread function returned or failed (will attempt again in 10 seconds)
2013-02-04 00:01:10 Autelis Somfy Error Error in plugin execution runConcurrentThread:

Traceback (most recent call last):
File "plugin.py", line 46, in runConcurrentThread
File "/Library/Application Support/Perceptive Automation/Indigo 5/Plugins/AutelisSomfy.indigoPlugin/Contents/Server Plugin/Autelis.py", line 69, in runConcurrentThread
File "/Library/Application Support/Perceptive Automation/Indigo 5/Plugins/AutelisSomfy.indigoPlugin/Contents/Server Plugin/Autelis.py", line 147, in checkForMessages
<type 'exceptions.NameError'>: global name 'processSDN' is not defined

2013-02-04 00:01:10 Autelis Somfy Error plugin runConcurrentThread function returned or failed (will attempt again in 10 seconds)
2013-02-04 00:01:20 Autelis Somfy Error Error in plugin execution runConcurrentThread:

Traceback (most recent call last):
File "plugin.py", line 46, in runConcurrentThread
File "/Library/Application Support/Perceptive Automation/Indigo 5/Plugins/AutelisSomfy.indigoPlugin/Contents/Server Plugin/Autelis.py", line 69, in runConcurrentThread
File "/Library/Application Support/Perceptive Automation/Indigo 5/Plugins/AutelisSomfy.indigoPlugin/Contents/Server Plugin/Autelis.py", line 142, in checkForMessages
<type 'exceptions.UnicodeDecodeError'>: 'ascii' codec can't decode byte 0xee in position 6: ordinal not in range(128)

2013-02-04 00:01:20 Autelis Somfy Error plugin runConcurrentThread function returned or failed (will attempt again in 10 seconds)
2013-02-04 00:01:30 Autelis Somfy Error Error in plugin execution runConcurrentThread:

Traceback (most recent call last):
File "plugin.py", line 46, in runConcurrentThread
File "/Library/Application Support/Perceptive Automation/Indigo 5/Plugins/AutelisSomfy.indigoPlugin/Contents/Server Plugin/Autelis.py", line 69, in runConcurrentThread
File "/Library/Application Support/Perceptive Automation/Indigo 5/Plugins/AutelisSomfy.indigoPlugin/Contents/Server Plugin/Autelis.py", line 147, in checkForMessages
<type 'exceptions.NameError'>: global name 'processSDN' is not defined

2013-02-04 00:01:30 Autelis Somfy Error plugin runConcurrentThread function returned or failed (will attempt again in 10 seconds)
2013-02-04 00:01:40 Autelis Somfy Error Error in plugin execution runConcurrentThread:

Traceback (most recent call last):
File "plugin.py", line 46, in runConcurrentThread
File "/Library/Application Support/Perceptive Automation/Indigo 5/Plugins/AutelisSomfy.indigoPlugin/Contents/Server Plugin/Autelis.py", line 69, in runConcurrentThread
File "/Library/Application Support/Perceptive Automation/Indigo 5/Plugins/AutelisSomfy.indigoPlugin/Contents/Server Plugin/Autelis.py", line 142, in checkForMessages
<type 'exceptions.UnicodeDecodeError'>: 'ascii' codec can't decode byte 0xee in position 6: ordinal not in range(128)

2013-02-04 00:01:40 Autelis Somfy Error plugin runConcurrentThread function returned or failed (will attempt again in 10 seconds)
2013-02-04 00:01:50 Autelis Somfy Error Error in plugin execution runConcurrentThread:

Traceback (most recent call last):
File "plugin.py", line 46, in runConcurrentThread
File "/Library/Application Support/Perceptive Automation/Indigo 5/Plugins/AutelisSomfy.indigoPlugin/Contents/Server Plugin/Autelis.py", line 69, in runConcurrentThread
File "/Library/Application Support/Perceptive Automation/Indigo 5/Plugins/AutelisSomfy.indigoPlugin/Contents/Server Plugin/Autelis.py", line 147, in checkForMessages
<type 'exceptions.NameError'>: global name 'processSDN' is not defined

2013-02-04 00:01:50 Autelis Somfy Error plugin runConcurrentThread function returned or failed (will attempt again in 10 seconds)
2013-02-04 00:02:00 Autelis Somfy Error Error in plugin execution runConcurrentThread:

Traceback (most recent call last):
File "plugin.py", line 46, in runConcurrentThread
File "/Library/Application Support/Perceptive Automation/Indigo 5/Plugins/AutelisSomfy.indigoPlugin/Contents/Server Plugin/Autelis.py", line 69, in runConcurrentThread
File "/Library/Application Support/Perceptive Automation/Indigo 5/Plugins/AutelisSomfy.indigoPlugin/Contents/Server Plugin/Autelis.py", line 142, in checkForMessages
<type 'exceptions.UnicodeDecodeError'>: 'ascii' codec can't decode byte 0xee in position 6: ordinal not in range(128)

2013-02-04 00:02:00 Autelis Somfy Error plugin runConcurrentThread function returned or failed (will attempt again in 10 seconds)
2013-02-04 00:02:10 Autelis Somfy Error Error in plugin execution runConcurrentThread:

Traceback (most recent call last):
File "plugin.py", line 46, in runConcurrentThread
File "/Library/Application Support/Perceptive Automation/Indigo 5/Plugins/AutelisSomfy.indigoPlugin/Contents/Server Plugin/Autelis.py", line 69, in runConcurrentThread
File "/Library/Application Support/Perceptive Automation/Indigo 5/Plugins/AutelisSomfy.indigoPlugin/Contents/Server Plugin/Autelis.py", line 147, in checkForMessages
<type 'exceptions.NameError'>: global name 'processSDN' is not defined

2013-02-04 00:02:10 Autelis Somfy Error plugin runConcurrentThread function returned or failed (will attempt again in 10 seconds)
2013-02-04 00:02:20 Autelis Somfy Error Error in plugin execution runConcurrentThread:

Traceback (most recent call last):
File "plugin.py", line 46, in runConcurrentThread
File "/Library/Application Support/Perceptive Automation/Indigo 5/Plugins/AutelisSomfy.indigoPlugin/Contents/Server Plugin/Autelis.py", line 69, in runConcurrentThread
File "/Library/Application Support/Perceptive Automation/Indigo 5/Plugins/AutelisSomfy.indigoPlugin/Contents/Server Plugin/Autelis.py", line 142, in checkForMessages
<type 'exceptions.UnicodeDecodeError'>: 'ascii' codec can't decode byte 0xee in position 6: ordinal not in range(128)

2013-02-04 00:02:20 Autelis Somfy Error plugin runConcurrentThread function returned or failed (will attempt again in 10 seconds)
2013-02-04 00:02:31 Autelis Somfy Error Error in plugin execution runConcurrentThread:

Traceback (most recent call last):
File "plugin.py", line 46, in runConcurrentThread
File "/Library/Application Support/Perceptive Automation/Indigo 5/Plugins/AutelisSomfy.indigoPlugin/Contents/Server Plugin/Autelis.py", line 69, in runConcurrentThread
File "/Library/Application Support/Perceptive Automation/Indigo 5/Plugins/AutelisSomfy.indigoPlugin/Contents/Server Plugin/Autelis.py", line 147, in checkForMessages
<type 'exceptions.NameError'>: global name 'processSDN' is not defined

2013-02-04 00:02:31 Autelis Somfy Error plugin runConcurrentThread function returned or failed (will attempt again in 10 seconds)
2013-02-04 00:02:41 Autelis Somfy Error Error in plugin execution runConcurrentThread:

Traceback (most recent call last):
File "plugin.py", line 46, in runConcurrentThread
File "/Library/Application Support/Perceptive Automation/Indigo 5/Plugins/AutelisSomfy.indigoPlugin/Contents/Server Plugin/Autelis.py", line 69, in runConcurrentThread
File "/Library/Application Support/Perceptive Automation/Indigo 5/Plugins/AutelisSomfy.indigoPlugin/Contents/Server Plugin/Autelis.py", line 142, in checkForMessages
<type 'exceptions.UnicodeDecodeError'>: 'ascii' codec can't decode byte 0xa2 in position 3: ordinal not in range(128)

2013-02-04 00:02:41 Autelis Somfy Error plugin runConcurrentThread function returned or failed (will attempt again in 10 seconds)
2013-02-04 00:02:51 Autelis Somfy Error Error in plugin execution runConcurrentThread:

Traceback (most recent call last):
File "plugin.py", line 46, in runConcurrentThread
File "/Library/Application Support/Perceptive Automation/Indigo 5/Plugins/AutelisSomfy.indigoPlugin/Contents/Server Plugin/Autelis.py", line 69, in runConcurrentThread
File "/Library/Application Support/Perceptive Automation/Indigo 5/Plugins/AutelisSomfy.indigoPlugin/Contents/Server Plugin/Autelis.py", line 147, in checkForMessages
<type 'exceptions.NameError'>: global name 'processSDN' is not defined

2013-02-04 00:02:51 Autelis Somfy Error plugin runConcurrentThread function returned or failed (will attempt again in 10 seconds)
2013-02-04 00:03:01 Autelis Somfy Error Error in plugin execution runConcurrentThread:

Traceback (most recent call last):
File "plugin.py", line 46, in runConcurrentThread
File "/Library/Application Support/Perceptive Automation/Indigo 5/Plugins/AutelisSomfy.indigoPlugin/Contents/Server Plugin/Autelis.py", line 69, in runConcurrentThread
File "/Library/Application Support/Perceptive Automation/Indigo 5/Plugins/AutelisSomfy.indigoPlugin/Contents/Server Plugin/Autelis.py", line 142, in checkForMessages
<type 'exceptions.UnicodeDecodeError'>: 'ascii' codec can't decode byte 0xf9 in position 3: ordinal not in range(128)

2013-02-04 00:03:01 Autelis Somfy Error plugin runConcurrentThread function returned or failed (will attempt again in 10 seconds)
2013-02-04 00:03:11 Autelis Somfy Error Error in plugin execution runConcurrentThread:

Traceback (most recent call last):
File "plugin.py", line 46, in runConcurrentThread
File "/Library/Application Support/Perceptive Automation/Indigo 5/Plugins/AutelisSomfy.indigoPlugin/Contents/Server Plugin/Autelis.py", line 69, in runConcurrentThread
File "/Library/Application Support/Perceptive Automation/Indigo 5/Plugins/AutelisSomfy.indigoPlugin/Contents/Server Plugin/Autelis.py", line 147, in checkForMessages
<type 'exceptions.NameError'>: global name 'processSDN' is not defined

2013-02-04 00:03:11 Autelis Somfy Error plugin runConcurrentThread function returned or failed (will attempt again in 10 seconds)
2013-02-04 00:03:21 Autelis Somfy Error Error in plugin execution runConcurrentThread:

Traceback (most recent call last):
File "plugin.py", line 46, in runConcurrentThread
File "/Library/Application Support/Perceptive Automation/Indigo 5/Plugins/AutelisSomfy.indigoPlugin/Contents/Server Plugin/Autelis.py", line 69, in runConcurrentThread
File "/Library/Application Support/Perceptive Automation/Indigo 5/Plugins/AutelisSomfy.indigoPlugin/Contents/Server Plugin/Autelis.py", line 142, in checkForMessages
<type 'exceptions.UnicodeDecodeError'>: 'ascii' codec can't decode byte 0xe6 in position 3: ordinal not in range(128)

2013-02-04 00:03:21 Autelis Somfy Error plugin runConcurrentThread function returned or failed (will attempt again in 10 seconds)
2013-02-04 00:03:31 Autelis Somfy Error Error in plugin execution runConcurrentThread:

Traceback (most recent call last):
File "plugin.py", line 46, in runConcurrentThread
File "/Library/Application Support/Perceptive Automation/Indigo 5/Plugins/AutelisSomfy.indigoPlugin/Contents/Server Plugin/Autelis.py", line 69, in runConcurrentThread
File "/Library/Application Support/Perceptive Automation/Indigo 5/Plugins/AutelisSomfy.indigoPlugin/Contents/Server Plugin/Autelis.py", line 147, in checkForMessages
<type 'exceptions.NameError'>: global name 'processSDN' is not defined

2013-02-04 00:03:31 Autelis Somfy Error plugin runConcurrentThread function returned or failed (will attempt again in 10 seconds)
2013-02-04 00:03:41 Autelis Somfy Error Error in plugin execution runConcurrentThread:

Traceback (most recent call last):
File "plugin.py", line 46, in runConcurrentThread
File "/Library/Application Support/Perceptive Automation/Indigo 5/Plugins/AutelisSomfy.indigoPlugin/Contents/Server Plugin/Autelis.py", line 69, in runConcurrentThread
File "/Library/Application Support/Perceptive Automation/Indigo 5/Plugins/AutelisSomfy.indigoPlugin/Contents/Server Plugin/Autelis.py", line 142, in checkForMessages
<type 'exceptions.UnicodeDecodeError'>: 'ascii' codec can't decode byte 0x8b in position 3: ordinal not in range(128)

LOG 2

2013-02-05 00:00:06 Application Created new log file (Indigo Server version 5.1.8)
2013-02-05 00:00:06 Autelis Somfy Error Error in plugin execution runConcurrentThread:

Traceback (most recent call last):
File "plugin.py", line 46, in runConcurrentThread
File "/Library/Application Support/Perceptive Automation/Indigo 5/Plugins/AutelisSomfy.indigoPlugin/Contents/Server Plugin/Autelis.py", line 69, in runConcurrentThread
File "/Library/Application Support/Perceptive Automation/Indigo 5/Plugins/AutelisSomfy.indigoPlugin/Contents/Server Plugin/Autelis.py", line 142, in checkForMessages
<type 'exceptions.UnicodeDecodeError'>: 'ascii' codec can't decode byte 0x8b in position 3: ordinal not in range(128)

2013-02-05 00:00:06 Autelis Somfy Error plugin runConcurrentThread function returned or failed (will attempt again in 10 seconds)
2013-02-05 00:00:16 Autelis Somfy Error Error in plugin execution runConcurrentThread:

Traceback (most recent call last):
File "plugin.py", line 46, in runConcurrentThread
File "/Library/Application Support/Perceptive Automation/Indigo 5/Plugins/AutelisSomfy.indigoPlugin/Contents/Server Plugin/Autelis.py", line 69, in runConcurrentThread
File "/Library/Application Support/Perceptive Automation/Indigo 5/Plugins/AutelisSomfy.indigoPlugin/Contents/Server Plugin/Autelis.py", line 147, in checkForMessages
<type 'exceptions.NameError'>: global name 'processSDN' is not defined

2013-02-05 00:00:16 Autelis Somfy Error plugin runConcurrentThread function returned or failed (will attempt again in 10 seconds)
2013-02-05 00:00:26 Autelis Somfy Error Error in plugin execution runConcurrentThread:

Traceback (most recent call last):
File "plugin.py", line 46, in runConcurrentThread
File "/Library/Application Support/Perceptive Automation/Indigo 5/Plugins/AutelisSomfy.indigoPlugin/Contents/Server Plugin/Autelis.py", line 69, in runConcurrentThread
File "/Library/Application Support/Perceptive Automation/Indigo 5/Plugins/AutelisSomfy.indigoPlugin/Contents/Server Plugin/Autelis.py", line 142, in checkForMessages
<type 'exceptions.UnicodeDecodeError'>: 'ascii' codec can't decode byte 0xee in position 6: ordinal not in range(128)

2013-02-05 00:00:26 Autelis Somfy Error plugin runConcurrentThread function returned or failed (will attempt again in 10 seconds)
2013-02-05 00:00:37 Autelis Somfy Error Error in plugin execution runConcurrentThread:

Traceback (most recent call last):
File "plugin.py", line 46, in runConcurrentThread
File "/Library/Application Support/Perceptive Automation/Indigo 5/Plugins/AutelisSomfy.indigoPlugin/Contents/Server Plugin/Autelis.py", line 69, in runConcurrentThread
File "/Library/Application Support/Perceptive Automation/Indigo 5/Plugins/AutelisSomfy.indigoPlugin/Contents/Server Plugin/Autelis.py", line 147, in checkForMessages
<type 'exceptions.NameError'>: global name 'processSDN' is not defined

2013-02-05 00:00:37 Autelis Somfy Error plugin runConcurrentThread function returned or failed (will attempt again in 10 seconds)
2013-02-05 00:00:47 Autelis Somfy Error Error in plugin execution runConcurrentThread:

Traceback (most recent call last):
File "plugin.py", line 46, in runConcurrentThread
File "/Library/Application Support/Perceptive Automation/Indigo 5/Plugins/AutelisSomfy.indigoPlugin/Contents/Server Plugin/Autelis.py", line 69, in runConcurrentThread
File "/Library/Application Support/Perceptive Automation/Indigo 5/Plugins/AutelisSomfy.indigoPlugin/Contents/Server Plugin/Autelis.py", line 142, in checkForMessages
<type 'exceptions.UnicodeDecodeError'>: 'ascii' codec can't decode byte 0xee in position 6: ordinal not in range(128)


LOG 3

2013-02-05 07:49:05 Application Created new log file (Indigo Server version 5.1.5)
2013-02-05 07:49:05 Application Received awake notification from system
2013-02-05 07:49:05 Interface Failure failed to establish connection with serial interface PowerLinc Modem on port usbserial-A501LD6X

Posted on
Tue Feb 05, 2013 9:14 am
matt (support) offline
Site Admin
User avatar
Posts: 21411
Joined: Jan 27, 2003
Location: Texas

Re: Action Group working randomly

Hi Nick -- any idea what is causing these errors?

Image

Posted on
Sat Feb 09, 2013 2:58 pm
nlagaros offline
Posts: 1646
Joined: Dec 20, 2010

Re: Somfy Plugin error

I uploaded v0.1.4 to my Wiki pages: https://vulture.local/wiki/pages/14Q0A9/Autelis_Somfy_Shade_Control.html#

It should eliminate some of the errors. If you would run that, then try some of your actions in debug mode and we can clear up the rest. Thanks!

Posted on
Sun Feb 10, 2013 5:38 am
nlagaros offline
Posts: 1646
Joined: Dec 20, 2010

Re: Somfy Plugin error

I posted yet another update on the Wiki page. v0.1.5 should deal with the decoding errors.

Page 1 of 1

Who is online

Users browsing this forum: No registered users and 1 guest