MagicMirror² v2.13.0 is available! For more information about this release, check out this topic.

Color Online - Offline



  • Re: MMM-NetworkScanner

    Hello, I still cannot get color if online or not
    my config:

    module: “MMM-NetworkScanner”,
    position: “top_right”,
    header: “Geräte im Netzwerk”,
    config: {
    devices: [
    {
    ipAddress: “192.168.1.109”,
    name: “Carmine Phone”,
    icon: “android”,
    colorStateOnline: “#00ff00”,
    colorStateOffline: “#ff0000”,
    },
    {
    ipAddress: “192.168.1.39”,
    name: “Temperature”,
    icon: “temperature-low”,
    colorStateOnline: "#00ff00,
    colorStateOffline: “#ff0000”,
    },

            ],
            sort: false,
            showUnknown: false,
            showDeviceColums: true,
            coloredState: true,
        }
    }
    

    in MMM-NeetworkScanner.css :

    .MMM-NetworkScanner .device {
    text-align: left;
    }

    .MMM-NetworkScanner .device i {
    padding-left: 0;
    padding-right: 10px;
    }

    .MMM-NetworkScanner .date {
    padding-left: 30px;
    text-align: right;
    }
    .MMM-NetworkScanner table tr.dimmed td i {
    color: #ff0000;
    }
    .MMM-NetworkScanner table tr.bright {
    color: #00ff00;

    but everythiong is red 😞

    Could you help me? also tried to change custom.css of MagicMirror

    Thank you


Log in to reply