Skip to content
  • Aktuell
  • Tags
  • 0 Ungelesen 0
  • Kategorien
  • Unreplied
  • Beliebt
  • GitHub
  • Docu
  • Hilfe
Skins
  • Light
  • Brite
  • Cerulean
  • Cosmo
  • Flatly
  • Journal
  • Litera
  • Lumen
  • Lux
  • Materia
  • Minty
  • Morph
  • Pulse
  • Sandstone
  • Simplex
  • Sketchy
  • Spacelab
  • United
  • Yeti
  • Zephyr
  • Dark
  • Cyborg
  • Darkly
  • Quartz
  • Slate
  • Solar
  • Superhero
  • Vapor

  • Standard: (Kein Skin)
  • Kein Skin
Einklappen
ioBroker Logo
  1. ioBroker Community Home
  2. Deutsch
  3. Tester
  4. Aufruf: Neuen SmartControl-Adapter 0.1.0-alpha.x testen

NEWS

  • UPDATE 31.10.: Amazon Alexa - ioBroker Skill läuft aus ?
    apollon77A
    apollon77
    48
    3
    8.2k

  • Monatsrückblick – September 2025
    BluefoxB
    Bluefox
    13
    1
    1.9k

  • Neues Video "KI im Smart Home" - ioBroker plus n8n
    BluefoxB
    Bluefox
    15
    1
    2.2k

Aufruf: Neuen SmartControl-Adapter 0.1.0-alpha.x testen

Geplant Angeheftet Gesperrt Verschoben Tester
adaptertesttestersmartcontrol
124 Beiträge 18 Kommentatoren 20.9k Aufrufe 39 Watching
  • Älteste zuerst
  • Neuste zuerst
  • Meiste Stimmen
Antworten
  • In einem neuen Thema antworten
Anmelden zum Antworten
Dieses Thema wurde gelöscht. Nur Nutzer mit entsprechenden Rechten können es sehen.
  • B BoehserWolf

    @Mic Combination

    MicM Offline
    MicM Offline
    Mic
    Developer
    schrieb am zuletzt editiert von
    #63

    @BoehserWolf
    Danke, hab jetzt schon grad umbenannt, aber bin offen für bessere Vorschläge 😉

    1 Antwort Letzte Antwort
    0
    • B BoehserWolf

      @Mic Combination

      MicM Offline
      MicM Offline
      Mic
      Developer
      schrieb am zuletzt editiert von
      #64

      @BoehserWolf
      Kommst du ansonsten zurecht mit dem neuen Adapter?

      B 1 Antwort Letzte Antwort
      0
      • MicM Mic

        @BoehserWolf
        Kommst du ansonsten zurecht mit dem neuen Adapter?

        B Offline
        B Offline
        BoehserWolf
        schrieb am zuletzt editiert von
        #65

        @Mic Verfolge die Idee seit der Entstehung und würde gerne testen. Sobald ich aus dem Urlaub zurück bin mache ich gerne mit!
        Aber die Umsetzung ist genial und super generisch, sowas wünsche ich mir schon lange. Werde versuchen mit HmIP Komponenten Präsenzmelder und squeezeboxrpx ne Chillout Ecke umzusetzen. Bin schon gespannt ob das klappt!

        1 Antwort Letzte Antwort
        1
        • MicM Offline
          MicM Offline
          Mic
          Developer
          schrieb am zuletzt editiert von
          #66

          @ Alle

          Hab oben im Thread-Anfang aktualisiert und noch einiges erklärt....

          1 Antwort Letzte Antwort
          0
          • MicM Mic

            @MartyBr sagte in Aufruf: Neuen SmartControl-Adapter 0.1.0-alpha.x testen:

            @Mic
            Ich habe den Trigger unter 5. eingetragen. Hilft aber nicht:
            Bildschirmfoto 2020-07-11 um 21.58.30.png

            Den Trigger ergänzt du in der entsprechenden Zeile unter 4. ZONEN. Nicht in 5. ZEITPLÄNE, die lösen final dann nur die Trigger aus, wenn Bedingungen alle zutreffen.

            Gute Nacht und danke für deine Tests 👍


            Update 22:13

            sorry, habe dich fehlgeleitet oben, der Auslöser muss in "4. ZONEN" auch als Auslöser hinzugefügt werden. Vergiss das mit "5. ZEITPLÄNE" bitte. Dort muss dann aber auch die entsprechende Zone aufgenommen werden. (ich korrigiere oben)

            M Offline
            M Offline
            MartyBr
            schrieb am zuletzt editiert von
            #67

            @Mic
            Hallo Mic, ich habe das Update auf die Version durchgeführt. Ich komme aber mit den Auslöser "60 Minuten vor Sonnenuntergang" nicht weiter. Beim Start kommt auch wieder der "unique" Fehler.

            Bildschirmfoto 2020-07-12 um 06.31.41.png

            Ich habe hier nochmal die Config angehängt, vielleicht hast du einen guten Tipp.

            P.S.
            <Auslöser> für 5. ist die beste Wahl.

            {
              "_id": "system.adapter.smartcontrol.0",
              "common": {
                "name": "smartcontrol",
                "version": "0.1.0-alpha.8",
                "title": "Smart Control",
                "authors": [
                  "Mic-M <iob.micm@gmail.com>"
                ],
                "keywords": [
                  "smart",
                  "control",
                  "rooms",
                  "groups",
                  "motion sensors",
                  "devices",
                  "switches",
                  "lights",
                  "trigger",
                  "schedule",
                  "zones"
                ],
                "license": "MIT",
                "platform": "Javascript/Node.js",
                "main": "main.js",
                "icon": "smartcontrol.png",
                "enabled": false,
                "extIcon": "https://raw.githubusercontent.com/Mic-M/ioBroker.smartcontrol/master/admin/smartcontrol.png",
                "readme": "https://github.com/Mic-M/ioBroker.smartcontrol/blob/master/README.md",
                "loglevel": "info",
                "mode": "daemon",
                "type": "logic",
                "compact": true,
                "connectionType": "local",
                "dataSource": "poll",
                "materialize": true,
                "dependencies": [
                  {
                    "js-controller": ">=1.4.2"
                  }
                ],
                "installedFrom": "https://github.com/Mic-M/ioBroker.smartcontrol/tarball/9f914faadb367a3ed85e37878de6138d29fddbcd",
                "installedVersion": "0.1.0-alpha.8",
                "host": "iobroker"
              },
              "native": {
                "exceedMidnight": true,
                "motionNoBriIfTimer": true,
                "triggerStatesAck": "false",
                "limitTriggerInterval": "3",
                "extendedInfoLog": true,
                "tableTriggerMotion": [
                  {
                    "active": true,
                    "name": "Motion Wohnzimmer Süd",
                    "stateId": "hm-rpc.2.000918A98BEDE4.1.MOTION",
                    "stateVal": "true",
                    "duration": "180",
                    "briStateId": "hm-rpc.2.000918A98BEDE4.1.ILLUMINATION",
                    "briThreshold": "10"
                  },
                  {
                    "active": true,
                    "name": "Motion Wohnzimmer Nord",
                    "stateId": "hm-rpc.2.000918A98BEDEF.1.MOTION",
                    "stateVal": "true",
                    "duration": "180",
                    "briStateId": "hm-rpc.2.000918A98BEDEF.1.ILLUMINATION",
                    "briThreshold": "10"
                  },
                  {
                    "active": false,
                    "name": "Motion Bathroom",
                    "stateId": "smartcontrol.0.Test.trigger.Bathroom_motion",
                    "stateVal": "true",
                    "duration": "10",
                    "briStateId": "smartcontrol.0.Test.brightness.Bathroom_bri",
                    "briThreshold": "100"
                  },
                  {
                    "active": false,
                    "name": "Motion Hallway Sensor #1",
                    "stateId": "smartcontrol.0.Test.trigger.Hallway1_motion",
                    "stateVal": "true",
                    "duration": "120",
                    "briStateId": "smartcontrol.0.Test.brightness.Hallway1_bri",
                    "briThreshold": "70"
                  },
                  {
                    "active": false,
                    "name": "Motion Hallway Sensor #2",
                    "stateId": "smartcontrol.0.Test.trigger.Hallway2_motion",
                    "stateVal": "true",
                    "duration": "120",
                    "briStateId": "smartcontrol.0.Test.brightness.Hallway2_bri",
                    "briThreshold": "60"
                  }
                ],
                "tableTriggerDevices": [
                  {
                    "active": true,
                    "name": "Temperatur Wohnzimmer größer 23",
                    "stateId": "alias.0.Temperatur.Wohnzimmer.Wohnzimmer-Temp-Mittel",
                    "stateVal": ">23"
                  },
                  {
                    "active": true,
                    "name": "Temperatur Wohnzimmer kleiner 23",
                    "stateId": "alias.0.Temperatur.Wohnzimmer.Wohnzimmer-Temp-Mittel",
                    "stateVal": "<=23"
                  },
                  {
                    "active": false,
                    "name": "Wall Switch Bathroom",
                    "stateId": "smartcontrol.0.Test.trigger.Bathroom_wall-switch",
                    "stateVal": "true"
                  },
                  {
                    "active": false,
                    "name": "Wall Switch Hallway #1",
                    "stateId": "smartcontrol.0.Test.trigger.Hallway1_wall-switch",
                    "stateVal": "true"
                  },
                  {
                    "active": false,
                    "name": "Wall Switch Hallway #2",
                    "stateId": "smartcontrol.0.Test.trigger.Hallway2_wall-switch",
                    "stateVal": "true"
                  },
                  {
                    "active": false,
                    "name": "Relax Area Person Sits Indicator",
                    "stateId": "smartcontrol.0.Test.trigger.RelaxPersonSitting",
                    "stateVal": "true"
                  }
                ],
                "tableTriggerTimes": [
                  {
                    "active": true,
                    "name": "30 Minuten vor Sonnenuntergang",
                    "time": "sunset-30",
                    "additionalConditions": [],
                    "never": []
                  },
                  {
                    "active": true,
                    "name": "60 Minuten vor Sonnenuntergang",
                    "time": "sunset-60",
                    "additionalConditions": [],
                    "never": []
                  },
                  {
                    "active": false,
                    "name": "Every hour at minute 42",
                    "time": "42 * * * *",
                    "additionalConditions": [],
                    "never": []
                  },
                  {
                    "active": false,
                    "name": "At 22:00 on every day-of-week from Monday through Friday",
                    "time": "0 22 * * 1-5",
                    "additionalConditions": [],
                    "never": []
                  },
                  {
                    "active": false,
                    "name": "At 04:05 on Sunday",
                    "time": "5 4 * * sun",
                    "additionalConditions": [],
                    "never": []
                  },
                  {
                    "active": false,
                    "name": "30 Minutes after Sunset",
                    "time": "sunset+30",
                    "additionalConditions": [],
                    "never": []
                  }
                ],
                "tableTargetDevices": [
                  {
                    "active": true,
                    "name": "Wohnzimmer Schreibtischlampe",
                    "onState": "hm-rpc.1.OEQ0478213.1.STATE",
                    "onValue": "true",
                    "offState": "hm-rpc.1.OEQ0478213.1.STATE",
                    "offValue": "false"
                  },
                  {
                    "active": true,
                    "name": "Wohnzimmer Ecklampe",
                    "onState": "hm-rpc.1.OEQ0478215.1.STATE",
                    "onValue": "true",
                    "offState": "hm-rpc.1.OEQ0478215.1.STATE",
                    "offValue": "false"
                  },
                  {
                    "active": true,
                    "name": "Wohnzimmer Tischlampe",
                    "onState": "zigbee.0.14b457fffe2be766.state",
                    "onValue": "true",
                    "offState": "zigbee.0.14b457fffe2be766.state",
                    "offValue": "false"
                  },
                  {
                    "active": false,
                    "name": "Bathroom Light",
                    "onState": "smartcontrol.0.Test.light.Bathroom",
                    "onValue": "true",
                    "offState": "smartcontrol.0.Test.light.Bathroom",
                    "offValue": "false"
                  },
                  {
                    "active": false,
                    "name": "Bathroom Radio",
                    "onState": "smartcontrol.0.Test.radio.Bathroom",
                    "onValue": "Smooth Jazz",
                    "offState": "smartcontrol.0.Test.radio.Bathroom",
                    "offValue": "Musik aus"
                  },
                  {
                    "active": false,
                    "name": "Hallway Light",
                    "onState": "smartcontrol.0.Test.light.Hallway",
                    "onValue": "true",
                    "offState": "smartcontrol.0.Test.light.Hallway",
                    "offValue": "false"
                  },
                  {
                    "active": false,
                    "name": "Relax Area Ceiling Light",
                    "onState": "smartcontrol.0.Test.light.RelaxAreaCeiling",
                    "onValue": "true",
                    "offState": "smartcontrol.0.Test.light.RelaxAreaCeiling",
                    "offValue": "false"
                  },
                  {
                    "active": false,
                    "name": "Relax Area Wall Light",
                    "onState": "smartcontrol.0.Test.light.RelaxAreaWall",
                    "onValue": "true",
                    "offState": "smartcontrol.0.Test.light.RelaxAreaWall",
                    "offValue": "false"
                  }
                ],
                "tableCombinedDevices": [],
                "tableZones": [
                  {
                    "active": true,
                    "name": "Wohnzimmer",
                    "triggers": [
                      "Motion Wohnzimmer Süd",
                      "Motion Wohnzimmer Nord"
                    ],
                    "targets": [
                      "Wohnzimmer Schreibtischlampe",
                      "Wohnzimmer Ecklampe",
                      "Wohnzimmer Tischlampe"
                    ]
                  },
                  {
                    "active": true,
                    "name": "Wohnzimmer",
                    "triggers": [
                      "60 Minuten vor Sonnenuntergang"
                    ],
                    "targets": [
                      "Wohnzimmer Schreibtischlampe",
                      "Wohnzimmer Ecklampe",
                      "Wohnzimmer Tischlampe"
                    ]
                  },
                  {
                    "active": false,
                    "name": "Hallway",
                    "triggers": [
                      "Motion Hallway Sensor #1",
                      "Motion Hallway Sensor #2",
                      "Wall Switch Hallway #1",
                      "Wall Switch Hallway #2"
                    ],
                    "targets": [
                      "Hallway Light"
                    ]
                  },
                  {
                    "active": false,
                    "name": "Relax Area",
                    "triggers": [
                      "Relax Area Person Sits Indicator"
                    ],
                    "targets": [
                      "Relax Area Ceiling Light",
                      "Relax Area Wall Light"
                    ]
                  },
                  {
                    "active": false,
                    "name": "Bathroom Ground Floor",
                    "triggers": [
                      "Motion Bathroom",
                      "Wall Switch Bathroom"
                    ],
                    "targets": [
                      "Bathroom Light",
                      "Bathroom Radio"
                    ]
                  },
                  {
                    "active": true,
                    "name": "Wohnzimmer",
                    "triggers": [
                      "30 Minuten vor Sonnenuntergang"
                    ],
                    "targets": [
                      "Wohnzimmer Schreibtischlampe"
                    ]
                  }
                ],
                "tableConditions": [
                  {
                    "active": true,
                    "name": "Haustür geschlossen",
                    "conditionState": "hm-rpc.1.NEQ1480228.1.STATE",
                    "conditionValue": "false"
                  },
                  {
                    "active": true,
                    "name": "Jemand Anwesend",
                    "conditionState": "0_userdata.0.Anwesenheit.Anwesenheit",
                    "conditionValue": "true"
                  },
                  {
                    "active": true,
                    "name": "Niemand Anwesend",
                    "conditionState": "0_userdata.0.Anwesenheit.Anwesenheit",
                    "conditionValue": "false"
                  },
                  {
                    "active": true,
                    "name": "Feiertag Heute",
                    "conditionState": "feiertage.0.heute.boolean",
                    "conditionValue": "true"
                  },
                  {
                    "active": true,
                    "name": "Feiertag Morgen",
                    "conditionState": "feiertage.0.morgen.boolean",
                    "conditionValue": "true"
                  },
                  {
                    "active": false,
                    "name": "Public Holiday Today",
                    "conditionState": "smartcontrol.0.Test.condition.isHolidayToday",
                    "conditionValue": "true"
                  },
                  {
                    "active": false,
                    "name": "Is Front Door Locked?",
                    "conditionState": "smartcontrol.0.Test.condition.isFrontDoorLocked",
                    "conditionValue": "true"
                  },
                  {
                    "active": false,
                    "name": "No one is present",
                    "conditionState": "smartcontrol.0.Test.condition.isAnyonePresent",
                    "conditionValue": "false"
                  },
                  {
                    "active": false,
                    "name": "One or more are present",
                    "conditionState": "smartcontrol.0.Test.condition.isAnyonePresent",
                    "conditionValue": "true"
                  }
                ],
                "tableSchedules": [
                  {
                    "active": true,
                    "name": "Wohnzimmer",
                    "start": "sunset-60",
                    "end": "22:00",
                    "mon": true,
                    "tue": true,
                    "wed": true,
                    "thu": true,
                    "fri": true,
                    "sat": true,
                    "sun": true,
                    "additionalConditions": [
                      "Jemand Anwesend"
                    ],
                    "never": [
                      "Niemand Anwesend"
                    ]
                  },
                  {
                    "active": false,
                    "name": "Relax Area",
                    "start": "sunset+30",
                    "end": "sunrise",
                    "mon": true,
                    "tue": true,
                    "wed": true,
                    "thu": true,
                    "fri": true,
                    "sat": true,
                    "sun": true,
                    "additionalConditions": [
                      "One or more are present"
                    ],
                    "never": []
                  },
                  {
                    "active": false,
                    "name": "Hallway",
                    "start": "sunset-20",
                    "end": "22:00",
                    "mon": true,
                    "tue": true,
                    "wed": true,
                    "thu": true,
                    "fri": true,
                    "sat": false,
                    "sun": false,
                    "additionalConditions": [
                      "One or more are present"
                    ],
                    "never": [
                      "Public Holiday Today"
                    ]
                  },
                  {
                    "active": false,
                    "name": "Hallway",
                    "start": "sunset-20",
                    "end": "1:00",
                    "mon": false,
                    "tue": false,
                    "wed": false,
                    "thu": false,
                    "fri": false,
                    "sat": true,
                    "sun": true,
                    "additionalConditions": [
                      "One or more are present"
                    ],
                    "never": []
                  },
                  {
                    "active": false,
                    "name": "Bathroom Ground Floor",
                    "start": "06:00",
                    "end": "09:00",
                    "mon": true,
                    "tue": true,
                    "wed": true,
                    "thu": true,
                    "fri": true,
                    "sat": false,
                    "sun": false,
                    "additionalConditions": [
                      "Public Holiday Today"
                    ],
                    "never": [
                      "No one is present"
                    ]
                  },
                  {
                    "active": false,
                    "name": "Bathroom Ground Floor",
                    "start": "08:00",
                    "end": "11:00",
                    "mon": false,
                    "tue": false,
                    "wed": false,
                    "thu": false,
                    "fri": false,
                    "sat": true,
                    "sun": true,
                    "additionalConditions": [],
                    "never": [
                      "No one is present"
                    ]
                  }
                ]
              }
            }
            

            Gruß
            Martin


            Intel NUCs mit Proxmox / Iobroker als VM unter Debian
            Raspeberry mit USB Leseköpfen für Smartmeter
            Homematic und Homematic IP

            MicM 1 Antwort Letzte Antwort
            0
            • M MartyBr

              @Mic
              Hallo Mic, ich habe das Update auf die Version durchgeführt. Ich komme aber mit den Auslöser "60 Minuten vor Sonnenuntergang" nicht weiter. Beim Start kommt auch wieder der "unique" Fehler.

              Bildschirmfoto 2020-07-12 um 06.31.41.png

              Ich habe hier nochmal die Config angehängt, vielleicht hast du einen guten Tipp.

              P.S.
              <Auslöser> für 5. ist die beste Wahl.

              {
                "_id": "system.adapter.smartcontrol.0",
                "common": {
                  "name": "smartcontrol",
                  "version": "0.1.0-alpha.8",
                  "title": "Smart Control",
                  "authors": [
                    "Mic-M <iob.micm@gmail.com>"
                  ],
                  "keywords": [
                    "smart",
                    "control",
                    "rooms",
                    "groups",
                    "motion sensors",
                    "devices",
                    "switches",
                    "lights",
                    "trigger",
                    "schedule",
                    "zones"
                  ],
                  "license": "MIT",
                  "platform": "Javascript/Node.js",
                  "main": "main.js",
                  "icon": "smartcontrol.png",
                  "enabled": false,
                  "extIcon": "https://raw.githubusercontent.com/Mic-M/ioBroker.smartcontrol/master/admin/smartcontrol.png",
                  "readme": "https://github.com/Mic-M/ioBroker.smartcontrol/blob/master/README.md",
                  "loglevel": "info",
                  "mode": "daemon",
                  "type": "logic",
                  "compact": true,
                  "connectionType": "local",
                  "dataSource": "poll",
                  "materialize": true,
                  "dependencies": [
                    {
                      "js-controller": ">=1.4.2"
                    }
                  ],
                  "installedFrom": "https://github.com/Mic-M/ioBroker.smartcontrol/tarball/9f914faadb367a3ed85e37878de6138d29fddbcd",
                  "installedVersion": "0.1.0-alpha.8",
                  "host": "iobroker"
                },
                "native": {
                  "exceedMidnight": true,
                  "motionNoBriIfTimer": true,
                  "triggerStatesAck": "false",
                  "limitTriggerInterval": "3",
                  "extendedInfoLog": true,
                  "tableTriggerMotion": [
                    {
                      "active": true,
                      "name": "Motion Wohnzimmer Süd",
                      "stateId": "hm-rpc.2.000918A98BEDE4.1.MOTION",
                      "stateVal": "true",
                      "duration": "180",
                      "briStateId": "hm-rpc.2.000918A98BEDE4.1.ILLUMINATION",
                      "briThreshold": "10"
                    },
                    {
                      "active": true,
                      "name": "Motion Wohnzimmer Nord",
                      "stateId": "hm-rpc.2.000918A98BEDEF.1.MOTION",
                      "stateVal": "true",
                      "duration": "180",
                      "briStateId": "hm-rpc.2.000918A98BEDEF.1.ILLUMINATION",
                      "briThreshold": "10"
                    },
                    {
                      "active": false,
                      "name": "Motion Bathroom",
                      "stateId": "smartcontrol.0.Test.trigger.Bathroom_motion",
                      "stateVal": "true",
                      "duration": "10",
                      "briStateId": "smartcontrol.0.Test.brightness.Bathroom_bri",
                      "briThreshold": "100"
                    },
                    {
                      "active": false,
                      "name": "Motion Hallway Sensor #1",
                      "stateId": "smartcontrol.0.Test.trigger.Hallway1_motion",
                      "stateVal": "true",
                      "duration": "120",
                      "briStateId": "smartcontrol.0.Test.brightness.Hallway1_bri",
                      "briThreshold": "70"
                    },
                    {
                      "active": false,
                      "name": "Motion Hallway Sensor #2",
                      "stateId": "smartcontrol.0.Test.trigger.Hallway2_motion",
                      "stateVal": "true",
                      "duration": "120",
                      "briStateId": "smartcontrol.0.Test.brightness.Hallway2_bri",
                      "briThreshold": "60"
                    }
                  ],
                  "tableTriggerDevices": [
                    {
                      "active": true,
                      "name": "Temperatur Wohnzimmer größer 23",
                      "stateId": "alias.0.Temperatur.Wohnzimmer.Wohnzimmer-Temp-Mittel",
                      "stateVal": ">23"
                    },
                    {
                      "active": true,
                      "name": "Temperatur Wohnzimmer kleiner 23",
                      "stateId": "alias.0.Temperatur.Wohnzimmer.Wohnzimmer-Temp-Mittel",
                      "stateVal": "<=23"
                    },
                    {
                      "active": false,
                      "name": "Wall Switch Bathroom",
                      "stateId": "smartcontrol.0.Test.trigger.Bathroom_wall-switch",
                      "stateVal": "true"
                    },
                    {
                      "active": false,
                      "name": "Wall Switch Hallway #1",
                      "stateId": "smartcontrol.0.Test.trigger.Hallway1_wall-switch",
                      "stateVal": "true"
                    },
                    {
                      "active": false,
                      "name": "Wall Switch Hallway #2",
                      "stateId": "smartcontrol.0.Test.trigger.Hallway2_wall-switch",
                      "stateVal": "true"
                    },
                    {
                      "active": false,
                      "name": "Relax Area Person Sits Indicator",
                      "stateId": "smartcontrol.0.Test.trigger.RelaxPersonSitting",
                      "stateVal": "true"
                    }
                  ],
                  "tableTriggerTimes": [
                    {
                      "active": true,
                      "name": "30 Minuten vor Sonnenuntergang",
                      "time": "sunset-30",
                      "additionalConditions": [],
                      "never": []
                    },
                    {
                      "active": true,
                      "name": "60 Minuten vor Sonnenuntergang",
                      "time": "sunset-60",
                      "additionalConditions": [],
                      "never": []
                    },
                    {
                      "active": false,
                      "name": "Every hour at minute 42",
                      "time": "42 * * * *",
                      "additionalConditions": [],
                      "never": []
                    },
                    {
                      "active": false,
                      "name": "At 22:00 on every day-of-week from Monday through Friday",
                      "time": "0 22 * * 1-5",
                      "additionalConditions": [],
                      "never": []
                    },
                    {
                      "active": false,
                      "name": "At 04:05 on Sunday",
                      "time": "5 4 * * sun",
                      "additionalConditions": [],
                      "never": []
                    },
                    {
                      "active": false,
                      "name": "30 Minutes after Sunset",
                      "time": "sunset+30",
                      "additionalConditions": [],
                      "never": []
                    }
                  ],
                  "tableTargetDevices": [
                    {
                      "active": true,
                      "name": "Wohnzimmer Schreibtischlampe",
                      "onState": "hm-rpc.1.OEQ0478213.1.STATE",
                      "onValue": "true",
                      "offState": "hm-rpc.1.OEQ0478213.1.STATE",
                      "offValue": "false"
                    },
                    {
                      "active": true,
                      "name": "Wohnzimmer Ecklampe",
                      "onState": "hm-rpc.1.OEQ0478215.1.STATE",
                      "onValue": "true",
                      "offState": "hm-rpc.1.OEQ0478215.1.STATE",
                      "offValue": "false"
                    },
                    {
                      "active": true,
                      "name": "Wohnzimmer Tischlampe",
                      "onState": "zigbee.0.14b457fffe2be766.state",
                      "onValue": "true",
                      "offState": "zigbee.0.14b457fffe2be766.state",
                      "offValue": "false"
                    },
                    {
                      "active": false,
                      "name": "Bathroom Light",
                      "onState": "smartcontrol.0.Test.light.Bathroom",
                      "onValue": "true",
                      "offState": "smartcontrol.0.Test.light.Bathroom",
                      "offValue": "false"
                    },
                    {
                      "active": false,
                      "name": "Bathroom Radio",
                      "onState": "smartcontrol.0.Test.radio.Bathroom",
                      "onValue": "Smooth Jazz",
                      "offState": "smartcontrol.0.Test.radio.Bathroom",
                      "offValue": "Musik aus"
                    },
                    {
                      "active": false,
                      "name": "Hallway Light",
                      "onState": "smartcontrol.0.Test.light.Hallway",
                      "onValue": "true",
                      "offState": "smartcontrol.0.Test.light.Hallway",
                      "offValue": "false"
                    },
                    {
                      "active": false,
                      "name": "Relax Area Ceiling Light",
                      "onState": "smartcontrol.0.Test.light.RelaxAreaCeiling",
                      "onValue": "true",
                      "offState": "smartcontrol.0.Test.light.RelaxAreaCeiling",
                      "offValue": "false"
                    },
                    {
                      "active": false,
                      "name": "Relax Area Wall Light",
                      "onState": "smartcontrol.0.Test.light.RelaxAreaWall",
                      "onValue": "true",
                      "offState": "smartcontrol.0.Test.light.RelaxAreaWall",
                      "offValue": "false"
                    }
                  ],
                  "tableCombinedDevices": [],
                  "tableZones": [
                    {
                      "active": true,
                      "name": "Wohnzimmer",
                      "triggers": [
                        "Motion Wohnzimmer Süd",
                        "Motion Wohnzimmer Nord"
                      ],
                      "targets": [
                        "Wohnzimmer Schreibtischlampe",
                        "Wohnzimmer Ecklampe",
                        "Wohnzimmer Tischlampe"
                      ]
                    },
                    {
                      "active": true,
                      "name": "Wohnzimmer",
                      "triggers": [
                        "60 Minuten vor Sonnenuntergang"
                      ],
                      "targets": [
                        "Wohnzimmer Schreibtischlampe",
                        "Wohnzimmer Ecklampe",
                        "Wohnzimmer Tischlampe"
                      ]
                    },
                    {
                      "active": false,
                      "name": "Hallway",
                      "triggers": [
                        "Motion Hallway Sensor #1",
                        "Motion Hallway Sensor #2",
                        "Wall Switch Hallway #1",
                        "Wall Switch Hallway #2"
                      ],
                      "targets": [
                        "Hallway Light"
                      ]
                    },
                    {
                      "active": false,
                      "name": "Relax Area",
                      "triggers": [
                        "Relax Area Person Sits Indicator"
                      ],
                      "targets": [
                        "Relax Area Ceiling Light",
                        "Relax Area Wall Light"
                      ]
                    },
                    {
                      "active": false,
                      "name": "Bathroom Ground Floor",
                      "triggers": [
                        "Motion Bathroom",
                        "Wall Switch Bathroom"
                      ],
                      "targets": [
                        "Bathroom Light",
                        "Bathroom Radio"
                      ]
                    },
                    {
                      "active": true,
                      "name": "Wohnzimmer",
                      "triggers": [
                        "30 Minuten vor Sonnenuntergang"
                      ],
                      "targets": [
                        "Wohnzimmer Schreibtischlampe"
                      ]
                    }
                  ],
                  "tableConditions": [
                    {
                      "active": true,
                      "name": "Haustür geschlossen",
                      "conditionState": "hm-rpc.1.NEQ1480228.1.STATE",
                      "conditionValue": "false"
                    },
                    {
                      "active": true,
                      "name": "Jemand Anwesend",
                      "conditionState": "0_userdata.0.Anwesenheit.Anwesenheit",
                      "conditionValue": "true"
                    },
                    {
                      "active": true,
                      "name": "Niemand Anwesend",
                      "conditionState": "0_userdata.0.Anwesenheit.Anwesenheit",
                      "conditionValue": "false"
                    },
                    {
                      "active": true,
                      "name": "Feiertag Heute",
                      "conditionState": "feiertage.0.heute.boolean",
                      "conditionValue": "true"
                    },
                    {
                      "active": true,
                      "name": "Feiertag Morgen",
                      "conditionState": "feiertage.0.morgen.boolean",
                      "conditionValue": "true"
                    },
                    {
                      "active": false,
                      "name": "Public Holiday Today",
                      "conditionState": "smartcontrol.0.Test.condition.isHolidayToday",
                      "conditionValue": "true"
                    },
                    {
                      "active": false,
                      "name": "Is Front Door Locked?",
                      "conditionState": "smartcontrol.0.Test.condition.isFrontDoorLocked",
                      "conditionValue": "true"
                    },
                    {
                      "active": false,
                      "name": "No one is present",
                      "conditionState": "smartcontrol.0.Test.condition.isAnyonePresent",
                      "conditionValue": "false"
                    },
                    {
                      "active": false,
                      "name": "One or more are present",
                      "conditionState": "smartcontrol.0.Test.condition.isAnyonePresent",
                      "conditionValue": "true"
                    }
                  ],
                  "tableSchedules": [
                    {
                      "active": true,
                      "name": "Wohnzimmer",
                      "start": "sunset-60",
                      "end": "22:00",
                      "mon": true,
                      "tue": true,
                      "wed": true,
                      "thu": true,
                      "fri": true,
                      "sat": true,
                      "sun": true,
                      "additionalConditions": [
                        "Jemand Anwesend"
                      ],
                      "never": [
                        "Niemand Anwesend"
                      ]
                    },
                    {
                      "active": false,
                      "name": "Relax Area",
                      "start": "sunset+30",
                      "end": "sunrise",
                      "mon": true,
                      "tue": true,
                      "wed": true,
                      "thu": true,
                      "fri": true,
                      "sat": true,
                      "sun": true,
                      "additionalConditions": [
                        "One or more are present"
                      ],
                      "never": []
                    },
                    {
                      "active": false,
                      "name": "Hallway",
                      "start": "sunset-20",
                      "end": "22:00",
                      "mon": true,
                      "tue": true,
                      "wed": true,
                      "thu": true,
                      "fri": true,
                      "sat": false,
                      "sun": false,
                      "additionalConditions": [
                        "One or more are present"
                      ],
                      "never": [
                        "Public Holiday Today"
                      ]
                    },
                    {
                      "active": false,
                      "name": "Hallway",
                      "start": "sunset-20",
                      "end": "1:00",
                      "mon": false,
                      "tue": false,
                      "wed": false,
                      "thu": false,
                      "fri": false,
                      "sat": true,
                      "sun": true,
                      "additionalConditions": [
                        "One or more are present"
                      ],
                      "never": []
                    },
                    {
                      "active": false,
                      "name": "Bathroom Ground Floor",
                      "start": "06:00",
                      "end": "09:00",
                      "mon": true,
                      "tue": true,
                      "wed": true,
                      "thu": true,
                      "fri": true,
                      "sat": false,
                      "sun": false,
                      "additionalConditions": [
                        "Public Holiday Today"
                      ],
                      "never": [
                        "No one is present"
                      ]
                    },
                    {
                      "active": false,
                      "name": "Bathroom Ground Floor",
                      "start": "08:00",
                      "end": "11:00",
                      "mon": false,
                      "tue": false,
                      "wed": false,
                      "thu": false,
                      "fri": false,
                      "sat": true,
                      "sun": true,
                      "additionalConditions": [],
                      "never": [
                        "No one is present"
                      ]
                    }
                  ]
                }
              }
              
              MicM Offline
              MicM Offline
              Mic
              Developer
              schrieb am zuletzt editiert von Mic
              #68

              @MartyBr sagte in Aufruf: Neuen SmartControl-Adapter 0.1.0-alpha.x testen:

              Beim Start kommt auch wieder der "unique" Fehler.

              Der ist gut so 🙂 Namen der Zonen dürfen nicht doppelt vorkommen, denn sonst weiß die Tabelle "5. AUSFÜHRUNG" nicht, welche Zone denn nun genau gemeint ist.
              Schau mal, ob das dein anderes Problem dann auch löst, sonst schaue ich mir das gerne an.

              M 1 Antwort Letzte Antwort
              0
              • liv-in-skyL liv-in-sky

                @Mic

                oder hier noch eine spalte wo man dann ein oder ausschalten auswählen kann:

                Image 4.png

                habe es so wie im bild - funktioniert - hatte ich auch schon vorher überlegt, dachte aber, dass ich etwas übersehen hätte 😞

                MicM Offline
                MicM Offline
                Mic
                Developer
                schrieb am zuletzt editiert von
                #69

                @liv-in-sky

                Auswahl "einschalten/ausschalten"

                Habe es nun in 0.1.0-alpha.9 eingebaut:

                Gibt jetzt unter "Andere Auslöser" und "Zeitabhängige Auslöser" die neue Option, Spalte "Ziel aus?".
                c6a95789-a374-4046-9415-26d8dc1ead20-image.png

                e8a31be3-7231-4cde-affb-fda0e8962d12-image.png

                liv-in-skyL 1 Antwort Letzte Antwort
                0
                • MicM Mic

                  @liv-in-sky

                  Auswahl "einschalten/ausschalten"

                  Habe es nun in 0.1.0-alpha.9 eingebaut:

                  Gibt jetzt unter "Andere Auslöser" und "Zeitabhängige Auslöser" die neue Option, Spalte "Ziel aus?".
                  c6a95789-a374-4046-9415-26d8dc1ead20-image.png

                  e8a31be3-7231-4cde-affb-fda0e8962d12-image.png

                  liv-in-skyL Offline
                  liv-in-skyL Offline
                  liv-in-sky
                  schrieb am zuletzt editiert von
                  #70

                  @Mic

                  du bist ja flot 🙂

                  schaltet leider nicht aus

                  
                  smartcontrol.0	2020-07-12 14:06:46.601	debug	(23092) [cP] : {"triggerType":"statePath","triggerStatePath":"controll-own.0.mount.CPUTemp","targetOff":false,"triggerStateValSet":38,"scheduleRows":[{"active":true,"name":"Proxmox kühlen","start":"06
                  smartcontrol.0	2020-07-12 14:06:46.600	debug	(23092) Trigger activation ["Proxmox Temp hoch","PRoxmox Temp niedrig"] successfully found.
                  smartcontrol.0	2020-07-12 14:06:46.600	debug	(23092) State 'controll-own.0.mount.CPUTemp' change --> execute asyncTriggerActivated()
                  smartcontrol.0	2020-07-12 14:06:46.599	debug	(23092) Subscribed state 'controll-own.0.mount.CPUTemp' changed, new value: [38] (ack: false)
                  smartcontrol.0	2020-07-12 14:06:31.624	debug	(23092) Subscribed state 'smartcontrol.0.targetDevices.Proxmox Lüfter' change: ack 'true' is not meeting conditions per isAckPassing()
                  smartcontrol.0	2020-07-12 14:06:31.615	debug	(23092) Subscribed state 'smartcontrol.0.targetDevices.Proxmox Lüfter' changed, new value: [true] (ack: true)
                  smartcontrol.0	2020-07-12 14:06:31.611	debug	(23092) State 'controll-own.0.Luefter3' changed to 'true' -> 'smartcontrol.0.targetDevices.Proxmox Lüfter' set to true.
                  smartcontrol.0	2020-07-12 14:06:31.608	debug	(23092) State 'controll-own.0.Luefter3' change --> execute handleStateChangeTargetForeignTargets()
                  smartcontrol.0	2020-07-12 14:06:31.603	debug	(23092) Subscribed state 'controll-own.0.Luefter3' changed, new value: [true] (ack: false)
                  smartcontrol.0	2020-07-12 14:06:31.602	info	(23092) Trigger 'Proxmox Temp hoch' activated for 'Proxmox kühlen,Proxmox gekühlt'. Turned on 'Proxmox Lüfter'.
                  smartcontrol.0	2020-07-12 14:06:31.587	debug	(23092) Trigger is matching a schedule.
                  smartcontrol.0	2020-07-12 14:06:31.586	debug	(23092) Execution table row for zone 'Proxmox kühlen' is meeting conditions
                  smartcontrol.0	2020-07-12 14:06:31.586	debug	(23092) Proxmox Temp hoch: No extra condition(s) in schedule, so we return "true" to continue.
                  smartcontrol.0	2020-07-12 14:06:31.586	debug	(23092) Proxmox Temp hoch: No extra condition(s) in schedule, so we return "true" to continue.
                  smartcontrol.0	2020-07-12 14:06:31.586	debug	(23092) Current weekday 'sun' *is* matching Execution table row for 'Proxmox kühlen'.
                  smartcontrol.0	2020-07-12 14:06:31.586	debug	(23092) Current time *is* within schedule times (start: '06:00', end: '23:00) of 'Proxmox kühlen'.
                  smartcontrol.0	2020-07-12 14:06:31.585	debug	(23092) Start: '06:00'='2020-7-12 6:00:00', end: '23:00'='2020-7-12 23:00:00'. To check if in between: '2020-7-12 14:06:31'
                  smartcontrol.0	2020-07-12 14:06:31.585	debug	(23092) Trigger Proxmox Temp hoch is associated with following Execution table row: {"active":true,"name":"Proxmox kühlen","start":"06:00","end":"23:00","mon":true,"tue":true,"wed":true,"thu":true,"fr
                  smartcontrol.0	2020-07-12 14:06:31.585	debug	(23092) [asyncSwitchTargetDevices] Config Parameters cP = {"triggerType":"statePath","triggerStatePath":"controll-own.0.mount.CPUTemp","targetOff":false,"triggerStateValSet":42,"scheduleRows":[{"activ
                  smartcontrol.0	2020-07-12 14:06:31.585	debug	(23092) No brightness defined for motion sensor 'Proxmox Temp hoch', so continue and do not use bri as an additional criterion.
                  smartcontrol.0	2020-07-12 14:06:31.585	debug	(23092) [cP] : {"triggerType":"statePath","triggerStatePath":"controll-own.0.mount.CPUTemp","targetOff":false,"triggerStateValSet":42,"scheduleRows":[{"active":true,"name":"Proxmox kühlen","start":"06
                  smartcontrol.0	2020-07-12 14:06:31.584	debug	(23092) Trigger activation ["Proxmox Temp hoch","PRoxmox Temp niedrig"] successfully found.
                  smartcontrol.0	2020-07-12 14:06:31.584	debug	(23092) State 'controll-own.0.mount.CPUTemp' change --> execute asyncTriggerActivated()
                  smartcontrol.0	2020-07-12 14:06:31.582	debug	(23092) Subscribed state 'controll-own.0.mount.CPUTemp' changed, new value: [42] (ack: false)
                  smartcontrol.0	2020-07-12 14:06:16.555	debug	(23092) [cP] : {"triggerType":"statePath","triggerStatePath":"controll-own.0.mount.CPUTemp","targetOff":false,"triggerStateValSet":38,"scheduleRows":[{"active":true,"name":"Proxmox kühlen","start":"06
                  smartcontrol.0	2020-07-12 14:06:16.555	debug	(23092) Trigger activation ["Proxmox Temp hoch","PRoxmox Temp niedrig"] successfully found.
                  smartcontrol.0	2020-07-12 14:06:16.554	debug	(23092) State 'controll-own.0.mount.CPUTemp' change --> execute asyncTriggerActivated()
                  smartcontrol.0	2020-07-12 14:06:16.553	debug	(23092) Subscribed state 'controll-own.0.mount.CPUTemp' changed, new value: [38] (ack: false)
                  smartcontrol.0	2020-07-12 14:06:01.538	debug	(23092) [cP] : {"triggerType":"statePath","triggerStatePath":"controll-own.0.mount.CPUTemp","targetOff":false,"triggerStateValSet":41,"scheduleRows":[{"active":true,"name":"Proxmox kühlen","start":"06
                  smartcontrol.0	2020-07-12 14:06:01.538	debug	(23092) Trigger activation ["Proxmox Temp hoch","PRoxmox Temp niedrig"] successfully found.
                  smartcontrol.0	2020-07-12 14:06:01.537	debug	(23092) State 'controll-own.0.mount.CPUTemp' change --> execute asyncTriggerActivated()
                  smartcontrol.0	2020-07-12 14:06:01.536	debug	(23092) Subscribed state 'controll-own.0.mount.CPUTemp' changed, new value: [41] (ack: false)
                  

                  system.adapter.smartcontrol.0 (2).json

                  habe das setting mit json gemacht- magst du lieber bilder des settings ?

                  Image 2.png

                  nach einem gelösten Thread wäre es sinnvoll dies in der Überschrift des ersten Posts einzutragen [gelöst]-... Bitte benutzt das Voting rechts unten im Beitrag wenn er euch geholfen hat. Forum-Tools: PicPick https://picpick.app/en/download/ und ScreenToGif https://www.screentogif.com/downloads.html

                  1 Antwort Letzte Antwort
                  0
                  • MicM Mic

                    @MartyBr sagte in Aufruf: Neuen SmartControl-Adapter 0.1.0-alpha.x testen:

                    Beim Start kommt auch wieder der "unique" Fehler.

                    Der ist gut so 🙂 Namen der Zonen dürfen nicht doppelt vorkommen, denn sonst weiß die Tabelle "5. AUSFÜHRUNG" nicht, welche Zone denn nun genau gemeint ist.
                    Schau mal, ob das dein anderes Problem dann auch löst, sonst schaue ich mir das gerne an.

                    M Offline
                    M Offline
                    MartyBr
                    schrieb am zuletzt editiert von
                    #71

                    @Mic Funktioniert nun. Danke für die Hilfe. Habe direkt die neue Version installiert und den neue Funktion "Ziel aus" eingetragen.
                    Ich werde das gleich mit den Bewegungsmeldern testen.

                    Gruß
                    Martin


                    Intel NUCs mit Proxmox / Iobroker als VM unter Debian
                    Raspeberry mit USB Leseköpfen für Smartmeter
                    Homematic und Homematic IP

                    1 Antwort Letzte Antwort
                    0
                    • M Offline
                      M Offline
                      MartyBr
                      schrieb am zuletzt editiert von
                      #72

                      @Mic
                      Der Test ist negativ verlaufen. Weder wurden die Lampen als auch aus geschaltet. Ich habe mal bei weiteren Optionen ack auf egal gestellt.
                      Hilft leider nicht.

                      Hier die Options:

                      {
                        "_id": "system.adapter.smartcontrol.0",
                        "common": {
                          "name": "smartcontrol",
                          "version": "0.1.0-alpha.9",
                          "title": "Smart Control",
                          "authors": [
                            "Mic-M <iob.micm@gmail.com>"
                          ],
                          "keywords": [
                            "smart",
                            "control",
                            "rooms",
                            "groups",
                            "motion sensors",
                            "devices",
                            "switches",
                            "lights",
                            "trigger",
                            "schedule",
                            "zones"
                          ],
                          "license": "MIT",
                          "platform": "Javascript/Node.js",
                          "main": "main.js",
                          "icon": "smartcontrol.png",
                          "enabled": true,
                          "extIcon": "https://raw.githubusercontent.com/Mic-M/ioBroker.smartcontrol/master/admin/smartcontrol.png",
                          "readme": "https://github.com/Mic-M/ioBroker.smartcontrol/blob/master/README.md",
                          "loglevel": "info",
                          "mode": "daemon",
                          "type": "logic",
                          "compact": true,
                          "connectionType": "local",
                          "dataSource": "poll",
                          "materialize": true,
                          "dependencies": [
                            {
                              "js-controller": ">=1.4.2"
                            }
                          ],
                          "installedFrom": "https://github.com/Mic-M/ioBroker.smartcontrol/tarball/7fa0ef10611f09c57faaec82da54cdea740afb5b",
                          "installedVersion": "0.1.0-alpha.9",
                          "host": "iobroker"
                        },
                        "native": {
                          "exceedMidnight": true,
                          "motionNoBriIfTimer": true,
                          "triggerStatesAck": "any",
                          "limitTriggerInterval": "3",
                          "extendedInfoLog": true,
                          "tableTriggerMotion": [
                            {
                              "active": true,
                              "name": "Motion Wohnzimmer Süd",
                              "stateId": "hm-rpc.2.000918A98BEDE4.1.MOTION",
                              "stateVal": "true",
                              "duration": "180",
                              "briStateId": "hm-rpc.2.000918A98BEDE4.1.ILLUMINATION",
                              "briThreshold": "5"
                            },
                            {
                              "active": true,
                              "name": "Motion Wohnzimmer Nord",
                              "stateId": "hm-rpc.2.000918A98BEDEF.1.MOTION",
                              "stateVal": "true",
                              "duration": "180",
                              "briStateId": "hm-rpc.2.000918A98BEDEF.1.ILLUMINATION",
                              "briThreshold": "5"
                            },
                            {
                              "active": false,
                              "name": "Motion Bathroom",
                              "stateId": "smartcontrol.0.Test.trigger.Bathroom_motion",
                              "stateVal": "true",
                              "duration": "10",
                              "briStateId": "smartcontrol.0.Test.brightness.Bathroom_bri",
                              "briThreshold": "100"
                            },
                            {
                              "active": false,
                              "name": "Motion Hallway Sensor #1",
                              "stateId": "smartcontrol.0.Test.trigger.Hallway1_motion",
                              "stateVal": "true",
                              "duration": "120",
                              "briStateId": "smartcontrol.0.Test.brightness.Hallway1_bri",
                              "briThreshold": "70"
                            },
                            {
                              "active": false,
                              "name": "Motion Hallway Sensor #2",
                              "stateId": "smartcontrol.0.Test.trigger.Hallway2_motion",
                              "stateVal": "true",
                              "duration": "120",
                              "briStateId": "smartcontrol.0.Test.brightness.Hallway2_bri",
                              "briThreshold": "60"
                            }
                          ],
                          "tableTriggerDevices": [
                            {
                              "active": true,
                              "name": "Temperatur Wohnzimmer größer 23",
                              "stateId": "alias.0.Temperatur.Wohnzimmer.Wohnzimmer-Temp-Mittel",
                              "stateVal": ">23",
                              "targetOff": false
                            },
                            {
                              "active": true,
                              "name": "Temperatur Wohnzimmer kleiner 23",
                              "stateId": "alias.0.Temperatur.Wohnzimmer.Wohnzimmer-Temp-Mittel",
                              "stateVal": "<=23",
                              "targetOff": false
                            },
                            {
                              "active": false,
                              "name": "Wall Switch Bathroom",
                              "stateId": "smartcontrol.0.Test.trigger.Bathroom_wall-switch",
                              "stateVal": "true",
                              "targetOff": false
                            },
                            {
                              "active": false,
                              "name": "Wall Switch Hallway #1",
                              "stateId": "smartcontrol.0.Test.trigger.Hallway1_wall-switch",
                              "stateVal": "true",
                              "targetOff": false
                            },
                            {
                              "active": false,
                              "name": "Wall Switch Hallway #2",
                              "stateId": "smartcontrol.0.Test.trigger.Hallway2_wall-switch",
                              "stateVal": "true",
                              "targetOff": false
                            },
                            {
                              "active": false,
                              "name": "Relax Area Person Sits Indicator",
                              "stateId": "smartcontrol.0.Test.trigger.RelaxPersonSitting",
                              "stateVal": "true",
                              "targetOff": false
                            }
                          ],
                          "tableTriggerTimes": [
                            {
                              "active": true,
                              "name": "30 Minuten vor Sonnenuntergang",
                              "time": "sunset-30",
                              "additionalConditions": [],
                              "never": [],
                              "targetOff": false
                            },
                            {
                              "active": true,
                              "name": "60 Minuten vor Sonnenuntergang",
                              "time": "sunset-60",
                              "additionalConditions": [],
                              "never": [],
                              "targetOff": false
                            },
                            {
                              "active": true,
                              "name": "30 Minuten nach Sonnenaufgang",
                              "time": "sunrise+30",
                              "additionalConditions": [],
                              "never": [],
                              "targetOff": false
                            },
                            {
                              "active": false,
                              "name": "Every hour at minute 42",
                              "time": "42 * * * *",
                              "additionalConditions": [],
                              "never": [],
                              "targetOff": false
                            },
                            {
                              "active": false,
                              "name": "At 22:00 on every day-of-week from Monday through Friday",
                              "time": "0 22 * * 1-5",
                              "additionalConditions": [],
                              "never": [],
                              "targetOff": false
                            },
                            {
                              "active": false,
                              "name": "At 04:05 on Sunday",
                              "time": "5 4 * * sun",
                              "additionalConditions": [],
                              "never": [],
                              "targetOff": false
                            },
                            {
                              "active": false,
                              "name": "30 Minutes after Sunset",
                              "time": "sunset+30",
                              "additionalConditions": [],
                              "never": [],
                              "targetOff": false
                            }
                          ],
                          "tableTargetDevices": [
                            {
                              "active": true,
                              "name": "Wohnzimmer Schreibtischlampe",
                              "onState": "hm-rpc.1.OEQ0478213.1.STATE",
                              "onValue": "true",
                              "offState": "hm-rpc.1.OEQ0478213.1.STATE",
                              "offValue": "false"
                            },
                            {
                              "active": true,
                              "name": "Wohnzimmer Ecklampe",
                              "onState": "hm-rpc.1.OEQ0478215.1.STATE",
                              "onValue": "true",
                              "offState": "hm-rpc.1.OEQ0478215.1.STATE",
                              "offValue": "false"
                            },
                            {
                              "active": true,
                              "name": "Wohnzimmer Tischlampe",
                              "onState": "zigbee.0.14b457fffe2be766.state",
                              "onValue": "true",
                              "offState": "zigbee.0.14b457fffe2be766.state",
                              "offValue": "false"
                            },
                            {
                              "active": false,
                              "name": "Bathroom Light",
                              "onState": "smartcontrol.0.Test.light.Bathroom",
                              "onValue": "true",
                              "offState": "smartcontrol.0.Test.light.Bathroom",
                              "offValue": "false"
                            },
                            {
                              "active": false,
                              "name": "Bathroom Radio",
                              "onState": "smartcontrol.0.Test.radio.Bathroom",
                              "onValue": "Smooth Jazz",
                              "offState": "smartcontrol.0.Test.radio.Bathroom",
                              "offValue": "Musik aus"
                            },
                            {
                              "active": false,
                              "name": "Hallway Light",
                              "onState": "smartcontrol.0.Test.light.Hallway",
                              "onValue": "true",
                              "offState": "smartcontrol.0.Test.light.Hallway",
                              "offValue": "false"
                            },
                            {
                              "active": false,
                              "name": "Relax Area Ceiling Light",
                              "onState": "smartcontrol.0.Test.light.RelaxAreaCeiling",
                              "onValue": "true",
                              "offState": "smartcontrol.0.Test.light.RelaxAreaCeiling",
                              "offValue": "false"
                            },
                            {
                              "active": false,
                              "name": "Relax Area Wall Light",
                              "onState": "smartcontrol.0.Test.light.RelaxAreaWall",
                              "onValue": "true",
                              "offState": "smartcontrol.0.Test.light.RelaxAreaWall",
                              "offValue": "false"
                            }
                          ],
                          "tableCombinedDevices": [],
                          "tableZones": [
                            {
                              "active": true,
                              "name": "Wohnzimmer",
                              "triggers": [
                                "Motion Wohnzimmer Süd",
                                "Motion Wohnzimmer Nord"
                              ],
                              "targets": [
                                "Wohnzimmer Schreibtischlampe",
                                "Wohnzimmer Ecklampe",
                                "Wohnzimmer Tischlampe"
                              ]
                            },
                            {
                              "active": false,
                              "name": "Wohnzimmer #1",
                              "triggers": [
                                "60 Minuten vor Sonnenuntergang"
                              ],
                              "targets": [
                                "Wohnzimmer Schreibtischlampe",
                                "Wohnzimmer Ecklampe",
                                "Wohnzimmer Tischlampe"
                              ]
                            },
                            {
                              "active": false,
                              "name": "Wohnzimmer #2",
                              "triggers": [
                                "30 Minuten vor Sonnenuntergang"
                              ],
                              "targets": [
                                "Wohnzimmer Schreibtischlampe"
                              ]
                            },
                            {
                              "active": false,
                              "name": "Hallway",
                              "triggers": [
                                "Motion Hallway Sensor #1",
                                "Motion Hallway Sensor #2",
                                "Wall Switch Hallway #1",
                                "Wall Switch Hallway #2"
                              ],
                              "targets": [
                                "Hallway Light"
                              ]
                            },
                            {
                              "active": false,
                              "name": "Bathroom Ground Floor",
                              "triggers": [
                                "Motion Bathroom",
                                "Wall Switch Bathroom"
                              ],
                              "targets": [
                                "Bathroom Light",
                                "Bathroom Radio"
                              ]
                            },
                            {
                              "active": false,
                              "name": "Relax Area",
                              "triggers": [
                                "Relax Area Person Sits Indicator"
                              ],
                              "targets": [
                                "Relax Area Ceiling Light",
                                "Relax Area Wall Light"
                              ]
                            }
                          ],
                          "tableConditions": [
                            {
                              "active": true,
                              "name": "Haustür geschlossen",
                              "conditionState": "hm-rpc.1.NEQ1480228.1.STATE",
                              "conditionValue": "false"
                            },
                            {
                              "active": true,
                              "name": "Jemand Anwesend",
                              "conditionState": "0_userdata.0.Anwesenheit.Anwesenheit",
                              "conditionValue": "true"
                            },
                            {
                              "active": true,
                              "name": "Niemand Anwesend",
                              "conditionState": "0_userdata.0.Anwesenheit.Anwesenheit",
                              "conditionValue": "false"
                            },
                            {
                              "active": true,
                              "name": "Feiertag Heute",
                              "conditionState": "feiertage.0.heute.boolean",
                              "conditionValue": "true"
                            },
                            {
                              "active": true,
                              "name": "Feiertag Morgen",
                              "conditionState": "feiertage.0.morgen.boolean",
                              "conditionValue": "true"
                            },
                            {
                              "active": false,
                              "name": "Public Holiday Today",
                              "conditionState": "smartcontrol.0.Test.condition.isHolidayToday",
                              "conditionValue": "true"
                            },
                            {
                              "active": false,
                              "name": "Is Front Door Locked?",
                              "conditionState": "smartcontrol.0.Test.condition.isFrontDoorLocked",
                              "conditionValue": "true"
                            },
                            {
                              "active": false,
                              "name": "No one is present",
                              "conditionState": "smartcontrol.0.Test.condition.isAnyonePresent",
                              "conditionValue": "false"
                            },
                            {
                              "active": false,
                              "name": "One or more are present",
                              "conditionState": "smartcontrol.0.Test.condition.isAnyonePresent",
                              "conditionValue": "true"
                            }
                          ],
                          "tableSchedules": [
                            {
                              "active": true,
                              "name": "Wohnzimmer",
                              "start": "08:00",
                              "end": "22:00",
                              "mon": true,
                              "tue": true,
                              "wed": true,
                              "thu": true,
                              "fri": true,
                              "sat": true,
                              "sun": true,
                              "additionalConditions": [
                                "Jemand Anwesend"
                              ],
                              "never": [
                                "Niemand Anwesend"
                              ]
                            },
                            {
                              "active": false,
                              "name": "Relax Area",
                              "start": "sunset+30",
                              "end": "sunrise",
                              "mon": true,
                              "tue": true,
                              "wed": true,
                              "thu": true,
                              "fri": true,
                              "sat": true,
                              "sun": true,
                              "additionalConditions": [
                                "One or more are present"
                              ],
                              "never": []
                            },
                            {
                              "active": false,
                              "name": "Hallway",
                              "start": "sunset-20",
                              "end": "22:00",
                              "mon": true,
                              "tue": true,
                              "wed": true,
                              "thu": true,
                              "fri": true,
                              "sat": false,
                              "sun": false,
                              "additionalConditions": [
                                "One or more are present"
                              ],
                              "never": [
                                "Public Holiday Today"
                              ]
                            },
                            {
                              "active": false,
                              "name": "Hallway",
                              "start": "sunset-20",
                              "end": "1:00",
                              "mon": false,
                              "tue": false,
                              "wed": false,
                              "thu": false,
                              "fri": false,
                              "sat": true,
                              "sun": true,
                              "additionalConditions": [
                                "One or more are present"
                              ],
                              "never": []
                            },
                            {
                              "active": false,
                              "name": "Bathroom Ground Floor",
                              "start": "06:00",
                              "end": "09:00",
                              "mon": true,
                              "tue": true,
                              "wed": true,
                              "thu": true,
                              "fri": true,
                              "sat": false,
                              "sun": false,
                              "additionalConditions": [
                                "Public Holiday Today"
                              ],
                              "never": [
                                "No one is present"
                              ]
                            },
                            {
                              "active": false,
                              "name": "Bathroom Ground Floor",
                              "start": "08:00",
                              "end": "11:00",
                              "mon": false,
                              "tue": false,
                              "wed": false,
                              "thu": false,
                              "fri": false,
                              "sat": true,
                              "sun": true,
                              "additionalConditions": [],
                              "never": [
                                "No one is present"
                              ]
                            }
                          ]
                        }
                      }
                      

                      Gruß
                      Martin


                      Intel NUCs mit Proxmox / Iobroker als VM unter Debian
                      Raspeberry mit USB Leseköpfen für Smartmeter
                      Homematic und Homematic IP

                      1 Antwort Letzte Antwort
                      0
                      • M Offline
                        M Offline
                        MartyBr
                        schrieb am zuletzt editiert von MartyBr
                        #73

                        @Mic
                        das war es doch nicht:

                        Bildschirmfoto 2020-07-12 um 14.31.50.png

                        Ich schalte den ack Parameter zurück.
                        So, jetzt steht er auf <nur ack:true>
                        Mal abwarten ......

                        Update:
                        Der gleiche Fehler kommt bei den Temperaturwerten unterhalb von alias.0 wieder.

                        Gruß
                        Martin


                        Intel NUCs mit Proxmox / Iobroker als VM unter Debian
                        Raspeberry mit USB Leseköpfen für Smartmeter
                        Homematic und Homematic IP

                        1 Antwort Letzte Antwort
                        0
                        • Christoph1337C Offline
                          Christoph1337C Offline
                          Christoph1337
                          schrieb am zuletzt editiert von
                          #74

                          @Mic ich habe noch eine Idee gehabt für die pir Schaltung.

                          Wenn Bewegung kurz. Z. B. 3 Minuten. Dann Licht nach 5 Minuten abschalten.
                          Wenn Bewegung länger. Z. B. 15 Minuten. Licht für 30 Minuten an lassen.

                          1 Antwort Letzte Antwort
                          0
                          • D Offline
                            D Offline
                            DocGame
                            schrieb am zuletzt editiert von DocGame
                            #75

                            @Mic Wäre es nicht möglich in den DP-Werten neben true, false usw. auch ein Toggle bei den Zielgeräten bzw. Statusänderung beim Auslöser einzubauen.
                            Ich fände dies bei einigen Projekten äusserst hilfreich....

                            1 Antwort Letzte Antwort
                            0
                            • Michael SauerM Online
                              Michael SauerM Online
                              Michael Sauer
                              schrieb am zuletzt editiert von Michael Sauer
                              #76

                              Was mache ich falsch?
                              e6b78030-2520-4878-9911-e1b237ba6ee1-image.png

                              Habe alle Datenpunkte gelöscht. Es werden jedoch meine erstellten nicht erzeugt.
                              bf4eddd2-23a7-4c4a-b112-c6d7ff04d1b3-image.png

                              erledigt hatte nicht den Datenpunkt zum ausschalten angegeben.

                              1 Antwort Letzte Antwort
                              0
                              • Michael SauerM Online
                                Michael SauerM Online
                                Michael Sauer
                                schrieb am zuletzt editiert von
                                #77

                                Neues Problem.
                                Es werden die eingestellten Zeiten ignoriert. Es werden immer beide Zonen aktiviert.
                                Siehe Screenshots:
                                aed3cd6f-a389-41e0-bc76-c9a2dc3c5fab-image.png
                                b5c57c04-f15a-4b88-a441-235f8b27d778-image.png
                                aa12d4b2-a336-4fa0-bb74-7192041cb3f7-image.png
                                41a8a6ac-cad7-4804-9546-1e73fc60c15b-image.png

                                Habe ich etwas falsch verstanden?

                                MicM 1 Antwort Letzte Antwort
                                0
                                • C Offline
                                  C Offline
                                  Cristian
                                  schrieb am zuletzt editiert von
                                  #78

                                  Ein toller Adapter und Entwicklungsarbeit! 👍

                                  Ich habe damit angefangen, meine Blockly Skripten zu ersetzen und konnte soweit eine Menge abschaffen. Was mir noch fehlt ist die Möglichkeit die Zielgeräte mit einen Anderen Auslöser (zB Wippschalter) zu toggeln (umshalten wie in Blockly). Wäre es möglich, eine Option "toggle" bei den Auslöser einzubauen? Danke!

                                  1 Antwort Letzte Antwort
                                  0
                                  • crunchipC Abwesend
                                    crunchipC Abwesend
                                    crunchip
                                    Forum Testing Most Active
                                    schrieb am zuletzt editiert von
                                    #79

                                    @Mic bin heut auch endlich mal dazu gekommen, da ich aber bisher nur ein paar Lichter integriert hab, füllt sich die Liste der Zielgeräte jedoch recht schnell.
                                    Nur so mal in den Raum geworfen, bei intensiver Nutzung, wird diese List doch recht lang und unübersichtlich. Gäbe es da nicht eine Möglichkeit, eine Art Untermenü anzulegen, so alla "Räume" z.b.?

                                    umgestiegen von Proxmox auf Unraid

                                    1 Antwort Letzte Antwort
                                    0
                                    • MicM Offline
                                      MicM Offline
                                      Mic
                                      Developer
                                      schrieb am zuletzt editiert von
                                      #80

                                      @liv-in-sky sagte in Aufruf: Neuen SmartControl-Adapter 0.1.0-alpha.x testen:

                                      habe das setting mit json gemacht- magst du lieber bilder des settings ?

                                      Danke, so ist es perfekt.
                                      Konnte es nachvollziehen. Ich musste einiges im Code ändern, damit ein State mehr als einmal als Trigger verwendet werden kann, bislang wurden dann weitere Zeilen ignoriert. Ist nun behoben (noch nicht auf Github, folgt...).

                                      @MartyBr sagte in Aufruf: Neuen SmartControl-Adapter 0.1.0-alpha.x testen:

                                      Der gleiche Fehler kommt bei den Temperaturwerten unterhalb von alias.0 wieder.

                                      Ich poste hier, sobald die nächste Github-Version verfügbar ist. Schau dann bitte noch mal ob es geht, hab einiges ausgebügelt im Code und bin noch an mehreren Sachen und paar Features.

                                      @Christoph1337 sagte in Aufruf: Neuen SmartControl-Adapter 0.1.0-alpha.x testen:

                                      Wenn Bewegung kurz. Z. B. 3 Minuten. Dann Licht nach 5 Minuten abschalten.
                                      Wenn Bewegung länger. Z. B. 15 Minuten. Licht für 30 Minuten an lassen.

                                      Habe es mal in die Wunschliste aufgenommen.

                                      @DocGame sagte in Aufruf: Neuen SmartControl-Adapter 0.1.0-alpha.x testen:

                                      Wäre es nicht möglich in den DP-Werten neben true, false usw. auch ein Toggle bei den Zielgeräten bzw. Statusänderung beim Auslöser einzubauen.
                                      Ich fände dies bei einigen Projekten äusserst hilfreich....

                                      Wie definiert sich ein Toggle, bzw. wie verhält sich ein Toggle-Datenpunkt eines Adapters? Steht der immer auf true, oder wechselt dann auf false?

                                      @Cristian sagte in Aufruf: Neuen SmartControl-Adapter 0.1.0-alpha.x testen:

                                      Was mir noch fehlt ist die Möglichkeit die Zielgeräte mit einen Anderen Auslöser (zB Wippschalter) zu toggeln (umshalten wie in Blockly). Wäre es möglich, eine Option "toggle" bei den Auslöser einzubauen? Danke!

                                      Noch mal Toggle 🙂 Wie funktioniert denn so ein Toggle aus "Datenpunkt-Sicht"?

                                      @Michael-Sauer sagte in Aufruf: Neuen SmartControl-Adapter 0.1.0-alpha.x testen:

                                      Es werden die eingestellten Zeiten ignoriert. Es werden immer beide Zonen aktiviert.

                                      Schau ich mir an und melde mich.

                                      @crunchip sagte in Aufruf: Neuen SmartControl-Adapter 0.1.0-alpha.x testen:

                                      Nur so mal in den Raum geworfen, bei intensiver Nutzung, wird diese List doch recht lang und unübersichtlich. Gäbe es da nicht eine Möglichkeit, eine Art Untermenü anzulegen, so alla "Räume" z.b.?

                                      Guter Punkt, gefällt mir auch noch nicht so gut.
                                      Nehme ich auf die Liste.

                                      Übrigens, was schon mal geht, aber dir jetzt nicht hilft: Du setzt Punkte, also bei "Geräte-Name" z.B. Flur EG.Lichter.Wandlicht 1.
                                      80e7750b-c283-4f17-9fdd-7731c0965b1e-image.png

                                      Nach dem Speichern legt der Adapter dies als verlinkten Datenpunkt zu den originalen Datenpunkten an:
                                      f93aa2e6-c423-486b-a0e1-b6e1ecc8a218-image.png
                                      Da hat man schon mal eine "Ordner-Struktur". Ändert sich (in diesem Beispiel) der shelly.0-Datenpunkt, so ändert sich smartcontrol.0.targetDevices.Flur EG.Lichter.Wandlicht 1 automatisch, und umgekehrt.

                                      Hilft dir nur (noch) nicht dann bei der Auswahl der Zielgeräte...

                                      C crunchipC 2 Antworten Letzte Antwort
                                      1
                                      • Michael SauerM Michael Sauer

                                        Neues Problem.
                                        Es werden die eingestellten Zeiten ignoriert. Es werden immer beide Zonen aktiviert.
                                        Siehe Screenshots:
                                        aed3cd6f-a389-41e0-bc76-c9a2dc3c5fab-image.png
                                        b5c57c04-f15a-4b88-a441-235f8b27d778-image.png
                                        aa12d4b2-a336-4fa0-bb74-7192041cb3f7-image.png
                                        41a8a6ac-cad7-4804-9546-1e73fc60c15b-image.png

                                        Habe ich etwas falsch verstanden?

                                        MicM Offline
                                        MicM Offline
                                        Mic
                                        Developer
                                        schrieb am zuletzt editiert von
                                        #81

                                        @Michael-Sauer sagte in Aufruf: Neuen SmartControl-Adapter 0.1.0-alpha.x testen:

                                        Es werden die eingestellten Zeiten ignoriert. Es werden immer beide Zonen aktiviert.

                                        Poste mal bitte in Code-Tags den Log-Auszug (Adapter-Instanz auf Log-Level "debug" stellen).

                                        Michael SauerM 1 Antwort Letzte Antwort
                                        0
                                        • M MartyBr

                                          @Mic
                                          Das hier wirft er aus:
                                          Bildschirmfoto 2020-07-11 um 20.16.01.png

                                          Ich glaube, das betrifft fast alle nördlich von Hannover, insbesondere die Nordlichter.

                                          MicM Offline
                                          MicM Offline
                                          Mic
                                          Developer
                                          schrieb am zuletzt editiert von Mic
                                          #82

                                          @MartyBr sagte in Aufruf: Neuen SmartControl-Adapter 0.1.0-alpha.x testen:

                                          @Mic
                                          Das hier wirft er aus:
                                          Bildschirmfoto 2020-07-11 um 20.16.01.png

                                          Ich glaube, das betrifft fast alle nördlich von Hannover, insbesondere die Nordlichter.

                                          Hab jetzt diese Option eingebaut (standardmäßig aktiviert):
                                          cd3b06b7-f4dd-4a74-bac8-92a7a494d8be-image.png

                                          Noch nicht auf Github, folgt bald.

                                          Hab mal so auf http://suncalc.net/ geschaut und ich denke night=0:00 und nightEnd=2:00 ist ein guter "Kompromiss".
                                          So viel geschalten – in Abhängigkeit der Helligkeit draußen – wird je zu der Zeit nicht 🙂 Wer mag, kann ja noch einen Helligkeitssensor einbinden 😉
                                          f17543de-47ef-496e-a78c-91ece38d3b98-image.png

                                          1 Antwort Letzte Antwort
                                          0
                                          Antworten
                                          • In einem neuen Thema antworten
                                          Anmelden zum Antworten
                                          • Älteste zuerst
                                          • Neuste zuerst
                                          • Meiste Stimmen


                                          Support us

                                          ioBroker
                                          Community Adapters
                                          Donate

                                          749

                                          Online

                                          32.4k

                                          Benutzer

                                          81.4k

                                          Themen

                                          1.3m

                                          Beiträge
                                          Community
                                          Impressum | Datenschutz-Bestimmungen | Nutzungsbedingungen | Einwilligungseinstellungen
                                          ioBroker Community 2014-2025
                                          logo
                                          • Anmelden

                                          • Du hast noch kein Konto? Registrieren

                                          • Anmelden oder registrieren, um zu suchen
                                          • Erster Beitrag
                                            Letzter Beitrag
                                          0
                                          • Aktuell
                                          • Tags
                                          • Ungelesen 0
                                          • Kategorien
                                          • Unreplied
                                          • Beliebt
                                          • GitHub
                                          • Docu
                                          • Hilfe