HOME › Forums › Gateways › Harmony Gateway › Looking for "web 2.0 XML services" information
-
AuthorPosts
-
Anonymous
InactiveMay 17, 2013 at 6:00 pmPost count: 2The Harmony Model #5010M descriptive literature states “Built-in servers (including HTTP and web 2.0 XML services) are provided”.
Where do I find documentation of the XML commands supported by the Harmony Gateway?
Anonymous
InactiveMay 17, 2013 at 9:13 pmPost count: 259If you are a developer and want to work on creating your own client look at:
http://wiki.simplehomenet.com/api/If you want to Control and Monitor your devices use:
http://harmonygateway.com/Anonymous
InactiveMay 21, 2013 at 4:40 pmPost count: 3I wanted to experiment with the XML interface to the harmony gateway. I tried sending a simple Sys_Ping command using cURL and I get a “Protected Object” / “This object on the embedded Digi ARM device is protected” response. What kind of authentication or setup do I need to do to use the XML interface? An example cURL command line would be great, but any information would be appreciated.
Thanks!Anonymous
InactiveMay 21, 2013 at 11:45 pmPost count: 259Hi Drew,
You need to establish a TCP socket on port 50333 (default but changeable). Then Authenticate the client (yourself) by sending Sys_Authenticate command (Make sure you send the hash of the password).
That’s it, then you can send Sys_Ping or other commands.Anonymous
InactiveMay 22, 2013 at 8:10 pmPost count: 3Thanks Dhawal,
Just to be clear:
1) is the hash SHA-1 or MD5? And I assume it is just a string of hex digits in the xml – correct (not preceded by “0x”)?
2) is this hashed password the password used on the “Connections” page on harmonygateway.com (ie the client-connection password, not the “root” password of the device)?
3) if I am just accessing on the local network I just use the local ip address (ie 192.168.1.4:50333). I don’t need to add anything to the path (like “192.168.1.4/api” etc)?Again, thanks for the assistance. This will save me some trial & error.
Drew
Anonymous
InactiveMay 22, 2013 at 9:00 pmPost count: 259Hi Drew,
1) is the hash SHA-1 or MD5? And I assume it is just a string of hex digits in the xml – correct (not preceded by “0x”)?
Ans. Its SHA-1.2) is this hashed password the password used on the “Connections” page on harmonygateway.com (ie the client-connection password, not the “root” password of the device)?
Ans. Yes. The password entered by the user gets hashed by the App.3) if I am just accessing on the local network I just use the local ip address (ie 192.168.1.4:50333). I don’t need to add anything to the path (like “192.168.1.4/api” etc)?
Ans. No path needed. Just the Ip and the Port.Just curious, are you developing your own client?
Regards,
DhawalAnonymous
InactiveMay 23, 2013 at 1:38 amPost count: 3Hi Dhawal,
Thanks for the additional information. I am a software developer by profession, but this is just for personal use – just playing around at this point.
Thanks,
DrewAnonymous
InactiveJuly 2, 2013 at 1:59 amPost count: 2Can you use a SHA-1 converter? Also what does the xml look like if you have an example.
Anonymous
InactiveJuly 2, 2013 at 5:46 pmPost count: 2Are there any examples on how to get started?
Anonymous
InactiveJuly 2, 2013 at 6:34 pmPost count: 259Authenticate packet for password “Smartenit” looks like:
ZBP_System
Sys_Authenticate09cbef6f2f30e9bf9a202c53142295478786d5f3
63903
………………………………………..
Rsp:: Sys_Authenticate
………………………………………..ZBP_System
Sys_Authenticate0
63903
42b5d250-fc11-4fce-b159-83322c8b3a0fDocumentation for the API can be found here:http://wiki.simplehomenet.com/api/classSystemMgmt.html#a9639d88a03215f4a54e63f6825ff55b6
Anonymous
InactiveJuly 2, 2013 at 9:26 pmPost count: 259for sha 1 converter you can refer this:
http://www.timestampgenerator.com/tools/sha1-generator/ -
AuthorPosts
- You must be logged in to reply to this topic.