X10 status request / response

Post Reply
Message
Author
User avatar
dbemowsk
Posts: 442
Joined: Sun Jan 01, 2012 12:28 pm
Location: Wisconsin
Contact:

X10 status request / response

#1 Post by dbemowsk » Thu Jul 19, 2012 1:39 pm

I am wondering if there are any X10 devices out there that anyone is using that can respond to a status request? If so, is there any plan to add this into the CM15A plugin? If not I may attempt to make the add myself. My reasoning is that I have a Rain8II irrigation controller that is supposed to send a status response when a zone is turned on. It is also supposed to respond to a status request. I want to build it into my irrigation plugin to watch for the status response and alert me when the response is not received. I had a problem with the controller a few weeks ago where OSA was telling me in my logs that the sprinkler system had run it's cycles when in fact it had not. I had to send the controller in for repair. Now that I have it back though I want to incorporate this into my plugin.

Dan

pjmm
Posts: 29
Joined: Sun Jan 13, 2013 1:26 pm

Re: X10 status request / response

#2 Post by pjmm » Sun Jan 20, 2013 7:48 am

Hi Dan

I am currently configering OSA with a CM11 interface and I can see X10 trafic

I have another computer running a home automation package which can send
status requests to my Rain unit

This is what is picked up by OSA on the CM11 interface when I request the status of G3 and G8

01/20/2013 03:40:02.718 - ----------Event----------
01/20/2013 03:40:02.734 - Devices= G3
01/20/2013 03:40:02.734 - House Code= G
01/20/2013 03:40:02.750 - Unsupported Event (Command=15)
01/20/2013 03:40:03.937 - ----------Event----------
01/20/2013 03:40:03.953 - Devices Forced to = G3
01/20/2013 03:40:03.953 - House Code= G
01/20/2013 03:40:03.968 - Unsupported Event (Command=14)
01/20/2013 03:40:07.421 - ----------Event----------
01/20/2013 03:40:07.421 - Devices= G3
01/20/2013 03:40:07.437 - House Code= G
01/20/2013 03:40:07.437 - Unsupported Event (Command=7)
01/20/2013 03:42:22.046 - ----------Event----------
01/20/2013 03:42:22.046 - Devices= G8
01/20/2013 03:42:22.062 - House Code= G
01/20/2013 03:42:22.062 - Unsupported Event (Command=15)
01/20/2013 03:42:23.312 - ----------Event----------
01/20/2013 03:42:23.312 - Devices= G8
01/20/2013 03:42:23.312 - House Code= G
01/20/2013 03:42:23.312 - Unsupported Event (Command=14)
01/20/2013 03:42:26.765 - ----------Event----------
01/20/2013 03:42:26.765 - Devices= G8
01/20/2013 03:42:26.765 - House Code= G
01/20/2013 03:42:26.781 - Unsupported Event (Command=7)

Pierce

User avatar
dbemowsk
Posts: 442
Joined: Sun Jan 01, 2012 12:28 pm
Location: Wisconsin
Contact:

Re: X10 status request / response

#3 Post by dbemowsk » Sun Jan 20, 2013 9:37 am

I have not figured out status requests yet. If I figure it out, I will post it here.

Dan

dj-eon
Posts: 89
Joined: Wed Jul 13, 2011 4:03 am
Location: UK

Re: X10 status request / response

#4 Post by dj-eon » Fri Jul 10, 2015 5:22 am

Hi there.
Did you ever solve getting the CM15A to request status through OSA?

I'm also looking for OSA to be able to poll status requests for some x10 equipment I've made myself.

Best regards,
Ian.

Vaughn
Site Admin
Posts: 1432
Joined: Thu May 13, 2010 2:17 pm

Re: X10 status request / response

#5 Post by Vaughn » Sun Jul 19, 2015 4:05 pm

polling can be a pretty intensive task and can cripple any system if not done well and with minimal overhead.

How often are you expecting devices to be polled, like once an hour just to check batteries and to make sure the system is in sync, or are you expecting to poll every 5 seconds to supplement tech limitations?

Anyways, there are a several ways to do it, and if any of them require code changes, the concept has to apply to more than just a homemade sensor. If there are retail products that need this, it is not that hard to code. How the polling would be implemented would depend on those devices, otherwise there is no way for me to design and test it...

Another way is to use the Scheduler and have it send the command, which is a better idea if it is a one-off product. This limits you to a resolution of at least 1 minute.

Vaughn

dj-eon
Posts: 89
Joined: Wed Jul 13, 2011 4:03 am
Location: UK

Re: X10 status request / response

#6 Post by dj-eon » Fri Jul 31, 2015 8:04 am

Vaughn wrote:polling can be a pretty intensive task and can cripple any system if not done well and with minimal overhead.

How often are you expecting devices to be polled, like once an hour just to check batteries and to make sure the system is in sync, or are you expecting to poll every 5 seconds to supplement tech limitations?

Anyways, there are a several ways to do it, and if any of them require code changes, the concept has to apply to more than just a homemade sensor. If there are retail products that need this, it is not that hard to code. How the polling would be implemented would depend on those devices, otherwise there is no way for me to design and test it...

Another way is to use the Scheduler and have it send the command, which is a better idea if it is a one-off product. This limits you to a resolution of at least 1 minute.

Vaughn
Hi Vaughn.
I'm still in the early stages of developing hardware.
I visualise hardware confirming its status when it changes.
I.e. if osa switches on a light, my hardware sends the signal and expects a confirmation.
If there is no confirmation, then osa would be told the change didn't happen.

The same in reverse, locally changing a device state will transmit a signal back to osa to confirm.

Its still a little up in the air exactly how it would work.

I agree polling every x seconds is not the way to go. Its too intensive for software as well as too busy for the radio band.

Sent from my GT-N7000 using Tapatalk

Post Reply