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.
    • 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
              • B
                BoehserWolf @Mic last edited by

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

                  @ Alle

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

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

                    @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"
                            ]
                          }
                        ]
                      }
                    }
                    
                    Mic 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:

                      Beim Start kommt auch wieder der "unique" Fehler.

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

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

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

                          @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

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

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

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

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

                              Hier die Options:

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

                                @Mic
                                das war es doch nicht:

                                Bildschirmfoto 2020-07-12 um 14.31.50.png

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

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

                                1 Reply Last reply Reply Quote 0
                                • Christoph1337
                                  Christoph1337 last edited by

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

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

                                  1 Reply Last reply Reply Quote 0
                                  • D
                                    DocGame last edited by DocGame

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

                                    1 Reply Last reply Reply Quote 0
                                    • Michael Sauer
                                      Michael Sauer last edited by Michael Sauer

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

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

                                      erledigt hatte nicht den Datenpunkt zum ausschalten angegeben.

                                      1 Reply Last reply Reply Quote 0
                                      • Michael Sauer
                                        Michael Sauer last edited by

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

                                        Habe ich etwas falsch verstanden?

                                        Mic 1 Reply Last reply Reply Quote 0
                                        • C
                                          Cristian last edited by

                                          Ein toller Adapter und Entwicklungsarbeit! 👍

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

                                          1 Reply Last reply Reply Quote 0
                                          • crunchip
                                            crunchip Forum Testing Most Active last edited by

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

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

                                            Support us

                                            ioBroker
                                            Community Adapters
                                            Donate

                                            883
                                            Online

                                            31.6k
                                            Users

                                            79.6k
                                            Topics

                                            1.3m
                                            Posts

                                            adapter smartcontrol test tester
                                            18
                                            124
                                            11619
                                            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