Please login or register.

Login with username, password and session length

Author Topic: device status w/ sdk  (Read 5739 times)

aptalca

  • Full Member
  • ***
  • Helpful Post Rating: 0
  • Posts: 35
device status w/ sdk
« on: May 05, 2011, 06:02:17 PM »

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??
Logged

ErikP

  • Guest
Re: device status w/ sdk
« Reply #1 on: May 05, 2011, 07:39:01 PM »

Quote
does 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.

Quote
does 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
Logged

EL34

  • Hero Member
  • *****
  • Helpful Post Rating: 21
  • Posts: 278
    • My X-10 projects
Re: device status w/ sdk
« Reply #2 on: May 23, 2011, 01:46:01 PM »

Quote
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

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.
Logged
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
 

X10.com | About X10 | X10 Security Systems | Cameras| Package Deals
© Copyright 2014-2016 X10.com All rights reserved.