Read the statement by Michael Teeuw here.
MMM-whoshome A way to know who is home based on cellular phones
-
@yedidia - just updated and also made all the MAC addresses lower case, and now looks to be working.
The colours are rather muted, so it’s difficult to tell at a glance who is actually home (aside from not having a last seen line).
Will look into it more tomorrow, just back from a business trip and rather tired. But thanks again for the good work and useful module!
-
@yedidia Hi, now it works! Thanks a lot! :-)
-
@yedidia - one more quick question.
As mentioned above, I’m trying to tweak the css to show the names for people who are present and away in different colours.
What I’ve done so far via custom.css is :.whoshome { color: lime; } .person-away { color: red; }
Which works, except it changes the title (the “Who’s Home”) as well.
Is there any way to do this and keep the title the original colour to match the rest of the mirror modules?I tried changing .person rather than .whoshome, but then both the title and people who are home revert to the white that is defined in the css of the module itself.
-
@DarrenHill I don’t know the direct answer, but you can use the developers window element tab to see and test how to adjust the css changes
See the second link in my signature below for an explanation how to use the dev window
in css, the part before the { is called the selector clause
It selects the elements the stuff inside the {} will be applied to
I use this cheatsheet to help me remember, you can combine them
. Means class # means id No prefix means tag name
https://www.w3schools.com/cssref/css_selectors.php
The selector ALWAYS selects ALL elements that match. So you may have to get very specific
I had to hide an element created by a form library
.possibly-hidden-tab div:nth-child(2) > div > div >div >ul >li:only-child >a[rel*="Item%201"] { display: none; }