device status w/ sdk

Started by aptalca, May 05, 2011, 06:02:17 PM

Previous topic - Next topic

aptalca

I am new to x10, and I have a question

As far as I've read, x10 modules are one way and the only way ahp knows the status of a device is by remembering the last command sent to the device (it assumes command was received) (correct??)

when a command was sent through a 3rd party software that uses the sdk, does ahp register that command and change the module status??

I am planning to use x10 commander server because it supports http url commands that I can generate from eventghost. I just wanted to make sure that if eventghost turns a light on through x10 commander, AHP will recognize that light being on.

Thanks

By the way, does AHP have an http rest api? so I could send the commands directly to it without the need for x10 commander server?? or any other way eventghost can communicate with it??

ErikP

Quotedoes ahp register that command and change the module status??
Yes.
The SDK sends commands to the X10 Network Service, which parses them and updates the internal scoreboard object before sending them using the connected transceiver.

Quotedoes AHP have an http rest api? so I could send the commands directly to it
It is definitely not REST, but some commands can be handled using the mobile application's URL parsing.  This requires one or more mobile application plugins to be installed on the system.  For more information see Anthony's excellent post on the subject http://forums.x10.com/index.php?topic=21436.0

EL34

QuoteThe SDK sends commands to the X10 Network Service, which parses them and updates the internal scoreboard object before sending them using the connected transceiver

And I might add that the device status that is noted in the service may or may not be correct.
So it's a hit or miss deal trying to determine a devices status.
W10 - CM15A - AHP 3.301 - i Witness - MyHouse online - Smart Macros - SDK using Visual Basic express 2008
My X10 page-> http://www.el34world.com/Misc/home/X10_0.htm

SMF spam blocked by CleanTalk