Skip to content
  • Home
  • 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

Community Forum

  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.3k

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

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

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.
  • liv-in-skyL liv-in-sky

    @Mic

    verständnisfrage

    habe
    Image 1.png Image 2.png

    das einschalten funktioniert jetzt- aber wie wird ausgeschalten

    Image 3.png

    wird der wert getoggelt oder woher weiß der adapter , wann true oder falls geschalten werden kann/soll

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

    @liv-in-sky

    Evtl. braucht es hier eine Zusatzoption:
    6fbb824d-1752-49f8-a729-c04140056ebe-image.png

    Also Tabellenspalte mit Auswahl "einschalten/ausschalten". Dann wird - falls "ausschalten" - auch der entsprechende Ziel-Geräte-Datenpunkt zum Ausschalten gezogen.

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

      @Mic
      Hier die config:

      {
        "_id": "system.adapter.smartcontrol.0",
        "common": {
          "name": "smartcontrol",
          "version": "0.1.0-alpha.7",
          "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/3bccfdb2bfbde4647b34f2f07d2b2299abde42d9",
          "installedVersion": "0.1.0-alpha.7",
          "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": 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"
              ]
            }
          ],
          "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
      #52

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

      Hier die config:

      Dein Trigger (Auslöser)
      04963e53-65c7-4ed6-aa60-0a59a91c7450-image.png
      ist nicht in "5. ZEITPLÄNE" (log in English "schedule table" ) angelegt "4. ZONEN" angelegt.
      Für jeden Auslöser muss es unter "5. ZEITPLÄNE" "4. ZONEN" eine Zeile geben, in der der Auslöser unter "Auslöser"-Spalte erscheint. Daher ist die Fehlermeldung in Ordnung.

      Ich bin selbst noch unglücklich mit dem Begriff "ZEITPLÄNE" (oder Englisch: Schedules), also wenn wer einen besseren Vorschlag hat zur Benennung, bitte her damit :-)

      (korrigiert um 22:14)

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

        74242858-3cc6-4d0d-86e0-a4e976939514-image.png

        Namensideen statt "5. ZEITPLÄNE"

        • Umsetzung
        • Zusammenführung
        • Finalisierung
        • (MartyBr) Fertigstellung

        Gefällt mir alles noch nicht so gut. Weitere Vorschläge?

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

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

          Hier die config:

          Dein Trigger (Auslöser)
          04963e53-65c7-4ed6-aa60-0a59a91c7450-image.png
          ist nicht in "5. ZEITPLÄNE" (log in English "schedule table" ) angelegt "4. ZONEN" angelegt.
          Für jeden Auslöser muss es unter "5. ZEITPLÄNE" "4. ZONEN" eine Zeile geben, in der der Auslöser unter "Auslöser"-Spalte erscheint. Daher ist die Fehlermeldung in Ordnung.

          Ich bin selbst noch unglücklich mit dem Begriff "ZEITPLÄNE" (oder Englisch: Schedules), also wenn wer einen besseren Vorschlag hat zur Benennung, bitte her damit :-)

          (korrigiert um 22:14)

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

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

          Vorschlag für den Punkt 5:
          Fertigstellung

          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 Offline
            M Offline
            MartyBr
            schrieb am zuletzt editiert von
            #55

            Ich gehe jetzt mal in Ruhemodus. Morgen teste ich gerne weiter.
            Dank euch allen :+1:

            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 MartyBr

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

              Vorschlag für den Punkt 5:
              Fertigstellung

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

              @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 :+1:


              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 1 Antwort Letzte Antwort
              0
              • MicM Mic

                @liv-in-sky

                Evtl. braucht es hier eine Zusatzoption:
                6fbb824d-1752-49f8-a729-c04140056ebe-image.png

                Also Tabellenspalte mit Auswahl "einschalten/ausschalten". Dann wird - falls "ausschalten" - auch der entsprechende Ziel-Geräte-Datenpunkt zum Ausschalten gezogen.

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

                @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 :-(

                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

                MicM 3 Antworten Letzte Antwort
                0
                • MicM Mic

                  74242858-3cc6-4d0d-86e0-a4e976939514-image.png

                  Namensideen statt "5. ZEITPLÄNE"

                  • Umsetzung
                  • Zusammenführung
                  • Finalisierung
                  • (MartyBr) Fertigstellung

                  Gefällt mir alles noch nicht so gut. Weitere Vorschläge?

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

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

                  Umsetzung
                  Zusammenführung
                  Finalisierung
                  (MartyBr) Fertigstellung

                  AUSFÜHRUNg
                  DURCHFÜHRUNG
                  AKTIVIERUNG

                  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
                  • 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
                    #59

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

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

                    Das geht nicht, weil hier Auslöser auch Bewegungsmelder sind, die eben nur anschalten wenn Bewegung an, und aus, wenn Bewegung aus. Daher die Idee, das gleich hier zu machen bei 3. AUSLÖSER > Andere Auslöser:
                    40ba898a-e353-448d-b78d-b6177ed628fd-image.png

                    1 Antwort Letzte Antwort
                    1
                    • 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
                      #60

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

                      habe es so wie im bild - funktioniert

                      Ok, freut mich, ist ja alles noch sehr experimentell :)

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

                      AUSFÜHRUNG

                      Das gefällt mir am besten! :sunglasses: Werde jetzt umbennen

                      B 1 Antwort Letzte Antwort
                      0
                      • MicM Mic

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

                        habe es so wie im bild - funktioniert

                        Ok, freut mich, ist ja alles noch sehr experimentell :)

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

                        AUSFÜHRUNG

                        Das gefällt mir am besten! :sunglasses: Werde jetzt umbennen

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

                        @Mic Combination

                        MicM 2 Antworten Letzte Antwort
                        0
                        • MicM Offline
                          MicM Offline
                          Mic
                          Developer
                          schrieb am zuletzt editiert von
                          #62

                          Rename nun vollzogen mit 0.1.0-alpha.8

                          0b2d23b0-145a-4e55-8dfe-a7a6495e5710-image.png

                          1 Antwort Letzte Antwort
                          0
                          • 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 :+1:


                                    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
                                          Antworten
                                          • In einem neuen Thema antworten
                                          Anmelden zum Antworten
                                          • Älteste zuerst
                                          • Neuste zuerst
                                          • Meiste Stimmen


                                          Support us

                                          ioBroker
                                          Community Adapters
                                          Donate

                                          423

                                          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
                                          • Home
                                          • Aktuell
                                          • Tags
                                          • Ungelesen 0
                                          • Kategorien
                                          • Unreplied
                                          • Beliebt
                                          • GitHub
                                          • Docu
                                          • Hilfe