NEWS
Test Adapter iobroker.uv-protect 0.3.x
-
@simatec Danke. Oh-man. Da hatte ich ein Brett vorm Kopf. Eigentlich kenne ich diese Möglichkeit den cron einzustellen.
-
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
-
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
-
@johgre
Und wo ist ein Fehler (error)?
Die Instanz steht auf Log-Stufe debug - da kommen dann viele Meldungen. Besser umstellen auf info -
@fredf vorletzte Zeile, im ioBroker log zwar ein warn, aber als response ein HTML Error und somit keine Daten
-
@johgre Code 503 sagt laut suche, dass der Server nicht antwortet. API key eingetragen?
-
@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
-
@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 installiertIst der Fehler bekannt?
Komplettes Log zum Adapterstart:
2022-03-13 15:42:50.792 - [32minfo[39m: host.iobroker-master instance system.adapter.uv-protect.0 started with pid 50746 2022-03-13 16:42:52.812 - [33mwarn[39m: 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 - [33mwarn[39m: 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 - [33mwarn[39m: 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 - [33mwarn[39m: 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 - [33mwarn[39m: 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 - [33mwarn[39m: 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 - [33mwarn[39m: 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 - [33mwarn[39m: 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 - [33mwarn[39m: 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 - [33mwarn[39m: 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 - [33mwarn[39m: 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 - [33mwarn[39m: 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 - [33mwarn[39m: 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 - [33mwarn[39m: 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 - [33mwarn[39m: 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 - [33mwarn[39m: 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 - [33mwarn[39m: 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 - [33mwarn[39m: 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 - [33mwarn[39m: 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 - [33mwarn[39m: 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 - [33mwarn[39m: 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 - [33mwarn[39m: 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 - [33mwarn[39m: 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 - [33mwarn[39m: 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 - [33mwarn[39m: 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 - [33mwarn[39m: 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 - [32minfo[39m: 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```
-
@ps1304
Das sind nur Warnungen… Fixe ich in der nächsten Version -
@simatec danke dir für die schnelle antwort und deinen adapter
-
@simatec
Bei mir leider auch nur aktuelle Daten direkt nach dem Starten des Adapter, danach folgende Meldungen und keine Aktualisierung mehr:APi-Key ist eingetragen
16:43h: zur Zeit funktioniert die Aktualisierung
19:19h. wieder vorbei Code 403 oder auch Code 500 -
@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
-
@zolpetol Zitat auf der Page von OpenUV:
Need more than 50 daily requests? Check our Extended Plan for just $15 USD/month. Payments and billing processed by Stripe.
-
-
@zolpetol Dann sollte es nun funktionieren ...
-
@zolpetol sagte in Test Adapter iobroker.uv-protect 0.3.x:
@simatec
Bei mir leider auch nur aktuelle Daten direkt nach dem Starten des Adapter, danach folgende Meldungen und keine Aktualisierung mehr:APi-Key ist eingetragen
16:43h: zur Zeit funktioniert die Aktualisierung
19:19h. wieder vorbei Code 403 oder auch Code 500Hast du das Problem schon lösen können? Auch bei mir immer wieder ein 403 trotz neuem Key. Werd den Adapter wohl wieder deaktivieren
-
-
@simatec Default-Einstellung des Adapters
-
@johgre Dann ist die API sicher gerade nicht erreichbar ... Was aber nicht am Adapter liegt.
Es ist ja auch nur eine reine Warnung und nix böses -
Vielen Dank für den Adapter!!!
Hatte mit dem open-uv Adapter mehr und mehr Probleme (ständige Abstürze). Und meine Rollladen Steuerung zur Beschattung basiert auf dem berechneten lokalen UVI Wert.
Jetzt klappt das wieder Super!
viele Grüße