Page 1 of 1
Clickable weblink in sensor for geotracking
Posted: Thursday 18 February 2016 11:28
by BluesBro
Hi!
Im trying to implement a trackingfeature in Domoticz
Example: my phone generate a link every ten minutes to google maps to where i am and sends this link to a textsensor in domoticz. If my wife has to know where i am she just has to click on the sensor to be redirected to google maps with my position.
This is helpful for people who needs to track their kids or demented parents or similiar....
Even better yet, implement a map straight into Domoticz with a logging of your moves.
Re: Clickable weblink in sensor for geotracking
Posted: Thursday 18 February 2016 15:12
by racquemis
It is possible to use HTML tags in the text dummy devices. I use it myself two create two lines (<br>) or to underline text (<u>). No reason why other tags won't work.
so try this, wrap the url in the <a> tag like this:
Code: Select all
<a href="ENTER URL HERE">TEXT TO DISPLAY</a>
Re: Clickable weblink in sensor for geotracking
Posted: Friday 19 February 2016 21:43
by BluesBro
Worked wonders!

Is it possible to controll the fontcolor aswell? It comes out white witch is kinda hard to make out from the log page.
Re: Clickable weblink in sensor for geotracking
Posted: Saturday 20 February 2016 12:26
by gizmocuz
Even that you can "style"
Re: Clickable weblink in sensor for geotracking
Posted: Sunday 21 February 2016 10:42
by markk
BluesBro wrote:Hi!
Im trying to implement a trackingfeature in Domoticz
Example: my phone generate a link every ten minutes to google maps to where i am and sends this link to a textsensor in domoticz. If my wife has to know where i am she just has to click on the sensor to be redirected to google maps with my position.
This is helpful for people who needs to track their kids or demented parents or similiar....
Even better yet, implement a map straight into Domoticz with a logging of your moves.
Are there instructions somewhere on how you did this? If not, could you share please?
Re: Clickable weblink in sensor for geotracking
Posted: Friday 01 April 2016 1:02
by sajosa
Not exactly a clikable link but I'm using Tasker in Android phone to update Domoticz text sensor every 10 min while on the move.
http://domoticz_ip:port/json.htm?type=command¶m=udevice&idx=XX&nvalue=0&svalue=<iframe width="365" height="300" frameborder="0" style="border:0" src="
https://www.google.com/maps/embed/v1/pl ... 27.2281499" allowfullscreen></iframe>
Log can be viewed for location history.
Maybe generating a static Google map image would scale better.
Snapshot attached