Navigation

    Logo
    • Register
    • Login
    • Search
    • Recent
    • Tags
    • Unread
    • Categories
    • Unreplied
    • Popular
    • GitHub
    • Docu
    • Hilfe
    1. Home
    2. Deutsch
    3. Tester
    4. Aufruf: Neuen SmartControl-Adapter 0.1.0-alpha.x testen

    NEWS

    • ioBroker@Smart Living Forum Solingen, 14.06. - Agenda added

    • ioBroker goes Matter ... Matter Adapter in Stable

    • Monatsrückblick - April 2025

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

    This topic has been deleted. Only users with topic management privileges can see it.
    • M
      MartyBr @Mic last edited by

      @Mic Bin gerade am installieren. Das geht ja wahnsinnig schnell voran 👍

      1 Reply Last reply Reply Quote 1
      • M
        MartyBr @Mic last edited by

        @Mic
        Bisher sieht es gut aus. Der Zeit-Trigger macht Probleme:

        Bildschirmfoto 2020-07-11 um 21.02.02.png

        Mic 1 Reply Last reply Reply Quote 0
        • Mic
          Mic Developer @MartyBr last edited by Mic

          @MartyBr
          sehr gut schon mal.

          Zur Fehlermeldung:
          Ist der Trigger (=Auslöser) sowohl unter "4. ZONEN" eingebunden und gibt es auch eine gültigen Eintrag unter "5. ZEITPLÄNE"?

          Falls alles ja: Bitte mach folgendes:
          dl_sm.gif
          Also lade die Konfig herunter und poste sie hier in Code-Tags. Achtung: Vorher ggf. um personenbezogene Sachen bereinigen...
          Danke

          M 1 Reply Last reply Reply Quote 0
          • M
            MartyBr @Mic last edited by

            @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"
                    ]
                  }
                ]
              }
            }
            
            Mic 1 Reply Last reply Reply Quote 0
            • liv-in-sky
              liv-in-sky @Mic last edited by 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

              Mic 2 Replies Last reply Reply Quote 0
              • Mic
                Mic Developer @liv-in-sky last edited by Mic

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

                verständnisfrage

                Super Frage. Derzeit ist es wie folgt umgesetzt:
                Unter 1. ZIELGERÄTE angelegte Geräte werden "eingeschaltet", sobald ein Trigger aktiviert, bei dir "Proxmox Temp zu hoch". Ausgeschalten werden diese nur automatisch, wenn ein Bewegungsmelder einschaltete, dafür sind dann auch die Ausschalt-Datenpunkte.

                Teste doch mal folgendes als zusätzliches Zielgerät:
                cd2b2888-af50-4309-ac81-1644a4c04f96-image.png

                Update 21:42:
                Alles andere hast du wohl eh schon gemacht, aber habs hier mal beschrieben gehabt.

                Dann neue Zone in 4. ZONEN "Proxmox Lüfter aus" und da diesen Auslöser rein.
                Zuletzt noch unter 5. ZEITPLÄNE eine neue Zeile, damit die Zone "Proxmox Lüfter aus" aktiviert ist.

                Finde ich selbst auch suboptimal, aber solche Sachen stellen sich jetzt erst dank eurer Tests heraus 🙂
                Muss mir noch was "smarteres" überlegen, um dem Adapter-Namen gerecht zu werden 😉

                1 Reply Last reply Reply Quote 0
                • Mic
                  Mic Developer @liv-in-sky last edited by

                  @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-sky 1 Reply Last reply Reply Quote 0
                  • Mic
                    Mic Developer @MartyBr last edited by 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 1 Reply Last reply Reply Quote 0
                    • Mic
                      Mic Developer last edited by 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-sky 1 Reply Last reply Reply Quote 0
                      • M
                        MartyBr @Mic last edited by

                        @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

                        Mic 1 Reply Last reply Reply Quote 0
                        • M
                          MartyBr last edited by

                          Ich gehe jetzt mal in Ruhemodus. Morgen teste ich gerne weiter.
                          Dank euch allen 👍

                          1 Reply Last reply Reply Quote 0
                          • Mic
                            Mic Developer @MartyBr last edited by Mic

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

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

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

                            Gute Nacht und danke für deine Tests 👍


                            Update 22:13

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

                            M 1 Reply Last reply Reply Quote 0
                            • liv-in-sky
                              liv-in-sky @Mic last edited by

                              @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 😞

                              Mic 3 Replies Last reply Reply Quote 0
                              • liv-in-sky
                                liv-in-sky @Mic last edited by

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

                                Umsetzung
                                Zusammenführung
                                Finalisierung
                                (MartyBr) Fertigstellung

                                AUSFÜHRUNg
                                DURCHFÜHRUNG
                                AKTIVIERUNG

                                1 Reply Last reply Reply Quote 0
                                • Mic
                                  Mic Developer @liv-in-sky last edited by

                                  @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 Reply Last reply Reply Quote 1
                                  • Mic
                                    Mic Developer @liv-in-sky last edited by

                                    @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! 😎 Werde jetzt umbennen

                                    B 1 Reply Last reply Reply Quote 0
                                    • B
                                      BoehserWolf @Mic last edited by

                                      @Mic Combination

                                      Mic 2 Replies Last reply Reply Quote 0
                                      • Mic
                                        Mic Developer last edited by

                                        Rename nun vollzogen mit 0.1.0-alpha.8

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

                                        1 Reply Last reply Reply Quote 0
                                        • Mic
                                          Mic Developer @BoehserWolf last edited by

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

                                          1 Reply Last reply Reply Quote 0
                                          • Mic
                                            Mic Developer @BoehserWolf last edited by

                                            @BoehserWolf
                                            Kommst du ansonsten zurecht mit dem neuen Adapter?

                                            B 1 Reply Last reply Reply Quote 0
                                            • First post
                                              Last post

                                            Support us

                                            ioBroker
                                            Community Adapters
                                            Donate

                                            985
                                            Online

                                            31.7k
                                            Users

                                            79.6k
                                            Topics

                                            1.3m
                                            Posts

                                            adapter smartcontrol test tester
                                            18
                                            124
                                            11703
                                            Loading More Posts
                                            • Oldest to Newest
                                            • Newest to Oldest
                                            • Most Votes
                                            Reply
                                            • Reply as topic
                                            Log in to reply
                                            Community
                                            Impressum | Datenschutz-Bestimmungen | Nutzungsbedingungen
                                            The ioBroker Community 2014-2023
                                            logo