Closed sraillard closed 4 months ago
I have find a way to fix the issue:
Edit: it worked once, then no more map, so this isn't a fix for the issue
I have the same issue.
I would like to add:
the mapbox API key is no longer valid
is it possible to disable the mapbox display so we can at least see the mower path?
Can try ghcr.io/olliewalsh/openmower-gui:master
until @cedbossneo can fix this. This uses maplibre/maptiler instead of mapbox. You will need to create a free maptiler account (and unlike mapbox creditcard is not required) , get your api key then set it in as the env var MAP_API_KEY or via the setting page
@sraillard by the way those 404 errors are not the issue, open debug console on chrome and can see 401 unauthorized errors from mapbox
olliewalsh
Where have to add api key?
Where have to add api key?
Depends on how you run it, set MAP_API_KEY in https://github.com/cedbossneo/openmower-gui/blob/master/README.md?plain=1#L50 or https://github.com/cedbossneo/openmower-gui/blob/master/docker-compose.yaml#L19
Hi Olliewalsh, Did I get it right? I edited gui.serivice file and replaced cedbossneo with olliewalsh and added --env MAP_API_KEY=XXXXXXXXX \
I cannot get gui.service to start.
Now I was able to start the service so I got it right. Thanks for this. I need to edit my map.
Thank you @olliewalsh: I have tried your new version and the map is displayed!
Getting an API key was quite easy, I went tohttps://www.maptiler.com/, create a free account, then there is a menu where the API key can be copied.
Here are my quick notes if it can help to migrate:
- systemctl stop gui.service
- nano /etc/systemd/system/gui.service
- Add this line with your API key: --env MAP_API_KEY=xxxx \
- Replace the container name by ghcr.io/olliewalsh/openmower-gui:test
- systemctl daemon-reload
- systemctl start gui.service
Edit: the forked repo is here https://github.com/olliewalsh/openmower-gui
Fixed map token
@olliewalsh Is maplibre better ? If yes, maybe we can merge your work
@olliewalsh Is maplibre better ? If yes, maybe we can merge your work
Hi, both of the maps are quite blurry at least in my home town view. Could it be possible to you some other layer than satellite?
@cedbossneo Is there a way I can manually trigger an Openmower GUI update? I've got an old install (on OpenmowerOS) where the map is still broken
to update: podman pull ghcr.io/cedbossneo/openmower-gui:master
When selecting the "Map" entry, there is a blank screen:
In the container log, we can see these error (404) messages: