Skip to content
  • Home
  • Recent
  • Tags
  • 0 Unread 0
  • Categories
  • Unreplied
  • Popular
  • GitHub
  • Docu
  • Hilfe
Skins
  • Light
  • Brite
  • Cerulean
  • Cosmo
  • Flatly
  • Journal
  • Litera
  • Lumen
  • Lux
  • Materia
  • Minty
  • Morph
  • Pulse
  • Sandstone
  • Simplex
  • Sketchy
  • Spacelab
  • United
  • Yeti
  • Zephyr
  • Dark
  • Cyborg
  • Darkly
  • Quartz
  • Slate
  • Solar
  • Superhero
  • Vapor

  • Default (No Skin)
  • No Skin
Collapse
ioBroker Logo

Community Forum

donate donate
  1. ioBroker Community Home
  2. Deutsch
  3. Tester
  4. Test Adapter iobroker.uv-protect 0.3.x

NEWS

  • UPDATE 31.10.: Amazon Alexa - ioBroker Skill läuft aus ?
    apollon77A
    apollon77
    48
    3
    8.8k

  • Monatsrückblick – September 2025
    BluefoxB
    Bluefox
    13
    1
    2.2k

  • Neues Video "KI im Smart Home" - ioBroker plus n8n
    BluefoxB
    Bluefox
    16
    1
    3.2k

Test Adapter iobroker.uv-protect 0.3.x

Scheduled Pinned Locked Moved Tester
41 Posts 13 Posters 3.9k Views 18 Watching
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • simatecS Offline
    simatecS Offline
    simatec
    Developer Most Active
    wrote on last edited by
    #4

    Ab sofort steht die Version 0.3.0 auf Github und auf npm zur Verfügung.

    Changelog

    0.3.0 (24.06.2021)

    • (simatec) code cleaning
    • (simatec) added translate to system language for states
    • (simatec) Bugfix Timestamp
    • (simatec) value formating
    • (simatec) Dependencies updated
    • (simatec) name for states updated
    • Besuche meine Github Seite
    • Beitrag hat geholfen oder willst du mich unterstützen
    • HowTo Restore ioBroker
    1 Reply Last reply
    1
    • BBTownB BBTown

      @simatec
      moin Simatec,
      ich habe den Adapter einmal installiert und vergleiche gerade die Werte mit denen vom openuv.io Adapter, den ich seit Ewigkeiten im Einsatz habe. Die Installation verlief einfach und fehlerfrei und nachdem ich den richtigen API Key genommen habe, bekam ich auch sofort Werte :sunglasses:

      Was mir auffällt ist, das es offensichtlich bei deinem Adapter keinen Unterscheid zwischen dem aktuellen Wert "UV" und dem erwarteten Tages-Max-Wert "UV_max" zu geben scheint.

      Kritik/Usability:

      • die "UV_Bewertung" beim openuv.io Adapter kommt freundlicherweise in deutsch und muss somit nicht noch übersetzt werden ;-)
      • erst nachdem ich danach gegoogelt habe, habe ich herausgefunden was diese "safe_exposure_time" überhaupt aussagen sollen - vielleicht kann man das offensichtlicher machen (??)
      • alle Zeitangaben enthalten das Datum, was meines Erachtens unnötig ist. Hier wäre es womöglich benutzerfreundlicher wenn nur die Zeiten (SS:mm) in den Datenpunkten vorhanden wären

      Aber natürlich vor allem zunächst einmal ein Dankeschön für die Bereitstellung dieses Adapters!! :+1:

      simatecS Offline
      simatecS Offline
      simatec
      Developer Most Active
      wrote on last edited by
      #5

      @bbtown sagte in Test Adapter iobroker.uv-protect 0.2.x:

      Was mir auffällt ist, das es offensichtlich bei deinem Adapter keinen Unterscheid zwischen dem aktuellen Wert "UV" und dem erwarteten Tages-Max-Wert "UV_max" zu geben scheint.

      Sollte nicht sein ... Eventuell war es Zufall, dass der aktuelle Wert gerade auch der Max-Wert war.

      509aa5e3-9bd5-4ead-94ed-3052b60b60e8-image.png

      die "UV_Bewertung" beim openuv.io Adapter kommt freundlicherweise in deutsch und muss somit nicht noch übersetzt werden

      Ich habe für die states in Version 0.3.0 eine Übersetzung eingebaut

      erst nachdem ich danach gegoogelt habe, habe ich herausgefunden was diese "safe_exposure_time" überhaupt aussagen sollen - vielleicht kann man das offensichtlicher machen (??)

      Habe ich in Version 0.3.0 ausführlicher beschrieben

      alle Zeitangaben enthalten das Datum, was meines Erachtens unnötig ist. Hier wäre es womöglich benutzerfreundlicher wenn nur die Zeiten (SS:mm) in den Datenpunkten vorhanden wären

      Da muss ich mal überlegen ... Einige User wollen die Zeitangabe genau so, um sie weiter zu verarbeiten

      • Besuche meine Github Seite
      • Beitrag hat geholfen oder willst du mich unterstützen
      • HowTo Restore ioBroker
      sigi234S 1 Reply Last reply
      1
      • simatecS simatec

        @bbtown sagte in Test Adapter iobroker.uv-protect 0.2.x:

        Was mir auffällt ist, das es offensichtlich bei deinem Adapter keinen Unterscheid zwischen dem aktuellen Wert "UV" und dem erwarteten Tages-Max-Wert "UV_max" zu geben scheint.

        Sollte nicht sein ... Eventuell war es Zufall, dass der aktuelle Wert gerade auch der Max-Wert war.

        509aa5e3-9bd5-4ead-94ed-3052b60b60e8-image.png

        die "UV_Bewertung" beim openuv.io Adapter kommt freundlicherweise in deutsch und muss somit nicht noch übersetzt werden

        Ich habe für die states in Version 0.3.0 eine Übersetzung eingebaut

        erst nachdem ich danach gegoogelt habe, habe ich herausgefunden was diese "safe_exposure_time" überhaupt aussagen sollen - vielleicht kann man das offensichtlicher machen (??)

        Habe ich in Version 0.3.0 ausführlicher beschrieben

        alle Zeitangaben enthalten das Datum, was meines Erachtens unnötig ist. Hier wäre es womöglich benutzerfreundlicher wenn nur die Zeiten (SS:mm) in den Datenpunkten vorhanden wären

        Da muss ich mal überlegen ... Einige User wollen die Zeitangabe genau so, um sie weiter zu verarbeiten

        sigi234S Online
        sigi234S Online
        sigi234
        Forum Testing Most Active
        wrote on last edited by
        #6

        @simatec sagte in Test Adapter iobroker.uv-protect 0.3.x:

        Habe ich in Version 0.3.0 ausführlicher beschrieben

        Wo?

        Bitte benutzt das Voting rechts unten im Beitrag wenn er euch geholfen hat.
        Immer Daten sichern!

        H simatecS 2 Replies Last reply
        0
        • sigi234S sigi234

          @simatec sagte in Test Adapter iobroker.uv-protect 0.3.x:

          Habe ich in Version 0.3.0 ausführlicher beschrieben

          Wo?

          H Online
          H Online
          holgerwolf
          wrote on last edited by holgerwolf
          #7

          Ich bin auch auf ein "spannendes" Problem gestossen, was nicht unbedingt was mit dem Adapter zu tun hat.
          Die Zeitangaben, die der Adapter ausliest sind am Ende alle mit einem "Z" versehen:
          2021-06-24T21:41:29.621Z

          Ich denke damit wird signalisiert, dass die Zeit UTC ist. Bei der Anzeige ( z Bsp mit dem timesvalue Widget) wird dann in die lokale Zeitzone umgerechnet, was in dem Fall aber falsch ist.
          Alle anderen Zeit-Objekte in iobroker sind ohne dieses Z und damit klappt die Anzeige dann auch. Wenn ich im Objekt das "Z" entferne, passt es auch.

          Kann man das in der API irgendwo einstellen?

          simatecS 1 Reply Last reply
          0
          • sigi234S sigi234

            @simatec sagte in Test Adapter iobroker.uv-protect 0.3.x:

            Habe ich in Version 0.3.0 ausführlicher beschrieben

            Wo?

            simatecS Offline
            simatecS Offline
            simatec
            Developer Most Active
            wrote on last edited by
            #8

            @sigi234 In den Bezeichnungen der States ist die Beschreibung

            • Besuche meine Github Seite
            • Beitrag hat geholfen oder willst du mich unterstützen
            • HowTo Restore ioBroker
            1 Reply Last reply
            0
            • H holgerwolf

              Ich bin auch auf ein "spannendes" Problem gestossen, was nicht unbedingt was mit dem Adapter zu tun hat.
              Die Zeitangaben, die der Adapter ausliest sind am Ende alle mit einem "Z" versehen:
              2021-06-24T21:41:29.621Z

              Ich denke damit wird signalisiert, dass die Zeit UTC ist. Bei der Anzeige ( z Bsp mit dem timesvalue Widget) wird dann in die lokale Zeitzone umgerechnet, was in dem Fall aber falsch ist.
              Alle anderen Zeit-Objekte in iobroker sind ohne dieses Z und damit klappt die Anzeige dann auch. Wenn ich im Objekt das "Z" entferne, passt es auch.

              Kann man das in der API irgendwo einstellen?

              simatecS Offline
              simatecS Offline
              simatec
              Developer Most Active
              wrote on last edited by
              #9

              @holgerwolf Ich baue die Zeit auf die korrekte Zeitzone im Adapter um ... Also stimmt das "Z" natürlich nicht mehr ...
              Werde ich formatieren ...

              • Besuche meine Github Seite
              • Beitrag hat geholfen oder willst du mich unterstützen
              • HowTo Restore ioBroker
              lobomauL 1 Reply Last reply
              0
              • simatecS simatec

                @holgerwolf Ich baue die Zeit auf die korrekte Zeitzone im Adapter um ... Also stimmt das "Z" natürlich nicht mehr ...
                Werde ich formatieren ...

                lobomauL Offline
                lobomauL Offline
                lobomau
                wrote on last edited by
                #10

                Installation lief problemlos.
                Wie oft werden die Werte bei uv-protect aktualisiert?
                Ich kann ja auf alle 30min stellen dann sind 48 von 50 Abrufe am Tag weg. Reicht ja auch eigentlich.
                Aber man könnte auch auf alle 15min stellen, wenn man nachts darauf verzichtet.
                Idee wäre also auf den Abruf während der Nacht/Dämmerung verzichten zu können.

                Host: NUC8i3 mit Proxmox:

                • ioBroker CT Debian 13, npm 10.9.4, nodejs 22.21.0
                • Slave: Pi4
                simatecS 1 Reply Last reply
                0
                • lobomauL lobomau

                  Installation lief problemlos.
                  Wie oft werden die Werte bei uv-protect aktualisiert?
                  Ich kann ja auf alle 30min stellen dann sind 48 von 50 Abrufe am Tag weg. Reicht ja auch eigentlich.
                  Aber man könnte auch auf alle 15min stellen, wenn man nachts darauf verzichtet.
                  Idee wäre also auf den Abruf während der Nacht/Dämmerung verzichten zu können.

                  simatecS Offline
                  simatecS Offline
                  simatec
                  Developer Most Active
                  wrote on last edited by
                  #11

                  @lobomau
                  Default sind es alle 60 Minuten.
                  Bei 15 Minuten wären allerdings Mittag um 12 Uhr die 50 Requests aufgebraucht

                  Oder du machst den Cron halt noch detaillierter und gibst ihm feste Zeiten tagsüber und am Abend und in der Nacht halt gar nicht.

                  Hier ein Beispiel, wie er nur tagsüber alle 20 Minuten abfragen würde

                  806d3c2b-4d8e-479c-b8a0-7501c2a03b70-image.png

                  • Besuche meine Github Seite
                  • Beitrag hat geholfen oder willst du mich unterstützen
                  • HowTo Restore ioBroker
                  lobomauL 1 Reply Last reply
                  0
                  • simatecS simatec

                    @lobomau
                    Default sind es alle 60 Minuten.
                    Bei 15 Minuten wären allerdings Mittag um 12 Uhr die 50 Requests aufgebraucht

                    Oder du machst den Cron halt noch detaillierter und gibst ihm feste Zeiten tagsüber und am Abend und in der Nacht halt gar nicht.

                    Hier ein Beispiel, wie er nur tagsüber alle 20 Minuten abfragen würde

                    806d3c2b-4d8e-479c-b8a0-7501c2a03b70-image.png

                    lobomauL Offline
                    lobomauL Offline
                    lobomau
                    wrote on last edited by
                    #12

                    @simatec Danke. Oh-man. Da hatte ich ein Brett vorm Kopf. Eigentlich kenne ich diese Möglichkeit den cron einzustellen.

                    Host: NUC8i3 mit Proxmox:

                    • ioBroker CT Debian 13, npm 10.9.4, nodejs 22.21.0
                    • Slave: Pi4
                    1 Reply Last reply
                    0
                    • simatecS Offline
                      simatecS Offline
                      simatec
                      Developer Most Active
                      wrote on last edited by
                      #13

                      Ab sofort steht die Version 0.3.1 auf Github und auf npm zur Verfügung.

                      Changelog

                      0.3.1 (28.06.2021)

                      • (simatec) Date / time formatted
                      • Besuche meine Github Seite
                      • Beitrag hat geholfen oder willst du mich unterstützen
                      • HowTo Restore ioBroker
                      1 Reply Last reply
                      0
                      • JohGreJ Offline
                        JohGreJ Offline
                        JohGre
                        wrote on last edited by
                        #14

                        Habe den Adapter anstatt openuv installiert, leider funktioniert er nur einmal gleich nach dem Starten, alle weiteren Aufrufe, die ja zeitgesteuert sind, werfen einen Fehler.

                        2022-03-05 16:00:00.431 - debug: uv-protect.0 (209986) Redis Objects: Use Redis connection: 10.0.0.227:9001
                        2022-03-05 16:00:00.463 - debug: uv-protect.0 (209986) Objects client ready ... initialize now
                        2022-03-05 16:00:00.465 - debug: uv-protect.0 (209986) Objects create System PubSub Client
                        2022-03-05 16:00:00.466 - debug: uv-protect.0 (209986) Objects create User PubSub Client
                        2022-03-05 16:00:00.527 - debug: uv-protect.0 (209986) Objects client initialize lua scripts
                        2022-03-05 16:00:00.532 - debug: uv-protect.0 (209986) Objects connected to redis: 10.0.0.227:9001
                        2022-03-05 16:00:00.566 - debug: uv-protect.0 (209986) Redis States: Use Redis connection: 10.0.0.227:9000
                        2022-03-05 16:00:00.586 - debug: uv-protect.0 (209986) States create System PubSub Client
                        2022-03-05 16:00:00.587 - debug: uv-protect.0 (209986) States create User PubSub Client
                        2022-03-05 16:00:00.625 - debug: uv-protect.0 (209986) States connected to redis: 10.0.0.227:9000
                        2022-03-05 16:00:01.757 - info: uv-protect.0 (209986) starting. Version 0.3.5 in /opt/iobroker/node_modules/iobroker.uv-protect, node: v14.19.0, js-controller: 4.0.18
                        2022-03-05 16:00:01.805 - debug: uv-protect.0 (209986) System language: en
                        2022-03-05 16:00:01.805 - debug: uv-protect.0 (209986) System longitude: 13. System latitude: 48.
                        2022-03-05 16:00:01.817 - debug: uv-protect.0 (209986) API Request started ...
                        2022-03-05 16:00:32.248 - warn: uv-protect.0 (209986) Request error: Error: Request failed with status code 503
                        2022-03-05 16:00:38.255 - info: uv-protect.0 (209986) Terminated (NO_ERROR): Without reason
                        

                        nuc i5: RaspberryMatic, ioBroker, pi-hole, SQL-Server, OMV-NAS, Influx-DB & Grafana, OpenHab, tasmoadmin

                        FredFF 1 Reply Last reply
                        0
                        • JohGreJ JohGre

                          Habe den Adapter anstatt openuv installiert, leider funktioniert er nur einmal gleich nach dem Starten, alle weiteren Aufrufe, die ja zeitgesteuert sind, werfen einen Fehler.

                          2022-03-05 16:00:00.431 - debug: uv-protect.0 (209986) Redis Objects: Use Redis connection: 10.0.0.227:9001
                          2022-03-05 16:00:00.463 - debug: uv-protect.0 (209986) Objects client ready ... initialize now
                          2022-03-05 16:00:00.465 - debug: uv-protect.0 (209986) Objects create System PubSub Client
                          2022-03-05 16:00:00.466 - debug: uv-protect.0 (209986) Objects create User PubSub Client
                          2022-03-05 16:00:00.527 - debug: uv-protect.0 (209986) Objects client initialize lua scripts
                          2022-03-05 16:00:00.532 - debug: uv-protect.0 (209986) Objects connected to redis: 10.0.0.227:9001
                          2022-03-05 16:00:00.566 - debug: uv-protect.0 (209986) Redis States: Use Redis connection: 10.0.0.227:9000
                          2022-03-05 16:00:00.586 - debug: uv-protect.0 (209986) States create System PubSub Client
                          2022-03-05 16:00:00.587 - debug: uv-protect.0 (209986) States create User PubSub Client
                          2022-03-05 16:00:00.625 - debug: uv-protect.0 (209986) States connected to redis: 10.0.0.227:9000
                          2022-03-05 16:00:01.757 - info: uv-protect.0 (209986) starting. Version 0.3.5 in /opt/iobroker/node_modules/iobroker.uv-protect, node: v14.19.0, js-controller: 4.0.18
                          2022-03-05 16:00:01.805 - debug: uv-protect.0 (209986) System language: en
                          2022-03-05 16:00:01.805 - debug: uv-protect.0 (209986) System longitude: 13. System latitude: 48.
                          2022-03-05 16:00:01.817 - debug: uv-protect.0 (209986) API Request started ...
                          2022-03-05 16:00:32.248 - warn: uv-protect.0 (209986) Request error: Error: Request failed with status code 503
                          2022-03-05 16:00:38.255 - info: uv-protect.0 (209986) Terminated (NO_ERROR): Without reason
                          
                          FredFF Online
                          FredFF Online
                          FredF
                          Most Active Forum Testing
                          wrote on last edited by
                          #15

                          @johgre
                          Und wo ist ein Fehler (error)?
                          Die Instanz steht auf Log-Stufe debug - da kommen dann viele Meldungen. Besser umstellen auf info

                          JohGreJ 1 Reply Last reply
                          0
                          • FredFF FredF

                            @johgre
                            Und wo ist ein Fehler (error)?
                            Die Instanz steht auf Log-Stufe debug - da kommen dann viele Meldungen. Besser umstellen auf info

                            JohGreJ Offline
                            JohGreJ Offline
                            JohGre
                            wrote on last edited by
                            #16

                            @fredf vorletzte Zeile, im ioBroker log zwar ein warn, aber als response ein HTML Error und somit keine Daten

                            nuc i5: RaspberryMatic, ioBroker, pi-hole, SQL-Server, OMV-NAS, Influx-DB & Grafana, OpenHab, tasmoadmin

                            FredFF 1 Reply Last reply
                            0
                            • JohGreJ JohGre

                              @fredf vorletzte Zeile, im ioBroker log zwar ein warn, aber als response ein HTML Error und somit keine Daten

                              FredFF Online
                              FredFF Online
                              FredF
                              Most Active Forum Testing
                              wrote on last edited by
                              #17

                              @johgre Code 503 sagt laut suche, dass der Server nicht antwortet. API key eingetragen?

                              1 Reply Last reply
                              0
                              • JohGreJ Offline
                                JohGreJ Offline
                                JohGre
                                wrote on last edited by
                                #18

                                @fredf Ja, API Key ist eingetragen (und auch der richtige) und beim starten werden auch einmalig Daten geholt.

                                2022-03-05 14:08:22.246 - debug: uv-protect.0 (207612) Redis Objects: Use Redis connection: 10.0.0.227:9001
                                2022-03-05 14:08:22.272 - debug: uv-protect.0 (207612) Objects client ready ... initialize now
                                2022-03-05 14:08:22.275 - debug: uv-protect.0 (207612) Objects create System PubSub Client
                                2022-03-05 14:08:22.275 - debug: uv-protect.0 (207612) Objects create User PubSub Client
                                2022-03-05 14:08:22.312 - debug: uv-protect.0 (207612) Objects client initialize lua scripts
                                2022-03-05 14:08:22.316 - debug: uv-protect.0 (207612) Objects connected to redis: 10.0.0.227:9001
                                2022-03-05 14:08:22.341 - debug: uv-protect.0 (207612) Redis States: Use Redis connection: 10.0.0.227:9000
                                2022-03-05 14:08:22.356 - debug: uv-protect.0 (207612) States create System PubSub Client
                                2022-03-05 14:08:22.357 - debug: uv-protect.0 (207612) States create User PubSub Client
                                2022-03-05 14:08:22.379 - debug: uv-protect.0 (207612) States connected to redis: 10.0.0.227:9000
                                2022-03-05 14:08:23.036 - info: uv-protect.0 (207612) starting. Version 0.3.5 in /opt/iobroker/node_modules/iobroker.uv-protect, node: v14.19.0, js-controller: 4.0.18
                                2022-03-05 14:08:23.072 - debug: uv-protect.0 (207612) System language: en
                                2022-03-05 14:08:23.072 - debug: uv-protect.0 (207612) System longitude: 13. System latitude: 48.
                                2022-03-05 14:08:23.082 - debug: uv-protect.0 (207612) API Request started ...
                                2022-03-05 14:08:23.592 - debug: uv-protect.0 (207612) API Request successfully completed
                                2022-03-05 14:08:23.592 - debug: uv-protect.0 (207612) {"result":{"uv":1.8666,"uv_time":"2022-03-05T13:08:23.511Z","uv_max":2.597,"uv_max_time":"2022-03-05T11:17:22.820Z","ozone":346.6,"ozone_time":"2022-03-05T12:04:38.489Z","safe_exposure_time":{"st1":89,"st2":107,"st3":143,"st4":179,"st5":286,"st6":536},"sun_info":{"sun_times":{"solarNoon":"2022-03-05T11:17:22.820Z","nadir":"2022-03-04T23:17:22.820Z","sunrise":"2022-03-05T05:39:49.203Z","sunset":"2022-03-05T16:54:56.436Z","sunriseEnd":"2022-03-05T05:43:03.240Z","sunsetStart":"2022-03-05T16:51:42.399Z","dawn":"2022-03-05T05:08:40.125Z","dusk":"2022-03-05T17:26:05.514Z","nauticalDawn":"2022-03-05T04:32:38.608Z","nauticalDusk":"2022-03-05T18:02:07.031Z","nightEnd":"2022-03-05T03:56:17.360Z","night":"2022-03-05T18:38:28.279Z","goldenHourEnd":"2022-03-05T06:21:47.708Z","goldenHour":"2022-03-05T16:12:57.931Z"},"sun_position":{"azimuth":0.571989127405678,"altitude":0.5310458359058243}}}}
                                2022-03-05 14:08:23.837 - debug: uv-protect.0 (207612) API Request done
                                2022-03-05 14:08:29.845 - info: uv-protect.0 (207612) Terminated (NO_ERROR): Without reason
                                2022-03-05 15:00:00.413 - debug: uv-protect.0 (208702) Redis Objects: Use Redis connection: 10.0.0.227:9001
                                2022-03-05 15:00:00.444 - debug: uv-protect.0 (208702) Objects client ready ... initialize now
                                2022-03-05 15:00:00.446 - debug: uv-protect.0 (208702) Objects create System PubSub Client
                                2022-03-05 15:00:00.447 - debug: uv-protect.0 (208702) Objects create User PubSub Client
                                2022-03-05 15:00:00.490 - debug: uv-protect.0 (208702) Objects client initialize lua scripts
                                2022-03-05 15:00:00.495 - debug: uv-protect.0 (208702) Objects connected to redis: 10.0.0.227:9001
                                2022-03-05 15:00:00.528 - debug: uv-protect.0 (208702) Redis States: Use Redis connection: 10.0.0.227:9000
                                2022-03-05 15:00:00.551 - debug: uv-protect.0 (208702) States create System PubSub Client
                                2022-03-05 15:00:00.552 - debug: uv-protect.0 (208702) States create User PubSub Client
                                2022-03-05 15:00:00.594 - debug: uv-protect.0 (208702) States connected to redis: 10.0.0.227:9000
                                2022-03-05 15:00:01.506 - info: uv-protect.0 (208702) starting. Version 0.3.5 in /opt/iobroker/node_modules/iobroker.uv-protect, node: v14.19.0, js-controller: 4.0.18
                                2022-03-05 15:00:01.563 - debug: uv-protect.0 (208702) System language: en
                                2022-03-05 15:00:01.563 - debug: uv-protect.0 (208702) System longitude: 13. System latitude: 48.
                                2022-03-05 15:00:01.572 - debug: uv-protect.0 (208702) API Request started ...
                                2022-03-05 15:00:32.016 - warn: uv-protect.0 (208702) Request error: Error: Request failed with status code 503
                                2022-03-05 15:00:38.025 - info: uv-protect.0 (208702) Terminated (NO_ERROR): Without reason
                                

                                nuc i5: RaspberryMatic, ioBroker, pi-hole, SQL-Server, OMV-NAS, Influx-DB & Grafana, OpenHab, tasmoadmin

                                1 Reply Last reply
                                0
                                • simatecS simatec
                                  Aktuelle Test Version 0.3.1
                                  Veröffentlichungsdatum 28.06.2021
                                  Github Link https://github.com/simatec/ioBroker.uv-protect

                                  Hiermit stelle ich euch den Adapter iobroker.uv-protect vor.
                                  Vor 2 Jahren gab es hierzu schon einmal einen Ansatz mit dem Adapter openuv.
                                  Da dieser nicht weiterentwickelt wurde, habe ich mich mal ran gesetzt und einen neuen Adapter geschrieben.

                                  Was kann der Adapter?

                                  Der Adapter liefert euch aktuelle UV-Daten und Ozone-Daten für euren Standort und gibt Warnungen bzw. Alarme bei zu hohen Werten aus.
                                  Des Weiteren liefert euch der Adapter alle Sonnenstandsdaten wie Sonnenauf- und untergang, Goldenhour, Position etc.

                                  Was benötigt Ihr?
                                  Der Adapter benötigt nicht viel und ist relativ selbsterklärend.
                                  Es wird lediglich ein ApiKey von https://www.openuv.io benötigt und eure Geodaten.
                                  Die Geodaten werden automatisch aus euren Systemeinstellungen geholt oder können auch optional direkt eingetragen werden.

                                  Viel Spaß beim testen :blush:

                                  Changelog

                                  0.3.1 (28.06.2021)

                                  • (simatec) Date / time formatted

                                  0.3.0 (24.06.2021)

                                  • (simatec) code cleaning
                                  • (simatec) added translate to system language for states
                                  • (simatec) Bugfix Timestamp
                                  • (simatec) value formating
                                  • (simatec) Dependencies updated
                                  • (simatec) name for states updated

                                  0.2.3

                                  • (simatec) apiKey auto encrypted

                                  0.2.2

                                  • (simatec) apiKey encrypted
                                  • (simatec) fix async function

                                  0.2.1

                                  • (simatec) Fix for latest Repo

                                  0.2.0

                                  • (simatec) jsonConfig for Admin5 added

                                  0.1.0

                                  • (simatec) First Beta

                                  0.0.1

                                  • (simatec) initial release
                                  P Offline
                                  P Offline
                                  ps1304
                                  wrote on last edited by ps1304
                                  #19

                                  @simatec erstmal danke für den Adapter - habe ich neu installiert auf iobroker - bekomme für alle Datenpunkte Fehlermeldungen ala:

                                  Object uv-protect.0.sun_info.sun_position.altitude is invalid: Default value has to be type "number" but received type "string"
                                  System iobroker: 4.0.19node.js 16.14 / NPM 8.3.1 auf proxmox vm installiert

                                  Ist der Fehler bekannt?

                                  Komplettes Log zum Adapterstart:

                                  2022-03-13 15:42:50.792  - info: host.iobroker-master instance system.adapter.uv-protect.0 started with pid 50746
                                  2022-03-13 16:42:52.812  - warn: uv-protect.0 (50746) Object uv-protect.0.uv is invalid: Default value has to be type "number" but received type "string"
                                  2022-03-13 16:42:52.815  - warn: uv-protect.0 (50746) This object will not be created in future versions. Please report this to the developer.
                                  2022-03-13 16:42:52.835  - warn: uv-protect.0 (50746) Object uv-protect.0.uv_max is invalid: Default value has to be type "number" but received type "string"
                                  2022-03-13 16:42:52.835  - warn: uv-protect.0 (50746) This object will not be created in future versions. Please report this to the developer.
                                  2022-03-13 16:42:52.848  - warn: uv-protect.0 (50746) Object uv-protect.0.ozone is invalid: Default value has to be type "number" but received type "string"
                                  2022-03-13 16:42:52.849  - warn: uv-protect.0 (50746) This object will not be created in future versions. Please report this to the developer.
                                  2022-03-13 16:42:52.862  - warn: uv-protect.0 (50746) Object uv-protect.0.safe_exposure_time.st1 is invalid: Default value has to be type "number" but received type "string"
                                  2022-03-13 16:42:52.862  - warn: uv-protect.0 (50746) This object will not be created in future versions. Please report this to the developer.
                                  2022-03-13 16:42:52.872  - warn: uv-protect.0 (50746) Object uv-protect.0.safe_exposure_time.st2 is invalid: Default value has to be type "number" but received type "string"
                                  2022-03-13 16:42:52.873  - warn: uv-protect.0 (50746) This object will not be created in future versions. Please report this to the developer.
                                  2022-03-13 16:42:52.883  - warn: uv-protect.0 (50746) Object uv-protect.0.safe_exposure_time.st3 is invalid: Default value has to be type "number" but received type "string"
                                  2022-03-13 16:42:52.883  - warn: uv-protect.0 (50746) This object will not be created in future versions. Please report this to the developer.
                                  2022-03-13 16:42:52.931  - warn: uv-protect.0 (50746) Object uv-protect.0.safe_exposure_time.st4 is invalid: Default value has to be type "number" but received type "string"
                                  2022-03-13 16:42:52.932  - warn: uv-protect.0 (50746) This object will not be created in future versions. Please report this to the developer.
                                  2022-03-13 16:42:52.940  - warn: uv-protect.0 (50746) Object uv-protect.0.safe_exposure_time.st5 is invalid: Default value has to be type "number" but received type "string"
                                  2022-03-13 16:42:52.940  - warn: uv-protect.0 (50746) This object will not be created in future versions. Please report this to the developer.
                                  2022-03-13 16:42:52.948  - warn: uv-protect.0 (50746) Object uv-protect.0.safe_exposure_time.st6 is invalid: Default value has to be type "number" but received type "string"
                                  2022-03-13 16:42:52.948  - warn: uv-protect.0 (50746) This object will not be created in future versions. Please report this to the developer.
                                  2022-03-13 16:42:53.036  - warn: uv-protect.0 (50746) Object uv-protect.0.sun_info.sun_position.azimuth is invalid: Default value has to be type "number" but received type "string"
                                  2022-03-13 16:42:53.036  - warn: uv-protect.0 (50746) This object will not be created in future versions. Please report this to the developer.
                                  2022-03-13 16:42:53.043  - warn: uv-protect.0 (50746) Object uv-protect.0.sun_info.sun_position.altitude is invalid: Default value has to be type "number" but received type "string"
                                  2022-03-13 16:42:53.044  - warn: uv-protect.0 (50746) This object will not be created in future versions. Please report this to the developer.
                                  2022-03-13 16:42:53.102  - warn: uv-protect.0 (50746) Object uv-protect.0.uv_alert is invalid: Default value has to be type "boolean" but received type "string"
                                  2022-03-13 16:42:53.102  - warn: uv-protect.0 (50746) This object will not be created in future versions. Please report this to the developer.
                                  2022-03-13 16:42:53.110  - warn: uv-protect.0 (50746) Object uv-protect.0.uv_warn is invalid: Default value has to be type "boolean" but received type "string"
                                  2022-03-13 16:42:53.110  - warn: uv-protect.0 (50746) This object will not be created in future versions. Please report this to the developer.
                                  2022-03-13 16:42:53.119  - info: uv-protect.0 (50746) starting. Version 0.3.4 in /opt/iobroker/node_modules/iobroker.uv-protect, node: v16.14.0, js-controller: 4.0.19```
                                  simatecS 1 Reply Last reply
                                  0
                                  • P ps1304

                                    @simatec erstmal danke für den Adapter - habe ich neu installiert auf iobroker - bekomme für alle Datenpunkte Fehlermeldungen ala:

                                    Object uv-protect.0.sun_info.sun_position.altitude is invalid: Default value has to be type "number" but received type "string"
                                    System iobroker: 4.0.19node.js 16.14 / NPM 8.3.1 auf proxmox vm installiert

                                    Ist der Fehler bekannt?

                                    Komplettes Log zum Adapterstart:

                                    2022-03-13 15:42:50.792  - info: host.iobroker-master instance system.adapter.uv-protect.0 started with pid 50746
                                    2022-03-13 16:42:52.812  - warn: uv-protect.0 (50746) Object uv-protect.0.uv is invalid: Default value has to be type "number" but received type "string"
                                    2022-03-13 16:42:52.815  - warn: uv-protect.0 (50746) This object will not be created in future versions. Please report this to the developer.
                                    2022-03-13 16:42:52.835  - warn: uv-protect.0 (50746) Object uv-protect.0.uv_max is invalid: Default value has to be type "number" but received type "string"
                                    2022-03-13 16:42:52.835  - warn: uv-protect.0 (50746) This object will not be created in future versions. Please report this to the developer.
                                    2022-03-13 16:42:52.848  - warn: uv-protect.0 (50746) Object uv-protect.0.ozone is invalid: Default value has to be type "number" but received type "string"
                                    2022-03-13 16:42:52.849  - warn: uv-protect.0 (50746) This object will not be created in future versions. Please report this to the developer.
                                    2022-03-13 16:42:52.862  - warn: uv-protect.0 (50746) Object uv-protect.0.safe_exposure_time.st1 is invalid: Default value has to be type "number" but received type "string"
                                    2022-03-13 16:42:52.862  - warn: uv-protect.0 (50746) This object will not be created in future versions. Please report this to the developer.
                                    2022-03-13 16:42:52.872  - warn: uv-protect.0 (50746) Object uv-protect.0.safe_exposure_time.st2 is invalid: Default value has to be type "number" but received type "string"
                                    2022-03-13 16:42:52.873  - warn: uv-protect.0 (50746) This object will not be created in future versions. Please report this to the developer.
                                    2022-03-13 16:42:52.883  - warn: uv-protect.0 (50746) Object uv-protect.0.safe_exposure_time.st3 is invalid: Default value has to be type "number" but received type "string"
                                    2022-03-13 16:42:52.883  - warn: uv-protect.0 (50746) This object will not be created in future versions. Please report this to the developer.
                                    2022-03-13 16:42:52.931  - warn: uv-protect.0 (50746) Object uv-protect.0.safe_exposure_time.st4 is invalid: Default value has to be type "number" but received type "string"
                                    2022-03-13 16:42:52.932  - warn: uv-protect.0 (50746) This object will not be created in future versions. Please report this to the developer.
                                    2022-03-13 16:42:52.940  - warn: uv-protect.0 (50746) Object uv-protect.0.safe_exposure_time.st5 is invalid: Default value has to be type "number" but received type "string"
                                    2022-03-13 16:42:52.940  - warn: uv-protect.0 (50746) This object will not be created in future versions. Please report this to the developer.
                                    2022-03-13 16:42:52.948  - warn: uv-protect.0 (50746) Object uv-protect.0.safe_exposure_time.st6 is invalid: Default value has to be type "number" but received type "string"
                                    2022-03-13 16:42:52.948  - warn: uv-protect.0 (50746) This object will not be created in future versions. Please report this to the developer.
                                    2022-03-13 16:42:53.036  - warn: uv-protect.0 (50746) Object uv-protect.0.sun_info.sun_position.azimuth is invalid: Default value has to be type "number" but received type "string"
                                    2022-03-13 16:42:53.036  - warn: uv-protect.0 (50746) This object will not be created in future versions. Please report this to the developer.
                                    2022-03-13 16:42:53.043  - warn: uv-protect.0 (50746) Object uv-protect.0.sun_info.sun_position.altitude is invalid: Default value has to be type "number" but received type "string"
                                    2022-03-13 16:42:53.044  - warn: uv-protect.0 (50746) This object will not be created in future versions. Please report this to the developer.
                                    2022-03-13 16:42:53.102  - warn: uv-protect.0 (50746) Object uv-protect.0.uv_alert is invalid: Default value has to be type "boolean" but received type "string"
                                    2022-03-13 16:42:53.102  - warn: uv-protect.0 (50746) This object will not be created in future versions. Please report this to the developer.
                                    2022-03-13 16:42:53.110  - warn: uv-protect.0 (50746) Object uv-protect.0.uv_warn is invalid: Default value has to be type "boolean" but received type "string"
                                    2022-03-13 16:42:53.110  - warn: uv-protect.0 (50746) This object will not be created in future versions. Please report this to the developer.
                                    2022-03-13 16:42:53.119  - info: uv-protect.0 (50746) starting. Version 0.3.4 in /opt/iobroker/node_modules/iobroker.uv-protect, node: v16.14.0, js-controller: 4.0.19```
                                    simatecS Offline
                                    simatecS Offline
                                    simatec
                                    Developer Most Active
                                    wrote on last edited by
                                    #20

                                    @ps1304
                                    Das sind nur Warnungen… Fixe ich in der nächsten Version

                                    • Besuche meine Github Seite
                                    • Beitrag hat geholfen oder willst du mich unterstützen
                                    • HowTo Restore ioBroker
                                    P Z 2 Replies Last reply
                                    0
                                    • simatecS simatec

                                      @ps1304
                                      Das sind nur Warnungen… Fixe ich in der nächsten Version

                                      P Offline
                                      P Offline
                                      ps1304
                                      wrote on last edited by
                                      #21

                                      @simatec danke dir für die schnelle antwort und deinen adapter

                                      1 Reply Last reply
                                      0
                                      • simatecS simatec

                                        @ps1304
                                        Das sind nur Warnungen… Fixe ich in der nächsten Version

                                        Z Offline
                                        Z Offline
                                        zolpetol
                                        wrote on last edited by zolpetol
                                        #22

                                        @simatec
                                        Bei mir leider auch nur aktuelle Daten direkt nach dem Starten des Adapter, danach folgende Meldungen und keine Aktualisierung mehr:

                                        2022-03-26 15_21_10-logs - iobroker.jpg

                                        APi-Key ist eingetragen

                                        16:43h: zur Zeit funktioniert die Aktualisierung
                                        19:19h. wieder vorbei Code 403 oder auch Code 500

                                        simatecS 2 Replies Last reply
                                        0
                                        • Z zolpetol

                                          @simatec
                                          Bei mir leider auch nur aktuelle Daten direkt nach dem Starten des Adapter, danach folgende Meldungen und keine Aktualisierung mehr:

                                          2022-03-26 15_21_10-logs - iobroker.jpg

                                          APi-Key ist eingetragen

                                          16:43h: zur Zeit funktioniert die Aktualisierung
                                          19:19h. wieder vorbei Code 403 oder auch Code 500

                                          simatecS Offline
                                          simatecS Offline
                                          simatec
                                          Developer Most Active
                                          wrote on last edited by
                                          #23

                                          @zolpetol Du hast nur eine gewisse Anzahl an API Abrufen innerhalb von 24 Stunden mit der freien Version.

                                          Du solltest dementsprechend den Zeitintervall nicht so klein setzen

                                          • Besuche meine Github Seite
                                          • Beitrag hat geholfen oder willst du mich unterstützen
                                          • HowTo Restore ioBroker
                                          1 Reply Last reply
                                          0
                                          Reply
                                          • Reply as topic
                                          Log in to reply
                                          • Oldest to Newest
                                          • Newest to Oldest
                                          • Most Votes


                                          Support us

                                          ioBroker
                                          Community Adapters
                                          Donate

                                          845

                                          Online

                                          32.4k

                                          Users

                                          81.5k

                                          Topics

                                          1.3m

                                          Posts
                                          Community
                                          Impressum | Datenschutz-Bestimmungen | Nutzungsbedingungen | Einwilligungseinstellungen
                                          ioBroker Community 2014-2025
                                          logo
                                          • Login

                                          • Don't have an account? Register

                                          • Login or register to search.
                                          • First post
                                            Last post
                                          0
                                          • Home
                                          • Recent
                                          • Tags
                                          • Unread 0
                                          • Categories
                                          • Unreplied
                                          • Popular
                                          • GitHub
                                          • Docu
                                          • Hilfe