ianperrin / MMM-NetworkScanner

A module for MagicMirror which determines the status of devices on the network based on their MAC or IP address

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

showOffline and showUnknown don't go together well

bogomips opened this issue · comments

I think the problem is here:

nextState = this.config.devices.map(device => {

As this loops on this.config.devices, it basically excludes all those devices that are not in that array.

I did not have time to go deeper, I will check better asap and maybe propose some possible solution.

commented

Have the same problem. I would like to add alot of my friends & family to get list, but dont wanna see them when they are not visiting. Hope a fix will come soon

commented

I found a workaround for this. It's not the cleanest but hey, it works!
In /MagicMirror/Css folder edit the custom.css. Add this at the end of the css file:

.MMM-NetworkScanner table tr.dimmed { display: none; }

This will hide the offline person/devices.