MagicMirror Forum
    • Recent
    • Tags
    • Unsolved
    • Solved
    • MagicMirror² Repository
    • Documentation
    • 3rd-Party-Modules
    • Donate
    • Discord
    • Register
    • Login
    1. Home
    2. falke69
    A New Chapter for MagicMirror: The Community Takes the Lead
    Read the statement by Michael Teeuw here.
    F
    Offline
    • Profile
    • Following 0
    • Followers 0
    • Topics 0
    • Posts 5
    • Groups 0

    falke69

    @falke69

    1
    Reputation
    162
    Profile views
    5
    Posts
    0
    Followers
    0
    Following
    Joined
    Last Online

    falke69 Unfollow Follow

    Best posts made by falke69

    • RE: ioBroker MagicMirror Module

      @Fozi
      that’s how I solved it
      Program on CCU

      var sec=dom.GetObject("Verschlussensoren");
      string i;
      string list;
      string seit;
      string itemName;
      string status_new;
      string stunde=system.Date("%H").ToInteger();
      string minute=system.Date("%M").ToInteger();
      string textReplace = "Kontakt";
      list="";
      integer textReplaceLength = textReplace.Length();
      foreach(i,sec.EnumUsedIDs()) {
      var item=dom.GetObject(i);
      var dev=dom.GetObject(item.Device());
      if((dev.HssType()=="HM-Sec-RHS") || 
      (dev.HssType()=="HM-Sec-SC") || 
      (dev.HssType()=="HM-Sec-SC-2")|| 
      (dev.HssType()=="HM-Sec-RHS-2")|| 
      (dev.HssType()=="HM-Sec-SCo")) {
      var status = item.DPByHssDP("STATE").Value();
      if(status.Value()) {
      if (status == 1 ) { status_new = "gekippt"; }
      if (status == 2 ) { status_new = "offen"; }
      itemName=dev.Name();
      if(itemName.Length() >= textReplaceLength){
      itemName = itemName.Substr(textReplaceLength, itemName.Length() - textReplaceLength);
      }
      list=list # itemName #",";
      }
      }
      }
      if(list.Length() < 5){
      list=" kein Fenster ";
      }
      WriteLine(list);
      dom.GetObject("offene Fenster").State(list);
      

      settings MMM-ioBroker

      // iobroker offene Fenster / brennende Lampen
      {
               disabled: false,
               module: 'MMM-ioBroker',
               position: 'top_right',
               config: {
            host: 'localhost',
              port: '8082',
              https: false,
              devices: [
              { name: 'offene Fenster:',
              deviceStates: [
            { id: 'hm-rega.0.3102', icon: '',  suffix: '' },
      
                               ]
      
            },
          
            { name: 'brennende Lampen:',
              deviceStates: [
              { id: 'hm-rega.0.9048', icon: '',  suffix: '' },
      
                               ]
      }
                  ]
               }
      },
      
      
      posted in Requests
      F
      falke69

    Latest posts made by falke69

    • RE: ioBroker MagicMirror Module

      @Fozi
      that’s how I solved it
      Program on CCU

      var sec=dom.GetObject("Verschlussensoren");
      string i;
      string list;
      string seit;
      string itemName;
      string status_new;
      string stunde=system.Date("%H").ToInteger();
      string minute=system.Date("%M").ToInteger();
      string textReplace = "Kontakt";
      list="";
      integer textReplaceLength = textReplace.Length();
      foreach(i,sec.EnumUsedIDs()) {
      var item=dom.GetObject(i);
      var dev=dom.GetObject(item.Device());
      if((dev.HssType()=="HM-Sec-RHS") || 
      (dev.HssType()=="HM-Sec-SC") || 
      (dev.HssType()=="HM-Sec-SC-2")|| 
      (dev.HssType()=="HM-Sec-RHS-2")|| 
      (dev.HssType()=="HM-Sec-SCo")) {
      var status = item.DPByHssDP("STATE").Value();
      if(status.Value()) {
      if (status == 1 ) { status_new = "gekippt"; }
      if (status == 2 ) { status_new = "offen"; }
      itemName=dev.Name();
      if(itemName.Length() >= textReplaceLength){
      itemName = itemName.Substr(textReplaceLength, itemName.Length() - textReplaceLength);
      }
      list=list # itemName #",";
      }
      }
      }
      if(list.Length() < 5){
      list=" kein Fenster ";
      }
      WriteLine(list);
      dom.GetObject("offene Fenster").State(list);
      

      settings MMM-ioBroker

      // iobroker offene Fenster / brennende Lampen
      {
               disabled: false,
               module: 'MMM-ioBroker',
               position: 'top_right',
               config: {
            host: 'localhost',
              port: '8082',
              https: false,
              devices: [
              { name: 'offene Fenster:',
              deviceStates: [
            { id: 'hm-rega.0.3102', icon: '',  suffix: '' },
      
                               ]
      
            },
          
            { name: 'brennende Lampen:',
              deviceStates: [
              { id: 'hm-rega.0.9048', icon: '',  suffix: '' },
      
                               ]
      }
                  ]
               }
      },
      
      
      posted in Requests
      F
      falke69
    • RE: ioBroker MagicMirror Module

      @Fozi have already installed MMM-Homematic.
      But found the other module better (line break)
      If all of my windows are open, everything is shown on one line

      posted in Requests
      F
      falke69
    • RE: ioBroker MagicMirror Module

      @Fozi have all settings exactly as in the screenshot

      posted in Requests
      F
      falke69
    • RE: ioBroker MagicMirror Module

      @Fozi does not work :disappointed_face:

      posted in Requests
      F
      falke69
    • RE: Dom Update refresh take to long

      Hi, the module would like to test. Could you maybe provide it? How is it installed and what setting would I have to set in the config?

      Thank you

      posted in Development
      F
      falke69