There are three variables in this URL;
âapikey=c9fae6029b37e29ba203d79c9929c99bc79c99bc //Dummy key - use yours from step 2
âapplication=Garage Door // Text you will see on your notification
âevent=Activated - from WWW // Text you will see on your notification
On your IOS device that is connected with your Prowl API you should see a notification;
There are further options within the Prowl API - check them out here
Might work with Android too, but we are all IOS here so I canât test it out.
I thought I read somewhere here that there would be an Electric Imp âDashboardâ iOS app for monitoring/controlling things via your imp. If so, it would be awesome if it supported push natively. Sort of lame that if you click on a notification you donât go to the thing it is notifying you about.
I have implemented a push server myself for my custom app and it is pretty simple (some examples online), when we get VIMPs, push will be the only thing requiring me to keep a server around.
Is it possible to pass variables to prowl? I would like to pass the state of another sensor to the prowl notification tried %value but get exactly that and not the value itself.
@302tt: I have done all described in your post but get no notification!? There are a few âunknownsâ for me in the description: which method should I choose: âPOSTâ or 'PUT and what Content Type: ââŚurlencodedâ or âjsonâ ? Perhaps a stupid question: what (if any) lines do I need to add to my code to get a message actually being output, i.e. what triggers a notification being sent?
@302tt: Looking through the examples (again!) I now found the answer to my question! Have to look better in future before asking questions⌠Sorry :">
ok So I have played with this and get the connection to PROWL and can send a message to the IPAD using prowl but is there anyway to send the message from the IMP and thus change it in the IMP vs. just whats inbedded in the URL request via post on the PLANNER.
Ok playing with this further. I found you can have multiple outputs in the imp and then connect to multiple HTTP requests in planner then in the address to prowl set different messages. this works but is the only way I have found to send different messages. Hopefully you will develop better methods for interacting with the iOS/
Weâre working on that bit too! There are some rough docs for beta testers but weâre planning on posting better docs and various examples (eg: weather.com, twilio, etc etc)
Im trying a similar mechanism with android. i need to create the following http packet:
POST /1/messages.json
Host: api.pushover.net
Content-Type: application/x-www-form-urlencoded
Content-Length: 180
token=âŚ&user=âŚ&message=âŚ
So I tried to make an output port with some string in it, with the format i need, eg
output.set(âtoken=âŚ&user=âŚâ);
and i added in planner http request, POST, to https://api.pushover.com/1/messages.json
i connected the output of my imp to this request. i keep getting error 400.
I tried both json and urlencoded.
what do i need to change in order for it to work properly?
I have an Android and I want to use the âNotify My Androidâ public API to send info from my Electric Imp to my phone the URL command line is https://www.notifymyandroid.com/api.jsp#verifyWill you please give me a step by step code and set up example for the planners HTTP Request I have my API keys. I have provided a link to the Public API Documentation. https://www.notifymyandroid.com/api.jsp