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.
    • C
      canim @wawyo last edited by

      @wawyo geil 😄

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

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

        Beispiel:

        Unter die Einstellungen (Sprachbefehl zum Ändern der Alarmstufe) du hast "alarm auf stufe" eingestellt (Achtung! Bitte schaust Du in der Historie nach, ob die Eingabe mit dem gesprochenen Satz übereinstimmt).
        => wenn du sagst "Alexa, Alarm auf stufe drei", wechselt der Alarm auf Stufe drei

        Unter die Einstellungen (Sprachbefehl zum Ausschalten des Alarms) du hast "ich bin hier" eingestellt.
        => wenn du sagst "Alexa, Ich bin hier", wechselt der Alarm auf Stufe zwei.

        Das geht nicht , ein manuels ändern der DP auch nicht:

        alarmcontrol.0	2020-09-20 00:40:13.125	info	(27156) Terminated (NO_ERROR): Without reason
        alarmcontrol.0	2020-09-20 00:40:13.124	info	(27156) terminating
        alarmcontrol.0	2020-09-20 00:40:13.120	error	at processImmediate (internal/timers.js:456:21)
        alarmcontrol.0	2020-09-20 00:40:13.120	error	at Immediate.<anonymous> (C:\Program Files\iobroker\Test\node_modules\iobroker.js-controller\lib\adapter.js:5388:34)
        alarmcontrol.0	2020-09-20 00:40:13.120	error	at alarmcontrol.emit (events.js:315:20)
        alarmcontrol.0	2020-09-20 00:40:13.120	error	at alarmcontrol.onStateChange (C:\Program Files\iobroker\Test\node_modules\iobroker.alarmcontrol\main.js:2533:37)
        alarmcontrol.0	2020-09-20 00:40:13.120	error	at alarmcontrol.setForeignStateAsync (C:\Program Files\iobroker\Test\node_modules\iobroker.js-controller\lib\tools.js:1584:16)
        alarmcontrol.0	2020-09-20 00:40:13.120	error	at new Promise (<anonymous>)
        alarmcontrol.0	2020-09-20 00:40:13.120	error	at C:\Program Files\iobroker\Test\node_modules\iobroker.js-controller\lib\tools.js:1585:16
        alarmcontrol.0	2020-09-20 00:40:13.120	error	at alarmcontrol.setForeignState (C:\Program Files\iobroker\Test\node_modules\iobroker.js-controller\lib\adapter.js:5988:17)
        alarmcontrol.0	2020-09-20 00:40:13.120	error	at validateId (C:\Program Files\iobroker\Test\node_modules\iobroker.js-controller\lib\adapter.js:482:19)
        alarmcontrol.0	2020-09-20 00:40:13.120	error	(27156) Error: The id is empty! Please provide a valid id.
        alarmcontrol.0	2020-09-20 00:40:13.120	error	(27156) unhandled promise rejection: The id is empty! Please provide a valid id.
        alarmcontrol.0	2020-09-20 00:40:13.119	info	(27156) cleaned everything up...
        alarmcontrol.0	2020-09-20 00:40:13.119	error	at processImmediate (internal/timers.js:456:21)
        alarmcontrol.0	2020-09-20 00:40:13.119	error	at Immediate.<anonymous> (C:\Program Files\iobroker\Test\node_modules\iobroker.js-controller\lib\adapter.js:5388:34)
        alarmcontrol.0	2020-09-20 00:40:13.119	error	at alarmcontrol.emit (events.js:315:20)
        alarmcontrol.0	2020-09-20 00:40:13.119	error	at alarmcontrol.onStateChange (C:\Program Files\iobroker\Test\node_modules\iobroker.alarmcontrol\main.js:2530:37)
        alarmcontrol.0	2020-09-20 00:40:13.119	error	at alarmcontrol.setForeignStateAsync (C:\Program Files\iobroker\Test\node_modules\iobroker.js-controller\lib\tools.js:1584:16)
        alarmcontrol.0	2020-09-20 00:40:13.119	error	at new Promise (<anonymous>)
        alarmcontrol.0	2020-09-20 00:40:13.119	error	at C:\Program Files\iobroker\Test\node_modules\iobroker.js-controller\lib\tools.js:1585:16
        alarmcontrol.0	2020-09-20 00:40:13.119	error	at alarmcontrol.setForeignState (C:\Program Files\iobroker\Test\node_modules\iobroker.js-controller\lib\adapter.js:5988:17)
        alarmcontrol.0	2020-09-20 00:40:13.119	error	at validateId (C:\Program Files\iobroker\Test\node_modules\iobroker.js-controller\lib\adapter.js:482:19)
        alarmcontrol.0	2020-09-20 00:40:13.119	error	(27156) Error: The id is empty! Please provide a valid id.
        alarmcontrol.0	2020-09-20 00:40:13.117	error	(27156) unhandled promise rejection: The id is empty! Please provide a valid id.
        alarmcontrol.0	2020-09-20 00:40:13.115	warn	(27156) Alarm wurde geändert von Stufe 2 zu 3
        
        1 Reply Last reply Reply Quote 0
        • leika241265
          leika241265 last edited by

          Hallo,
          ich würde den Adapter gerne testen aber ich bekomme dise fehler meldungen:

          Caught by controller[0]: }
          Caught by controller[0]: requireStack: [ '/opt/iobroker/node_modules/iobroker.alarmcontrol/main.js' ]
          Caught by controller[0]: code: 'MODULE_NOT_FOUND',
          Caught by controller[0]: at Function.executeUserEntryPoint [as runMain] (internal/modules/run_main.js:71:12) {
          Caught by controller[0]: at Function.Module._load (internal/modules/cjs/loader.js:878:14)
          Caught by controller[0]: at Module.load (internal/modules/cjs/loader.js:985:32)
          Caught by controller[0]: at Object.Module._extensions..js (internal/modules/cjs/loader.js:1157:10)
          Caught by controller[0]: at Module._compile (internal/modules/cjs/loader.js:1137:30)
          Caught by controller[0]: at Object.<anonymous> (/opt/iobroker/node_modules/iobroker.alarmcontrol/main.js:5:17)
          Caught by controller[0]: at require (internal/modules/cjs/helpers.js:72:18)
          Caught by controller[0]: at Module.require (internal/modules/cjs/loader.js:1025:19)
          Caught by controller[0]: at Function.Module._load (internal/modules/cjs/loader.js:841:27)
          Caught by controller[0]: at Function.Module._resolveFilename (internal/modules/cjs/loader.js:965:15)
          Caught by controller[0]: - /opt/iobroker/node_modules/iobroker.alarmcontrol/main.js
          Caught by controller[0]: Require stack:
          Caught by controller[0]: Error: Cannot find module 'suncalc'
          Caught by controller[0]: ^
          Caught by controller[0]: throw err;
          Caught by controller[0]: internal/modules/cjs/loader.js:968~~~~

          Wobei ich das paket "moment.js package " eingebaut habe und die Instance nicht startet.
          Hat jemand eine Idee?
          Danke

          CKMartens 1 Reply Last reply Reply Quote 0
          • CKMartens
            CKMartens @leika241265 last edited by

            @leika241265 ich habe heute vormittag auch den Adapter testen wollen und auch bei mir wurde erst moment-duration-format und dann suncalc moniert obwohl beide im Adapter der JavaScriptEngine als zusätzliche Module ei gebunden sind.
            Mir hat nur

            cd /opt/iobroker
            npm install moment-duration-format
            npm install suncalc
            

            geholfen

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

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

              npm install suncalc

              Hi, hatte ich eigentlich schon gemacht aber ich habe die pakete noch einmal gelöscht und neu installiert. Nun klappt es.
              Danke
              👍

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

                Hallo zusammen, ich habe heute nach lange Zeit mich beschäftigt mit dem Code 🙂
                Version 0.2.0 ist Online.
                Changelog:
                Energieüberwachung hinzugefügt
                RFID hinzufügt
                Mehrere Bugs fixes.

                Viel Spaß
                PS:
                Die Energie Benachrichtigung kann gesendet oder gesprochen werden mit dem Verbrauch.
                Beispiel: "Die Waschmaschine ist fertig, die Kosten belaufen sich auf %1 Cent, die Waschmaschine hat %2 Kilowatt Stunden verbraucht."
                => %1 ist die Kosten und %2 ist der Verbrauch

                Bitte, nehmt es mir nicht Übel wenn ich nicht die Fragen nicht sofort beantworten kann..

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

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

                  Hallo zusammen, ich habe heute nach lange Zeit mich beschäftigt mit dem Code 🙂
                  Version 0.2.0 ist Online.
                  Changelog:
                  Energieüberwachung hinzugefügt
                  RFID hinzufügt
                  Mehrere Bugs fixes.

                  Viel Spaß
                  PS:
                  Die Energie Benachrichtigung kann gesendet oder gesprochen werden mit dem Verbrauch.
                  Beispiel: "Die Waschmaschine ist fertig, die Kosten belaufen sich auf %1 Cent, die Waschmaschine hat %2 Kilowatt Stunden verbraucht."
                  => %1 ist die Kosten und %2 ist der Verbrauch

                  Bitte, nehmt es mir nicht Übel wenn ich nicht die Fragen nicht sofort beantworten kann..

                  Das ich seit Wochen genau dafür einen Adapter am entwickeln bin, ist dir nicht aufgefallen? Soll am Wochenende ins latest
                  https://forum.iobroker.net/topic/37915/test-adapter-device-reminder-v0-x

                  Und kurze Frage nebenbei: Was hat sowas mit einer Alarmanlage zu tun?

                  C wawyo 2 Replies Last reply Reply Quote 0
                  • C
                    canim @Xenon last edited by canim

                    Der Punkt wo 2 Entwickler sich gegenseitig die Arbeit machen xD xD . @wawyo @Xenon hat recht. Man sollte 2 Paar Schuhe nicht mischen,

                    Xenon 1 Reply Last reply Reply Quote 0
                    • Xenon
                      Xenon Forum Testing Developer @canim last edited by

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

                      Der Punkt wo 2 Entwickler sich gegenseitig die Arbeit machen xD xD . @wawyo @Xenon hat recht. Man sollte 2 Paar Schuhe nicht mischen,

                      Bei mir beschäftigt sich ein ganzer Adapter ausschließlich damit und ist nicht nur eine randnotiz wie es hier ist 😃

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

                        Ein Feedback zu dein Adapter, ist etwas sehr kompliziert, ein leihe der das ganz mal ausprobieren möchte ,finde ich es bisschen kompliziert.

                        Zur Installation , habe es über die Katze installiert. Konnte den Adapter nicht starten,da der Fehler wie bei @leika241265 war. Hab das ganze nach installiert, zu mindestens ein fehler weniger.
                        Einrichtung , Sollte das ganze ja selbsterklärend sein, habe die Daten soweit gefüttert, bekomme aber den adapter nicht zum laufen siehe Fehlermeldung unten.
                        Ich habe versucht Sensoren hinzuzufügen , leider erscheinen die nicht unten in der liste...

                        alarmcontrol.0	2020-11-12 18:16:27.281	error	at processTicksAndRejections (internal/process/task_queues.js:97:5)
                        alarmcontrol.0	2020-11-12 18:16:27.281	error	at /opt/iobroker/node_modules/iobroker.alarmcontrol/main.js:1322:33
                        alarmcontrol.0	2020-11-12 18:16:27.281	error	at alarmcontrol.setStateAsync (/opt/iobroker/node_modules/iobroker.js-controller/lib/tools.js:1584:16)
                        alarmcontrol.0	2020-11-12 18:16:27.281	error	at new Promise (<anonymous>)
                        alarmcontrol.0	2020-11-12 18:16:27.281	error	at /opt/iobroker/node_modules/iobroker.js-controller/lib/tools.js:1585:16
                        alarmcontrol.0	2020-11-12 18:16:27.281	error	at alarmcontrol.setState (/opt/iobroker/node_modules/iobroker.js-controller/lib/adapter.js:5713:17)
                        alarmcontrol.0	2020-11-12 18:16:27.281	error	at validateId (/opt/iobroker/node_modules/iobroker.js-controller/lib/adapter.js:518:23)
                        alarmcontrol.0	2020-11-12 18:16:27.281	error	(907) Error: The "Settings.Echos.Alle zusammen." is invalid. Ids are not allowed to end in "."
                        alarmcontrol.0	2020-11-12 18:16:27.280	error	(907) unhandled promise rejection: The "Settings.Echos.Alle zusammen." is invalid. Ids are not allowed to end in "."
                        Unhandled	2020-11-12 18:16:27.279	error	promise rejection. This error originated either by throwing inside of an async function without a catch block, or by rejecting a promise which was not handled with .catch().
                        alarmcontrol.0	2020-11-12 18:16:27.278	info	(907) cleaned everything up...
                        alarmcontrol.0	2020-11-12 18:16:27.277	error	at processTicksAndRejections (internal/process/task_queues.js:97:5)
                        alarmcontrol.0	2020-11-12 18:16:27.277	error	at /opt/iobroker/node_modules/iobroker.alarmcontrol/main.js:1311:33
                        alarmcontrol.0	2020-11-12 18:16:27.277	error	at alarmcontrol.setObjectNotExistsAsync (/opt/iobroker/node_modules/iobroker.js-controller/lib/tools.js:1584:16)
                        alarmcontrol.0	2020-11-12 18:16:27.277	error	at new Promise (<anonymous>)
                        alarmcontrol.0	2020-11-12 18:16:27.277	error	at /opt/iobroker/node_modules/iobroker.js-controller/lib/tools.js:1585:16
                        alarmcontrol.0	2020-11-12 18:16:27.277	error	at alarmcontrol.setObjectNotExists (/opt/iobroker/node_modules/iobroker.js-controller/lib/adapter.js:3190:17)
                        alarmcontrol.0	2020-11-12 18:16:27.277	error	at validateId (/opt/iobroker/node_modules/iobroker.js-controller/lib/adapter.js:518:23)
                        alarmcontrol.0	2020-11-12 18:16:27.277	error	(907) Error: The "Settings.Echos.Alle zusammen." is invalid. Ids are not allowed to end in "."
                        alarmcontrol.0	2020-11-12 18:16:27.272	error	(907) unhandled promise rejection: The "Settings.Echos.Alle zusammen." is invalid. Ids are not allowed to end in "."
                        Unhandled	2020-11-12 18:16:27.272	error	promise rejection. This error originated either by throwing inside of an async function without a catch block, or by rejecting a promise which was not handled with .catch().
                        alarmcontrol.0	2020-11-12 18:16:27.267	info	(907) Found: Multiroom-------> alexa2.0.Echo-Devices.cd94553f1e6949bfa4eb275cf1023f45.Commands.speak
                        alarmcontrol.0	2020-11-12 18:16:27.266	info	(907) Found: Alle zusammen.-------> alexa2.0.Echo-Devices.c53ac251a4e14281b021c6ce14972d7a.Commands.speak
                        alarmcontrol.0	2020-11-12 18:16:27.265	info	(907) Found: Wohnzimmer-------> alexa2.0.Echo-Devices.G2A14S03022303KV.Commands.speak
                        alarmcontrol.0	2020-11-12 18:16:27.263	info	(907) Found: Küche show-------> alexa2.0.Echo-Devices.G09183090332021U.Commands.speak
                        alarmcontrol.0	2020-11-12 18:16:27.262	info	(907) Found: Wc Dot-------> alexa2.0.Echo-Devices.G0911M0894223KK4.Commands.speak
                        alarmcontrol.0	2020-11-12 18:16:27.259	info	(907) Found: Kinderzimmer-------> alexa2.0.Echo-Devices.G0911M06928523QQ.Commands.speak
                        alarmcontrol.0	2020-11-12 18:16:27.257	info	(907) Found: Schlafzimmer Dot-------> alexa2.0.Echo-Devices.G090XG0793652Q07.Commands.speak
                        alarmcontrol.0	2020-11-12 18:16:27.256	info	(907) Found: Wc flex-------> alexa2.0.Echo-Devices.G0014D0595040W18.Commands.speak
                        alarmcontrol.0	2020-11-12 18:16:27.215	info	(907) Found: 0 Family member:
                        alarmcontrol.0	2020-11-12 18:16:27.214	info	(907) Found: 0 Timer:
                        alarmcontrol.0	2020-11-12 18:16:27.214	info	(907) Found: 0 Other:
                        alarmcontrol.0	2020-11-12 18:16:27.213	info	(907) Found: 0 Energy monitoring:
                        alarmcontrol.0	2020-11-12 18:16:27.212	info	(907) Found: 0 Temperature sensors:
                        alarmcontrol.0	2020-11-12 18:16:27.212	info	(907) Found: 0 Motions:
                        alarmcontrol.0	2020-11-12 18:16:27.211	info	(907) Found: 0 Reeds:
                        alarmcontrol.0	2020-11-12 18:16:27.211	info	(907) Found: 0 Switchs:
                        alarmcontrol.0	2020-11-12 18:16:27.210	warn	(907) The voice notification is set to true | the Report notification is set to false
                        alarmcontrol.0	2020-11-12 18:16:27.209	warn	(907) Databases are connected | The alarm is already set to level 2
                        alarmcontrol.0	2020-11-12 18:16:26.948	info	(907) Set new time for Dawn: 07:10:24
                        alarmcontrol.0	2020-11-12 18:16:26.947	info	(907) Set new time for Nautical dawn: 06:30:01
                        alarmcontrol.0	2020-11-12 18:16:26.946	info	(907) Set new time for Night end: 05:50:54
                        alarmcontrol.0	2020-11-12 18:16:26.945	info	(907) Set new time for Nadir: 00:18:00
                        alarmcontrol.0	2020-11-12 18:16:26.928	info	(907) Set new time for Night start: 18:45:06
                        alarmcontrol.0	2020-11-12 18:16:26.927	info	(907) Set new time for Nautical dusk: 18:05:59
                        alarmcontrol.0	2020-11-12 18:16:26.927	info	(907) Set new time for Dusk: 17:25:35
                        alarmcontrol.0	2020-11-12 18:16:26.926	info	(907) Set new time for Sunset: 16:49:04
                        alarmcontrol.0	2020-11-12 18:16:26.925	info	(907) Set new time for Sunset start: 16:45:10
                        alarmcontrol.0	2020-11-12 18:16:26.925	info	(907) Set new time for Evening golden hour start: 15:56:28
                        alarmcontrol.0	2020-11-12 18:16:26.924	info	(907) Set new time for Solar noon: 12:18:00
                        alarmcontrol.0	2020-11-12 18:16:26.923	info	(907) Set new time for Morning golden hour end: 08:39:32
                        alarmcontrol.0	2020-11-12 18:16:26.922	info	(907) Set new time for Sunrise end: 07:50:49
                        alarmcontrol.0	2020-11-12 18:16:26.921	info	(907) Set new time for Sunrise: 07:46:55
                        alarmcontrol.0	2020-11-12 18:16:26.917	warn	(907) Current Latitude and Longitude: 
                        alarmcontrol.0	2020-11-12 18:16:26.851	info	(907) Starting alarmcontrol
                        alarmcontrol.0	2020-11-12 18:16:26.817	info	(907) starting. Version 0.1.0 in /opt/iobroker/node_modules/iobroker.alarmcontrol, node: v12.19.0, js-controller: 3.1.6
                        host.raspberrypi	2020-11-12 18:16:25.475	info	instance system.adapter.alarmcontrol.0 started with pid 907
                        host.raspberrypi	2020-11-12 18:16:05.486	info	Restart adapter system.adapter.alarmcontrol.0 because enabled
                        host.raspberrypi	2020-11-12 18:16:05.486	info	instance system.adapter.alarmcontrol.0 terminated with code 0 (NO_ERROR)
                        alarmcontrol.0	2020-11-12 18:16:04.956	info	(644) Terminated (NO_ERROR): Without reason
                        alarmcontrol.0	2020-11-12 18:16:04.954	info	(644) terminating```
                        code_text
                        
                        sigi234 1 Reply Last reply Reply Quote 0
                        • sigi234
                          sigi234 Forum Testing Most Active @canim last edited by sigi234

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

                          Current Latitude and Longitude:

                          Daten würde ich löschen!

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

                            @sigi234 okay danke 🙂

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

                              @Xenon sorry, ich beschäftige mich ausschließlich mit mein Adapter und ergänze es für meiner Eigenen Bedürfnisse.
                              Warum 1000 Adaptern installieren wenn nur einer kann den Job erledigen!?
                              Bis jetzt kann ich alle möglichen Scenarios realisieren und werde mein Adapter weiter entwickeln wenn ich merke das eine Scenario nicht realisierbar ist..

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

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

                                @Xenon sorry, ich beschäftige mich ausschließlich mit mein Adapter und ergänze es für meiner Eigenen Bedürfnisse.
                                Warum 1000 Adaptern installieren wenn nur einer kann den Job erledigen!?
                                Bis jetzt kann ich alle möglichen Scenarios realisieren und werde mein Adapter weiter entwickeln wenn ich merke das eine Scenario nicht realisierbar ist..

                                Natürlich darfst du einbauen was du möchtest. Sinn eines Adapters ist aber nicht zu zeigen, was alles möglich ist, sondern die Nutzerfreundlichkeit. Und jemand der einen Alarmadapter möchte braucht nicht noch 20 Extras.

                                Ich installiere lieber 5 gut durchdachte Adapter als einen einzigen, der alles nur zur Hälfte und halbherzig behandelt.

                                1 Reply Last reply Reply Quote 2
                                • P
                                  pmaisk last edited by

                                  Hallo, wird dieser Adapter denn noch weiter entwickelt? Ich sehe keine weiteren Fortschritte die zu testen und kommentieren wären ...

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

                                  Support us

                                  ioBroker
                                  Community Adapters
                                  Donate

                                  486
                                  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