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.
    • A
      albert last edited by

      Hallo,

      vielen Dank für den tollen Adapter.
      Ich nutze die Waldbeck Halley Profi-Wetterstation WH2650A WiFi 9254f.
      Nach ein paar Schwierigkeiten (meinerseits) funktioniert es und ich bekomme die wichtigsten Daten angezeigt.
      Es gibt noch ein paar Datenpunkte die nicht erkannt werden, hier mal ein Auszug aus dem Log.

      sainlogic.0	2020-07-30 16:17:37.027	info	(7110) Listener received EW update: {"PASSKEY":"GEHEIM","stationtype":"WH2650A_V1.6.1","dateutc":"2020-07-30 14:17:35","tempinf":"78.3","humidityin":"44","baromrelin":"31.296
      sainlogic.0	2020-07-30 16:17:37.020	debug	(7110) Target for yearlyrain unit is set: mm, using conversion: null
      sainlogic.0	2020-07-30 16:17:37.020	debug	(7110) Setting value from data for weather.current.yearlyrain to 0.8
      sainlogic.0	2020-07-30 16:17:37.019	debug	(7110) Target for monthlyrain unit is set: mm, using conversion: null
      sainlogic.0	2020-07-30 16:17:37.019	debug	(7110) Setting value from data for weather.current.monthlyrain to 0.8
      sainlogic.0	2020-07-30 16:17:37.019	debug	(7110) Target for weeklyrain unit is set: mm, using conversion: null
      sainlogic.0	2020-07-30 16:17:37.018	debug	(7110) Setting value from data for weather.current.weeklyrain to 0.8
      sainlogic.0	2020-07-30 16:17:37.011	debug	(7110) Target for dailyrain unit is set: mm, using conversion: null
      sainlogic.0	2020-07-30 16:17:37.011	debug	(7110) Setting value from data for weather.current.dailyrain to 0.8
      sainlogic.0	2020-07-30 16:17:36.956	debug	(7110) Target for rain unit is set: mm, using conversion: null
      sainlogic.0	2020-07-30 16:17:36.955	debug	(7110) Setting value from data for weather.current.rain to 0
      sainlogic.0	2020-07-30 16:17:36.954	debug	(7110) Setting value from data for weather.current.uvi to 0
      sainlogic.0	2020-07-30 16:17:36.952	debug	(7110) Target for solarradiation unit is set: lx, using conversion: null
      sainlogic.0	2020-07-30 16:17:36.952	debug	(7110) Setting value from data for weather.current.solarradiation to 1038
      sainlogic.0	2020-07-30 16:17:36.947	debug	(7110) Target for windgustspeed unit is set: km/h, using conversion: null
      sainlogic.0	2020-07-30 16:17:36.946	debug	(7110) Setting value from data for weather.current.windgustspeed to 0
      sainlogic.0	2020-07-30 16:17:36.945	debug	(7110) Target for windspeed unit is set: km/h, using conversion: null
      sainlogic.0	2020-07-30 16:17:36.945	debug	(7110) Setting value from data for weather.current.windspeed to 0
      sainlogic.0	2020-07-30 16:17:36.943	debug	(7110) Setting value from data for weather.current.winddir to 355
      sainlogic.0	2020-07-30 16:17:36.942	debug	(7110) Setting value from data for weather.current.outdoorhumidity to 42
      sainlogic.0	2020-07-30 16:17:36.935	debug	(7110) Target for outdoortemp unit is set: °C, using conversion: null
      sainlogic.0	2020-07-30 16:17:36.935	debug	(7110) Setting value from data for weather.current.outdoortemp to 26.1
      sainlogic.0	2020-07-30 16:17:36.934	debug	(7110) Target for pressureabs unit is set: hPa, using conversion: null
      sainlogic.0	2020-07-30 16:17:36.933	debug	(7110) Setting value from data for weather.current.pressureabs to 972.9
      sainlogic.0	2020-07-30 16:17:36.932	debug	(7110) Target for pressurerel unit is set: hPa, using conversion: null
      sainlogic.0	2020-07-30 16:17:36.932	debug	(7110) Setting value from data for weather.current.pressurerel to 1059.7
      sainlogic.0	2020-07-30 16:17:36.931	debug	(7110) Setting value from data for weather.current.indoorhumidity to 44
      sainlogic.0	2020-07-30 16:17:36.930	debug	(7110) Target for indoortemp unit is set: °C, using conversion: null
      sainlogic.0	2020-07-30 16:17:36.929	debug	(7110) Setting value from data for weather.current.indoortemp to 25.7
      sainlogic.0	2020-07-30 16:17:36.928	debug	(7110) Setting value from data for info.softwaretype to WH2650A_V1.6.1
      sainlogic.0	2020-07-30 16:17:36.922	debug	(7110) No mapping found for dataelement: model
      sainlogic.0	2020-07-30 16:17:36.921	debug	(7110) No mapping found for dataelement: freq
      sainlogic.0	2020-07-30 16:17:36.921	debug	(7110) No mapping found for dataelement: wh25batt
      sainlogic.0	2020-07-30 16:17:36.921	debug	(7110) No mapping found for dataelement: wh65batt
      sainlogic.0	2020-07-30 16:17:36.920	debug	(7110) No mapping found for dataelement: totalrainin
      sainlogic.0	2020-07-30 16:17:36.920	debug	(7110) Extracting value for weather.current.yearlyrain(yearlyrainin)
      sainlogic.0	2020-07-30 16:17:36.919	debug	(7110) Extracting value for weather.current.monthlyrain(monthlyrainin)
      sainlogic.0	2020-07-30 16:17:36.918	debug	(7110) Extracting value for weather.current.weeklyrain(weeklyrainin)
      sainlogic.0	2020-07-30 16:17:36.918	debug	(7110) Extracting value for weather.current.dailyrain(dailyrainin)
      sainlogic.0	2020-07-30 16:17:36.918	debug	(7110) No mapping found for dataelement: hourlyrainin
      sainlogic.0	2020-07-30 16:17:36.918	debug	(7110) No mapping found for dataelement: eventrainin
      sainlogic.0	2020-07-30 16:17:36.917	debug	(7110) Extracting value for weather.current.rain(rainratein)
      sainlogic.0	2020-07-30 16:17:36.917	debug	(7110) Extracting value for weather.current.uvi(uv)
      sainlogic.0	2020-07-30 16:17:36.916	debug	(7110) Extracting value for weather.current.solarradiation(solarradiation)
      sainlogic.0	2020-07-30 16:17:36.912	debug	(7110) No mapping found for dataelement: maxdailygust
      sainlogic.0	2020-07-30 16:17:36.911	debug	(7110) Extracting value for weather.current.windgustspeed(windgustmph)
      sainlogic.0	2020-07-30 16:17:36.911	debug	(7110) Extracting value for weather.current.windspeed(windspeedmph)
      sainlogic.0	2020-07-30 16:17:36.911	debug	(7110) Extracting value for weather.current.winddir(winddir)
      sainlogic.0	2020-07-30 16:17:36.910	debug	(7110) Extracting value for weather.current.outdoorhumidity(humidity)
      sainlogic.0	2020-07-30 16:17:36.910	debug	(7110) Extracting value for weather.current.outdoortemp(tempf)
      sainlogic.0	2020-07-30 16:17:36.909	debug	(7110) Extracting value for weather.current.pressureabs(baromabsin)
      sainlogic.0	2020-07-30 16:17:36.908	debug	(7110) Extracting value for weather.current.pressurerel(baromrelin)
      sainlogic.0	2020-07-30 16:17:36.908	debug	(7110) Extracting value for weather.current.indoorhumidity(humidityin)
      sainlogic.0	2020-07-30 16:17:36.907	debug	(7110) Extracting value for weather.current.indoortemp(tempinf)
      sainlogic.0	2020-07-30 16:17:36.907	debug	(7110) No mapping found for dataelement: dateutc
      sainlogic.0	2020-07-30 16:17:36.907	debug	(7110) Extracting value for info.softwaretype(stationtype)
      sainlogic.0	2020-07-30 16:17:36.906	debug	(7110) No mapping found for dataelement: PASSKEY
      
      Tilimanka Fogg 2 Replies Last reply Reply Quote 0
      • Tilimanka
        Tilimanka @albert last edited by

        wie kann ich den Adapter installieren ?
        wenn ich im IOB nach "sain" filtere findet er nichts

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

          @Tilimanka Schaust Du im ersten Beitrag 😉

          Auf Github...

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

            @Tilimanka Da fehlen mir leider noch Übersetzungen von einigen Texten damit er aufgenommen wird 😕 Bis dahin 'nur' direkt von git wie oben geschrieben.

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

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

              sainlogic.0	2020-07-30 16:17:36.922	debug	(7110) No mapping found for dataelement: model
              sainlogic.0	2020-07-30 16:17:36.921	debug	(7110) No mapping found for dataelement: freq
              sainlogic.0	2020-07-30 16:17:36.921	debug	(7110) No mapping found for dataelement: wh25batt
              sainlogic.0	2020-07-30 16:17:36.921	debug	(7110) No mapping found for dataelement: wh65batt
              sainlogic.0	2020-07-30 16:17:36.920	debug	(7110) No mapping found for dataelement: totalrainin
              sainlogic.0	2020-07-30 16:17:36.918	debug	(7110) No mapping found for dataelement: hourlyrainin
              sainlogic.0	2020-07-30 16:17:36.918	debug	(7110) No mapping found for dataelement: eventrainin
              sainlogic.0	2020-07-30 16:17:36.912	debug	(7110) No mapping found for dataelement: maxdailygust
              sainlogic.0	2020-07-30 16:17:36.907	debug	(7110) No mapping found for dataelement: dateutc
              sainlogic.0	2020-07-30 16:17:36.906	debug	(7110) No mapping found for dataelement: PASSKEY
              

              Liefert ja einige zusätzliche / andere Werte. Willst alle davon haben? Mal schauen wo ich die am besten speichere. Wenn Du selbst ausprobieren magst findest die ganzen Mappings in lib/constants.js 😉

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

                @Fogg Ich denke die Batterie sollte noch interessant sein, aber ich bin auch mit den Werten die dein Adapter bis jetzt liefert zufrieden 🙂
                Danke für den Hinweis, ich werde mir das Mapping mal anschauen.

                A 1 Reply Last reply Reply Quote 0
                • A
                  albert @albert last edited by

                  @Fogg
                  Eine Frage zu den Datapoints und dem Mapping.
                  Wenn ich in der constants.js eine neue Struktur erstelle und bei "channel" 'info' eintrage sollte das doch bei info auftauchen.
                  Das Ergebnis entspricht aber nicht meinen Erwartungen:

                      {
                          id: 'model',
                          channels: [{
                              channel: 'info',
                              name: 'Model name of weather station'
                          }],
                          type: 'string',
                          wunderground: null,
                          ecowitt: '^model',
                          scheduler: null,
                          listener_conversion: null,
                          scheduler_conversion: null
                      },
                  
                  Creating new data point: weather.current.model
                  Creating new data point: info.model
                  

                  Woher kommt der Datapoint?
                  Die Daten landen dann unter weather.current.model, warum?

                  A 1 Reply Last reply Reply Quote 0
                  • A
                    albert @albert last edited by

                    @albert
                    Ich antworte mir mal selbst, gerade gesehen, dass nur der "softwaretype" nach info schreiben darf.
                    Ich denke werte wie model oder freq sollten nicht nach weather gehen, oder?

                    A 1 Reply Last reply Reply Quote 0
                    • A
                      albert @albert last edited by

                      @albert
                      Nach einer kleinen Änderung in der Datei listener.js ist das Ergebnis wie erwartet, ich muss aber noch schauen ob es potentielle Nebeneffekte gibt.

                                      //let channel = target_data_point.id == 'softwaretype' ? 'info.' : 'weather.current.';
                                      let channel = target_data_point.channels[0].channel + '.';
                      
                      A 1 Reply Last reply Reply Quote 0
                      • A
                        albert @albert last edited by

                        @Fogg ich habe einen pull request erstellt

                        Fogg Tilimanka 2 Replies Last reply Reply Quote 1
                        • Fogg
                          Fogg @albert last edited by

                          @albert Cool, danke!! Ich schaue mir das an und übernehme es dann gerne. Stimmt. Ich hatte den Info schlank gehalten und zu beginn war das ganze nicht so flexibel gebaut ...

                          A 1 Reply Last reply Reply Quote 0
                          • Tilimanka
                            Tilimanka @albert last edited by

                            habe den Froggit DP1500 mit 3 DP50 Sensoren via sainlogic0.6.3 erfolgreich an den IOB angeschlossen.
                            Mit dem wunderground protokoll und dessen default Path-Einstellung hat's nicht geklappt, das device dann umgestellt auf ecowitt, was dann zum Erfolg führte .
                            Für die 3 Sensoren wurden dann auch entsprechende Datenpunkte erzeugt.
                            Dank an alle Projektbeteiligten.
                            p.s. mein Log läuft voll, immer wenn Daten ankommen wird eine Info geschrieben.
                            Kann man das bei künftigen release abstellen ?
                            Grüsse Tili

                            A 1 Reply Last reply Reply Quote 1
                            • A
                              albert @Fogg last edited by

                              @Fogg Ist absolut genial was du da erstellt hast.
                              Eine bessere Flexibilität erhöht leider auch immer die Komplexität.

                              1 Reply Last reply Reply Quote 0
                              • A
                                albert @Tilimanka last edited by

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

                                p.s. mein Log läuft voll, immer wenn Daten ankommen wird eine Info geschrieben.
                                Kann man das bei künftigen release abstellen ?

                                Wenn du die Log-Stufe des Adapters unter "Instanzen" auf "error" stellst sollte er ruhig sein.

                                Tilimanka 1 Reply Last reply Reply Quote 0
                                • Tilimanka
                                  Tilimanka @albert last edited by

                                  @albert
                                  gib mir bitte noch nen Input, wo genau muss ich das machen ?

                                  A 1 Reply Last reply Reply Quote 0
                                  • A
                                    albert @Tilimanka last edited by

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

                                    @albert
                                    gib mir bitte noch nen Input, wo genau muss ich das machen ?

                                    Ha ha, ich dachte den Input hätte ich dir schon gegeben 😝

                                    23810397-cdc7-47be-802b-d274a565cd31-grafik.png

                                    Tilimanka 1 Reply Last reply Reply Quote 1
                                    • Tilimanka
                                      Tilimanka @albert last edited by

                                      @albert
                                      danke
                                      im Expertenmodus hat's geklappt , ich habe "mein Ziel erreicht"
                                      🍺

                                      A 1 Reply Last reply Reply Quote 0
                                      • A
                                        albert @Tilimanka last edited by albert

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

                                        @albert
                                        danke
                                        im Expertenmodus hat's geklappt , ich habe "mein Ziel erreicht"
                                        🍺

                                        Freut mich wenn es geklappt hat.

                                        @Fogg Kannst du dir die aktuellen Änderungen in meinem Fork ansehen?
                                        Ich habe etwas mehr Dynamik in die Datenpunkt Erstellung gebracht.

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

                                          @albert Danke, freut mich wenn es funktioniert 🙂 Genial würde ich glaube ich nicht in Anspruch nehmen LOL

                                          Deine Änderungen habe ich angeschaut und übernommen. Liegt nun 0.6.4 auf dem git. Einzig das filtern der Datenpunkte würde ich eher auf nen bool machen und nicht mit einer Zahl. Lesbarkeit des Codes. Das schaue ich mir noch an wenn ich ne gute Idee habe die Datenpunkte nur passend zur Station anzulegen....

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

                                            @Fogg
                                            Eigentlich wollte ich verschiedene Pull Requests erstellen, leider habe ich keine Ahnung wie ich im ioBroker die Sourcen von einem nicht Master-Branch nutzen kann.
                                            Zum Testen habe ich deshalb die Änderungen in den Master und zack waren die auch im PR. 👼

                                            Aktuell würde es auf jeden Fall Sinn machen einen Bool zu Nutzen, ursprünglich war es dafür gedacht mit zu Zählen wie oft der String gefunden wurde, weil es ja Theoretisch zwei Möglichkeiten der Datenabfrage gibt.

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

                                            Support us

                                            ioBroker
                                            Community Adapters
                                            Donate

                                            852
                                            Online

                                            31.7k
                                            Users

                                            79.8k
                                            Topics

                                            1.3m
                                            Posts

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