Navigation

    Logo
    • Register
    • Login
    • Search
    • Recent
    • Tags
    • Unread
    • Categories
    • Unreplied
    • Popular
    • GitHub
    • Docu
    • Hilfe
    1. Home
    2. Deutsch
    3. Tester
    4. Test Adapter AlarmControl V0.1.x

    NEWS

    • Neuer Blog: Fotos und Eindrücke aus Solingen

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

    • ioBroker goes Matter ... Matter Adapter in Stable

    Test Adapter AlarmControl V0.1.x

    This topic has been deleted. Only users with topic management privileges can see it.
    • wawyo
      wawyo Developer @sigi234 last edited by wawyo

      @sigi234
      vielen Dank für dein Feedback

      Alarmstufe 2:

      1. Eingang öffnet sich:
      2. Prüfen welche Familienmitglied war die Letzen 10 Minuten nicht online.
      3. Familienmitglied X Anwesend => Person X begrüßen und willkommen heißen.
      4. Aktiviere Alarmstufe 2
        => jeder Änderung an Fenstern und Eingangstüren wird akustisch gemeldet.

      Alarmstufe 3:

      1. Eingang öffnet sich:
      2. Prüfen welche Familienmitglied wird die nächsten 10 Minuten nicht online sein dann setze Person X auf abwesend.
      3. Keine Anwesend => Starte Countdown.
      4. Aktiviere Alarmstufe 3.
      5. Alle registrierte Geräte ausschalten.
        => jeder Änderung an Fenstern und Eingangstüren wird akustisch gemeldet.

      Alarmstufe 1 wird manuell per Sprachbefehl gesteuert.
      => Melde nichts außer Änderungen bei den Eingängen.

      Alarm stufe 0 wird auch manuell per Sprachbefehl gesteuert.
      Deaktiviere alle Funktionen.

      Mit dem entsprechenden Sprachbefehl wird die Alarmstufe geändert.

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

        Update: Version 0.0.1b
        Changelog:

        1. "Und" Event (Fehler behoben)
        2. Temperatur Funktion würde implementiert.
          => Track temperature bis zu 24 Stunden, dann gib true oder false zurück.

        Szenario Beispiel:
        Garten-Bewässerung unter die Vorraussetzungen dass heute hat es nicht geregnet, morgen wird es nicht regnen, die Durschnitstemperatur war die letzten 10 Stunden über 16 °c und es sollte bewässert werden nach dem Sonnenuntergang.
        Ich brauche dafür:

        1. 1x Zeitschaltuhr Event für Sonnenuntergang.
        2. 2x Andere-Sensoren Event für Regen (Heute und Morgen (<5)).
        3. 1x Temperatur Event für 10 Stunden (>16).
        4. 1x Gerät mit "Und" Event.
          Fertig 👍

        Es ist ein Szenario von Tausenden..
        Viel Spaß 😉

        wawyo 1 Reply Last reply Reply Quote 1
        • wawyo
          wawyo Developer @wawyo last edited by

          Ready to test!
          version 0.1.x is available.
          Change Log:
          0.1.x
          1. Temperature has been implemented.
          2. 'And' Event fixed.

          sigi234 1 Reply Last reply Reply Quote 0
          • sigi234
            sigi234 Forum Testing Most Active @wawyo last edited by

            @wawyo

            Alexa sagt immer:

            Polizeilicht, die Alarmanlage ist auf Stufe 3 eingestellt

            wawyo 1 Reply Last reply Reply Quote 0
            • wawyo
              wawyo Developer @sigi234 last edited by

              @sigi234
              wenn der Eingang öffnet sich:
              Der Adapter Prüft welche Familienmitglied wird die nächsten 10 Minuten nicht online sein dann setzt Person X auf abwesend. wenn niemanden anwesend ist, wird der Countdown gestartet und die Alarmstufe 3 aktiviert.

              Ich glaube, Du hast niemanden regestriert (Familienmitglied)!
              Ich benutze tr-64 Adapter ist zuverlässig 😉

              sigi234 2 Replies Last reply Reply Quote 0
              • sigi234
                sigi234 Forum Testing Most Active @wawyo last edited by sigi234

                @wawyo sagte in Test Adapter AlarmControl V0.1.x:

                @sigi234
                wenn der Eingang öffnet sich:
                Der Adapter Prüft welche Familienmitglied wird die nächsten 10 Minuten nicht online sein dann setzt Person X auf abwesend. wenn niemanden anwesend ist, wird der Countdown gestartet und die Alarmstufe 3 aktiviert.

                Ich glaube, Du hast niemanden regestriert (Familienmitglied)!
                Ich benutze tr-64 Adapter ist zuverlässig 😉

                Habs herausgefunden , das ICON wird mit angesagt!

                Screenshot (583)_LI.jpg

                wawyo 1 Reply Last reply Reply Quote 0
                • wawyo
                  wawyo Developer @sigi234 last edited by

                  @sigi234
                  😉

                  1 Reply Last reply Reply Quote 0
                  • sigi234
                    sigi234 Forum Testing Most Active @wawyo last edited by sigi234

                    @wawyo sagte in Test Adapter AlarmControl V0.1.x:

                    Ich glaube, Du hast niemanden regestriert (Familienmitglied)!

                    Sicher:

                    Screenshot (585)_LI.jpg

                    Screenshot (587).png

                    Benutze aber fb-checkpresence

                    
                    alarmcontrol.0	2020-09-16 11:22:51.311	info	(24832) Found: Überall-------> alexa2.0.Echo-Devices.xxxxxxxxxxx.Commands.speak
                    alarmcontrol.0	2020-09-16 11:22:51.311	info	(24832) Found: Echo 5-------> alexa2.0.Echo-Devices.xxxxxxxxx.Commands.speak
                    alarmcontrol.0	2020-09-16 11:22:51.310	info	(24832) Found: Dot Bad-------> alexa2.0.Echo-Devices.xxxxxxxxxx.Commands.speak
                    alarmcontrol.0	2020-09-16 11:22:51.310	info	(24832) Found: Dot Buero-------> alexa2.0.Echo-Devices.xxxxxxxx.Commands.speak
                    alarmcontrol.0	2020-09-16 11:22:51.309	info	(24832) Found: Dot Kueche-------> alexa2.0.Echo-Devices.xxxxxxxxxx.Commands.speak
                    alarmcontrol.0	2020-09-16 11:22:51.308	info	(24832) Found: Dot Schlafzimmer-------> alexa2.0.Echo-Devices.xxxxxxxxxx.Commands.speak
                    alarmcontrol.0	2020-09-16 11:22:51.273	debug	(24832) No suitable Lua script, fallback to keys!: function(doc) { if (doc.type === 'state') emit(doc._id, doc) }
                    alarmcontrol.0	2020-09-16 11:22:51.269	info	(24832) Found: 3 Family member: xxx | Sigi | xxx |
                    alarmcontrol.0	2020-09-16 11:22:51.269	info	(24832) Found: 0 Timer:
                    alarmcontrol.0	2020-09-16 11:22:51.269	info	(24832) Found: 1 Other: Regen Heute |
                    alarmcontrol.0	2020-09-16 11:22:51.269	info	(24832) Found: 1 Temperature sensors: Esszimmer |
                    alarmcontrol.0	2020-09-16 11:22:51.269	info	(24832) Found: 1 Motions: Vorraum |
                    alarmcontrol.0	2020-09-16 11:22:51.268	info	(24832) Found: 3 Reeds: Haustür | Terrassentür | Badfenster |
                    alarmcontrol.0	2020-09-16 11:22:51.268	info	(24832) Found: 0 Switchs:
                    alarmcontrol.0	2020-09-16 11:22:51.268	warn	(24832) The voice notification is set to true | the Report notification is set to true
                    alarmcontrol.0	2020-09-16 11:22:51.268	warn	(24832) Databases are connected | The alarm is already set to level 3
                    alarmcontrol.0	2020-09-16 11:22:49.666	info	(24832) Set new time for Dawn: 06:11:47
                    alarmcontrol.0	2020-09-16 11:22:49.665	info	(24832) Set new time for Nautical dawn: 05:34:41
                    alarmcontrol.0	2020-09-16 11:22:49.665	info	(24832) Set new time for Night end: 04:55:58
                    alarmcontrol.0	2020-09-16 11:22:49.665	info	(24832) Set new time for Nadir: 00:59:15
                    alarmcontrol.0	2020-09-16 11:22:49.665	info	(24832) Set new time for Night start: 21:02:31
                    alarmcontrol.0	2020-09-16 11:22:49.665	info	(24832) Set new time for Nautical dusk: 20:23:48
                    alarmcontrol.0	2020-09-16 11:22:49.665	info	(24832) Set new time for Dusk: 19:46:42
                    alarmcontrol.0	2020-09-16 11:22:49.665	info	(24832) Set new time for Sunset: 19:15:26
                    alarmcontrol.0	2020-09-16 11:22:49.664	info	(24832) Set new time for Sunset start: 19:12:14
                    alarmcontrol.0	2020-09-16 11:22:49.664	info	(24832) Set new time for Evening golden hour start: 18:34:27
                    alarmcontrol.0	2020-09-16 11:22:49.664	info	(24832) Set new time for Solar noon: 12:59:15
                    alarmcontrol.0	2020-09-16 11:22:49.664	info	(24832) Set new time for Morning golden hour end: 07:24:02
                    alarmcontrol.0	2020-09-16 11:22:49.664	info	(24832) Set new time for Sunrise end: 06:46:15
                    alarmcontrol.0	2020-09-16 11:22:49.664	info	(24832) Set new time for Sunrise: 06:43:03
                    alarmcontrol.0	2020-09-16 11:22:49.663	warn	(24832) Current Latitude and Longitude: xxxxxxxx and xxxxxxxxx
                    alarmcontrol.0	2020-09-16 11:22:49.634	info	(24832) Starting alarmcontrol
                    alarmcontrol.0	2020-09-16 11:22:49.614	info	(24832) starting. Version 0.1.0 in C:/Program Files/iobroker/Test/node_modules/iobroker.alarmcontrol, node: v12.18.0, js-controller: 3.1.6
                    
                    wawyo 1 Reply Last reply Reply Quote 0
                    • wawyo
                      wawyo Developer @sigi234 last edited by wawyo

                      @sigi234
                      vielen Dank für dein Feedback!
                      Es ist sehr wichtig, dass mindestens ein Eingang aktiv ist.

                      Entrance.png
                      Das Kontrollkästchen muss manuell aktiviert werden

                      Entrance2.png

                      sigi234 1 Reply Last reply Reply Quote 0
                      • sigi234
                        sigi234 Forum Testing Most Active @wawyo last edited by

                        @wawyo
                        Ok, ist das Icon Problem gelöst?

                        C 1 Reply Last reply Reply Quote 0
                        • C
                          canim @sigi234 last edited by

                          Geile Adapter :)!, Ich würde das ganze ohne Presens machen können. Kannst du die Option mit RFID hinzufügen statt Presens?

                          wawyo 1 Reply Last reply Reply Quote 0
                          • W
                            web4wasch last edited by

                            Servus zusammen,

                            hört sich gut an!!!!! 🙂

                            Bei mir springt die Instanz nicht auf grün ---> Auszug aus dem Log

                            host.ioBrokerMaster	2020-09-16 20:37:42.707	error	instance system.adapter.alarmcontrol.0 terminated with code 1 (JS_CONTROLLER_STOPPED)
                            host.ioBrokerMaster	2020-09-16 20:37:42.707	error	Caught by controller[0]: }
                            host.ioBrokerMaster	2020-09-16 20:37:42.706	error	Caught by controller[0]: requireStack: [ '/opt/iobroker/node_modules/iobroker.alarmcontrol/main.js' ]
                            host.ioBrokerMaster	2020-09-16 20:37:42.706	error	Caught by controller[0]: code: 'MODULE_NOT_FOUND',
                            host.ioBrokerMaster	2020-09-16 20:37:42.706	error	Caught by controller[0]: at Function.executeUserEntryPoint [as runMain] (internal/modules/run_main.js:74:12) {
                            host.ioBrokerMaster	2020-09-16 20:37:42.706	error	Caught by controller[0]: at Function.Module._load (internal/modules/cjs/loader.js:877:14)
                            host.ioBrokerMaster	2020-09-16 20:37:42.706	error	Caught by controller[0]: at Module.load (internal/modules/cjs/loader.js:977:32)
                            host.ioBrokerMaster	2020-09-16 20:37:42.706	error	Caught by controller[0]: at Object.Module._extensions..js (internal/modules/cjs/loader.js:1153:10)
                            host.ioBrokerMaster	2020-09-16 20:37:42.706	error	Caught by controller[0]: at Module._compile (internal/modules/cjs/loader.js:1133:30)
                            host.ioBrokerMaster	2020-09-16 20:37:42.706	error	Caught by controller[0]: at Object.<anonymous> (/opt/iobroker/node_modules/iobroker.alarmcontrol/main.js:4:35)
                            host.ioBrokerMaster	2020-09-16 20:37:42.705	error	Caught by controller[0]: at require (internal/modules/cjs/helpers.js:77:18)
                            host.ioBrokerMaster	2020-09-16 20:37:42.705	error	Caught by controller[0]: at Module.require (internal/modules/cjs/loader.js:1019:19)
                            host.ioBrokerMaster	2020-09-16 20:37:42.705	error	Caught by controller[0]: at Function.Module._load (internal/modules/cjs/loader.js:840:27)
                            host.ioBrokerMaster	2020-09-16 20:37:42.705	error	Caught by controller[0]: at Function.Module._resolveFilename (internal/modules/cjs/loader.js:957:15)
                            host.ioBrokerMaster	2020-09-16 20:37:42.705	error	Caught by controller[0]: - /opt/iobroker/node_modules/iobroker.alarmcontrol/main.js
                            host.ioBrokerMaster	2020-09-16 20:37:42.705	error	Caught by controller[0]: Require stack:
                            host.ioBrokerMaster	2020-09-16 20:37:42.705	error	Caught by controller[0]: Error: Cannot find module 'moment-duration-format'
                            host.ioBrokerMaster	2020-09-16 20:37:42.705	error	Caught by controller[0]: ^
                            host.ioBrokerMaster	2020-09-16 20:37:42.704	error	Caught by controller[0]: throw err;
                            host.ioBrokerMaster	2020-09-16 20:37:42.704	error	Caught by controller[0]: internal/modules/cjs/loader.js:960
                            

                            evtl einer ne Idee?

                            Danke für die RI.
                            Gruß

                            Glasfaser wawyo 3 Replies Last reply Reply Quote 0
                            • Glasfaser
                              Glasfaser @web4wasch last edited by

                              @web4wasch sagte in Test Adapter AlarmControl V0.1.x:

                              host.ioBrokerMaster 2020-09-16 20:37:42.705 error Caught by controller[0]: Error: Cannot find module 'moment-duration-format'

                              Trage den Adapter in JS Instanz ein

                              moment-duration-format
                              
                              W 1 Reply Last reply Reply Quote 0
                              • W
                                web4wasch @Glasfaser last edited by

                                @Glasfaser Adapter ist vorhanden....!
                                test.PNG

                                das ist es leider nicht...

                                Glasfaser 1 Reply Last reply Reply Quote 0
                                • Glasfaser
                                  Glasfaser @web4wasch last edited by

                                  @web4wasch

                                  Nimm den Adapter mal raus ..
                                  js stoppen... Adapter raus ... js starten
                                  js stoppen ... Eintrag vom Adapter wieder rein .. js starten

                                  W 1 Reply Last reply Reply Quote 0
                                  • W
                                    web4wasch @Glasfaser last edited by

                                    @Glasfaser

                                    gleiches Problem.

                                    Glasfaser 1 Reply Last reply Reply Quote 0
                                    • Glasfaser
                                      Glasfaser @web4wasch last edited by

                                      @web4wasch

                                      ioBroker bzw. dein System mal neu gestartet

                                      W 1 Reply Last reply Reply Quote 0
                                      • W
                                        web4wasch @Glasfaser last edited by

                                        @Glasfaser
                                        nö, habe ich nicht gemacht! Ist immer der letzte Ausweg und meiner Meinung bringt das nicht viel.

                                        Sonst läuft ja alles stabil... Und die anderen hatten auch Problem damit.
                                        Adapter über Katze "Beliebig" und https://github.com/spayrosam/iobroker.alarmcontrol installiert und Instanz angelegt, mehr habe ich nicht gemacht. Evtl weiß ja @wawyo etwas dazu.

                                        Danke dir erstmal, Gruß.

                                        W 1 Reply Last reply Reply Quote -1
                                        • W
                                          web4wasch @web4wasch last edited by

                                          @web4wasch said in Test Adapter AlarmControl V0.1.x:

                                          Sonst läuft ja alles stabil... Und die anderen hatten auch Problem damit.

                                          ....auch KEIN Problem damit! meinte ich 😉

                                          Glasfaser 1 Reply Last reply Reply Quote 0
                                          • Glasfaser
                                            Glasfaser @web4wasch last edited by Glasfaser

                                            @web4wasch
                                            Wäre auch noch eine Möglichkeit :

                                            cd /opt/iobroker
                                            npm install moment-duration-format 
                                            
                                            W 1 Reply Last reply Reply Quote 0
                                            • First post
                                              Last post

                                            Support us

                                            ioBroker
                                            Community Adapters
                                            Donate

                                            657
                                            Online

                                            31.7k
                                            Users

                                            79.8k
                                            Topics

                                            1.3m
                                            Posts

                                            alarmanlage countdown motionsensor presence detection tür-fenster-kontakt zeitschaltuhr
                                            9
                                            64
                                            6238
                                            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