Extending the system, interesting uses and API twiddling.
That's great stuff. I was going to start looking at baking some AlertMe stuff into a site and this has really saved me some time!APrettyBee wrote:For anyone interested in getting started with php and the V5 API, have a look here http://www.peterbatey.com/articles/alertme-api.html
Fancy!APrettyBee wrote:Happy to help! I've also got a java implementation if there's any interest.
Just a quick question - with API v5, do you have any problems with the 'caller' parameter? No matter what I do, my caller property never shows up in the logs. All I get instead is 'disarmed from the api' and never the actual name.
Sorry, I should have been a little clearer in that I don't blame your code - I've got a method in C that's written in precisely the same way, as per the docs, but it still just shows 'from the api'!APrettyBee wrote:Hmm. I don't have any devices that log anything - so I can't see. The implementation is as per the API doc, so it should work.
Thanks for the pointer to the latest APIs, very useful indeed.roobarb! wrote:Thread resurrection; I have just discovered that there is indeed a new API - or at least, it's newer than the one I knew about previously. I haven't tested it yet, but the documentation is here:
It might also go some way to explain why the 'History' section of https://mobile.alertme.com/ doesn't work (it just returns "Array").
The API docs linked above are blank when you click on Devices -> Events, so I guess they never got around to implementing them!