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

MMM-ioBroker - on/off instead true/false



  • Hello Dears,

    I use the MM2 with the MMM-ioBroker Module to show the state of my sockets. The module shows me the value true or false. So far so good. Now I would like on/off instead true/false.
    Can one of the cracks here give me help?

    Thx a lot!

    {
    module: 'MMM-ioBroker',
        position: 'bottom_right',
        config: {
          host: 'localhost',
          port: '8087',
          https: false,
          devices: [
              { name: 'Heizung links',
                deviceStates: [
                                  { id: 'fritzdect.0.Comet_133560208744.targettemp', icon: 'wi wi-thermometer', suffix: '°' }
                              ]
              },
              { name: 'Heizung rechts',
                deviceStates: [
                                  { id: 'fritzdect.0.Comet_119610462888.targettemp', icon: 'wi wi-thermometer',  suffix: '°' }
                              ]
              },
    	  { name: 'Heizung Keller',
                deviceStates: [
                                  { id: 'fritzdect.0.Comet_133560209488.targettemp', icon: 'wi wi-thermometer', suffix: '°' }
                              ]
              },
    	  { name: 'Steckdose Wohnzimmer',
                deviceStates: [
                                  { id: 'tuya.0.80442464bcddc213d46d.1', icon: 'fas fa-power-off', suffix: '' }
                              ]
              },
    	  { name: 'Steckdose Schlafzimmer',
                deviceStates: [
                                  { id: 'tuya.0.22230808bcddc213f36c.1', icon: 'fas fa-power-off', suffix: '' }
                              ]
              },
    	  { name: 'Steckdose Keller',
                deviceStates: [
                                  { id: 'fritzdect.0.DECT200_5C:49:79:EC:1C:57.state', icon: 'fas fa-power-off', suffix: '' }
                              ]
              },
    

  • Project Sponsor

    @LeonMentor You’ll have to script the CCU for that. @falke69 has recently posted, how he solved that.
    See this post.


  • Project Sponsor

    @LeonMentor You’ll have to script the CCU for that. @falke69 has recently posted, how he solved that.
    See this post.


Log in to reply