Hi, wondering if anyone has any experience with AlertMe, specifically using their web APi? It's for monitoring home energy and I have a hub receiving readings from a CT on the mains electricity supply and there is a display connected wirelessly to the hub. I willing be getting a smartplug from them when they're back in stock, the idea being I can poll its status in Demopad and I will have the TV plugged-in to the smartplug and therefore have TV power status feedback....
The Api are well described at https://api.alertme.com/v5/docs but I must be missing something I've contacted AlertMe for help but there may be things specific to Demopad I need to know. I'm using Hercules to test commands using the LAN IP address for the AlertMe hub and port 80, though I don't know if 80 is correct. It seems you have to LOGIN and LOGOUT for each session using the initial command /users/:username/hubs/:hubId filling-in the relevant username and hubid followed by POST /login but all I get in response is HTTP/1.1 200 OK{0D}{0A}{0D}{0A} when I should get something like;
Sample response
{
"hubIds": ["2029717203900694529"],
"ApiSession": "13feba258e84ff4646ce5b4e124836fe"
}
Thing is, I get the response HTTP/1.1 200 OK{0D}{0A}{0D}{0A} whatever I send, even "sausages"!!!
Thanks
Chris
AlertMe
Re: AlertMe
Hi, further to my last post, I've since realised that the AlertMe kit I got uses AlertMe.com's server so no wonder I couldn't access my hub on the LAN!!! I'm gonna give up on this as a bad job and have just ordered a Vera Lite with 433Mhz transceiver so I can eek out a bit more use from all the lightwaverf kit that's grown over the last year or so I've seen a post on the forum about Vera and Demopad so no doubt I'll be adding more soon
-
- Posts: 1
- Joined: Wed Jan 15, 2014 7:32 am
Re: AlertMe
Could you share the docs thru dropbox or by email:
https://api.alertme.com/v5/docs
I try to access to this site and now is protected.
Thank you,
Israel.
https://api.alertme.com/v5/docs
I try to access to this site and now is protected.
Thank you,
Israel.