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.
    • Fabio
      Fabio @loi83 last edited by

      @loi83 Prima 👍

      W 1 Reply Last reply Reply Quote 0
      • W
        Waldmensch @Fabio last edited by

        Hallo,

        habe den Adapter installiert und greife die Daten von meiner ELV WS980 ab. Den Listener krieg ich nicht zum laufen, aber der Abruf rockt wie er soll. Das einzige, was stört ist, dass ich bei jedem Abruf folgendes Warning im Log hab. Vielleicht kann da mal wer nachschauen

        State value to set for "sainlogic.0.weather.maxvalues.absolut.UVraw" has value "65535" greater than max "2000"
        

        Grüße

        1 Reply Last reply Reply Quote 1
        • B
          Blade1987 last edited by

          @Fogg
          Du hast ja vor langer Zeit mal bezüglich der Weiterleitung geschrieben.
          Ich versuche diese verzweifelt einzurichten.

          Benötige die Weiterleitung der EcoWitt Rohdaten an internen Server mit Port 45000 ( an diesem werden die Daten auch Empfangen )
          Habe es mit sämtlichen URL´s versucht, wird aber nix rausgeschickt.
          Im js habe ich ein paar Debugwerte hinzugefügt um rauszufinden wo es hackt.

          Komme immer auf diese Ecke

          got(fwd_url, { searchParams: json_response, method: 'GET', retry: 0 }).then(response => {
          this.adapter.log.info('response.bodyurl' + response.body.url);
          this.adapter.log.info('response.body.explanation' + response.body.explanation);

          Die bodyurl sowohl als auch die explanation gibt er im Log als undefined aus.
          Leider kenne ich mich mit got gar nicht aus und dem JS noch nicht zu tief um den Fehler zu finden.
          Im Endeffekt soll er ja wie du beschrieben hast einfach den Request 1:1 an einen weiteren Host weitergeben.

          Vielen Dank im Voraus und Vielen Dank für den Umfangreichen Adapter

          PS: Genutzt wird die DNT Profi Wetterstation falls das noch interessant wäre

          Liebe Grüße
          Marco

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

            Sehe ich das richtig das der Adapter den Weg ins Stable noch nicht geschafft hat?

            Thomas Braun 1 Reply Last reply Reply Quote 0
            • Thomas Braun
              Thomas Braun Most Active @wendy2702 last edited by

              @wendy2702

              Müsste drin sein:

              sainlogic: 
              github:	0.8.1
              latest:	0.8.1 for 27 days
              stable:	0.8.1 for 27 days
              
              
              1 Reply Last reply Reply Quote 0
              • wendy2702
                wendy2702 last edited by

                Adapter installiert. Als Protokoll Ecowitt ausgewählt weil da eigentlich auch der Batteriestatus übertragen wird.

                Wenn ich auf Scheduler stelle sieht es bei meiner W830 so im log aus:

                2022-02-10 18:02:28.044  - info: sainlogic.0 (4190) starting. Version 0.8.1 (non-npm: phifogg/ioBroker.sainlogic#9e7d2bc23ed5074f4a5d6d58a74764418f20b70e) in /opt/iobroker/node_modules/iobroker.sainlogic, node: v14.19.0, js-controller: 4.0.7
                2022-02-10 18:02:28.079  - info: sainlogic.0 (4190) Starting Scheduler
                2022-02-10 18:02:28.080  - info: sainlogic.0 (4190) Scheduler call ws_getfirmware activated
                2022-02-10 18:02:28.080  - info: sainlogic.0 (4190) Scheduler call ws_getcurrent activated
                2022-02-10 18:02:28.080  - info: sainlogic.0 (4190) Scheduler call ws_getmax activated
                2022-02-10 18:02:28.080  - info: sainlogic.0 (4190) Scheduler call ws_getmin activated
                2022-02-10 18:02:28.081  - info: sainlogic.0 (4190) Scheduler call ws_getmaxdaily activated
                2022-02-10 18:02:28.081  - debug: sainlogic.0 (4190) Weatherstation IP: 192.168.178.137
                2022-02-10 18:02:28.081  - debug: sainlogic.0 (4190) Weatherstation port: 45000
                2022-02-10 18:02:28.081  - debug: sainlogic.0 (4190) Scheduler Interval: 30
                2022-02-10 18:02:58.081  - info: sainlogic.0 (4190) Scheduler pulling for new data
                2022-02-10 18:02:58.096  - debug: sainlogic.0 (4190) Scheduler connected to weather station run 255,255,80,3,83
                2022-02-10 18:02:58.099  - debug: sainlogic.0 (4190) FW Scheduler Received data string: ffff501511456173795765617468657256312e362e31
                2022-02-10 18:02:58.100  - debug: sainlogic.0 (4190) Data Command received: 80 subcommand 69
                2022-02-10 18:02:58.101  - debug: sainlogic.0 (4190) Data object: {"softwaretype":"EasyWeatherV1.6.1"}
                2022-02-10 18:02:58.101  - info: sainlogic.0 (4190) Scheduler updating IOBroker states
                2022-02-10 18:02:58.102  - debug: sainlogic.0 (4190) Setting value from data for info.softwaretype to EasyWeatherV1.6.1
                2022-02-10 18:02:58.102  - debug: sainlogic.0 (4190) Scheduler connected to weather station run 255,255,11,0,6,4,4,25
                2022-02-10 18:03:28.081  - info: sainlogic.0 (4190) Scheduler pulling for new data
                2022-02-10 18:03:28.082  - debug: sainlogic.0 (4190) Scheduler connected to weather station run 255,255,80,3,83
                2022-02-10 18:03:28.084  - debug: sainlogic.0 (4190) FW Scheduler Received data string: ffff501511456173795765617468657256312e362e31
                2022-02-10 18:03:28.085  - debug: sainlogic.0 (4190) Data Command received: 80 subcommand 69
                2022-02-10 18:03:28.085  - debug: sainlogic.0 (4190) Data object: {"softwaretype":"EasyWeatherV1.6.1"}
                2022-02-10 18:03:28.085  - info: sainlogic.0 (4190) Scheduler updating IOBroker states
                2022-02-10 18:03:28.085  - debug: sainlogic.0 (4190) Setting value from data for info.softwaretype to EasyWeatherV1.6.1
                2022-02-10 18:03:28.086  - debug: sainlogic.0 (4190) Scheduler connected to weather station run 255,255,11,0,6,4,4,25
                2022-02-10 18:03:58.081  - info: sainlogic.0 (4190) Scheduler pulling for new data
                2022-02-10 18:03:58.083  - error: sainlogic.0 (4190) Connection error on 192.168.178.137:45000: Error: connect EISCONN 192.168.178.137:45000 - Local (192.168.178.18:57034)
                2022-02-10 18:03:58.085  - debug: sainlogic.0 (4190) FW Scheduler Connection closed
                2022-02-10 18:04:28.081  - info: sainlogic.0 (4190) Scheduler pulling for new data
                2022-02-10 18:04:28.085  - debug: sainlogic.0 (4190) Scheduler connected to weather station run 255,255,80,3,83
                2022-02-10 18:04:28.085  - debug: sainlogic.0 (4190) Scheduler connected to weather station run 255,255,80,3,83
                2022-02-10 18:04:28.100  - debug: sainlogic.0 (4190) FW Scheduler Received data string: ffff501511456173795765617468657256312e362e31
                2022-02-10 18:04:28.101  - debug: sainlogic.0 (4190) Data Command received: 80 subcommand 69
                2022-02-10 18:04:28.101  - debug: sainlogic.0 (4190) Data object: {"softwaretype":"EasyWeatherV1.6.1"}
                2022-02-10 18:04:28.101  - info: sainlogic.0 (4190) Scheduler updating IOBroker states
                2022-02-10 18:04:28.102  - debug: sainlogic.0 (4190) Setting value from data for info.softwaretype to EasyWeatherV1.6.1
                2022-02-10 18:04:28.102  - debug: sainlogic.0 (4190) Scheduler connected to weather station run 255,255,11,0,6,4,4,25
                2022-02-10 18:04:28.104  - debug: sainlogic.0 (4190) FW Scheduler Received data string: ffff501511456173795765617468657256312e362e31
                2022-02-10 18:04:28.104  - debug: sainlogic.0 (4190) Data Command received: 80 subcommand 69
                2022-02-10 18:04:28.105  - debug: sainlogic.0 (4190) Data object: {"softwaretype":"EasyWeatherV1.6.1"}
                2022-02-10 18:04:28.106  - info: sainlogic.0 (4190) Scheduler updating IOBroker states
                2022-02-10 18:04:28.106  - debug: sainlogic.0 (4190) Setting value from data for info.softwaretype to EasyWeatherV1.6.1
                2022-02-10 18:04:28.107  - debug: sainlogic.0 (4190) Scheduler connected to weather station run 255,255,11,0,6,5,5,27
                2022-02-10 18:04:58.081  - info: sainlogic.0 (4190) Scheduler pulling for new data
                2022-02-10 18:04:58.082  - debug: sainlogic.0 (4190) Scheduler connected to weather station run 255,255,80,3,83
                2022-02-10 18:04:58.092  - debug: sainlogic.0 (4190) FW Scheduler Received data string: ffff501511456173795765617468657256312e362e31
                2022-02-10 18:04:58.092  - debug: sainlogic.0 (4190) Data Command received: 80 subcommand 69
                2022-02-10 18:04:58.092  - debug: sainlogic.0 (4190) Data object: {"softwaretype":"EasyWeatherV1.6.1"}
                2022-02-10 18:04:58.092  - info: sainlogic.0 (4190) Scheduler updating IOBroker states
                2022-02-10 18:04:58.093  - debug: sainlogic.0 (4190) Setting value from data for info.softwaretype to EasyWeatherV1.6.1
                2022-02-10 18:04:58.093  - debug: sainlogic.0 (4190) Scheduler connected to weather station run 255,255,11,0,6,4,4,25
                2022-02-10 18:05:28.081  - info: sainlogic.0 (4190) Scheduler pulling for new data
                2022-02-10 18:05:28.082  - error: sainlogic.0 (4190) Connection error on 192.168.178.137:45000: Error: connect EISCONN 192.168.178.137:45000 - Local (192.168.178.18:57768)
                2022-02-10 18:05:28.085  - debug: sainlogic.0 (4190) FW Scheduler Connection closed
                2022-02-10 18:05:58.082  - info: sainlogic.0 (4190) Scheduler pulling for new data
                
                

                Und so in den Objecten:

                78d99c6a-a9c1-4ec8-a96c-c9dd31ed9dda-grafik.png

                Stelle ich auf Listener um kommt das:

                2022-02-10 18:12:27.844  - debug: sainlogic.0 (4622) States create System PubSub Client
                2022-02-10 18:12:27.844  - debug: sainlogic.0 (4622) States create User PubSub Client
                2022-02-10 18:12:27.885  - debug: sainlogic.0 (4622) States connected to redis: 0.0.0.0:9000
                2022-02-10 18:12:28.197  - info: sainlogic.0 (4622) starting. Version 0.8.1 (non-npm: phifogg/ioBroker.sainlogic#9e7d2bc23ed5074f4a5d6d58a74764418f20b70e) in /opt/iobroker/node_modules/iobroker.sainlogic, node: v14.19.0, js-controller: 4.0.7
                2022-02-10 18:12:28.230  - debug: sainlogic.0 (4622) Listener IP: 192.168.178.18
                2022-02-10 18:12:28.230  - debug: sainlogic.0 (4622) Listener port: 45000
                2022-02-10 18:12:28.230  - debug: sainlogic.0 (4622) Listener path: /weatherstation/updateweatherstation.php
                2022-02-10 18:12:28.230  - debug: sainlogic.0 (4622) Listener protocol: ecowitt
                2022-02-10 18:12:28.231  - debug: sainlogic.0 (4622) Forward URL:
                2022-02-10 18:12:28.231  - info: sainlogic.0 (4622) Starting Listener
                2022-02-10 18:12:33.771  - debug: sainlogic.0 (4622) Listener body is PASSKEY=6E8D338577B841F7DC608157C88988C7&stationtype=EasyWeatherV1.6.1&dateutc=2022-02-10+17:12:31&tempinf=71.1&humidityin=47&baromrelin=30.225&baromabsin=29.743&tempf=42.3&humidity=95&winddir=253&windspeedmph=0.7&windgustmph=1.1&maxdailygust=13.6&rainratein=0.000&eventrainin=0.110&hourlyrainin=0.000&dailyrainin=0.122&weeklyrainin=1.551&monthlyrainin=1.772&totalrainin=68.295&solarradiation=0.00&uv=0&wh65batt=0&freq=868M&model=WS2900_V2.01.10
                2022-02-10 18:12:33.772  - debug: sainlogic.0 (4622) No mapping found for dataelement: PASSKEY
                2022-02-10 18:12:33.773  - debug: sainlogic.0 (4622) Extracting value for info.softwaretype(stationtype)
                2022-02-10 18:12:33.773  - debug: sainlogic.0 (4622) No mapping found for dataelement: dateutc
                2022-02-10 18:12:33.773  - debug: sainlogic.0 (4622) Extracting value for weather.current.indoortemp(tempinf)
                2022-02-10 18:12:33.776  - debug: sainlogic.0 (4622) Extracting value for weather.current.indoorhumidity(humidityin)
                2022-02-10 18:12:33.777  - debug: sainlogic.0 (4622) Extracting value for weather.current.pressurerel(baromrelin)
                2022-02-10 18:12:33.777  - debug: sainlogic.0 (4622) Extracting value for weather.current.pressureabs(baromabsin)
                2022-02-10 18:12:33.778  - debug: sainlogic.0 (4622) Extracting value for weather.current.outdoortemp(tempf)
                2022-02-10 18:12:33.778  - debug: sainlogic.0 (4622) Extracting value for weather.current.outdoorhumidity(humidity)
                2022-02-10 18:12:33.778  - debug: sainlogic.0 (4622) Extracting value for weather.current.winddir(winddir)
                2022-02-10 18:12:33.778  - debug: sainlogic.0 (4622) Extracting value for weather.current.windspeed(windspeedmph)
                2022-02-10 18:12:33.779  - debug: sainlogic.0 (4622) Extracting value for weather.current.windgustspeed(windgustmph)
                2022-02-10 18:12:33.779  - debug: sainlogic.0 (4622) Extracting value for weather.current.maxdailygust(maxdailygust)
                2022-02-10 18:12:33.779  - debug: sainlogic.0 (4622) Extracting value for weather.current.rain(rainratein)
                2022-02-10 18:12:33.780  - debug: sainlogic.0 (4622) No mapping found for dataelement: eventrainin
                2022-02-10 18:12:33.780  - debug: sainlogic.0 (4622) No mapping found for dataelement: hourlyrainin
                2022-02-10 18:12:33.780  - debug: sainlogic.0 (4622) Extracting value for weather.current.dailyrain(dailyrainin)
                2022-02-10 18:12:33.780  - debug: sainlogic.0 (4622) Extracting value for weather.current.weeklyrain(weeklyrainin)
                2022-02-10 18:12:33.780  - debug: sainlogic.0 (4622) Extracting value for weather.current.monthlyrain(monthlyrainin)
                2022-02-10 18:12:33.781  - debug: sainlogic.0 (4622) No mapping found for dataelement: totalrainin
                2022-02-10 18:12:33.781  - debug: sainlogic.0 (4622) Extracting value for weather.current.solarradiation(solarradiation)
                2022-02-10 18:12:33.781  - debug: sainlogic.0 (4622) Extracting value for weather.current.uvi(uv)
                2022-02-10 18:12:33.781  - debug: sainlogic.0 (4622) No mapping found for dataelement: wh65batt
                2022-02-10 18:12:33.781  - debug: sainlogic.0 (4622) Extracting value for info.freq(freq)
                2022-02-10 18:12:33.781  - debug: sainlogic.0 (4622) Extracting value for info.model(model)
                2022-02-10 18:12:33.782  - debug: sainlogic.0 (4622) Setting value from data for info.softwaretype to EasyWeatherV1.6.1
                2022-02-10 18:12:33.782  - debug: sainlogic.0 (4622) Setting value from data for weather.current.indoortemp to 21.7
                2022-02-10 18:12:33.783  - debug: sainlogic.0 (4622) Target for indoortemp unit is set: °C, using conversion: null
                2022-02-10 18:12:33.783  - debug: sainlogic.0 (4622) Setting value from data for weather.current.indoorhumidity to 47
                2022-02-10 18:12:33.783  - debug: sainlogic.0 (4622) Setting value from data for weather.current.pressurerel to 1023.4
                2022-02-10 18:12:33.783  - debug: sainlogic.0 (4622) Target for pressurerel unit is set: hPa, using conversion: null
                2022-02-10 18:12:33.783  - debug: sainlogic.0 (4622) Setting value from data for weather.current.pressureabs to 1007.1
                2022-02-10 18:12:33.783  - debug: sainlogic.0 (4622) Target for pressureabs unit is set: hPa, using conversion: null
                2022-02-10 18:12:33.784  - debug: sainlogic.0 (4622) Setting value from data for weather.current.outdoortemp to 5.7
                2022-02-10 18:12:33.784  - debug: sainlogic.0 (4622) Target for outdoortemp unit is set: °C, using conversion: null
                2022-02-10 18:12:33.784  - debug: sainlogic.0 (4622) Setting value from data for weather.current.outdoorhumidity to 95
                2022-02-10 18:12:33.784  - debug: sainlogic.0 (4622) Setting value from data for weather.current.winddir to 253
                2022-02-10 18:12:33.784  - debug: sainlogic.0 (4622) Setting value from data for weather.current.windspeed to 1.1
                2022-02-10 18:12:33.785  - debug: sainlogic.0 (4622) Target for windspeed unit is set: km/h, using conversion: null
                2022-02-10 18:12:33.785  - debug: sainlogic.0 (4622) Setting value from data for weather.current.windgustspeed to 1.8
                2022-02-10 18:12:33.785  - debug: sainlogic.0 (4622) Target for windgustspeed unit is set: km/h, using conversion: null
                2022-02-10 18:12:33.785  - debug: sainlogic.0 (4622) Setting value from data for weather.current.maxdailygust to 21.9
                2022-02-10 18:12:33.785  - debug: sainlogic.0 (4622) Target for maxdailygust unit is set: km/h, using conversion: null
                2022-02-10 18:12:33.785  - debug: sainlogic.0 (4622) Setting value from data for weather.current.rain to 0
                2022-02-10 18:12:33.785  - debug: sainlogic.0 (4622) Target for rain unit is set: mm, using conversion: null
                2022-02-10 18:12:33.786  - debug: sainlogic.0 (4622) Setting value from data for weather.current.dailyrain to 3.1
                2022-02-10 18:12:33.786  - debug: sainlogic.0 (4622) Target for dailyrain unit is set: mm, using conversion: null
                2022-02-10 18:12:33.786  - debug: sainlogic.0 (4622) Setting value from data for weather.current.weeklyrain to 39.4
                2022-02-10 18:12:33.786  - debug: sainlogic.0 (4622) Target for weeklyrain unit is set: mm, using conversion: null
                2022-02-10 18:12:33.786  - debug: sainlogic.0 (4622) Setting value from data for weather.current.monthlyrain to 45
                2022-02-10 18:12:33.786  - debug: sainlogic.0 (4622) Target for monthlyrain unit is set: mm, using conversion: null
                2022-02-10 18:12:33.786  - debug: sainlogic.0 (4622) Setting value from data for weather.current.solarradiation to 0
                2022-02-10 18:12:33.786  - debug: sainlogic.0 (4622) Target for solarradiation unit is set: lx, using conversion: null
                2022-02-10 18:12:33.787  - debug: sainlogic.0 (4622) Setting value from data for weather.current.uvi to 0
                2022-02-10 18:12:33.787  - debug: sainlogic.0 (4622) Setting value from data for info.freq to 868M
                2022-02-10 18:12:33.787  - debug: sainlogic.0 (4622) Setting value from data for info.model to WS2900_V2.01.10
                2022-02-10 18:12:33.787  - debug: sainlogic.0 (4622) Listener received EW update: {"PASSKEY":"6E8D338577B841F7DC608157C88988C7","stationtype":"EasyWeatherV1.6.1","dateutc":"2022-02-10 17:12:31","tempinf":"71.1","humidityin":"47","baromrelin":"30.225","baromabsin":"29.743","tempf":"42.3","humidity":"95","winddir":"253","windspeedmph":"0.7","windgustmph":"1.1","maxdailygust":"13.6","rainratein":"0.000","eventrainin":"0.110","hourlyrainin":"0.000","dailyrainin":"0.122","weeklyrainin":"1.551","monthlyrainin":"1.772","totalrainin":"68.295","solarradiation":"0.00","uv":"0","wh65batt":"0","freq":"868M","model":"WS2900_V2.01.10"}
                2022-02-10 18:13:13.798  - debug: sainlogic.0 (4622) Listener body is PASSKEY=6E8D338577B841F7DC608157C88988C7&stationtype=EasyWeatherV1.6.1&dateutc=2022-02-10+17:13:10&tempinf=71.1&humidityin=47&baromrelin=30.225&baromabsin=29.743&tempf=42.3&humidity=95&winddir=253&windspeedmph=0.2&windgustmph=1.1&maxdailygust=13.6&rainratein=0.000&eventrainin=0.110&hourlyrainin=0.000&dailyrainin=0.122&weeklyrainin=1.551&monthlyrainin=1.772&totalrainin=68.295&solarradiation=0.00&uv=0&wh65batt=0&freq=868M&model=WS2900_V2.01.10
                2022-02-10 18:13:13.799  - debug: sainlogic.0 (4622) No mapping found for dataelement: PASSKEY
                2022-02-10 18:13:13.799  - debug: sainlogic.0 (4622) Extracting value for info.softwaretype(stationtype)
                2022-02-10 18:13:13.800  - debug: sainlogic.0 (4622) No mapping found for dataelement: dateutc
                2022-02-10 18:13:13.800  - debug: sainlogic.0 (4622) Extracting value for weather.current.indoortemp(tempinf)
                2022-02-10 18:13:13.800  - debug: sainlogic.0 (4622) Extracting value for weather.current.indoorhumidity(humidityin)
                2022-02-10 18:13:13.800  - debug: sainlogic.0 (4622) Extracting value for weather.current.pressurerel(baromrelin)
                2022-02-10 18:13:13.800  - debug: sainlogic.0 (4622) Extracting value for weather.current.pressureabs(baromabsin)
                2022-02-10 18:13:13.801  - debug: sainlogic.0 (4622) Extracting value for weather.current.outdoortemp(tempf)
                2022-02-10 18:13:13.801  - debug: sainlogic.0 (4622) Extracting value for weather.current.outdoorhumidity(humidity)
                2022-02-10 18:13:13.801  - debug: sainlogic.0 (4622) Extracting value for weather.current.winddir(winddir)
                2022-02-10 18:13:13.801  - debug: sainlogic.0 (4622) Extracting value for weather.current.windspeed(windspeedmph)
                2022-02-10 18:13:13.801  - debug: sainlogic.0 (4622) Extracting value for weather.current.windgustspeed(windgustmph)
                2022-02-10 18:13:13.801  - debug: sainlogic.0 (4622) Extracting value for weather.current.maxdailygust(maxdailygust)
                2022-02-10 18:13:13.801  - debug: sainlogic.0 (4622) Extracting value for weather.current.rain(rainratein)
                2022-02-10 18:13:13.802  - debug: sainlogic.0 (4622) No mapping found for dataelement: eventrainin
                2022-02-10 18:13:13.802  - debug: sainlogic.0 (4622) No mapping found for dataelement: hourlyrainin
                2022-02-10 18:13:13.802  - debug: sainlogic.0 (4622) Extracting value for weather.current.dailyrain(dailyrainin)
                2022-02-10 18:13:13.802  - debug: sainlogic.0 (4622) Extracting value for weather.current.weeklyrain(weeklyrainin)
                2022-02-10 18:13:13.802  - debug: sainlogic.0 (4622) Extracting value for weather.current.monthlyrain(monthlyrainin)
                2022-02-10 18:13:13.802  - debug: sainlogic.0 (4622) No mapping found for dataelement: totalrainin
                2022-02-10 18:13:13.803  - debug: sainlogic.0 (4622) Extracting value for weather.current.solarradiation(solarradiation)
                2022-02-10 18:13:13.803  - debug: sainlogic.0 (4622) Extracting value for weather.current.uvi(uv)
                2022-02-10 18:13:13.803  - debug: sainlogic.0 (4622) No mapping found for dataelement: wh65batt
                2022-02-10 18:13:13.803  - debug: sainlogic.0 (4622) Extracting value for info.freq(freq)
                2022-02-10 18:13:13.803  - debug: sainlogic.0 (4622) Extracting value for info.model(model)
                2022-02-10 18:13:13.803  - debug: sainlogic.0 (4622) Setting value from data for info.softwaretype to EasyWeatherV1.6.1
                2022-02-10 18:13:13.803  - debug: sainlogic.0 (4622) Setting value from data for weather.current.indoortemp to 21.7
                2022-02-10 18:13:13.803  - debug: sainlogic.0 (4622) Target for indoortemp unit is set: °C, using conversion: null
                2022-02-10 18:13:13.804  - debug: sainlogic.0 (4622) Setting value from data for weather.current.indoorhumidity to 47
                2022-02-10 18:13:13.804  - debug: sainlogic.0 (4622) Setting value from data for weather.current.pressurerel to 1023.4
                2022-02-10 18:13:13.804  - debug: sainlogic.0 (4622) Target for pressurerel unit is set: hPa, using conversion: null
                2022-02-10 18:13:13.804  - debug: sainlogic.0 (4622) Setting value from data for weather.current.pressureabs to 1007.1
                2022-02-10 18:13:13.804  - debug: sainlogic.0 (4622) Target for pressureabs unit is set: hPa, using conversion: null
                2022-02-10 18:13:13.804  - debug: sainlogic.0 (4622) Setting value from data for weather.current.outdoortemp to 5.7
                2022-02-10 18:13:13.804  - debug: sainlogic.0 (4622) Target for outdoortemp unit is set: °C, using conversion: null
                2022-02-10 18:13:13.804  - debug: sainlogic.0 (4622) Setting value from data for weather.current.outdoorhumidity to 95
                2022-02-10 18:13:13.804  - debug: sainlogic.0 (4622) Setting value from data for weather.current.winddir to 253
                2022-02-10 18:13:13.805  - debug: sainlogic.0 (4622) Setting value from data for weather.current.windspeed to 0.3
                2022-02-10 18:13:13.805  - debug: sainlogic.0 (4622) Target for windspeed unit is set: km/h, using conversion: null
                2022-02-10 18:13:13.805  - debug: sainlogic.0 (4622) Setting value from data for weather.current.windgustspeed to 1.8
                2022-02-10 18:13:13.805  - debug: sainlogic.0 (4622) Target for windgustspeed unit is set: km/h, using conversion: null
                2022-02-10 18:13:13.805  - debug: sainlogic.0 (4622) Setting value from data for weather.current.maxdailygust to 21.9
                2022-02-10 18:13:13.805  - debug: sainlogic.0 (4622) Target for maxdailygust unit is set: km/h, using conversion: null
                2022-02-10 18:13:13.806  - debug: sainlogic.0 (4622) Setting value from data for weather.current.rain to 0
                2022-02-10 18:13:13.806  - debug: sainlogic.0 (4622) Target for rain unit is set: mm, using conversion: null
                2022-02-10 18:13:13.806  - debug: sainlogic.0 (4622) Setting value from data for weather.current.dailyrain to 3.1
                2022-02-10 18:13:13.806  - debug: sainlogic.0 (4622) Target for dailyrain unit is set: mm, using conversion: null
                2022-02-10 18:13:13.806  - debug: sainlogic.0 (4622) Setting value from data for weather.current.weeklyrain to 39.4
                2022-02-10 18:13:13.806  - debug: sainlogic.0 (4622) Target for weeklyrain unit is set: mm, using conversion: null
                2022-02-10 18:13:13.806  - debug: sainlogic.0 (4622) Setting value from data for weather.current.monthlyrain to 45
                2022-02-10 18:13:13.806  - debug: sainlogic.0 (4622) Target for monthlyrain unit is set: mm, using conversion: null
                2022-02-10 18:13:13.806  - debug: sainlogic.0 (4622) Setting value from data for weather.current.solarradiation to 0
                2022-02-10 18:13:13.807  - debug: sainlogic.0 (4622) Target for solarradiation unit is set: lx, using conversion: null
                2022-02-10 18:13:13.807  - debug: sainlogic.0 (4622) Setting value from data for weather.current.uvi to 0
                2022-02-10 18:13:13.807  - debug: sainlogic.0 (4622) Setting value from data for info.freq to 868M
                2022-02-10 18:13:13.807  - debug: sainlogic.0 (4622) Setting value from data for info.model to WS2900_V2.01.10
                2022-02-10 18:13:13.807  - debug: sainlogic.0 (4622) Listener received EW update: {"PASSKEY":"6E8D338577B841F7DC608157C88988C7","stationtype":"EasyWeatherV1.6.1","dateutc":"2022-02-10 17:13:10","tempinf":"71.1","humidityin":"47","baromrelin":"30.225","baromabsin":"29.743","tempf":"42.3","humidity":"95","winddir":"253","windspeedmph":"0.2","windgustmph":"1.1","maxdailygust":"13.6","rainratein":"0.000","eventrainin":"0.110","hourlyrainin":"0.000","dailyrainin":"0.122","weeklyrainin":"1.551","monthlyrainin":"1.772","totalrainin":"68.295","solarradiation":"0.00","uv":"0","wh65batt":"0","freq":"868M","model":"WS2900_V2.01.10"}
                
                

                Und ein Teil der DPs werden befüllt:

                439f7a07-f78a-48c1-bbc3-035dbf930e19-grafik.png

                Datenpunkte wie z.B. UVRaw sollte doch aber im Ecowitt Protokoll enthalten sein zumindest bekomme ich bei Verwendung des Scripts einen Wert.

                Liegt da nich was im Adapter oder ist meine Station nicht 100% kompatibel?

                1 Reply Last reply Reply Quote 0
                • R
                  rotamint last edited by

                  Hallo zusammen! Ich habe eine grundlegende Frage zum Sainlogic-Adapter. Ich habe folgende Komponenten bei froggit.de gekauft:

                  Außeneinheit

                  zusammen mit

                  WiFi-USB-Dongle DP1500

                  Das ganze nach reichlich Nachlesem, "try & error" und wieder Nachlesen letztendlich mit dem Sainlogic-Adapter V.0.9.0 lauffähig bekommen:

                  sainlogic ok.jpg

                  Jedoch liefern die Datenpunkte "info, maxvalues und minvalues" keine Werte (null)
                  Ich vermute es hängt damit zusammen, dass die "Zeitplaneinstellungen" (pull) in der Config deaktiv steht (meine ich so bei Thomas Braun gelesen zu haben).

                  Setze ich die "Zeitplaneinstellungen" auf aktiv,
                  sainlogic zeitplan.jpg

                  erhalte ich folgende Fehlermeldung ohne Veränderung der "null-Daten"

                  sainlogic error.jpg

                  Hierzu meine Fragen:

                  Habe ich was falsch eingestellt (wenn ja - was), soviel kann da ja nicht konfiguriert werden.
                  Wer "erzeugt / liefert" die "Min- Maxvalues". Die Außeneinheit? Der DP1500 USB-Dongle? Ggf. das nicht vorhandene Display?
                  Wer hat eine Idee, wie ich das Problem lösen kann?

                  Danke für Eure Unterstützung, in diesem Sinne, ein tolles sonniges Wochenende!

                  S.

                  mcm1957 1 Reply Last reply Reply Quote 0
                  • mcm1957
                    mcm1957 @rotamint last edited by

                    @rotamint
                    I do not see Min/Max values using listener mode too. i'm using a Conrad Eurochron EFWS2900. Actual values seem to be ok. I've created a issue https://github.com/phifogg/ioBroker.sainlogic/issues/131

                    In respect to unknow subcommand this topic might be covered by issue
                    https://github.com/phifogg/ioBroker.sainlogic/issues/127

                    mcm1957 created this issue in phifogg/ioBroker.sainlogic

                    closed Min / Max Values not populated #131

                    heckmic created this issue in phifogg/ioBroker.sainlogic

                    closed Scheduler received data for unkown command 89 subcommand 95 #127

                    mcm1957 1 Reply Last reply Reply Quote 0
                    • mcm1957
                      mcm1957 @mcm1957 last edited by mcm1957

                      According to phifoggs responce at issue 131 the min/max values will be set ONLY if the station itself transmits min/max values. Tha adapter does NOT calculate any values.


                      Laut phifoggs Antwort auf Issue 131 werden die Min/Max-Werte NUR gesetzt, wenn die Station selbst Min/Max-Werte sendet. Der Adapter berechnet KEINE Werte.

                      R 1 Reply Last reply Reply Quote 0
                      • R
                        rotamint @mcm1957 last edited by

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

                        According to phifoggs responce at issue 131 the min/max values will be set ONLY if the station itself transmits min/max values. Tha adapter does NOT calculate any values.


                        Laut phifoggs Antwort auf Issue 131 werden die Min/Max-Werte NUR gesetzt, wenn die Station selbst Min/Max-Werte sendet. Der Adapter berechnet KEINE Werte.

                        Schade. Ernüchternd. Trotzdem Danke für die Info, jetzt weiß ich wenigstens was ich zu tun habe 😉 Möchte da eigentlich nicht ewig dran rum basteln, dass es zum Schluss dann doch eine "holprige" Lösung wird... Daher meine Frage:

                        Wer kann (welche?) Station empfehlen, die die Min-/Max-Werte mitliefert? Würde dann ggf. auf eine andere Ausseneinheit umsteigen.

                        Danke schonmal, schönen Rest-Sonntag noch...
                        LG Stefan.

                        Fabio 1 Reply Last reply Reply Quote 0
                        • Fabio
                          Fabio @rotamint last edited by

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

                          Wer kann (welche?) Station empfehlen, die die Min-/Max-Werte mitliefert? Würde dann ggf. auf eine andere Ausseneinheit umsteigen.

                          Ich habe diese hier zuverlässig im Einsatz: https://www.froggit.de/product_info.php?info=p356_wh4000se-wifi-internet-funk-wetterstation---wunderground--ecowitt--pc-anbindung--auswertungssoftware.html

                          Grüße
                          Fabio

                          R 1 Reply Last reply Reply Quote 1
                          • R
                            rotamint @Fabio last edited by

                            @fa-bio Besten Dank für die Info. Ich habe eben bestellt 😉

                            LG Stefan.

                            Fabio 1 Reply Last reply Reply Quote 1
                            • Fabio
                              Fabio @rotamint last edited by

                              @rotamint dann viel Spaß damit.👍
                              Grüße
                              Fabio

                              R 1 Reply Last reply Reply Quote 0
                              • R
                                rotamint @Fabio last edited by

                                @fa-bio Kurzes Feedback: Habe vieles probiert, verknüpft, visualisiert... Bin super glücklich und mehr als zufrieden damit. Absolut kein Vergleich zu der unzuverlässigen Homematic-Station, die ein vielfaches gekostet hat, vielfach weniger konnte und nur grobe "Schätzwerte" lieferte. Und letztendlich nach vier Jahren lt. EQ3 "irreparabel" defekt war...

                                Fabio 1 Reply Last reply Reply Quote 1
                                • Fabio
                                  Fabio @rotamint last edited by

                                  @rotamint das freut mich doch.👍 ☺ Dann wünsche ich dir damit weiter viel Freude.
                                  Grüße
                                  Fabio

                                  1 Reply Last reply Reply Quote 1
                                  • B
                                    Bokson last edited by Bokson

                                    Hallo zusammen,

                                    erstmal vielen Dank für den Adapter! Ich hatte allerdings Probleme mit der Einrichtung einer Weiterleitung an PWS Dashboard. Für all jene, welche ebenfalls Probleme damit haben, möchte ich eine kurze Anleitung schreiben:

                                    Mit got habe ich es einfach nicht zum Laufen gebracht, weswegen ich auf node-fetch umgestellt habe. Hierzu habe ich in package.json node-fetch unter dependencies aufgenommen:

                                     "dependencies": {
                                    ...
                                    "node-fetch": "^2.6.7"
                                    },
                                    

                                    Ob diese Version bei euch vorhanden ist oder wie man diese sinnvoller einbindet, kann ich leider nicht beantworten. Eventuell kann @Fogg dies entsprechend abändern.

                                    Die /lib/listener.js habe ich wie folgt abgeändert:

                                    ...
                                    const fetch = require('node-fetch');
                                    ...
                                    
                                    case PROT_EW:
                                    	if (request.method == 'POST' && my_path == this.path) {
                                    		my_body = '';
                                    		request.on('data', chunk => {
                                    			my_body += chunk.toString();
                                    		});
                                    		request.on('end', () => {
                                    			this.adapter.log.debug('Listener body is ' + my_body);
                                    			json_response = parse(my_body);
                                    			this.adapter.setStates(new Date(), this.extract_values(json_response));
                                    			this.adapter.log.debug('Listener received EW update: ' + JSON.stringify(json_response));
                                    			this.adapter.setStateAsync('info.last_listener_update', { val: JSON.stringify(json_response), ack: true });
                                    			
                                    			if (this.forward_url != null && this.forward_url != '') {
                                    				// forward to another host
                                    				const fwd_url = new URL(this.forward_url);
                                    				
                                    				fetch(fwd_url, {
                                    					method: 'POST',
                                    					headers: {
                                    						'Content-Type': 'application/x-www-form-urlencoded'
                                    					},
                                    					body: my_body 
                                    				})
                                    				
                                    			}
                                    			
                                    			response.end('ok');
                                    		});
                                    			/*if (this.forward_url != null && this.forward_url != '') {
                                    				// forward to another host
                                    				const fwd_url = new URL(this.forward_url);
                                    
                                    				got(fwd_url, { method: 'POST', retry: 0, body: my_body }).then(response => {
                                    					this.adapter.log.info(response.body.url);
                                    					this.adapter.log.info(response.body.explanation);
                                    				}).catch(error => {
                                    					this.adapter.log.info(error);
                                    				});
                                    			}*/
                                    
                                    		
                                    
                                    	} else {
                                    		this.adapter.log.warn(`Listener received illegal request: (${request.method}) ${request.url}`);
                                    		response.writeHead(400, { 'Content-Type': 'text/html' });
                                    		response.end();
                                    	}
                                    	break;
                                    
                                    

                                    Wichtig war jedenfalls, dass der if-Block bzgl. der Weiterleitung IM request.on-Block ist, damit die Variable "my_body" vorhanden ist.

                                    Ich hoffe, dass ich damit einigen helfen kann, welche auch Probleme mit der Weiterleitung haben.

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

                                      Hi,

                                      ich bin seit einer Woche Stolzer Besitzer einer Froggit wh2650a mit HP1000SE PRO.

                                      funktioniert alles super bis auf zwei werte die fehlen, hat zufällig jemand ähnliches ?

                                      72b8034a-2cf9-4388-92bf-e26c7f75535e-image.png

                                      In der App sind die Werte da.

                                      Grüße

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

                                        Wollte mich hier mal wieder melden nach langer zeit... 😄

                                        Ich schaue wenig hier ins Forum und irgendwie funktionieren die Emailbenachrichtigungen nicht. Sorry.

                                        Am besten geht es für mich wenn ihr Issues in Github beim Adapter aufmacht. Das klappt und da melde ich mich auch schneller. Ist hier auch irgendwie etwas unübersichtlich alles in einem langen Thread....

                                        1 Reply Last reply Reply Quote 1
                                        • mrFenyx
                                          mrFenyx last edited by

                                          Hi, hat vielleicht auch jemand anders das Problem, dass bei einer neu eingerichteten Sainlogic WS3500 der Wert von "yearlyrainin" als "-9999" gesendet wird, was im Adapter zu einer Warnung führt? Kann man dafür etwas machen (außer logging für den Adapter ausschalten)?
                                          So sieht das Payload von der WS3500 aus:

                                          {
                                          	"ID": "XXXXXX",
                                          	"PASSWORD": "123456",
                                          	"tempf": "29.5",
                                          	"humidity": "95",
                                          	"dewptf": "28.2",
                                          	"windchillf": "29.5",
                                          	"winddir": "114",
                                          	"windspeedmph": "0.00",
                                          	"windgustmph": "0.00",
                                          	"rainin": "0.000",
                                          	"dailyrainin": "0.000",
                                          	"weeklyrainin": "0.043",
                                          	"monthlyrainin": "0.043",
                                          	"yearlyrainin": "-9999",
                                          	"totalrainin": "0.043",
                                          	"solarradiation": "0.00",
                                          	"UV": "0",
                                          	"indoortempf": "65.5",
                                          	"indoorhumidity": "50",
                                          	"absbaromin": "28.414",
                                          	"baromin": "30.032",
                                          	"lowbatt": "0",
                                          	"dateutc": "now",
                                          	"softwaretype": "EasyWeatherPro_V5.1.1",
                                          	"action": "updateraw",
                                          	"realtime": "1",
                                          	"rtfreq": "5"
                                          }
                                          


                                          Und das ist die angezeigte Warnung im Log:

                                          State value to set for "sainlogic.0.weather.current.yearlyrain" has value "-253974.6" less than min "0"
                                          
                                          W 1 Reply Last reply Reply Quote 0
                                          • Merlin123
                                            Merlin123 last edited by Merlin123

                                            Froggit HP1000SE einbinden....

                                            Ich krieg es nicht hin meine Konsole im Adapter einzubinden.
                                            Hab im Adapter den Listener Mode aktiviert, hört auf 0.0.0.0, Port 45000, Pfad /data/report und Protokoll Ecowitt.
                                            In der HP1000 habe ich auf Ecowitt eingestellt,IP vom ioBroker, Pfad und Port wie oben und Intervall 30 sec.

                                            In den Objekten seh ich aber keine Werte. Was mache ich falsch?

                                            Im Debug sehe ich
                                            Listener received illegal request: (POST) /data/report/

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

                                            Support us

                                            ioBroker
                                            Community Adapters
                                            Donate

                                            535
                                            Online

                                            31.7k
                                            Users

                                            79.8k
                                            Topics

                                            1.3m
                                            Posts

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