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

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

    • ioBroker goes Matter ... Matter Adapter in Stable

    • Monatsrückblick - April 2025

    Test Adapter ioBroker.sainlogic v0.6.X GitHub/Latest

    This topic has been deleted. Only users with topic management privileges can see it.
    • StrathCole
      StrathCole @Latzi last edited by StrathCole

      @Latzi Der Fehler ist, dass der expr-eval in der io-package.json als Dependency drin steht. Dort gehört er nicht rein, sondern nur in die package.json. Mach dir einen Github Fork, lösch die Zeile aus der io-package.json und installier von dort aus, das sollte gehen.

      Soweit ich weiß, führt das übrigens erst ab js-controller 3 zu einem Fehler. Vorher wurde es wohl einfach ignoriert.

      Latzi Fogg 2 Replies Last reply Reply Quote 1
      • Latzi
        Latzi @StrathCole last edited by

        @StrathCole
        vielen Dank für die Information!

        @Fogg kannst das berücksichtigen für die nächste Version?

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

          @StrathCole said in Test Adapter ioBroker.sainlogic v0.6.X GitHub/Latest:

          @Latzi Der Fehler ist, dass der expr-eval in der io-package.json als Dependency drin steht. Dort gehört er nicht rein, sondern nur in die package.json. Mach dir einen Github Fork, lösch die Zeile aus der io-package.json und installier von dort aus, das sollte gehen.

          Suuuper!! Danke!! Ist im Repo geändert.

          1 Reply Last reply Reply Quote 1
          • R
            Rushmed Most Active last edited by

            Beadeutet das dass ich den Adapter jetzt über die Adapterseite im ioBroker laden kann?
            Anstatt über beliebig bei Git.

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

              @Rushmed Aktuell sollte es über die Adapterseite den 0.5.X geben als 'stable'.

              Der 0.6. kommt rein sobald ich ein paar positive Rückmeldungen habe.

              Latzi Glasfaser 2 Replies Last reply Reply Quote 0
              • R
                Rushmed Most Active last edited by

                Habe den "beliebig" Adapter deinstalliert.
                Auf der Adapterseite wird mir weder im default noch im latest ein Suergebnis gefunden.
                fb77407c-cb1c-4f79-a3aa-e4e5c9ecc909-grafik.png

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

                  @Fogg
                  Leider bekomme ich bei der Adapter-Installation folgenden Fehler:

                  Fertig mit Fehler: internal/modules/cjs/loader.js:1170 throw err; ^SyntaxError: /opt/iobroker/node_modules/iobroker.sainlogic/io-package.json: Unexpected token } in JSON at position 3613 at parse () at Object.Module._extensions..json (internal/modules/cjs/loader.js:1167:22) at Module.load (internal/modules/cjs/loader.js:977:32) at Function.Module._load (internal/modules/cjs/loader.js:877:14) at Module.require (internal/modules/cjs/loader.js:1019:19) at require (internal/modules/cjs/helpers.js:77:18) at Upload.uploadAdapter (/opt/iobroker/node_modules/iobroker.js-controller/lib/setup/setupUpload.js:481:19) at /opt/iobroker/node_modules/iobroker.js-controller/lib/setup/setupInstall.js:1783:24 at ChildProcess. (/opt/iobroker/node_modules/iobroker.js-controller/lib/setup/setupInstall.js:478:47) at ChildProcess.emit (events.js:310:20)
                  

                  was mir hier auffällt ist der "doppelte Punkt" vor json bei Object.Module._extensions..json

                  und beim Adapterstart den bereits bekannten Fehler mit den expr-eval:

                  2020-05-26 19:26:05.441 - error: host.Pi4-Server startInstance system.adapter.sainlogic.0: required adapter "expr-eval" not found!
                  
                  Fogg 1 Reply Last reply Reply Quote 0
                  • Glasfaser
                    Glasfaser @Fogg last edited by Glasfaser

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

                    @Rushmed Aktuell sollte es über die Adapterseite den 0.5.X geben als 'stable'.

                    Ist noch nicht in der Repo !

                    @Rushmed ist noch nicht auswählbar in Adapter !

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

                      @Latzi said in Test Adapter ioBroker.sainlogic v0.6.X GitHub/Latest:

                      @Fogg

                      was mir hier auffällt ist der "doppelte Punkt" vor json bei Object.Module._extensions..json

                      und beim Adapterstart den bereits bekannten Fehler mit den expr-eval:

                      2020-05-26 19:26:05.441 - error: host.Pi4-Server startInstance system.adapter.sainlogic.0: required adapter "expr-eval" not found!
                      

                      Argh... da war noch ein ',' zuviel. Bitte nochmal testen. Danke!

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

                        @Fogg
                        Die Installation lief problemlos durch, doch beim Start kam einmalig folgende Fehlermeldung:

                        2020-05-27 14:16:35.504  - info: host.Pi4-Server "system.adapter.sainlogic.0" enabled
                        2020-05-27 14:16:35.603  - info: host.Pi4-Server instance system.adapter.sainlogic.0 started with pid 13071
                        2020-05-27 14:16:37.079  - info: sainlogic.0 (13071) starting. Version 0.6.0 in /opt/iobroker/node_modules/iobroker.sainlogic, node: v12.16.3, js-controller: 3.1.4
                        2020-05-27 14:16:37.124  - info: sainlogic.0 (13071) Starting Listener
                        2020-05-27 14:16:37.142  - error: sainlogic.0 (13071) Error on retrieving object: weather.current.UVraw, err: null
                        2020-05-27 14:16:37.149  - error: sainlogic.0 (13071) Error on retrieving object: weather.maxvalues.absolut.UVraw, err: null
                        2020-05-27 14:16:37.150  - error: sainlogic.0 (13071) Error on retrieving object: weather.maxvalues.daily.UVraw, err: null
                        2020-05-27 14:16:37.152  - error: sainlogic.0 (13071) Error on retrieving object: weather.current.dailyrain, err: null
                        2020-05-27 14:16:37.153  - error: sainlogic.0 (13071) Error on retrieving object: weather.maxvalues.absolut.dailyrain, err: null
                        2020-05-27 14:16:37.155  - error: sainlogic.0 (13071) Error on retrieving object: weather.maxvalues.daily.dailyrain, err: null
                        2020-05-27 14:16:37.157  - error: sainlogic.0 (13071) Error on retrieving object: weather.current.dewpointtemp, err: null
                        2020-05-27 14:16:37.158  - error: sainlogic.0 (13071) Error on retrieving object: weather.maxvalues.absolut.dewpointtemp, err: null
                        2020-05-27 14:16:37.173  - error: sainlogic.0 (13071) Error on retrieving object: weather.maxvalues.daily.dewpointtemp, err: null
                        2020-05-27 14:16:37.174  - error: sainlogic.0 (13071) Error on retrieving object: weather.minvalues.absolut.dewpointtemp, err: null
                        2020-05-27 14:16:37.175  - error: sainlogic.0 (13071) Error on retrieving object: weather.minvalues.daily.dewpointtemp, err: null
                        2020-05-27 14:16:37.177  - error: sainlogic.0 (13071) Error on retrieving object: weather.current.indoorhumidity, err: null
                        2020-05-27 14:16:37.178  - error: sainlogic.0 (13071) Error on retrieving object: weather.maxvalues.absolut.indoorhumidity, err: null
                        2020-05-27 14:16:37.180  - error: sainlogic.0 (13071) Error on retrieving object: weather.maxvalues.daily.indoorhumidity, err: null
                        2020-05-27 14:16:37.181  - error: sainlogic.0 (13071) Error on retrieving object: weather.minvalues.absolut.indoorhumidity, err: null
                        2020-05-27 14:16:37.182  - error: sainlogic.0 (13071) Error on retrieving object: weather.minvalues.daily.indoorhumidity, err: null
                        2020-05-27 14:16:37.183  - error: sainlogic.0 (13071) Error on retrieving object: weather.current.indoortemp, err: null
                        2020-05-27 14:16:37.184  - error: sainlogic.0 (13071) Error on retrieving object: weather.maxvalues.absolut.indoortemp, err: null
                        2020-05-27 14:16:37.185  - error: sainlogic.0 (13071) Error on retrieving object: weather.maxvalues.daily.indoortemp, err: null
                        2020-05-27 14:16:37.185  - error: sainlogic.0 (13071) Error on retrieving object: weather.minvalues.absolut.indoortemp, err: null
                        2020-05-27 14:16:37.186  - error: sainlogic.0 (13071) Error on retrieving object: weather.minvalues.daily.indoortemp, err: null
                        2020-05-27 14:16:37.187  - error: sainlogic.0 (13071) Error on retrieving object: weather.current.monthlyrain, err: null
                        2020-05-27 14:16:37.188  - error: sainlogic.0 (13071) Error on retrieving object: weather.maxvalues.absolut.monthlyrain, err: null
                        2020-05-27 14:16:37.189  - error: sainlogic.0 (13071) Error on retrieving object: weather.maxvalues.daily.monthlyrain, err: null
                        2020-05-27 14:16:37.190  - error: sainlogic.0 (13071) Error on retrieving object: weather.current.outdoorhumidity, err: null
                        2020-05-27 14:16:37.190  - error: sainlogic.0 (13071) Error on retrieving object: weather.maxvalues.absolut.outdoorhumidity, err: null
                        2020-05-27 14:16:37.191  - error: sainlogic.0 (13071) Error on retrieving object: weather.maxvalues.daily.outdoorhumidity, err: null
                        2020-05-27 14:16:37.192  - error: sainlogic.0 (13071) Error on retrieving object: weather.minvalues.absolut.outdoorhumidity, err: null
                        2020-05-27 14:16:37.193  - error: sainlogic.0 (13071) Error on retrieving object: weather.minvalues.daily.outdoorhumidity, err: null
                        2020-05-27 14:16:37.194  - error: sainlogic.0 (13071) Error on retrieving object: weather.current.outdoortemp, err: null
                        2020-05-27 14:16:37.194  - error: sainlogic.0 (13071) Error on retrieving object: weather.maxvalues.absolut.outdoortemp, err: null
                        2020-05-27 14:16:37.195  - error: sainlogic.0 (13071) Error on retrieving object: weather.maxvalues.daily.outdoortemp, err: null
                        2020-05-27 14:16:37.196  - error: sainlogic.0 (13071) Error on retrieving object: weather.minvalues.absolut.outdoortemp, err: null
                        2020-05-27 14:16:37.197  - error: sainlogic.0 (13071) Error on retrieving object: weather.minvalues.daily.outdoortemp, err: null
                        2020-05-27 14:16:37.198  - error: sainlogic.0 (13071) Error on retrieving object: weather.current.pressureabs, err: null
                        2020-05-27 14:16:37.198  - error: sainlogic.0 (13071) Error on retrieving object: weather.maxvalues.absolut.pressureabs, err: null
                        2020-05-27 14:16:37.199  - error: sainlogic.0 (13071) Error on retrieving object: weather.maxvalues.daily.pressureabs, err: null
                        2020-05-27 14:16:37.200  - error: sainlogic.0 (13071) Error on retrieving object: weather.minvalues.absolut.pressureabs, err: null
                        2020-05-27 14:16:37.201  - error: sainlogic.0 (13071) Error on retrieving object: weather.minvalues.daily.pressureabs, err: null
                        2020-05-27 14:16:37.201  - error: sainlogic.0 (13071) Error on retrieving object: weather.current.pressurerel, err: null
                        2020-05-27 14:16:37.202  - error: sainlogic.0 (13071) Error on retrieving object: weather.maxvalues.absolut.pressurerel, err: null
                        2020-05-27 14:16:37.203  - error: sainlogic.0 (13071) Error on retrieving object: weather.maxvalues.daily.pressurerel, err: null
                        2020-05-27 14:16:37.204  - error: sainlogic.0 (13071) Error on retrieving object: weather.minvalues.absolut.pressurerel, err: null
                        2020-05-27 14:16:37.204  - error: sainlogic.0 (13071) Error on retrieving object: weather.minvalues.daily.pressurerel, err: null
                        2020-05-27 14:16:37.205  - error: sainlogic.0 (13071) Error on retrieving object: weather.current.rain, err: null
                        2020-05-27 14:16:37.206  - error: sainlogic.0 (13071) Error on retrieving object: weather.maxvalues.absolut.rain, err: null
                        2020-05-27 14:16:37.207  - error: sainlogic.0 (13071) Error on retrieving object: weather.current.solarradiation, err: null
                        2020-05-27 14:16:37.208  - error: sainlogic.0 (13071) Error on retrieving object: weather.maxvalues.absolut.solarradiation, err: null
                        2020-05-27 14:16:37.208  - error: sainlogic.0 (13071) Error on retrieving object: weather.maxvalues.daily.solarradiation, err: null
                        2020-05-27 14:16:37.209  - error: sainlogic.0 (13071) Error on retrieving object: weather.current.uvi, err: null
                        2020-05-27 14:16:37.210  - error: sainlogic.0 (13071) Error on retrieving object: weather.maxvalues.absolut.uvi, err: null
                        2020-05-27 14:16:37.211  - error: sainlogic.0 (13071) Error on retrieving object: weather.maxvalues.daily.uvi, err: null
                        2020-05-27 14:16:37.211  - error: sainlogic.0 (13071) Error on retrieving object: weather.current.weeklyrain, err: null
                        2020-05-27 14:16:37.212  - error: sainlogic.0 (13071) Error on retrieving object: weather.maxvalues.absolut.weeklyrain, err: null
                        2020-05-27 14:16:37.213  - error: sainlogic.0 (13071) Error on retrieving object: weather.current.windchilltemp, err: null
                        2020-05-27 14:16:37.213  - error: sainlogic.0 (13071) Error on retrieving object: weather.minvalues.absolut.windchilltemp, err: null
                        2020-05-27 14:16:37.214  - error: sainlogic.0 (13071) Error on retrieving object: weather.minvalues.daily.windchilltemp, err: null
                        2020-05-27 14:16:37.215  - error: sainlogic.0 (13071) Error on retrieving object: weather.current.winddir, err: null
                        2020-05-27 14:16:37.216  - error: sainlogic.0 (13071) Error on retrieving object: weather.current.windgustspeed, err: null
                        2020-05-27 14:16:37.216  - error: sainlogic.0 (13071) Error on retrieving object: weather.maxvalues.absolut.windgustspeed, err: null
                        2020-05-27 14:16:37.217  - error: sainlogic.0 (13071) Error on retrieving object: weather.maxvalues.daily.windgustspeed, err: null
                        2020-05-27 14:16:37.218  - error: sainlogic.0 (13071) Error on retrieving object: weather.current.windspeed, err: null
                        2020-05-27 14:16:37.219  - error: sainlogic.0 (13071) Error on retrieving object: weather.maxvalues.absolut.windspeed, err: null
                        2020-05-27 14:16:37.220  - error: sainlogic.0 (13071) Error on retrieving object: weather.maxvalues.daily.windspeed, err: null
                        2020-05-27 14:16:37.221  - error: sainlogic.0 (13071) Error on retrieving object: weather.current.yearlyrain, err: null
                        2020-05-27 14:16:37.259  - error: sainlogic.0 (13071) Error on retrieving object: weather.maxvalues.absolut.yearlyrain, err: null
                        

                        Da ich den Listener verwende, wurde nach dem Empfang des ersten Datensatzes folgende Meldung ausgegeben und der Adapter automatisch gestoppt:

                        2020-05-27 14:19:26.131  - info: sainlogic.0 (13945) Listener received WU update: {"ID":"ITRAGW1","PASSWORD":"xxx","indoortempf":"72.5","tempf":"65.5","dewptf":"42.4","windchillf":"65.5","indoorhumidity":"40","humidity":"43","windspeedmph":"3.4","windgustmph":"6.9","winddir":"201","absbaromin":"28.837","baromin":"30.623","rainin":"0.000","dailyrainin":"0.012","weeklyrainin":"0.732","monthlyrainin":"3.740","solarradiation":"675.41","UV":"6","dateutc":"2020-05-27 12:19:24","softwaretype":"EasyWeatherV1.5.0","action":"updateraw","realtime":"1","rtfreq":"5"}
                        2020-05-27 14:19:26.152  - error: sainlogic.0 (13945) uncaught exception: undefined variable: x
                        2020-05-27 14:19:26.155  - error: sainlogic.0 (13945) Error: undefined variable: x
                            at evaluate (/opt/iobroker/node_modules/expr-eval/dist/bundle.js:208:19)
                            at Expression.evaluate (/opt/iobroker/node_modules/expr-eval/dist/bundle.js:493:12)
                            at Listener.extract_values (/opt/iobroker/node_modules/iobroker.sainlogic/lib/listener.js:141:39)
                            at Server.<anonymous> (/opt/iobroker/node_modules/iobroker.sainlogic/lib/listener.js:66:69)
                            at Server.emit (events.js:310:20)
                            at parserOnIncoming (_http_server.js:786:12)
                            at HTTPParser.parserOnHeadersComplete (_http_common.js:119:17)
                        2020-05-27 14:19:27.158  - warn: sainlogic.0 (13945) Terminated (UNCAUGHT_EXCEPTION): Without reason
                        2020-05-27 14:19:27.537  - info: sainlogic.0 (13945) terminating
                        2020-05-27 14:19:27.722  - error: host.Pi4-Server instance system.adapter.sainlogic.0 terminated with code 6 (UNCAUGHT_EXCEPTION)
                        

                        Datenpunkte wurden nicht befüllt, allesamt 0

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

                          @Latzi Der erste Fehler ist ok, die Datenpunkte werden nun dabei erst angelegt. Könnte ich etwas schöner machen damit es nicht als 'erorr' ausgegeben wird 🙂

                          Der zweite ist nicht so schön, hier versucht er einen Wert zu konvertieren. Die 1000 Frage ist welchen ....

                          Kannst Du mal von dem dev-branch installieren?
                          https://github.com/phifogg/ioBroker.sainlogic/tarball/dev - dann den Adapter auf 'debug' für logs stellen. Dann müsste ich sehen bei welchen Datenpunkt er aussteigt. Danke!

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

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

                            Kannst Du mal von dem dev-branch installieren?

                            Wird gemacht!

                            Hier der log:

                            2020-05-27 21:35:00.620  - info: host.Pi4-Server "system.adapter.sainlogic.0" enabled
                            2020-05-27 21:35:00.710  - info: host.Pi4-Server instance system.adapter.sainlogic.0 started with pid 32402
                            2020-05-27 21:35:01.677  - debug: sainlogic.0 (32402) Redis Objects: Use Redis connection: 127.0.0.1:9001
                            2020-05-27 21:35:01.720  - debug: sainlogic.0 (32402) Objects client ready ... initialize now
                            2020-05-27 21:35:01.725  - debug: sainlogic.0 (32402) Objects create System PubSub Client
                            2020-05-27 21:35:01.726  - debug: sainlogic.0 (32402) Objects create User PubSub Client
                            2020-05-27 21:35:01.728  - debug: sainlogic.0 (32402) Objects client initialize lua scripts
                            2020-05-27 21:35:01.754  - debug: sainlogic.0 (32402) Objects connected to redis: 127.0.0.1:9001
                            2020-05-27 21:35:01.762  - debug: sainlogic.0 (32402) objectDB connected
                            2020-05-27 21:35:01.765  - debug: sainlogic.0 (32402) Redis States: Use Redis connection: 127.0.0.1:9000
                            2020-05-27 21:35:02.788  - debug: sainlogic.0 (32402) States create User PubSub Client
                            2020-05-27 21:35:03.452  - debug: sainlogic.0 (32402) States create System PubSub Client
                            2020-05-27 21:35:03.598  - debug: sainlogic.0 (32402) States connected to redis: 127.0.0.1:9000
                            2020-05-27 21:35:03.604  - debug: sainlogic.0 (32402) statesDB connected
                            2020-05-27 21:35:04.384  - info: sainlogic.0 (32402) starting. Version 0.6.0 in /opt/iobroker/node_modules/iobroker.sainlogic, node: v12.17.0, js-controller: 3.1.4
                            2020-05-27 21:35:04.427  - debug: sainlogic.0 (32402) Listener IP: 0.0.0.0
                            2020-05-27 21:35:04.428  - debug: sainlogic.0 (32402) Listener port: 17551
                            2020-05-27 21:35:04.428  - debug: sainlogic.0 (32402) Listener path: /weatherstation/updateweatherstation.php
                            2020-05-27 21:35:04.428  - debug: sainlogic.0 (32402) Listener protocol: wunderground
                            2020-05-27 21:35:04.429  - info: sainlogic.0 (32402) Starting Listener
                            2020-05-27 21:35:05.602  - debug: sainlogic.0 (32402) system.adapter.admin.0: logging true
                            2020-05-27 21:35:41.234  - info: sainlogic.0 (32402) Listener received WU update: {"ID":"ITRAGW1","PASSWORD":"xxx","indoortempf":"73.0","tempf":"54.1","dewptf":"45.0","windchillf":"54.1","indoorhumidity":"42","humidity":"71","windspeedmph":"0.7","windgustmph":"1.1","winddir":"97","absbaromin":"28.790","baromin":"30.576","rainin":"0.000","dailyrainin":"0.012","weeklyrainin":"0.732","monthlyrainin":"3.740","solarradiation":"0.00","UV":"0","dateutc":"2020-05-27 19:35:39","softwaretype":"EasyWeatherV1.5.0","action":"updateraw","realtime":"1","rtfreq":"5"}
                            2020-05-27 21:35:41.238  - debug: sainlogic.0 (32402) Extracting value for info.softwaretype
                            2020-05-27 21:35:41.239  - debug: sainlogic.0 (32402) Extracting value for weather.current.UVraw
                            2020-05-27 21:35:41.239  - debug: sainlogic.0 (32402) Extracting value for weather.current.dailyrain
                            2020-05-27 21:35:41.246  - debug: sainlogic.0 (32402) Extracting value for weather.current.dewpointtemp
                            2020-05-27 21:35:41.247  - debug: sainlogic.0 (32402) Extracting value for weather.current.indoorhumidity
                            2020-05-27 21:35:41.248  - debug: sainlogic.0 (32402) Extracting value for weather.current.indoortemp
                            2020-05-27 21:35:41.249  - debug: sainlogic.0 (32402) Extracting value for weather.current.monthlyrain
                            2020-05-27 21:35:41.250  - debug: sainlogic.0 (32402) Extracting value for weather.current.outdoorhumidity
                            2020-05-27 21:35:41.250  - debug: sainlogic.0 (32402) Extracting value for weather.current.outdoortemp
                            2020-05-27 21:35:41.251  - debug: sainlogic.0 (32402) Extracting value for weather.current.pressureabs
                            2020-05-27 21:35:41.252  - debug: sainlogic.0 (32402) Extracting value for weather.current.pressurerel
                            2020-05-27 21:35:41.252  - debug: sainlogic.0 (32402) Extracting value for weather.current.rain
                            2020-05-27 21:35:41.253  - debug: sainlogic.0 (32402) Extracting value for weather.current.solarradiation
                            2020-05-27 21:35:41.254  - debug: sainlogic.0 (32402) Extracting value for weather.current.uvi
                            2020-05-27 21:35:41.254  - debug: sainlogic.0 (32402) Extracting value for weather.current.weeklyrain
                            2020-05-27 21:35:41.255  - debug: sainlogic.0 (32402) Extracting value for weather.current.windchilltemp
                            2020-05-27 21:35:41.256  - debug: sainlogic.0 (32402) Extracting value for weather.current.winddir
                            2020-05-27 21:35:41.256  - debug: sainlogic.0 (32402) Extracting value for weather.current.windgustspeed
                            2020-05-27 21:35:41.257  - debug: sainlogic.0 (32402) Extracting value for weather.current.windspeed
                            2020-05-27 21:35:41.257  - debug: sainlogic.0 (32402) Extracting value for weather.current.yearlyrain
                            2020-05-27 21:35:41.259  - error: sainlogic.0 (32402) uncaught exception: undefined variable: x
                            2020-05-27 21:35:41.261  - error: sainlogic.0 (32402) Error: undefined variable: x
                                at evaluate (/opt/iobroker/node_modules/expr-eval/dist/bundle.js:208:19)
                                at Expression.evaluate (/opt/iobroker/node_modules/expr-eval/dist/bundle.js:493:12)
                                at Listener.extract_values (/opt/iobroker/node_modules/iobroker.sainlogic/lib/listener.js:142:39)
                                at Server.<anonymous> (/opt/iobroker/node_modules/iobroker.sainlogic/lib/listener.js:66:69)
                                at Server.emit (events.js:315:20)
                                at parserOnIncoming (_http_server.js:790:12)
                                at HTTPParser.parserOnHeadersComplete (_http_common.js:119:17)
                            2020-05-27 21:35:41.770  - info: sainlogic.0 (32402) terminating
                            2020-05-27 21:35:41.772  - info: sainlogic.0 (32402) Terminated (NO_ERROR): Without reason
                            

                            Nun ist mir der Fehler auch klar, meine Station liefert keinen yearlyrain - wieder so eine Einsparung meiner Station - das hab ich nun vom "geiz ist geil" 😉

                            Fogg 1 Reply Last reply Reply Quote 1
                            • Fogg
                              Fogg @Latzi last edited by

                              @Latzi Ahh!! Super, gut zu wissen 🙂
                              Wer rechnet denn mit sowas .... dann baue ich noch eine Prüfung ein ob ein Wert vorhanden ist...

                              L B 2 Replies Last reply Reply Quote 1
                              • L
                                lemuba @Fogg last edited by lemuba

                                @Fogg

                                Ich bin noch nicht dazu gekommen den Adapter zu testen... bin gerade im Urlaub, hole es aber bald nach...

                                Wäre es vielleicht noch eine Idee, dass Du noch eine Weiterleitungsmöglichkeit der Rohdaten an einen zweiten (und ggf. dritten) Port und IP Adresse mit aufnimmst? Bin darüber auch gerade mit Oliver von Foshkplugin zugange, bekomme von Ihm seine 0.6 Beta zugesandt - diese hat dann diverse Weiterleitungsmöglichkeiten. Mein Workflow würde dann erstmal so aussehen:

                                WS-View: Custom Server Einstellung/Ecowitt Protokoll:

                                -> Eingang ins Foshkplugin, Umrechnung der Werte in Metrisch, aber auch Berechnungen/Zusätzliche Datenpunkte wie Hitzeindex, Luftdrucktendenz, etc.

                                Ausgang/Weiterleitung durch das Generic Foshkplugin:

                                a) In den Iobroker, erledige ich noch über Node-Red
                                b) Weewx, hatte ich gerade eingerichtet
                                c) Was immer mir noch einfällt

                                Durch eine Weiterleitungmöglichkeit Deines Adapters, der in WS-View eingestellten Custom Server Einstellung, hätte man dann auch die Möglichkeit, weitere Wetterapps entsprechend ohne zusätzlichen DP-1500 Wetterdongle zu füttern...

                                https://www.wxforum.net/index.php?topic=39559.0

                                https://www.loxforum.com/forum/projektforen/loxberry/plugins/222662-loxberry-plugin-foshkplugin-wettergateway-froggit-dp1500-ecowitt-gw1000-anbinden?p=251128#post251128

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

                                  @Latzi Ich habe das nun abgefangen. Wenn Du neu installierst (dev oder main, egal), dann sollte es gehen. Im Warning log sollte eine Meldung auftauchen dass der Wert fehlt aber sonst nichts.

                                  @lemuba Hmm. spannende Anforderung. Du meinst also im Ecowitt oder WU Protokoll einfach weiterleiten was neu angekommen ist? Noch ganz erschliesst sich mir der Nutzen nicht. Testen könnte ich das mal... so schwer wäre es sicher nicht.

                                  Latzi L 2 Replies Last reply Reply Quote 0
                                  • Latzi
                                    Latzi @Fogg last edited by

                                    @Fogg

                                    oje, da kommt folgende Fehlermeldung nach dem Adapterstart:

                                    2020-05-29 06:16:17.643 - info: host.Pi4-Server "system.adapter.sainlogic.0" enabled
                                    2020-05-29 06:16:17.780 - info: host.Pi4-Server instance system.adapter.sainlogic.0 started with pid 3077
                                    2020-05-29 06:16:18.334 - error: host.Pi4-Server Caught by controller[0]: /opt/iobroker/node_modules/iobroker.sainlogic/lib/listener.js:138
                                    2020-05-29 06:16:18.335 - error: host.Pi4-Server Caught by controller[0]: const value = json_response[DATAFIELDS[attr][this.protocol];
                                    2020-05-29 06:16:18.335 - error: host.Pi4-Server Caught by controller[0]: ^
                                    2020-05-29 06:16:18.335 - error: host.Pi4-Server Caught by controller[0]: SyntaxError: Unexpected token ';'
                                    2020-05-29 06:16:18.336 - error: host.Pi4-Server Caught by controller[0]: at wrapSafe (internal/modules/cjs/loader.js:1054:16)
                                    2020-05-29 06:16:18.336 - error: host.Pi4-Server Caught by controller[0]: at Module._compile (internal/modules/cjs/loader.js:1102:27)
                                    2020-05-29 06:16:18.336 - error: host.Pi4-Server Caught by controller[0]: at Object.Module._extensions..js (internal/modules/cjs/loader.js:1158:10)
                                    2020-05-29 06:16:18.336 - error: host.Pi4-Server Caught by controller[0]: at Module.load (internal/modules/cjs/loader.js:986:32)
                                    2020-05-29 06:16:18.337 - error: host.Pi4-Server Caught by controller[0]: at Function.Module._load (internal/modules/cjs/loader.js:879:14)
                                    2020-05-29 06:16:18.337 - error: host.Pi4-Server Caught by controller[0]: at Module.require (internal/modules/cjs/loader.js:1026:19)
                                    2020-05-29 06:16:18.337 - error: host.Pi4-Server Caught by controller[0]: at require (internal/modules/cjs/helpers.js:72:18)
                                    2020-05-29 06:16:18.337 - error: host.Pi4-Server Caught by controller[0]: at Object. (/opt/iobroker/node_modules/iobroker.sainlogic/main.js:14:18)
                                    2020-05-29 06:16:18.338 - error: host.Pi4-Server Caught by controller[0]: at Module._compile (internal/modules/cjs/loader.js:1138:30)
                                    2020-05-29 06:16:18.338 - error: host.Pi4-Server Caught by controller[0]: at Object.Module._extensions..js (internal/modules/cjs/loader.js:1158:10)
                                    2020-05-29 06:16:18.338 - error: host.Pi4-Server instance system.adapter.sainlogic.0 terminated with code 1 (JS_CONTROLLER_STOPPED)
                                    
                                    
                                    Fogg 1 Reply Last reply Reply Quote 0
                                    • Fogg
                                      Fogg @Latzi last edited by

                                      @Latzi said in Test Adapter ioBroker.sainlogic v0.6.X GitHub/Latest:

                                      @Fogg

                                      oje, da kommt folgende Fehlermeldung nach dem Adapterstart:

                                      🤦 Die Fehlermeldung war falsch. Da war kein ';' zuviel sondern ein ']' zu wenig....

                                      Jetzt aber... 🤞

                                      Latzi 1 Reply Last reply Reply Quote 1
                                      • Latzi
                                        Latzi @Fogg last edited by

                                        @Fogg
                                        Listener läuft 👏 Werte kommen an 👏 👏 👏

                                        1 Reply Last reply Reply Quote 1
                                        • M
                                          mihas last edited by

                                          Kann jemand sagen, ob der Adapter Sainlogic Profi WLAN Wetterstation unterstützt? Die Außeneinheit sieht genau wie ELV WS980Wifi aus, die Inneneinheit aber viel besser 🙂

                                          Neuschwansteini 1 Reply Last reply Reply Quote 0
                                          • Neuschwansteini
                                            Neuschwansteini @mihas last edited by

                                            @mihas ja, macht es, steht "unterstützt Wunderground" im Text, und genauso sieht meine auch aus, hab se bei Conrad geholt Eurocron WF2900

                                            Bin sehr zufrieden damit.

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

                                            Support us

                                            ioBroker
                                            Community Adapters
                                            Donate

                                            818
                                            Online

                                            31.7k
                                            Users

                                            79.8k
                                            Topics

                                            1.3m
                                            Posts

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