Read the statement by Michael Teeuw here.
MMM-Life360
-
@plainbroke On the tab row next to ‘Properties’ is a scroll button ‘>>’. Try clicking that and look for a ‘Network’ tab.
-
@hrmax23
Found that finally.
Is the Authorization: Bearer what I am looking for?
It is a very long authorization code. -
@plainbroke correct. It’s the long string after ‘bearer’
-
@hrmax23
Ok got it working.
But I am getting this on my screen instead of the map.

Ideas??? -
@plainbroke are you using the light or dark map in your config? Try the opposite one and see if the behaves the same.
-
@hrmax23
I think that fixed it, appreciate all the help getting your module setup.
Pretty cool module.
We have been using Life360 since it came out in 2020… -
@plainbroke glad it’s working and useful!
-
@hrmax23
Ok, one last question.
How do I get the dark to work instead of giving the screen, I showed above, with all the “api key required” requests? Is there a certain one I need to use to get the dark screen? I think the wierd part is that it shows the dark map and our locations, but overlays that “api key required” on each section…
I mean it works great with the light screen but wow is that bright in the evenings… -
Looking into the source code a carto map is used when darkMap is true.
A free api key is required to get rid of the ugly overlays, you can get it here.
The module currently has no config option for this key, so you have to change the line 455 in
MMM-Life360.jsfromurl: "https://{s}.basemaps.cartocdn.com/dark_all/{z}/{x}/{y}{r}.png",to
url: "https://{s}.basemaps.cartocdn.com/dark_all/{z}/{x}/{y}{r}.png?key=abc",to get it working (replace
abcwith the real key). -
Thanks @karsten13 . I’ve updated the module to add the API key to the config.
-
@hrmax23
@karsten13
Thank you for the help that looks much better than!!!
Hello! It looks like you're interested in this conversation, but you don't have an account yet.
Getting fed up of having to scroll through the same posts each visit? When you register for an account, you'll always come back to exactly where you were before, and choose to be notified of new replies (either via email, or push notification). You'll also be able to save bookmarks and upvote posts to show your appreciation to other community members.
With your input, this post could be even better 💗
Register Login