Skip to content
  • Recent
  • Tags
  • 0 Unread 0
  • Categories
  • Unreplied
  • Popular
  • 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

  • Default (No Skin)
  • No Skin
Collapse
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.1k

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

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

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

Scheduled Pinned Locked Moved Tester
adaptertesttestersmartcontrol
124 Posts 18 Posters 20.8k Views 39 Watching
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • MicM Offline
    MicM Offline
    Mic
    Developer
    wrote on last edited by
    #66

    @ Alle

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

    1 Reply Last reply
    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
      wrote on last edited by
      #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 Reply Last reply
      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
        wrote on last edited by 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 Reply Last reply
        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
          wrote on last edited by
          #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 Reply Last reply
          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
            wrote on last edited by
            #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 Reply Last reply
            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
              wrote on last edited by
              #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 Reply Last reply
              0
              • M Offline
                M Offline
                MartyBr
                wrote on last edited by
                #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 Reply Last reply
                0
                • M Offline
                  M Offline
                  MartyBr
                  wrote on last edited by 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 Reply Last reply
                  0
                  • Christoph1337C Offline
                    Christoph1337C Offline
                    Christoph1337
                    wrote on last edited by
                    #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 Reply Last reply
                    0
                    • D Offline
                      D Offline
                      DocGame
                      wrote on last edited by 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 Reply Last reply
                      0
                      • Michael SauerM Offline
                        Michael SauerM Offline
                        Michael Sauer
                        wrote on last edited by 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 Reply Last reply
                        0
                        • Michael SauerM Offline
                          Michael SauerM Offline
                          Michael Sauer
                          wrote on last edited by
                          #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 Reply Last reply
                          0
                          • C Offline
                            C Offline
                            Cristian
                            wrote on last edited by
                            #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 Reply Last reply
                            0
                            • crunchipC Away
                              crunchipC Away
                              crunchip
                              Forum Testing Most Active
                              wrote on last edited by
                              #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 Reply Last reply
                              0
                              • MicM Offline
                                MicM Offline
                                Mic
                                Developer
                                wrote on last edited by
                                #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 Replies Last reply
                                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
                                  wrote on last edited by
                                  #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 Reply Last reply
                                  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
                                    wrote on last edited by 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 Reply Last reply
                                    0
                                    • MicM Offline
                                      MicM Offline
                                      Mic
                                      Developer
                                      wrote on last edited by Mic
                                      #83

                                      Was noch fehlte, ist die Einbindung mehrerer Bewegungsmelder in eine Zone.
                                      Ok, ging bisher natürlich, aber jetzt smarter integriert;

                                      • (Mic-M) New feature: If you are using multiple motion sensors for a zone: whenever a motion device triggers, the turn off timer is being stopped and a new timer is set per the latest motion sensor.

                                      Das bedeutet:
                                      Wenn ihr mehrere Bewegungsmelder in einer Zone habt, und

                                      1. Bewegungsmelder A löst aus um 19:00 (3 Min = Abschaltung 19:03)
                                      2. Bewegungsmelder B löst aus um 19:02:30 (3 Min = Abschaltung um 19:05:30)

                                      ...dann wird der Timer von Bewegungsmelder A gelöscht und frisch gesetzt (also quasi verlängert) auf 19:05:30. Das ganze Spiel geht so weiter, bis halt kein Bewegungsmelder der Zone mehr auslöst.
                                      Das ist einer der Vorteile, die die Zonen dieses Adapters so bringen...

                                      Noch nicht auf Github, folgt bald.

                                      M 2 Replies Last reply
                                      0
                                      • MicM Mic

                                        Was noch fehlte, ist die Einbindung mehrerer Bewegungsmelder in eine Zone.
                                        Ok, ging bisher natürlich, aber jetzt smarter integriert;

                                        • (Mic-M) New feature: If you are using multiple motion sensors for a zone: whenever a motion device triggers, the turn off timer is being stopped and a new timer is set per the latest motion sensor.

                                        Das bedeutet:
                                        Wenn ihr mehrere Bewegungsmelder in einer Zone habt, und

                                        1. Bewegungsmelder A löst aus um 19:00 (3 Min = Abschaltung 19:03)
                                        2. Bewegungsmelder B löst aus um 19:02:30 (3 Min = Abschaltung um 19:05:30)

                                        ...dann wird der Timer von Bewegungsmelder A gelöscht und frisch gesetzt (also quasi verlängert) auf 19:05:30. Das ganze Spiel geht so weiter, bis halt kein Bewegungsmelder der Zone mehr auslöst.
                                        Das ist einer der Vorteile, die die Zonen dieses Adapters so bringen...

                                        Noch nicht auf Github, folgt bald.

                                        M Offline
                                        M Offline
                                        MartyBr
                                        wrote on last edited by
                                        #84

                                        @Mic Freue mich auf beide Optionen.
                                        Ich habe im Wohnzimmer aufgrund der Größe zwei Bewegungsmelder.

                                        Gruß
                                        Martin


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

                                        1 Reply Last reply
                                        0
                                        • MicM Mic

                                          Was noch fehlte, ist die Einbindung mehrerer Bewegungsmelder in eine Zone.
                                          Ok, ging bisher natürlich, aber jetzt smarter integriert;

                                          • (Mic-M) New feature: If you are using multiple motion sensors for a zone: whenever a motion device triggers, the turn off timer is being stopped and a new timer is set per the latest motion sensor.

                                          Das bedeutet:
                                          Wenn ihr mehrere Bewegungsmelder in einer Zone habt, und

                                          1. Bewegungsmelder A löst aus um 19:00 (3 Min = Abschaltung 19:03)
                                          2. Bewegungsmelder B löst aus um 19:02:30 (3 Min = Abschaltung um 19:05:30)

                                          ...dann wird der Timer von Bewegungsmelder A gelöscht und frisch gesetzt (also quasi verlängert) auf 19:05:30. Das ganze Spiel geht so weiter, bis halt kein Bewegungsmelder der Zone mehr auslöst.
                                          Das ist einer der Vorteile, die die Zonen dieses Adapters so bringen...

                                          Noch nicht auf Github, folgt bald.

                                          M Offline
                                          M Offline
                                          MartyBr
                                          wrote on last edited by
                                          #85

                                          @Mic
                                          Meine Steuerung bei Lampen bei Dunkelheit funktioniert nun. Jetzt nehme ich mir das nächste Script vor:
                                          Wenn Haustür geöffnet und bei Dunkelheit, dann Lampe Diele an.

                                          Gruß
                                          Martin


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

                                          1 Reply Last reply
                                          0
                                          Reply
                                          • Reply as topic
                                          Log in to reply
                                          • Oldest to Newest
                                          • Newest to Oldest
                                          • Most Votes


                                          Support us

                                          ioBroker
                                          Community Adapters
                                          Donate

                                          712

                                          Online

                                          32.4k

                                          Users

                                          81.4k

                                          Topics

                                          1.3m

                                          Posts
                                          Community
                                          Impressum | Datenschutz-Bestimmungen | Nutzungsbedingungen
                                          ioBroker Community 2014-2025
                                          logo
                                          • Login

                                          • Don't have an account? Register

                                          • Login or register to search.
                                          • First post
                                            Last post
                                          0
                                          • Recent
                                          • Tags
                                          • Unread 0
                                          • Categories
                                          • Unreplied
                                          • Popular
                                          • GitHub
                                          • Docu
                                          • Hilfe