I don’t know about “buggery” but contacting the dev to see if it can be fixed in HA core by that dev might be the best way to start until you find if there is any interest on their part in solving the problem or not then moving forward on your own from there if necessary.
I have contacted CARTO regarding their card (they have the same old map on their “basemap” sales page) almost 2 weeks ago (no support mail, so I contacted sales) and the sales person assures me, that they are working on a solution for the old maps. So I’ll try to be patient and see if they fixes the problem.
If they do not fix the problem, I have looked into the source code for the map and it is a single line that must be changed to use another tiles-server, so it is very little work.
the same problem,can you tell me how to change the source code for the map or where to change? thank you
I just read this whole thread. I don’t use the map option, so I consider myself a neutral third party.
It seems to me the real question (as asked in the initial posts) is why HA is using this “CARTO” provider (not even sure who/what that is!) instead of getting the tiles directly from OpenStreetMaps. The OP asked if it adds some functionality we’re not familiar with, but nobody has identified that functionality here, or in the two issues open on GitHub. (I read those, too.)
It seems to me that HA just needs a static map of my area of interest, which could be updated on demand (like, via a button on the map) or automatically on some long time scale (months, or a year.) Sure, roads and buildings change. But not daily.
Wouldn’t the next step be to request that the map processing be streamlined to just use OSM directly? Presumably, if there’s some reason that can’t be done, someone would chime in.
Hi trqzhk,
The map access is done in the file setup-leaflet-map.ts (in home-assistant-polymer/src/common/dom/ after making a clone of the polymer repository). In line 33, you should change (note: untested)
'https://{s}.basemaps.cartocdn.com/${ darkMode ? "dark_all" : "light_all" }/{z}/{x}/{y}${leaflet.Browser.retina ? "@2x.png" : ".png"}',
to
'https://{s}.tile.openstreetmap.org/{z}/{x}/{y}.png',
You will loose the ability to change between light and dark mode and the 2x resolution card for retina displays, and instead the the color rich card used by OpenStreetMap.
Also, you should change the attribution in line 35 from CARTO to OpenStreetMap.
Hi Tom,
I guess that CARTO was chosen, because the usage clauses was clearer at the moment. Even now, the wording on permitted use of the OSM tile servers is a little loose, but it seems like (to me) that the newest revision allows more tile-server requests, than the number of requests provided by the free CARTO tile-servers.
I agree, that for many users, a fixed map is sufficient, so the ability to display a downloaded JPEG would be fine. But, as some noted above, in some cases people might have more installations or using car-tracking or people-tracking and in these cases, the dynamic map is probably preferable.
Ahhhh, I didn’t realize it has a dynamic map option. Maybe some day when I set up HA on my boat I’ll be able to use it as my primary navigation display
Anyway, thank you for pointing that out. The more options the better!
I got basically the same reply from them. It’s been two months, though, and I haven’t seen any updates to the CARTO map for my location.
It looks like Carto have finally refreshed OSM data - at least for my location!
Same here, the map has been updated - finally!
I found this thread as my street is also not listed
In my case the map data is about 4 years old… Open Street Maps has new data.
A bit frustrating that after over 5 years this hasn’t gotten better.
I’m kinda guessing where my house location is