This object is in archive! 

Newtifry PUSH example for Android

Thomas shared this idea 8 years ago
Under Consideration

Hi, I want to share a simple example to get a PUSH notification with Newtifry, this is an URL which might get called for a specific rule. Additionally I have added an image URL which I fetch from a camera which is reachable via DDNS URL and a custom port forwarding. This image is attached to the message then. The URL of the image is URL encoded by the way:


https://newtifry.appspot.com/newtifry?source=<ID>&title=Alarm&image=http%3A%2F%2F<SOMEHOST>%3A<SOMEPORT>%2Fsnapshot.jpg%3Fuser%3D<SOMEUSER>;


<ID> the id you created as source device when registered in Newtifry

<SOMEHOST> the DDNS

<SOMEPORT> the PORT forwarded in the router to reach the camera

<SOMEUSER> the USER the camera needs, check your camera API how to call in details


Disclaimer: No I am absolutely not associated with Newtifry.

Leave a Comment
 
Attach a file