My old Samsung S2 P5110 is used as a wallscreen for use with Domoticz.
Now i would like to use automagic to switch some lightswitches depending on de batterylevel of my tablet.
I've made th following flow .. see attachement.
This flow is onvoked from a working custom url.
When the flow runs... it switches the switch and goes back to the homescreen.
How can i clse/kill my browser and get back to my initial browser screen
Domotica Tablet - switching lights on/of
Moderator: Martin
Domotica Tablet - switching lights on/of
- Attachments
-
- Screenshot_20171111-112956.png (66.79 KiB) Viewed 6836 times
Re: Domotica Tablet - switching lights on/of
Is it necessary to use period timer? Or won't it be better to use Trigger Battery level, becomes lower than 81% and another for becomes full.
AFAIK Domoticz support HTTP post, so you can just Action HTTP request, fill in the url with the parameter needed there. No need to open the browser and to close it again.
If you still need to go back to the initial homepage, you can just open URL again, with the home url of the page. You can close the tab first, using the control UI. Or you can just use back() to emulate the back key.
AFAIK Domoticz support HTTP post, so you can just Action HTTP request, fill in the url with the parameter needed there. No need to open the browser and to close it again.
If you still need to go back to the initial homepage, you can just open URL again, with the home url of the page. You can close the tab first, using the control UI. Or you can just use back() to emulate the back key.
Index of Automagic useful thread List of my other useful posts (and others')
Xiaomi Redmi Note 5 (whyred), AOSP Extended v6.7 build 20200310 Official, Android Pie 9.0, Rooted.
Xiaomi Redmi Note 5 (whyred), AOSP Extended v6.7 build 20200310 Official, Android Pie 9.0, Rooted.