Ankündigung

Einklappen
Keine Ankündigung bisher.

Support-Thread zum OpenWeatherMap Plugin

Einklappen
X
 
  • Filter
  • Zeit
  • Anzeigen
Alles löschen
neue Beiträge

    #16
    Ich hoffe Ihr könnt mir weiterhelfen.
    Ohne Details wie bspw. Deiner Konfiguration wird das schwer ;-) Siehst Du denn in den JSON Rohdaten im WebIf des Plugins den Wert?

    Kommentar


      #17
      Entschuldige - durch den neuen Thread habe ich das ganz vergessen.

      Ich nutze das RasPi - Image hier aus dem Forum; welche Info muss ich darüber hinaus bereitstellen.


      Zitat von psilo Beitrag anzeigen
      den JSON Rohdaten im WebIf des Plugins den Wert?

      Ich denke du meinst dies hier - siehe Bild.

      temp.PNG



      Kommentar


        #18
        Maexle das sieht ja gut aus. jetzt wäre die frage, wie du die items definiert hast? und ob es fehler im log gibt.

        Kommentar


          #19
          So sollte es jedenfalls aussehen, siehe README.
          Code:
          temp:
              type: num
              owm_matchstring: main/temp
          Mir ist übrigens aufgefallen, dass die Doku bisschen "kaputt" ist

          Kommentar


            #20
            Onkelandy wieso kaputt? so sollte es imho nur aussehen, wenn er das plugin ohne instance konfiguriert hat

            Kommentar


              #21
              So sieht es bei mir aus.


              Code:
              # openweather.yaml
              owm:
              
                  home:
              
                      latitude:
                          type: num
                          owm_matchstring@home: coord/lat
              
                      longitude:
                          type: num
                          owm_matchstring@home: coord/lon
              
                      conditions:
                          type: list
                          owm_matchstring@home: weather
                          
                      temp:
                          type: num
                          owm_matchstring@home: main/temp
                          
                      pressure:
                          type: num
                          owm_matchstring@home: main/pressure
              
                          grnd_level:
                              type: num
                              owm_matchstring@home: main/grnd_level
              
                          sea_level:
                              type: num
                              owm_matchstring@home: main/sea_level
              
                      humidity:
                          type: num
                          owm_matchstring@home: main/humidity
              
                      temp_min:
                          type: num
                          owm_matchstring@home: main/temp_min
              
                      temp_max:
                          type: num
                          owm_matchstring@home: main/temp_max
              
                      wind:
              
                          wind_speed:
                              type: num
                              owm_matchstring@home: wind/speed
              
                          wind_deg:
                              type: num
                              owm_matchstring@home: wind/deg
              
                      clouds:
                          type: num
                          owm_matchstring@home: clouds/all
              
                      rain_3h:
                          type: num
                          owm_matchstring@home: rain/3h
              
                      snow_3h:
                          type: num
                          owm_matchstring@home: snow/3h
              
                      time:
                          type: num
                          owm_matchstring@home: dt
              
                      sunrise_utc:
                          type: num
                          owm_matchstring@home: sys/sunrise
              
                      sunset_utc:
                          type: num
                          owm_matchstring@home: sys/sunset
              
                      country:
                          type: str
                          owm_matchstring@home: sys/country
              
                      city_name:
                          type: str
                          owm_matchstring@home: name
              
                      city_id:
                          type: num
                          owm_matchstring@home: id
              
                      uvi:
                          type: num
                          owm_matchstring@home: uvi_value
              
                      uvi_date:
                          type: num
                          owm_matchstring@home: uvi_date
              
                      forecast_3hours: # next 3 hours, use 0-39 for further forecasts
                          time:
                              type: num
                              owm_matchstring@home: forecast/1/dt
              
                          conditions:
                              type: list
                              owm_matchstring@home: weather
              
                          temp:
                              type: num
                              owm_matchstring@home: forecast/1/main/temp
              
                          temp_min:
                              type: num
                              owm_matchstring@home: forecast/1/main/temp_min
              
                          temp_max:
                              type: num
                              owm_matchstring@home: forecast/1/main/temp_max
              
                          pressure:
                              type: num
                              owm_matchstring@home: forecast/1/main/pressure
              
                          grnd_level:
                              type: num
                              owm_matchstring@home: forecast/1/main/grnd_level
              
                          sea_level:
                              type: num
                              owm_matchstring@home: forecast/1/main/sea_level
              
                          humidity:
                              type: num
                              owm_matchstring@home: forecast/1/main/humidity
              
                          wind:
                              wind_speed:
                                  type: num
                                  owm_matchstring@home: forecast/1/wind/speed
              
                              wind_deg:
                                  type: num
                                  owm_matchstring@home: forecast/1/wind/deg
              
                          clouds:
                              type: num
                              owm_matchstring@home: forecast/1/clouds/all
              
                      forecast_daily0: # tomorrow's forecast
                          time:
                              type: num
                              owm_matchstring@home: forecast/daily/0/dt
              
                          temp:
                              type: num
                              owm_matchstring@home: forecast/daily/0/main/temp
              
                          temp_min:
                              type: num
                              owm_matchstring@home: forecast/daily/0/main/temp_min
              
                          temp_max:
                              type: num
                              owm_matchstring@home: forecast/daily/0/main/temp_max
              
                          pressure:
                              type: num
                              owm_matchstring@home: forecast/daily/0/main/pressure
              
                              grnd_level:
                                  type: num
                                  owm_matchstring@home: forecast/daily/0/main/grnd_level
              
                              sea_level:
                                  type: num
                                  owm_matchstring@home: forecast/daily/0/main/sea_level
              
                          humidity:
                              type: num
                              owm_matchstring@home: forecast/daily/0/main/humidity
              
                          wind:
                              wind_speed:
                                  type: num
                                  owm_matchstring@home: forecast/daily/0/wind/speed
              
                              wind_deg:
                                  type: num
                                  owm_matchstring@home: forecast/daily/0/wind/deg
              
                          clouds:
                              type: num
                              owm_matchstring@home: forecast/daily/0/clouds/all
              
                      forecast_daily1: # day after tomorrow (max index 4 = 5 days ahead)
                          time:
                              type: num
                              owm_matchstring@home: forecast/daily/1/dt
              
                          temp:
                              type: num
                              owm_matchstring@home: forecast/daily/1/main/temp
              
                          temp_min:
                              type: num
                              owm_matchstring@home: forecast/daily/1/main/temp_min
              
                          temp_max:
                              type: num
                              owm_matchstring@home: forecast/daily/1/main/temp_max
              
                          pressure:
                              type: num
                              owm_matchstring@home: forecast/daily/1/main/pressure
              
                          grnd_level:
                              type: num
                              owm_matchstring@home: forecast/daily/1/main/grnd_level
              
                          sea_level:
                              type: num
                              owm_matchstring@home: forecast/daily/1/main/sea_level
              
                          humidity:
                              type: num
                              owm_matchstring@home: forecast/daily/1/main/humidity
              
                          wind:
                              wind_speed:
                                  type: num
                                  owm_matchstring@home: forecast/daily/1/wind/speed
              
                              wind_deg:
                                  type: num
                                  owm_matchstring@home: forecast/daily/1/wind/deg
              
                          clouds:
                              type: num
                              owm_matchstring@home: forecast/daily/1/clouds/all


              Hier der betreffende Ausschnitt:


              Code:
              # openweather.yaml
              owm:
              
                  home:
              
                      latitude:
                    
                          
                      temp:
                          type: num
                          owm_matchstring@home: main/temp
              Zuletzt geändert von Maexle; 26.11.2020, 19:39.

              Kommentar


                #22
                und das plugin ist mit "instance: home" konfiguriert? sind die anderen werte bedatet? oder ist alles leer?

                Kommentar


                  #23
                  ?????

                  Kommentar


                    #24
                    na dann zeig halt wie du das plugin in der plugin.yaml konfiguriert hast. wenn du beim item ein xyz verwendest, musst du das beim plugin auch als instanzname setzen.

                    und die antwort darauf, ob alle items oder nur eines keinen wert haben, haste auch noch nicht gegeben

                    Kommentar


                      #25
                      also das im README auskommentierte "instance: ..." muss halt mit instance: home belegt und NICHT auskommentiert sein. https://github.com/smarthomeNG/plugi...openweathermap

                      das ist aber standard bei multiinstanzplugins. sonst "@home" bei den items weglassen

                      Kommentar


                        #26
                        Code:
                        openweathermap:
                            plugin_name: openweathermap
                            key: mein Schlüssel
                            lang: de
                            #remove_duplicates: True
                        #     host: 127.0.0.1
                        #     port: 6720
                        #     send_time: 600    # update date/time every 600 seconds, default none
                        #     time_ga: 6/0/0    # default none
                        #     date_ga: 6/0/1    # default none
                        #     busmonitor: True  # log all knx messages, default false
                        #     readonly: True    ## don't write to knx bus, default false"

                        Kommentar


                          #27
                          ja dann haben wir den fehler.
                          füge da instance: home dazu in ner neuen zeile vor den kommentaren (die wohl von einem anderen plugin stammen)

                          erwartung wäre, dass alle deine items bisher leer waren

                          Kommentar


                            #28
                            Zitat von psilo Beitrag anzeigen
                            und die antwort darauf, ob alle items oder nur eines keinen wert haben, haste auch noch nicht gegeben
                            sorry, ich weiß nicht was Du damit meinst


                            edit:
                            ich glaube das war die Lösung

                            temp_2.PNG
                            Zuletzt geändert von Maexle; 26.11.2020, 20:24.

                            Kommentar


                              #29
                              sorry, ich weiß nicht was Du damit meinst
                              vorher dürfte kein Item, das dem Plugin zugeordnet ist, Werte gehabt haben.

                              Aber es ist ja nun gelöst.

                              Kommentar


                                #30
                                psilo Die Doku ist ein Skelett vom darksky plugin: https://www.smarthomeng.de/user/plug.../user_doc.html

                                Kommentar

                                Lädt...
                                X