Domoticz bookmarklet
Posted: Tuesday 14 March 2017 10:49
I have a bookmarklet that I use to trigger lights on my house. It's great. It's fantastic.
The code:
javascript:void((function(){(new Image()).src = "http://192.168.1.34:8080/json.htm?type= ... cmd=Toggle";})());
But it only works if I have recently opened Domoticz in a tab.
How can I change this bookmarklet to always work?
The code:
javascript:void((function(){(new Image()).src = "http://192.168.1.34:8080/json.htm?type= ... cmd=Toggle";})());
But it only works if I have recently opened Domoticz in a tab.
How can I change this bookmarklet to always work?