I worked today on the integration Owntracks → Gladys 4, via Gladys Plus.
For those who don’t know Owntracks, it’s a great open-source app that allows you to track your geolocation and send it all to a server. In Gladys, it’s practical because it allows you to retrieve your personal geolocation and create scenarios based on it.
(Or just keep a history of your positions, personally, I’ve been tracking my geolocation for 3 years, it’s great to find out where you’ve been!)
I don’t know if you remember, but in Gladys 3, it was quite complex to configure Owntracks: you had to set up an MQTT broker open to the internet (while securing it), it wasn’t fun.
With the Open API of Gladys Plus, it is now turnkey, there’s nothing more to do
I’m not forcing you to do anything ^^ I provide a service to make it easy to set up, because it’s quite complex for a novice to set up the entire architecture with a public MQTT broker as was the case in v3. After all, if you have the skills to set all that up, you can always do it
But yes, it will always be less turnkey to do it manually. Of course, the goal of Gladys Plus is to simplify the lives of users, that’s the purpose of the service ^^
Yes, absolutely, there is already an MQTT integration in Gladys 4, you just need to add a function to handle Owntracks messages Of course, it will be less turnkey since you will need to deploy an online MQTT broker.
I prioritized the Gladys Plus integration because I had committed to this feature, and there are users who are interested! (Including me, I admit I really needed it ^^)
Ok There must be a small bug in your case, could you check the browser logs so we can fix this?
What exactly is your issue? Can’t you log in from Gladys? Or on plus.gladysassistant.com? Do you get an error message? Is your Gladys instance properly connected?
Good idea, we can indeed set a more zoomed level.
After that, we would need to set a zoom level that includes everyone on the map.
Example: If you are at home, and your wife is traveling in the south of France, it should be zoomed to the level of France, not just your city. To be seen if leaflet allows this easily.
Zoom in on Madame
The simplest solution seems to be to zoom in on the connected user. And if you want to see everyone, you manually zoom out.
What do you think?
Hi, actually both, whether it’s on my Gladys 4 interface or Gladys Plus. However, no issues with Gladys Gateway… Well, it tells me that I don’t have an instance on the gateway, but that’s normal.
Sorry, I just realized that this message wasn’t really appropriate here…
It’s just to zoom in a bit, so as not to have the whole world. But it might be more logical to center on your house. It all depends on what we want to see through this view in the long term.
What do you think is the most judicious?
Can we discuss this in another topic? Tell me exactly the bugs you encounter, the error messages you have, and if you see any information in the browser console, I’ll take a look.
Thanks again for the feedback you provide, being alone in development, it’s hard to have all the cases that arise and I do my best to fix it as soon as possible