Direct URL to change the state of a device - for pushover

Posted on
Mon Apr 09, 2018 3:22 pm
noel1983 offline
Posts: 446
Joined: Oct 17, 2014

Direct URL to change the state of a device - for pushover

Hi all,

Thinking about having a number of 'device been on for xx minutes' type alerts sent via pushover.

What would be great is if I could include in the message a url that when clicked goes to a page and turns off the device, i.e. as if i'd loaded the control page and tapped off but without needing to tap off.

Is this possible? If so any tips would be greatly appreciated.

Cheers

Noel

Posted on
Tue Apr 10, 2018 1:15 am
howartp offline
Posts: 4559
Joined: Jan 09, 2014
Location: West Yorkshire, UK

Re: Direct URL to change the state of a device - for pushove

Have a look at the restful API docs.

It’s something like:

http://192.168.1.1?device=987654&turnOff=true


Sent from my iPhone using Tapatalk Pro

Posted on
Tue Apr 10, 2018 2:50 am
noel1983 offline
Posts: 446
Joined: Oct 17, 2014

Re: Direct URL to change the state of a device - for pushove

Awesome thank you!

Page 1 of 1

Who is online

Users browsing this forum: No registered users and 6 guests