MMM-FHEM open/close



  • Hello,

    with MMM-FHEM i can read

    temperature
    humidity

    I have some door/windows contact switches .
    Is i possible to show if a door is open or close?

    SchienW



  • With state i get the status open or closed.

    in the config-file i have two sections

    
    {
        module: 'MMM-FHEM',
        position: 'bottom_bar',
        config: {
          deviceNames: [
                        'Bad',
                       ],
          deviceReadings: [
                            { name: 'temperature', icon: 'wi wi-thermometer', suffix: '°' },
                          ],
        },
      },
    and {
        module: 'MMM-FHEM',
        position: 'bottom_bar',
        config: {
          deviceNames: [
                        'Schalter1',
                       ],
          deviceReadings: [
                            { name: 'STATE', icon: 'wi wi-thermometer', suffix: '°' },
                          
                          ],
        },
      },
    

    but the mirror show me the same values.
    I tryed a second modul MMM-FHEM2, but i have always the same values.


Log in to reply
 

Looks like your connection to MagicMirror Forum was lost, please wait while we try to reconnect.