Navigation

    Logo
    • Register
    • Login
    • Search
    • Recent
    • Tags
    • Unread
    • Categories
    • Unreplied
    • Popular
    • GitHub
    • Docu
    • Hilfe
    1. Home
    2. Deutsch
    3. Tester
    4. Test Adapter ioBroker.sainlogic v0.6.X GitHub/Latest

    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 ioBroker.sainlogic v0.6.X GitHub/Latest

    This topic has been deleted. Only users with topic management privileges can see it.
    • H
      Haifisch_777 @Glasfaser last edited by

      @glasfaser

      Hai,
      die Daten habe ich wieder, aber es gibt noch die Fehlermeldungen.
      Hier das Ergebnis vom Debug

      sainlogic.0	2021-02-14 15:50:54.246	warn	(11718) Terminated (UNCAUGHT_EXCEPTION): Without reason
      sainlogic.0	2021-02-14 15:50:53.928	error	(11718) Cannot start server on 0.0.0.0:45000: Error: listen EADDRINUSE: address already in use 0.0.0.0:45000
      sainlogic.0	2021-02-14 15:50:53.915	info	(11718) Starting Listener
      sainlogic.0	2021-02-14 15:50:53.914	debug	(11718) Forward URL:
      sainlogic.0	2021-02-14 15:50:53.914	debug	(11718) Listener protocol: wunderground
      sainlogic.0	2021-02-14 15:50:53.913	debug	(11718) Listener path: /weatherstation/updateweatherstation.php
      sainlogic.0	2021-02-14 15:50:53.913	debug	(11718) Listener port: 45000
      sainlogic.0	2021-02-14 15:50:53.912	debug	(11718) Listener IP: 0.0.0.0
      sainlogic.0	2021-02-14 15:50:53.911	debug	(11718) Scheduler Interval: 1
      sainlogic.0	2021-02-14 15:50:53.910	debug	(11718) Weatherstation port: 45000
      sainlogic.0	2021-02-14 15:50:53.910	debug	(11718) Weatherstation IP: 192.168.192.10
      sainlogic.0	2021-02-14 15:50:53.909	info	(11718) Scheduler call ws_getmindaily activated
      sainlogic.0	2021-02-14 15:50:53.908	info	(11718) Scheduler call ws_getmaxdaily activated
      sainlogic.0	2021-02-14 15:50:53.908	info	(11718) Scheduler call ws_getmin activated
      sainlogic.0	2021-02-14 15:50:53.907	info	(11718) Scheduler call ws_getmax activated
      sainlogic.0	2021-02-14 15:50:53.907	info	(11718) Scheduler call ws_getcurrent activated
      sainlogic.0	2021-02-14 15:50:53.906	info	(11718) Scheduler call ws_getfirmware activated
      sainlogic.0	2021-02-14 15:50:53.905	info	(11718) Starting Scheduler
      sainlogic.0	2021-02-14 15:50:53.848	info	(11718) starting. Version 0.6.4 in /opt/iobroker/node_modules/iobroker.sainlogic, node: v12.20.2, js-controller: 3.1.6
      sainlogic.0	2021-02-14 15:50:53.316	debug	(11718) statesDB connected
      sainlogic.0	2021-02-14 15:50:53.315	debug	(11718) States connected to redis: 127.0.0.1:9000
      sainlogic.0	2021-02-14 15:50:53.301	debug	(11718) States create System PubSub Client
      sainlogic.0	2021-02-14 15:50:53.298	debug	(11718) States create User PubSub Client
      sainlogic.0	2021-02-14 15:50:53.291	debug	(11718) Redis States: Use Redis connection: 127.0.0.1:9000
      sainlogic.0	2021-02-14 15:50:53.289	debug	(11718) objectDB connected
      sainlogic.0	2021-02-14 15:50:53.282	debug	(11718) Objects connected to redis: 127.0.0.1:9001
      sainlogic.0	2021-02-14 15:50:53.272	debug	(11718) Objects client initialize lua scripts
      sainlogic.0	2021-02-14 15:50:53.270	debug	(11718) Objects create User PubSub Client
      sainlogic.0	2021-02-14 15:50:53.269	debug	(11718) Objects create System PubSub Client
      sainlogic.0	2021-02-14 15:50:53.265	debug	(11718) Objects client ready ... initialize now
      sainlogic.0	2021-02-14 15:50:53.242	error	at internal/main/run_main_module.js:17:47
      sainlogic.0	2021-02-14 15:50:53.242	error	at Function.executeUserEntryPoint [as runMain] (internal/modules/run_main.js:60:12)
      sainlogic.0	2021-02-14 15:50:53.242	error	at Function.Module._load (internal/modules/cjs/loader.js:708:14)
      sainlogic.0	2021-02-14 15:50:53.242	error	at Module.load (internal/modules/cjs/loader.js:863:32)
      sainlogic.0	2021-02-14 15:50:53.242	error	at Object.Module._extensions..js (internal/modules/cjs/loader.js:1027:10)
      sainlogic.0	2021-02-14 15:50:53.242	error	at Module._compile (internal/modules/cjs/loader.js:999:30)
      sainlogic.0	2021-02-14 15:50:53.242	error	at Object.<anonymous> (/opt/iobroker/node_modules/iobroker.sainlogic/main.js:281:5)
      sainlogic.0	2021-02-14 15:50:53.242	error	at new Sainlogic (/opt/iobroker/node_modules/iobroker.sainlogic/main.js:30:53)
      sainlogic.0	2021-02-14 15:50:53.242	error	(11718) TypeError: Cannot read property 'bind' of undefined
      sainlogic.0	2021-02-14 15:50:53.241	error	(11718) uncaught exception: Cannot read property 'bind' of undefined
      sainlogic.0	2021-02-14 15:50:53.229	debug	(11718) Redis Objects: Use Redis connection: 127.0.0.1:9001
      
      H Glasfaser 2 Replies Last reply Reply Quote 0
      • H
        Haifisch_777 @Haifisch_777 last edited by

        @haifisch_777

        die meisten Daten sind richtig, bis z.B. auf wind speed,

        e7876ab2-9c33-4933-b6b6-4698a37ec90e-image.png

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

          @haifisch_777 sagte in Test Adapter ioBroker.sainlogic v0.6.X GitHub/Latest:

          error (11718) Cannot start server on 0.0.0.0:45000: Error: listen EADDRINUSE: address already in use 0.0.0.0:45000

          Der Port wird laut Log schon benutzt !

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

            @haifisch_777

            Aktiviere mal nur diesen Punkt , inkl. Angabe der IP .

            1.JPG

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

              @glasfaser

              sainlogic.0	2021-02-14 16:09:43.762	debug	(24879) statesDB connected
              sainlogic.0	2021-02-14 16:09:43.761	debug	(24879) States connected to redis: 127.0.0.1:9000
              sainlogic.0	2021-02-14 16:09:43.752	debug	(24879) States create System PubSub Client
              sainlogic.0	2021-02-14 16:09:43.749	debug	(24879) States create User PubSub Client
              sainlogic.0	2021-02-14 16:09:43.742	debug	(24879) Redis States: Use Redis connection: 127.0.0.1:9000
              sainlogic.0	2021-02-14 16:09:43.740	debug	(24879) objectDB connected
              sainlogic.0	2021-02-14 16:09:43.733	debug	(24879) Objects connected to redis: 127.0.0.1:9001
              sainlogic.0	2021-02-14 16:09:43.713	debug	(24879) Objects client initialize lua scripts
              sainlogic.0	2021-02-14 16:09:43.712	debug	(24879) Objects create User PubSub Client
              sainlogic.0	2021-02-14 16:09:43.710	debug	(24879) Objects create System PubSub Client
              sainlogic.0	2021-02-14 16:09:43.706	debug	(24879) Objects client ready ... initialize now
              sainlogic.0	2021-02-14 16:09:43.682	error	at internal/main/run_main_module.js:17:47
              sainlogic.0	2021-02-14 16:09:43.682	error	at Function.executeUserEntryPoint [as runMain] (internal/modules/run_main.js:60:12)
              sainlogic.0	2021-02-14 16:09:43.682	error	at Function.Module._load (internal/modules/cjs/loader.js:708:14)
              sainlogic.0	2021-02-14 16:09:43.682	error	at Module.load (internal/modules/cjs/loader.js:863:32)
              sainlogic.0	2021-02-14 16:09:43.682	error	at Object.Module._extensions..js (internal/modules/cjs/loader.js:1027:10)
              sainlogic.0	2021-02-14 16:09:43.682	error	at Module._compile (internal/modules/cjs/loader.js:999:30)
              sainlogic.0	2021-02-14 16:09:43.682	error	at Object.<anonymous> (/opt/iobroker/node_modules/iobroker.sainlogic/main.js:281:5)
              sainlogic.0	2021-02-14 16:09:43.682	error	at new Sainlogic (/opt/iobroker/node_modules/iobroker.sainlogic/main.js:30:53)
              sainlogic.0	2021-02-14 16:09:43.682	error	(24879) TypeError: Cannot read property 'bind' of undefined
              sainlogic.0	2021-02-14 16:09:43.681	error	(24879) uncaught exception: Cannot read property 'bind' of undefined
              sainlogic.0	2021-02-14 16:09:43.668	debug	(24879) Redis Objects: Use Redis connection: 127.0.0.1:9001
              sainlogic.0	2021-02-14 16:09:33.628	debug	(24803) statesDB connected
              sainlogic.0	2021-02-14 16:09:33.626	debug	(24803) States connected to redis: 127.0.0.1:9000
              sainlogic.0	2021-02-14 16:09:33.487	warn	(24803) Terminated (UNCAUGHT_EXCEPTION): Without reason
              sainlogic.0	2021-02-14 16:09:33.171	debug	(24803) States create System PubSub Client
              sainlogic.0	2021-02-14 16:09:33.167	debug	(24803) States create User PubSub Client
              sainlogic.0	2021-02-14 16:09:33.144	debug	(24803) Redis States: Use Redis connection: 127.0.0.1:9000
              sainlogic.0	2021-02-14 16:09:33.133	debug	(24803) objectDB connected
              sainlogic.0	2021-02-14 16:09:33.106	debug	(24803) Objects connected to redis: 127.0.0.1:9001
              sainlogic.0	2021-02-14 16:09:32.807	debug	(24803) Objects client initialize lua scripts
              sainlogic.0	2021-02-14 16:09:32.805	debug	(24803) Objects create User PubSub Client
              sainlogic.0	2021-02-14 16:09:32.804	debug	(24803) Objects create System PubSub Client
              sainlogic.0	2021-02-14 16:09:32.671	debug	(24803) Objects client ready ... initialize now
              sainlogic.0	2021-02-14 16:09:32.486	error	at internal/main/run_main_module.js:17:47
              sainlogic.0	2021-02-14 16:09:32.486	error	at Function.executeUserEntryPoint [as runMain] (internal/modules/run_main.js:60:12)
              sainlogic.0	2021-02-14 16:09:32.486	error	at Function.Module._load (internal/modules/cjs/loader.js:708:14)
              sainlogic.0	2021-02-14 16:09:32.486	error	at Module.load (internal/modules/cjs/loader.js:863:32)
              sainlogic.0	2021-02-14 16:09:32.486	error	at Object.Module._extensions..js (internal/modules/cjs/loader.js:1027:10)
              sainlogic.0	2021-02-14 16:09:32.486	error	at Module._compile (internal/modules/cjs/loader.js:999:30)
              sainlogic.0	2021-02-14 16:09:32.486	error	at Object.<anonymous> (/opt/iobroker/node_modules/iobroker.sainlogic/main.js:281:5)
              sainlogic.0	2021-02-14 16:09:32.486	error	at new Sainlogic (/opt/iobroker/node_modules/iobroker.sainlogic/main.js:30:53)
              sainlogic.0	2021-02-14 16:09:32.486	error	(24803) TypeError: Cannot read property 'bind' of undefined
              sainlogic.0	2021-02-14 16:09:32.484	error	(24803) uncaught exception: Cannot read property 'bind' of undefined
              sainlogic.0	2021-02-14 16:09:32.473	debug	(24803) Redis Objects: Use Redis connection: 127.0.0.1:9001
              
              H 1 Reply Last reply Reply Quote 0
              • H
                Haifisch_777 @Haifisch_777 last edited by

                @haifisch_777
                Listener Setting hatte ich deaktiviert, war das richtig ?

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

                  @haifisch_777

                  Ich nutze den Adapter nicht er ist aus, habe nur Erfolg mit Scheduler Settings , den anderen habe ich aus.

                  Ich nutze das hier :

                  https://forum.iobroker.net/topic/28384/linux-shell-skript-wlan-wetterstation

                  H 2 Replies Last reply Reply Quote 0
                  • H
                    Haifisch_777 @Glasfaser last edited by

                    @glasfaser
                    Danke, das schau ich mir mal an

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

                      @glasfaser

                      Oh, das ist mir als Laie doch etwas kompliziert.
                      Vielleicht gibt es ja noch Hilfe für den sainlogic?
                      Vielleicht stimmen die Daten ja auch im WS view nicht?

                      Negalein 1 Reply Last reply Reply Quote 0
                      • Negalein
                        Negalein Global Moderator @Haifisch_777 last edited by Negalein

                        @haifisch_777 sagte in Test Adapter ioBroker.sainlogic v0.6.X GitHub/Latest:

                        Oh, das ist mir als Laie doch etwas kompliziert.

                        Glaub mir, das ist nicht kompliziert. Du wirst es nicht bereuen.
                        Gibt auch ein super Wiki mit Schritt für Schritt Anleitung.

                        PS: Fogg ist seit 12. Jänner nicht mehr im Forum gewesen. Weiß nicht, ob da noch Support kommt. 😞

                        H 2 Replies Last reply Reply Quote 0
                        • H
                          Haifisch_777 @Negalein last edited by

                          @negalein

                          Oh, die Wiki ist echt gut, ich versuche es, thanks

                          1 Reply Last reply Reply Quote 0
                          • H
                            Haifisch_777 @Negalein last edited by

                            @negalein
                            Hai, nochmals Danke für den Tipp.
                            Es war wirklich nicht schwer, es ist eine super Wiki, und auch Respekt an den Programmierer.
                            Es läuft stabil!
                            Ich bin begeistert!

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

                              @Haifisch_777

                              Schön das es funktioniert.

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

                                Hallo zusammen,

                                da sind ja ein paar Einträge... muss mal schauen warum ich vom Forum keine Emails dazu bekomme - schade.

                                Anyway, ich habe gestern und heute etwas die in git gemeldeten Dinge behoben. Es gibt ein neues Release 0.6.6: https://github.com/phifogg/ioBroker.sainlogic/releases/tag/0.6.6

                                Damit sollten auch die Fehler oben(Cannot read property 'bind' of undefined) behoben sein.

                                1 Reply Last reply Reply Quote 0
                                • Fogg
                                  Fogg @Sender last edited by

                                  @sender Spannende Variante!! Klingt nach einer guten Lösung.

                                  Wenn ich das Intervall kenne kann ich die Werte nach längerer Zeit zurücksetzen. Beim Scheduler ist das einfach, beim Listener müsste ich das noch als Konfig mit angeben was das Reset-Intervall ist...

                                  S 2 Replies Last reply Reply Quote 0
                                  • Fogg
                                    Fogg @Haifisch_777 last edited by

                                    @haifisch_777 Das habe ich im neuesten Release (0.6.6) behoben. Bitte nochmals neu von github installieren.

                                    1 Reply Last reply Reply Quote 0
                                    • J
                                      Jackson_White last edited by

                                      @fogg Einen wunderschönen guten Abend.
                                      Ich habe probleme den Adapter zu instalieren, gibt es da was zu beachten ?

                                      $ ./iobroker url "https://github.com/phifogg/ioBroker.sainlogic" --debug
                                      install phifogg/ioBroker.sainlogic#b2226dcac5056624a34d4384cfb2d1eaf7e8f333
                                      NPM version: 6.14.11
                                      npm install phifogg/ioBroker.sainlogic#b2226dcac5056624a34d4384cfb2d1eaf7e8f333 --loglevel error --prefix "/opt/iobroker" (System call)
                                      
                                      > node-bluetooth@1.2.6 install /opt/iobroker/node_modules/node-bluetooth> node-gyp configure build
                                      make: Entering directory '/opt/iobroker/node_modules/node-bluetooth/build'
                                        CXX(target) Release/obj.target/BluetoothSerialPort/src/linux/BluetoothSerialPort.o
                                      ../src/linux/BluetoothSerialPort.cc:18:6: error: variable or field ‘InitAll’ declared void   18 | void InitAll(Handle<Object> exports) {      |      ^~~~~~~
                                      ../src/linux/BluetoothSerialPort.cc:18:14: error: ‘Handle’ was not declared in this scope   18 | void InitAll(Handle<Object> exports) {      |              ^~~~~~../src/linux/BluetoothSerialPort.cc:18:27: error: expected primary-expression before ‘>’ token   18 | void InitAll(Handle<Object> exports) {      |                           ^
                                      ../src/linux/BluetoothSerialPort.cc:18:29: error: ‘exports’ was not declared in this scope   18 | void InitAll(Handle<Object> exports) {      |                             ^~~~~~~
                                      In file included from ../src/linux/BluetoothSerialPort.cc:12:../src/linux/BluetoothSerialPort.cc:23:34: error: ‘InitAll’ was not declared in this scope   23 | NODE_MODULE(BluetoothSerialPort, InitAll)      |                                  ^~~~~~~/home/iobroker/.cache/node-gyp/12.21.0/include/node/node.h:737:36: note: in definition of macro ‘NODE_MODULE_X’  737 |       (node::addon_register_func) (regfunc),                          \      |                                    ^~~~~~~../src/linux/BluetoothSerialPort.cc:23:1: note: in expansion of macro ‘NODE_MODULE’   23 | NODE_MODULE(BluetoothSerialPort, InitAll)      | ^~~~~~~~~~~
                                      make: *** [BluetoothSerialPort.target.mk:117: Release/obj.target/BluetoothSerialPort/src/linux/BluetoothSerialPort.o] Error 1make: Leaving directory '/opt/iobroker/node_modules/node-bluetooth/build'
                                      gyp ERR! build error 
                                      gyp ERR! stack Error: `make` failed with exit code: 2gyp ERR! stack     at ChildProcess.onExit (/usr/lib/node_modules/npm/node_modules/node-gyp/lib/build.js:194:23)gyp ERR! stack     at ChildProcess.emit (events.js:314:20)gyp ERR! stack     at Process.ChildProcess._handle.onexit (internal/child_process.js:276:12)gyp ERR! System Linux 5.4.0-66-genericgyp ERR! command "/usr/bin/node" "/usr/lib/node_modules/npm/node_modules/node-gyp/bin/node-gyp.js" "configure" "build"gyp ERR! cwd /opt/iobroker/node_modules/node-bluetoothgyp ERR! node -v v12.21.0gyp ERR! node-gyp -v v5.1.0gyp ERR! not ok 
                                      + iobroker.sainlogic@0.6.6
                                      updated 1 package in 26.423s
                                      40 packages are looking for funding  run `npm fund` for details
                                      upload [4] sainlogic.admin /opt/iobroker/node_modules/iobroker.sainlogic/admin/words.js words.js application/javascript
                                      upload [3] sainlogic.admin /opt/iobroker/node_modules/iobroker.sainlogic/admin/style.css style.css text/css
                                      upload [2] sainlogic.admin /opt/iobroker/node_modules/iobroker.sainlogic/admin/sainlogic.png sainlogic.png image/png
                                      upload [1] sainlogic.admin /opt/iobroker/node_modules/iobroker.sainlogic/admin/index_m.html index_m.html text/html
                                      upload [0] sainlogic.admin /opt/iobroker/node_modules/iobroker.sainlogic/admin/admin.d.ts admin.d.ts video/mp2t
                                      process exited with code 0
                                      

                                      bin für jede Idee offen
                                      LG

                                      Fogg 1 Reply Last reply Reply Quote 0
                                      • Fogg
                                        Fogg @Jackson_White last edited by

                                        @jackson_white das klingt nicht nach einer Meldung des Adapters. Hier scheint noch ein Bluetooth Modul nicht sauber zu laufen bei Dir. Das braucht mein Adapter soweit ich weiss nicht. Kannst Du andere Adapter installieren?

                                        J 1 Reply Last reply Reply Quote 0
                                        • S
                                          Sender @Fogg last edited by

                                          Hallo @fogg,
                                          das stammt ja nicht von mir, sondern von @Neo110.
                                          Ehre, wem Ehre gebührt! 😉

                                          Grüße...

                                          1 Reply Last reply Reply Quote 0
                                          • J
                                            Jackson_White @Fogg last edited by

                                            @fogg Ja, alle anderen Adapter lassen sich ohne Probleme installieren. Nur bei dem kommen die Fehler Meldungen beim Versuch, ihn zu installieren. Das Komische, es ist egal ob auf dem Pi oder einen anderen Server. Immer kommt das mit Bluetooth, habe ja nicht mal was angeschlossen, was Bluetooth hat,... bin für Tipps offen.

                                            LG

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

                                            Support us

                                            ioBroker
                                            Community Adapters
                                            Donate

                                            922
                                            Online

                                            31.9k
                                            Users

                                            80.1k
                                            Topics

                                            1.3m
                                            Posts

                                            adapter froggit wh4000sh sainlogic wetterstation ws980wifi
                                            60
                                            326
                                            59487
                                            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