X10 scenes

Post your MobiLinc comments and feedback here.

X10 scenes

Postby dgwyn » Thu Jul 23, 2009 6:51 pm

I've been doing some testing tonight and it seems to me that the scene execution is totally random. My setup is all X10 devices. I created a scene called "go to bed" which mimics one I have attached to several multiple-button keypads. I use it to turn off the outside lights and then light a path upto the bedroom. Every time I use it in ilinc it turns on devices which aren't included in the scene. Any clues? I suppose I'm going to babe to do an SDM dump.
dgwyn
 
Posts: 12
Joined: Wed Jul 08, 2009 5:10 am

Re: X10 scenes

Postby AdminWes » Thu Jul 23, 2009 10:01 pm

Hi dgwyn,

I agree, probably the best way to debug what's going on is to do a SDM dump and provide me a history of what you commanded your X10 modules to do vs, what SDM actually sent over the powerline.

When I was testing this scenario out on my setup to see if I could reproduce problems it looked like SDM was only issuing the X10 modules the commands I setup iLinc to send. However, I did discover an unrelated bug on the Scene detail page with the modules listed. I'm working on a fix and will release an update to Apple as soon as it's ready. In the mean time I would issue your scene activate commnds from the Home Page as a favorite scene as you are testing your setup for reliability.

Wes
AdminWes
Site Admin
 
Posts: 2087
Joined: Sat Feb 07, 2009 2:52 pm

Re: X10 scenes

Postby AdminWes » Fri Jul 24, 2009 6:32 am

Hi dgwyn,

I was testing again this morning and I may have stumbled on to what you are seeing. I setup a large scene of 7 X10 devices and issues various combinations of on and off commands to the scene. What I saw was some very unpredictable behaviour from the SDM software/PowerLinc device. It looks like when iLinc queues up several X10 commands and issues them all to SDM, SDM attempts to send out the commands, but some of my devices simply do not respond. I don't know if SDM has the issue or the PowerLinc. I've identified a potential work around in my code to perform more of a step by step approach rather then queue up several commands to the SDM interface.

I'm going to investigate more over the weekend and see if I can't get a working fix for this large scene problem.

How many X10 devices are in your largest scene?

Wes
AdminWes
Site Admin
 
Posts: 2087
Joined: Sat Feb 07, 2009 2:52 pm

Re: X10 scenes

Postby dgwyn » Fri Jul 24, 2009 8:56 am

Glad I'm not losing my mind. My biggest scene has 9 X10 devices.
dgwyn
 
Posts: 12
Joined: Wed Jul 08, 2009 5:10 am

Re: X10 scenes

Postby AdminWes » Sun Jul 26, 2009 8:24 pm

Hi dgwyn,

I've release version 2.01 to Apple for approval. This version should address the scene reliability problem. When I started tested with large X10 only scenes I discovered that the PLC starts to send out entire house codes as All ON or All OFF. For example, if I sent in several commands to my X10 devices back to back (within 1 second) the PLC would actually put a house code of A, for example and command ALL ON to house group A when I was trying to command A6 only to ON.

My solution that seems to work is to slow down the rate at which I send the commands to the PLC to no more then 1 command every 2 seconds. This seemed to clear up all reliability problems in my setup.

Once the update is approved (about a week or so) you'll have to let me know if that fixed the issue you've been seeing.

Wes
AdminWes
Site Admin
 
Posts: 2087
Joined: Sat Feb 07, 2009 2:52 pm

Re: X10 scenes

Postby dgwyn » Mon Jul 27, 2009 12:39 pm

Thanks for tracking this down. I'll keep my eye peeled for the update, as this is an important feature.
dgwyn
 
Posts: 12
Joined: Wed Jul 08, 2009 5:10 am

Re: X10 scenes

Postby AdminWes » Mon Jul 27, 2009 7:46 pm

I agree, thanks for bringing this to my attention.

Wes
AdminWes
Site Admin
 
Posts: 2087
Joined: Sat Feb 07, 2009 2:52 pm

Re: X10 scenes

Postby dgwyn » Wed Aug 05, 2009 10:00 pm

Thought I's post a reply here to continue the discussion. I installed 2.01 and it didn't help with the scenes. Good news is that it doesn't turn on things it isn't supposed to, but it only turned on the first device and then looped indefinitly on the second one. Here's the log:

Code: Select all
downloadTimer started
timerActivate enabled
SDM:DM=active,1.01.138.308,8/6/2009 12:52:34 AM,responded,05.FC.A0,2.13,xdevices=True
starttime=00:07
 ui:ResponseB7:sendX10=B7,BON
PLC:ResponseB7:sendx10=True,B7,BON
 uifinished:ResponseB7:sendX10=B7,BON
 ui:ResponseB9:sendX10=B9,29
PLC:ResponseB9:sendx10=True,B9,29
 uifinished:ResponseB9:sendX10=B9,29
 ui:nop
PLC:nop=
 uifinished:nop
 ui:ResponseB9:sendX10=B9,29
PLC:ResponseB9:sendx10=True,B9,29
 uifinished:ResponseB9:sendX10=B9,29
 ui:nop
PLC:nop=
 uifinished:nop
 ui:ResponseB9:sendX10=B9,29
PLC:ResponseB9:sendx10=True,B9,29
 uifinished:ResponseB9:sendX10=B9,29
 ui:nop
PLC:nop=
 uifinished:nop
 ui:ResponseB9:sendX10=B9,29
PLC:ResponseB9:sendx10=True,B9,29
 uifinished:ResponseB9:sendX10=B9,29
 ui:nop
PLC:nop=
 uifinished:nop
 ui:ResponseB9:sendX10=B9,29
PLC:ResponseB9:sendx10=True,B9,29
 uifinished:ResponseB9:sendX10=B9,29
 ui:nop
PLC:nop=
 uifinished:nop
 ui:ResponseB9:sendX10=B9,29
PLC:ResponseB9:sendx10=True,B9,29
 uifinished:ResponseB9:sendX10=B9,29
 ui:nop
PLC:nop=
 uifinished:nop
 ui:ResponseB9:sendX10=B9,29
PLC:ResponseB9:sendx10=True,B9,29
 uifinished:ResponseB9:sendX10=B9,29
 ui:nop
PLC:nop=
 uifinished:nop
 ui:ResponseB9:sendX10=B9,29
PLC:ResponseB9:sendx10=True,B9,29
 uifinished:ResponseB9:sendX10=B9,29
 ui:nop
PLC:nop=
 uifinished:nop
 ui:ResponseB9:sendX10=B9,29
PLC:ResponseB9:sendx10=True,B9,29
 uifinished:ResponseB9:sendX10=B9,29
 ui:nop
PLC:nop=
 uifinished:nop
 ui:ResponseB9:sendX10=B9,29
PLC:ResponseB9:sendx10=True,B9,29
 uifinished:ResponseB9:sendX10=B9,29
 ui:nop
PLC:nop=
 uifinished:nop
 ui:ResponseB9:sendX10=B9,29
PLC:ResponseB9:sendx10=True,B9,29
 uifinished:ResponseB9:sendX10=B9,29
 ui:nop
PLC:nop=
 uifinished:nop
 ui:ResponseB9:sendX10=B9,29
PLC:ResponseB9:sendx10=True,B9,29
 uifinished:ResponseB9:sendX10=B9,29
 ui:nop
PLC:nop=
 uifinished:nop
 ui:ResponseB9:sendX10=B9,29
PLC:ResponseB9:sendx10=True,B9,29
 uifinished:ResponseB9:sendX10=B9,29
 ui:nop
PLC:nop=
 uifinished:nop
 ui:ResponseB9:sendX10=B9,29
PLC:ResponseB9:sendx10=True,B9,29
 uifinished:ResponseB9:sendX10=B9,29
 ui:nop
PLC:nop=
 uifinished:nop
 ui:ResponseB9:sendX10=B9,29
PLC:ResponseB9:sendx10=True,B9,29
 uifinished:ResponseB9:sendX10=B9,29
 ui:nop
PLC:nop=
 uifinished:nop
 ui:ResponseB9:sendX10=B9,29
PLC:ResponseB9:sendx10=True,B9,29
 uifinished:ResponseB9:sendX10=B9,29
 ui:nop
PLC:nop=
 uifinished:nop
 ui:ResponseB9:sendX10=B9,29
PLC:ResponseB9:sendx10=True,B9,29
 uifinished:ResponseB9:sendX10=B9,29
 ui:nop
PLC:nop=
 uifinished:nop
 ui:ResponseB9:sendX10=B9,29
PLC:ResponseB9:sendx10=True,B9,29
 uifinished:ResponseB9:sendX10=B9,29
 ui:nop
PLC:nop=
 uifinished:nop
 ui:ResponseB9:sendX10=B9,29
PLC:ResponseB9:sendx10=True,B9,29
 uifinished:ResponseB9:sendX10=B9,29
 ui:nop
PLC:nop=
 uifinished:nop
 ui:ResponseB9:sendX10=B9,29
PLC:ResponseB9:sendx10=True,B9,29
 uifinished:ResponseB9:sendX10=B9,29
 ui:nop
PLC:nop=
 uifinished:nop
 ui:ResponseB9:sendX10=B9,29
PLC:ResponseB9:sendx10=True,B9,29
 uifinished:ResponseB9:sendX10=B9,29
 ui:nop
PLC:nop=
 uifinished:nop
 ui:ResponseB9:sendX10=B9,29
PLC:ResponseB9:sendx10=True,B9,29
 uifinished:ResponseB9:sendX10=B9,29
 ui:nop
PLC:nop=
 uifinished:nop
 ui:ResponseB9:sendX10=B9,29
PLC:ResponseB9:sendx10=True,B9,29
 uifinished:ResponseB9:sendX10=B9,29
 ui:nop
PLC:nop=
 uifinished:nop
 ui:ResponseB9:sendX10=B9,29
PLC:ResponseB9:sendx10=True,B9,29
 uifinished:ResponseB9:sendX10=B9,29
 ui:nop
PLC:nop=
 uifinished:nop
 ui:ResponseB9:sendX10=B9,29
PLC:ResponseB9:sendx10=True,B9,29
 uifinished:ResponseB9:sendX10=B9,29
 ui:nop
PLC:nop=
 uifinished:nop
 ui:ResponseB9:sendX10=B9,29
PLC:ResponseB9:sendx10=True,B9,29
 uifinished:ResponseB9:sendX10=B9,29
 ui:nop
PLC:nop=
 uifinished:nop
 ui:ResponseB9:sendX10=B9,29
PLC:ResponseB9:sendx10=True,B9,29
 uifinished:ResponseB9:sendX10=B9,29
 ui:nop
PLC:nop=
 uifinished:nop
 ui:ResponseB9:sendX10=B9,29
PLC:ResponseB9:sendx10=True,B9,29
 uifinished:ResponseB9:sendX10=B9,29
 ui:nop
PLC:nop=
 uifinished:nop
 ui:ResponseB9:sendX10=B9,29
PLC:ResponseB9:sendx10=True,B9,29
 uifinished:ResponseB9:sendX10=B9,29
 ui:nop
PLC:nop=
 uifinished:nop
 ui:ResponseB9:sendX10=B9,29
PLC:ResponseB9:sendx10=True,B9,29
 uifinished:ResponseB9:sendX10=B9,29
 ui:nop
PLC:nop=
 uifinished:nop
 ui:ResponseB9:sendX10=B9,29
PLC:ResponseB9:sendx10=True,B9,29
 uifinished:ResponseB9:sendX10=B9,29
 ui:nop
PLC:nop=
 uifinished:nop
 ui:ResponseB9:sendX10=B9,29
PLC:ResponseB9:sendx10=True,B9,29
 uifinished:ResponseB9:sendX10=B9,29
 ui:nop
PLC:nop=
 uifinished:nop
 ui:ResponseB9:sendX10=B9,29
PLC:ResponseB9:sendx10=True,B9,29
 uifinished:ResponseB9:sendX10=B9,29
 ui:nop
PLC:nop=
 uifinished:nop
 ui:ResponseB9:sendX10=B9,29
PLC:ResponseB9:sendx10=True,B9,29
 uifinished:ResponseB9:sendX10=B9,29
 ui:nop
PLC:nop=
 uifinished:nop
 ui:ResponseB9:sendX10=B9,29
PLC:ResponseB9:sendx10=True,B9,29
 uifinished:ResponseB9:sendX10=B9,29
 ui:nop
PLC:nop=
 uifinished:nop
 ui:ResponseB9:sendX10=B9,29
PLC:ResponseB9:sendx10=True,B9,29
 uifinished:ResponseB9:sendX10=B9,29
 ui:nop
PLC:nop=
 uifinished:nop
 ui:ResponseB9:sendX10=B9,29
PLC:ResponseB9:sendx10=True,B9,29
 uifinished:ResponseB9:sendX10=B9,29
 ui:nop
PLC:nop=
 uifinished:nop
 ui:ResponseB9:sendX10=B9,29
PLC:ResponseB9:sendx10=True,B9,29
 uifinished:ResponseB9:sendX10=B9,29
 ui:nop
PLC:nop=
 uifinished:nop
 ui:ResponseB9:sendX10=B9,29
PLC:ResponseB9:sendx10=True,B9,29
 uifinished:ResponseB9:sendX10=B9,29
 ui:nop
PLC:nop=
 uifinished:nop
 ui:ResponseB9:sendX10=B9,29
PLC:ResponseB9:sendx10=True,B9,29
 uifinished:ResponseB9:sendX10=B9,29
 ui:nop
PLC:nop=
 uifinished:nop
 ui:ResponseB9:sendX10=B9,29
PLC:ResponseB9:sendx10=True,B9,29
 uifinished:ResponseB9:sendX10=B9,29
 ui:nop
PLC:nop=
 uifinished:nop
 ui:ResponseB9:sendX10=B9,29
PLC:ResponseB9:sendx10=True,B9,29
 uifinished:ResponseB9:sendX10=B9,29
 ui:nop
PLC:nop=
 uifinished:nop
 ui:ResponseB9:sendX10=B9,29
PLC:ResponseB9:sendx10=True,B9,29
 uifinished:ResponseB9:sendX10=B9,29
 ui:nop
PLC:nop=
 uifinished:nop
 ui:ResponseB9:sendX10=B9,29
PLC:ResponseB9:sendx10=True,B9,29
 uifinished:ResponseB9:sendX10=B9,29
 ui:nop
PLC:nop=
 uifinished:nop
 ui:ResponseB9:sendX10=B9,29
PLC:ResponseB9:sendx10=True,B9,29
 uifinished:ResponseB9:sendX10=B9,29
 ui:nop
PLC:nop=
 uifinished:nop
 ui:ResponseB9:sendX10=B9,29
PLC:ResponseB9:sendx10=True,B9,29
 uifinished:ResponseB9:sendX10=B9,29
 ui:nop
PLC:nop=
 uifinished:nop
 ui:ResponseB9:sendX10=B9,29
PLC:ResponseB9:sendx10=True,B9,29
 uifinished:ResponseB9:sendX10=B9,29
 ui:nop
PLC:nop=
 uifinished:nop
 ui:ResponseB9:sendX10=B9,29
PLC:ResponseB9:sendx10=True,B9,29
 uifinished:ResponseB9:sendX10=B9,29
 ui:nop
PLC:nop=
 uifinished:nop
 ui:ResponseB9:sendX10=B9,29
PLC:ResponseB9:sendx10=True,B9,29
 uifinished:ResponseB9:sendX10=B9,29
 ui:nop
PLC:nop=
 uifinished:nop
 ui:ResponseB9:sendX10=B9,29
PLC:ResponseB9:sendx10=True,B9,29
 uifinished:ResponseB9:sendX10=B9,29
 ui:nop
PLC:nop=
 uifinished:nop
 ui:ResponseB9:sendX10=B9,29
PLC:ResponseB9:sendx10=True,B9,29
 uifinished:ResponseB9:sendX10=B9,29
 ui:nop
PLC:nop=
 uifinished:nop
 ui:ResponseB9:sendX10=B9,29
PLC:ResponseB9:sendx10=True,B9,29
 uifinished:ResponseB9:sendX10=B9,29
 ui:nop
PLC:nop=
 uifinished:nop
 ui:ResponseB9:sendX10=B9,29
PLC:ResponseB9:sendx10=True,B9,29
 uifinished:ResponseB9:sendX10=B9,29
 ui:nop
PLC:nop=
 uifinished:nop
 ui:ResponseB9:sendX10=B9,29
PLC:ResponseB9:sendx10=True,B9,29
 uifinished:ResponseB9:sendX10=B9,29
 ui:nop
PLC:nop=
 uifinished:nop
 ui:ResponseB9:sendX10=B9,29
PLC:ResponseB9:sendx10=True,B9,29
 uifinished:ResponseB9:sendX10=B9,29
 ui:nop
PLC:nop=
 uifinished:nop
 ui:ResponseB9:sendX10=B9,29
PLC:ResponseB9:sendx10=True,B9,29
 uifinished:ResponseB9:sendX10=B9,29
 ui:nop
PLC:nop=
 uifinished:nop
 ui:ResponseB9:sendX10=B9,29
PLC:ResponseB9:sendx10=True,B9,29
 uifinished:ResponseB9:sendX10=B9,29
 ui:nop
PLC:nop=
 uifinished:nop
 ui:ResponseB9:sendX10=B9,29
PLC:ResponseB9:sendx10=True,B9,29
 uifinished:ResponseB9:sendX10=B9,29
 ui:nop
PLC:nop=
 uifinished:nop
 ui:ResponseB9:sendX10=B9,29
PLC:ResponseB9:sendx10=True,B9,29
 uifinished:ResponseB9:sendX10=B9,29
 ui:nop
PLC:nop=
 uifinished:nop
 ui:ResponseB9:sendX10=B9,29
PLC:ResponseB9:sendx10=True,B9,29
 uifinished:ResponseB9:sendX10=B9,29
 ui:nop
PLC:nop=
 uifinished:nop
 ui:ResponseB9:sendX10=B9,29
PLC:ResponseB9:sendx10=True,B9,29
 uifinished:ResponseB9:sendX10=B9,29
 ui:nop
PLC:nop=
 uifinished:nop
 ui:ResponseB9:sendX10=B9,29
PLC:ResponseB9:sendx10=True,B9,29
 uifinished:ResponseB9:sendX10=B9,29
 ui:nop
PLC:nop=
 uifinished:nop
 ui:ResponseB9:sendX10=B9,29
PLC:ResponseB9:sendx10=True,B9,29
 uifinished:ResponseB9:sendX10=B9,29
 ui:nop
PLC:nop=
 uifinished:nop
dgwyn
 
Posts: 12
Joined: Wed Jul 08, 2009 5:10 am

Re: X10 scenes

Postby AdminWes » Thu Aug 06, 2009 6:09 am

Hi dgwyn,

Thanks for posting the log. I see exactly what's going on. In the update I changed the X10 dimmers to a on/off switch in only the scene page. I had to do this becuause there isn't a way (or at least I can't find one) to send the SDM software a value between 1-100 to a X10 dimmer. All iLinc can do is send On, Off, Dim, or Bright commands to X10 dimmers. I believe this is a limitation of the X10 protocol. Insteon is more roubust where iLinc can send 1-100 values to command an Insteon dimmer to a specific dim level.

In the log I see that you have a X10 dimmer setup on address B9. It looks like your scene is set to send that dimmer a value of 29. To fix this, try going into your scene with B9 and remove the B9 device from the scene and re-add it to the scene. Then select if you want B9 to come On or Off when the scene is activated.

Let me know if this works for you,
Wes
AdminWes
Site Admin
 
Posts: 2087
Joined: Sat Feb 07, 2009 2:52 pm

Re: X10 scenes

Postby dgwyn » Thu Aug 06, 2009 8:39 am

That makes perfect sense. I had originally setup the scene using the sliders. Even though t didn't work, I thought I'd try. In response to your suggestion, I deleted the scene and rebuilt it from scratch. I'll see bow it works tonight and let you know. Thanks for your help.
dgwyn
 
Posts: 12
Joined: Wed Jul 08, 2009 5:10 am

Next

Return to MobiLinc Feedback and Comments

Who is online

Users browsing this forum: No registered users and 1 guest

cron