NEWS
Test PV Forecast Adapter
-
@diginix Hmm, hätte ich kein Problem mit, müsste aber für diverse Skripte wissen, wo die Reise mittelfristig hingeht
-
@oxident ich passe es heute abend alles an und mache es in der config auswählbar ob kw oder watt
-
Super Sache dein Adapter! Danke.
Glaube da hat sich weiterhin ein Dreher in der 0.2.3 versteckt:Die Anlagenleistung im Reiter PV-Systems muss ich bei mir in Watt eintragen, dann passen die Stündlichen Werte und auch der Haken "values in watt instead of kw" funktioniert dann korrekt.
Dann ist aber die "power_day_kWh" um einen tausender zu hoch.
Bei Eintrag der Anlagenleistung im Reiter PV-Systems in KW stimmt die Tagesleistung, dann sind aber die Stundenwerte um den Faktor 1000 zu klein.
-
@Meistertr
Wäre auch cool wenn der Adapter mal ins latest käme, bekomme von den Updates gar nichts mit wenn ich nicht regelmäßig bei Git vorbei schaue. Hab mir jetzt mal ein Watch gesetzt.@joe-m Bei mir passen mMn alle Werte inkl Einheit wenn ich Watt im Adapter einstelle.
Achso die stündlichen sind dann in kW obwohl Watt eingestellt ist und auch als Einheit genommen wird.
In der JSONTable passt es aber und die verwende ich.
-
@diginix hallo, bin dabei, da ich allerdings viele Gesundheitliche Probleme habe ist es für mich momentan gar nicht einfach. Versuche aber mein bestes.
-
@patrickwalther Kein Stress und gute Besserung!
Mit 0.2.3 und Einstellung "Watt" ist für mich vorerst alles ok in den Objekten, mit denen ich arbeite. -
seit heute morgen gibt es die 0.2.4 in der kann man nun auch die Vorhersagen von solcast nutzen. vorteil hier: der api key ist kostenlos und man bekommt eine Auflösung von 30min. Meines erachtens sind die Vorhersagen auch noch etwas genauer als die von forecast.solar
-
@meistertr
hab ich gleich mal ausprobiert, erhalte aber einen Fehler, anbei log dazu:2022-02-26 10:00:24.276 - info: host.Pi4-Server "system.adapter.pvforecast.0" enabled 2022-02-26 10:00:24.843 - info: host.Pi4-Server instance system.adapter.pvforecast.0 started with pid 2426 2022-02-26 10:00:27.355 - info: pvforecast.0 (2426) starting. Version 0.2.4 in /opt/iobroker/node_modules/iobroker.pvforecast, node: v14.19.0, js-controller: 3.3.22 2022-02-26 10:00:27.403 - info: pvforecast.0 (2426) Create States for weather 2022-02-26 10:00:27.605 - info: pvforecast.0 (2426) Create States for: Sued 2022-02-26 10:00:27.606 - info: pvforecast.0 (2426) Create States for: West 2022-02-26 10:00:27.715 - info: pvforecast.0 (2426) getPv 2022-02-26 10:00:27.716 - info: pvforecast.0 (2426) apikey: true 2022-02-26 10:00:27.717 - info: pvforecast.0 (2426) url for plant Sued : https://api.solcast.com.au/world_pv_power/forecasts?format=json&hours=48&loss_factor=1&latitude=4x.xxx&longitude=1x.xxx&tilt=7&azimuth=-177&capacity=9&api_key=blablabla 2022-02-26 10:00:27.792 - info: pvforecast.0 (2426) url for plant West : https://api.solcast.com.au/world_pv_power/forecasts?format=json&hours=48&loss_factor=1&latitude=4x.xxx&longitude=1x.xxx&tilt=7&azimuth=93&capacity=3&api_key=blablabla 2022-02-26 10:00:28.447 - info: pvforecast.0 (2426) Recive data for Sued: {"forecasts":[{"period_end":"2022-02-26T09:30:00.0000000Z","period":"PT30M","pv_estimate":1.815},{"period_end":"2022-02-26T10:00:00.0000000Z","period":"PT30M","pv_estimate":2.387},{"period_end":"2022-02-26T10:30:00.0000000Z","period":"PT30M","pv_estimate":2.885},{"period_end":"2022-02-26T11:00:00.0000000Z","period":"PT30M","pv_estimate":3.044},{"period_end":"2022-02-26T11:30:00.0000000Z","period":"PT30M","pv_estimate":2.651},{"period_end":"2022-02-26T12:00:00.0000000Z","period":"PT30M","pv_estimate":2.23},{"period_end":"2022-02-26T12:30:00.0000000Z","period":"PT30M","pv_estimate":2.054},{"period_end":"2022-02-26T13:00:00.0000000Z","period":"PT30M","pv_estimate":1.936},{"period_end":"2022-02-26T13:30:00.0000000Z","period":"PT30M","pv_estimate":1.725},{"period_end":"2022-02-26T14:00:00.0000000Z","period":"PT30M","pv_estimate":1.427},{"period_end":"2022-02-26T14:30:00.0000000Z","period":"PT30M","pv_estimate":1.108},{"period_end":"2022-02-26T15:00:00.0000000Z","period":"PT30M","pv_estimate":0.866},{"period_end":"2022-02-26T15:30:00.0000000Z","period":"PT30M","pv_estimate":0.589},{"period_end":"2022-02-26T16:00:00.0000000Z","period":"PT30M","pv_estimate":0.263},{"period_end":"2022-02-26T16:30:00.0000000Z","period":"PT30M","pv_estimate":0.088},{"period_end":"2022-02-26T17:00:00.0000000Z","period":"PT30M","pv_estimate":0},{"period_end":"2022-02-26T17:30:00.0000000Z","period":"PT30M","pv_estimate":0},{"period_end":"2022-02-26T18:00:00.0000000Z","period":"PT30M","pv_estimate":0},{"period_end":"2022-02-26T18:30:00.0000000Z","period":"PT30M","pv_estimate":0},{"period_end":"2022-02-26T19:00:00.0000000Z","period":"PT30M","pv_estimate":0},{"period_end":"2022-02-26T19:30:00.0000000Z","period":"PT30M","pv_estimate":0},{"period_end":"2022-02-26T20:00:00.0000000Z","period":"PT30M","pv_estimate":0},{"period_end":"2022-02-26T20:30:00.0000000Z","period":"PT30M","pv_estimate":0},{"period_end":"2022-02-26T21:00:00.0000000Z","period":"PT30M","pv_estimate":0},{"period_end":"2022-02-26T21:30:00.0000000Z","period":"PT30M","pv_estimate":0},{"period_end":"2022-02-26T22:00:00.0000000Z","period":"PT30M","pv_estimate":0},{"period_end":"2022-02-26T22:30:00.0000000Z","period":"PT30M","pv_estimate":0},{"period_end":"2022-02-26T23:00:00.0000000Z","period":"PT30M","pv_estimate":0},{"period_end":"2022-02-26T23:30:00.0000000Z","period":"PT30M","pv_estimate":0},{"period_end":"2022-02-27T00:00:00.0000000Z","period":"PT30M","pv_estimate":0},{"period_end":"2022-02-27T00:30:00.0000000Z","period":"PT30M","pv_estimate":0},{"period_end":"2022-02-27T01:00:00.0000000Z","period":"PT30M","pv_estimate":0},{"period_end":"2022-02-27T01:30:00.0000000Z","period":"PT30M","pv_estimate":0},{"period_end":"2022-02-27T02:00:00.0000000Z","period":"PT30M","pv_estimate":0},{"period_end":"2022-02-27T02:30:00.0000000Z","period":"PT30M","pv_estimate":0},{"period_end":"2022-02-27T03:00:00.0000000Z","period":"PT30M","pv_estimate":0},{"period_end":"2022-02-27T03:30:00.0000000Z","period":"PT30M","pv_estimate":0},{"period_end":"2022-02-27T04:00:00.0000000Z","period":"PT30M","pv_estimate":0},{"period_end":"2022-02-27T04:30:00.0000000Z","period":"PT30M","pv_estimate":0},{"period_end":"2022-02-27T05:00:00.0000000Z","period":"PT30M","pv_estimate":0},{"period_end":"2022-02-27T05:30:00.0000000Z","period":"PT30M","pv_estimate":0},{"period_end":"2022-02-27T06:00:00.0000000Z","period":"PT30M","pv_estimate":0},{"period_end":"2022-02-27T06:30:00.0000000Z","period":"PT30M","pv_estimate":0.081},{"period_end":"2022-02-27T07:00:00.0000000Z","period":"PT30M","pv_estimate":0.268},{"period_end":"2022-02-27T07:30:00.0000000Z","period":"PT30M","pv_estimate":0.812},{"period_end":"2022-02-27T08:00:00.0000000Z","period":"PT30M","pv_estimate":1.833},{"period_end":"2022-02-27T08:30:00.0000000Z","period":"PT30M","pv_estimate":2.848},{"period_end":"2022-02-27T09:00:00.0000000Z","period":"PT30M","pv_estimate":3.453},{"period_end":"2022-02-27T09:30:00.0000000Z","period":"PT30M","pv_estimate":4.046},{"period_end":"2022-02-27T10:00:00.0000000Z","period":"PT30M","pv_estimate":4.505},{"period_end":"2022-02-27T10:30:00.0000000Z","period":"PT30M","pv_estimate":4.916},{"period_end":"2022-02-27T11:00:00.0000000Z","period":"PT30M","pv_estimate":5.119},{"period_end":"2022-02-27T11:30:00.0000000Z","period":"PT30M","pv_estimate":5.191},{"period_end":"2022-02-27T12:00:00.0000000Z","period":"PT30M","pv_estimate":5.118},{"period_end":"2022-02-27T12:30:00.0000000Z","period":"PT30M","pv_estimate":4.993},{"period_end":"2022-02-27T13:00:00.0000000Z","period":"PT30M","pv_estimate":4.694},{"period_end":"2022-02-27T13:30:00.0000000Z","period":"PT30M","pv_estimate":4.3},{"period_end":"2022-02-27T14:00:00.0000000Z","period":"PT30M","pv_estimate":3.771},{"period_end":"2022-02-27T14:30:00.0000000Z","period":"PT30M","pv_estimate":3.145},{"period_end":"2022-02-27T15:00:00.0000000Z","period":"PT30M","pv_estimate":2.443},{"period_end":"2022-02-27T15:30:00.0000000Z","period":"PT30M","pv_estimate":1.698},{"period_end":"2022-02-27T16:00:00.0000000Z","period":"PT30M","pv_estimate":0.878},{"period_end":"2022-02-27T16:30:00.0000000Z","period":"PT30M","pv_estimate":0.178},{"period_end":"2022-02-27T17:00:00.0000000Z","period":"PT30M","pv_estimate":0},{"period_end":"2022-02-27T17:30:00.0000000Z","period":"PT30M","pv_estimate":0},{"period_end":"2022-02-27T18:00:00.0000000Z","period":"PT30M","pv_estimate":0},{"period_end":"2022-02-27T18:30:00.0000000Z","period":"PT30M","pv_estimate":0},{"period_end":"2022-02-27T19:00:00.0000000Z","period":"PT30M","pv_estimate":0},{"period_end":"2022-02-27T19:30:00.0000000Z","period":"PT30M","pv_estimate":0},{"period_end":"2022-02-27T20:00:00.0000000Z","period":"PT30M","pv_estimate":0},{"period_end":"2022-02-27T20:30:00.0000000Z","period":"PT30M","pv_estimate":0},{"period_end":"2022-02-27T21:00:00.0000000Z","period":"PT30M","pv_estimate":0},{"period_end":"2022-02-27T21:30:00.0000000Z","period":"PT30M","pv_estimate":0},{"period_end":"2022-02-27T22:00:00.0000000Z","period":"PT30M","pv_estimate":0},{"period_end":"2022-02-27T22:30:00.0000000Z","period":"PT30M","pv_estimate":0},{"period_end":"2022-02-27T23:00:00.0000000Z","period":"PT30M","pv_estimate":0},{"period_end":"2022-02-27T23:30:00.0000000Z","period":"PT30M","pv_estimate":0},{"period_end":"2022-02-28T00:00:00.0000000Z","period":"PT30M","pv_estimate":0},{"period_end":"2022-02-28T00:30:00.0000000Z","period":"PT30M","pv_estimate":0},{"period_end":"2022-02-28T01:00:00.0000000Z","period":"PT30M","pv_estimate":0},{"period_end":"2022-02-28T01:30:00.0000000Z","period":"PT30M","pv_estimate":0},{"period_end":"2022-02-28T02:00:00.0000000Z","period":"PT30M","pv_estimate":0},{"period_end":"2022-02-28T02:30:00.0000000Z","period":"PT30M","pv_estimate":0},{"period_end":"2022-02-28T03:00:00.0000000Z","period":"PT30M","pv_estimate":0},{"period_end":"2022-02-28T03:30:00.0000000Z","period":"PT30M","pv_estimate":0},{"period_end":"2022-02-28T04:00:00.0000000Z","period":"PT30M","pv_estimate":0},{"period_end":"2022-02-28T04:30:00.0000000Z","period":"PT30M","pv_estimate":0},{"period_end":"2022-02-28T05:00:00.0000000Z","period":"PT30M","pv_estimate":0},{"period_end":"2022-02-28T05:30:00.0000000Z","period":"PT30M","pv_estimate":0},{"period_end":"2022-02-28T06:00:00.0000000Z","period":"PT30M","pv_estimate":0},{"period_end":"2022-02-28T06:30:00.0000000Z","period":"PT30M","pv_estimate":0.189},{"period_end":"2022-02-28T07:00:00.0000000Z","period":"PT30M","pv_estimate":0.842},{"period_end":"2022-02-28T07:30:00.0000000Z","period":"PT30M","pv_estimate":1.626},{"period_end":"2022-02-28T08:00:00.0000000Z","period":"PT30M","pv_estimate":2.448},{"period_end":"2022-02-28T08:30:00.0000000Z","period":"PT30M","pv_estimate":3.138},{"period_end":"2022-02-28T09:00:00.0000000Z","period":"PT30M","pv_estimate":3.745}]} 2022-02-26 10:00:28.908 - info: pvforecast.0 (2426) Recive data for West: {"forecasts":[{"period_end":"2022-02-26T09:30:00.0000000Z","period":"PT30M","pv_estimate":0.59},{"period_end":"2022-02-26T10:00:00.0000000Z","period":"PT30M","pv_estimate":0.757},{"period_end":"2022-02-26T10:30:00.0000000Z","period":"PT30M","pv_estimate":0.915},{"period_end":"2022-02-26T11:00:00.0000000Z","period":"PT30M","pv_estimate":0.97},{"period_end":"2022-02-26T11:30:00.0000000Z","period":"PT30M","pv_estimate":0.864},{"period_end":"2022-02-26T12:00:00.0000000Z","period":"PT30M","pv_estimate":0.735},{"period_end":"2022-02-26T12:30:00.0000000Z","period":"PT30M","pv_estimate":0.68},{"period_end":"2022-02-26T13:00:00.0000000Z","period":"PT30M","pv_estimate":0.641},{"period_end":"2022-02-26T13:30:00.0000000Z","period":"PT30M","pv_estimate":0.573},{"period_end":"2022-02-26T14:00:00.0000000Z","period":"PT30M","pv_estimate":0.476},{"period_end":"2022-02-26T14:30:00.0000000Z","period":"PT30M","pv_estimate":0.37},{"period_end":"2022-02-26T15:00:00.0000000Z","period":"PT30M","pv_estimate":0.291},{"period_end":"2022-02-26T15:30:00.0000000Z","period":"PT30M","pv_estimate":0.201},{"period_end":"2022-02-26T16:00:00.0000000Z","period":"PT30M","pv_estimate":0.09},{"period_end":"2022-02-26T16:30:00.0000000Z","period":"PT30M","pv_estimate":0.032},{"period_end":"2022-02-26T17:00:00.0000000Z","period":"PT30M","pv_estimate":0},{"period_end":"2022-02-26T17:30:00.0000000Z","period":"PT30M","pv_estimate":0},{"period_end":"2022-02-26T18:00:00.0000000Z","period":"PT30M","pv_estimate":0},{"period_end":"2022-02-26T18:30:00.0000000Z","period":"PT30M","pv_estimate":0},{"period_end":"2022-02-26T19:00:00.0000000Z","period":"PT30M","pv_estimate":0},{"period_end":"2022-02-26T19:30:00.0000000Z","period":"PT30M","pv_estimate":0},{"period_end":"2022-02-26T20:00:00.0000000Z","period":"PT30M","pv_estimate":0},{"period_end":"2022-02-26T20:30:00.0000000Z","period":"PT30M","pv_estimate":0},{"period_end":"2022-02-26T21:00:00.0000000Z","period":"PT30M","pv_estimate":0},{"period_end":"2022-02-26T21:30:00.0000000Z","period":"PT30M","pv_estimate":0},{"period_end":"2022-02-26T22:00:00.0000000Z","period":"PT30M","pv_estimate":0},{"period_end":"2022-02-26T22:30:00.0000000Z","period":"PT30M","pv_estimate":0},{"period_end":"2022-02-26T23:00:00.0000000Z","period":"PT30M","pv_estimate":0},{"period_end":"2022-02-26T23:30:00.0000000Z","period":"PT30M","pv_estimate":0},{"period_end":"2022-02-27T00:00:00.0000000Z","period":"PT30M","pv_estimate":0},{"period_end":"2022-02-27T00:30:00.0000000Z","period":"PT30M","pv_estimate":0},{"period_end":"2022-02-27T01:00:00.0000000Z","period":"PT30M","pv_estimate":0},{"period_end":"2022-02-27T01:30:00.0000000Z","period":"PT30M","pv_estimate":0},{"period_end":"2022-02-27T02:00:00.0000000Z","period":"PT30M","pv_estimate":0},{"period_end":"2022-02-27T02:30:00.0000000Z","period":"PT30M","pv_estimate":0},{"period_end":"2022-02-27T03:00:00.0000000Z","period":"PT30M","pv_estimate":0},{"period_end":"2022-02-27T03:30:00.0000000Z","period":"PT30M","pv_estimate":0},{"period_end":"2022-02-27T04:00:00.0000000Z","period":"PT30M","pv_estimate":0},{"period_end":"2022-02-27T04:30:00.0000000Z","period":"PT30M","pv_estimate":0},{"period_end":"2022-02-27T05:00:00.0000000Z","period":"PT30M","pv_estimate":0},{"period_end":"2022-02-27T05:30:00.0000000Z","period":"PT30M","pv_estimate":0},{"period_end":"2022-02-27T06:00:00.0000000Z","period":"PT30M","pv_estimate":0},{"period_end":"2022-02-27T06:30:00.0000000Z","period":"PT30M","pv_estimate":0.023},{"period_end":"2022-02-27T07:00:00.0000000Z","period":"PT30M","pv_estimate":0.084},{"period_end":"2022-02-27T07:30:00.0000000Z","period":"PT30M","pv_estimate":0.24},{"period_end":"2022-02-27T08:00:00.0000000Z","period":"PT30M","pv_estimate":0.484},{"period_end":"2022-02-27T08:30:00.0000000Z","period":"PT30M","pv_estimate":0.675},{"period_end":"2022-02-27T09:00:00.0000000Z","period":"PT30M","pv_estimate":0.869},{"period_end":"2022-02-27T09:30:00.0000000Z","period":"PT30M","pv_estimate":1.045},{"period_end":"2022-02-27T10:00:00.0000000Z","period":"PT30M","pv_estimate":1.211},{"period_end":"2022-02-27T10:30:00.0000000Z","period":"PT30M","pv_estimate":1.34},{"period_end":"2022-02-27T11:00:00.0000000Z","period":"PT30M","pv_estimate":1.449},{"period_end":"2022-02-27T11:30:00.0000000Z","period":"PT30M","pv_estimate":1.504},{"period_end":"2022-02-27T12:00:00.0000000Z","period":"PT30M","pv_estimate":1.525},{"period_end":"2022-02-27T12:30:00.0000000Z","period":"PT30M","pv_estimate":1.514},{"period_end":"2022-02-27T13:00:00.0000000Z","period":"PT30M","pv_estimate":1.469},{"period_end":"2022-02-27T13:30:00.0000000Z","period":"PT30M","pv_estimate":1.383},{"period_end":"2022-02-27T14:00:00.0000000Z","period":"PT30M","pv_estimate":1.251},{"period_end":"2022-02-27T14:30:00.0000000Z","period":"PT30M","pv_estimate":1.084},{"period_end":"2022-02-27T15:00:00.0000000Z","period":"PT30M","pv_estimate":0.887},{"period_end":"2022-02-27T15:30:00.0000000Z","period":"PT30M","pv_estimate":0.671},{"period_end":"2022-02-27T16:00:00.0000000Z","period":"PT30M","pv_estimate":0.385},{"period_end":"2022-02-27T16:30:00.0000000Z","period":"PT30M","pv_estimate":0.088},{"period_end":"2022-02-27T17:00:00.0000000Z","period":"PT30M","pv_estimate":0},{"period_end":"2022-02-27T17:30:00.0000000Z","period":"PT30M","pv_estimate":0},{"period_end":"2022-02-27T18:00:00.0000000Z","period":"PT30M","pv_estimate":0},{"period_end":"2022-02-27T18:30:00.0000000Z","period":"PT30M","pv_estimate":0},{"period_end":"2022-02-27T19:00:00.0000000Z","period":"PT30M","pv_estimate":0},{"period_end":"2022-02-27T19:30:00.0000000Z","period":"PT30M","pv_estimate":0},{"period_end":"2022-02-27T20:00:00.0000000Z","period":"PT30M","pv_estimate":0},{"period_end":"2022-02-27T20:30:00.0000000Z","period":"PT30M","pv_estimate":0},{"period_end":"2022-02-27T21:00:00.0000000Z","period":"PT30M","pv_estimate":0},{"period_end":"2022-02-27T21:30:00.0000000Z","period":"PT30M","pv_estimate":0},{"period_end":"2022-02-27T22:00:00.0000000Z","period":"PT30M","pv_estimate":0},{"period_end":"2022-02-27T22:30:00.0000000Z","period":"PT30M","pv_estimate":0},{"period_end":"2022-02-27T23:00:00.0000000Z","period":"PT30M","pv_estimate":0},{"period_end":"2022-02-27T23:30:00.0000000Z","period":"PT30M","pv_estimate":0},{"period_end":"2022-02-28T00:00:00.0000000Z","period":"PT30M","pv_estimate":0},{"period_end":"2022-02-28T00:30:00.0000000Z","period":"PT30M","pv_estimate":0},{"period_end":"2022-02-28T01:00:00.0000000Z","period":"PT30M","pv_estimate":0},{"period_end":"2022-02-28T01:30:00.0000000Z","period":"PT30M","pv_estimate":0},{"period_end":"2022-02-28T02:00:00.0000000Z","period":"PT30M","pv_estimate":0},{"period_end":"2022-02-28T02:30:00.0000000Z","period":"PT30M","pv_estimate":0},{"period_end":"2022-02-28T03:00:00.0000000Z","period":"PT30M","pv_estimate":0},{"period_end":"2022-02-28T03:30:00.0000000Z","period":"PT30M","pv_estimate":0},{"period_end":"2022-02-28T04:00:00.0000000Z","period":"PT30M","pv_estimate":0},{"period_end":"2022-02-28T04:30:00.0000000Z","period":"PT30M","pv_estimate":0},{"period_end":"2022-02-28T05:00:00.0000000Z","period":"PT30M","pv_estimate":0},{"period_end":"2022-02-28T05:30:00.0000000Z","period":"PT30M","pv_estimate":0},{"period_end":"2022-02-28T06:00:00.0000000Z","period":"PT30M","pv_estimate":0},{"period_end":"2022-02-28T06:30:00.0000000Z","period":"PT30M","pv_estimate":0.038},{"period_end":"2022-02-28T07:00:00.0000000Z","period":"PT30M","pv_estimate":0.122},{"period_end":"2022-02-28T07:30:00.0000000Z","period":"PT30M","pv_estimate":0.326},{"period_end":"2022-02-28T08:00:00.0000000Z","period":"PT30M","pv_estimate":0.522},{"period_end":"2022-02-28T08:30:00.0000000Z","period":"PT30M","pv_estimate":0.728},{"period_end":"2022-02-28T09:00:00.0000000Z","period":"PT30M","pv_estimate":0.907}]} 2022-02-26 10:00:30.894 - error: pvforecast.0 (2426) Axios Error Error: Request failed with status code 404
-
@meistertr Bekomme mit 0.2.4 sowohl mit forecast als auch mit solcast auch pro Abruf diesen Fehler
pvforecast.0 2022-02-26 13:25:46.593 error Axios Error Error: Request failed with status code 404
Außerdem ruft er auch trotz 30min Einstellung nur alle 60min die solcast Werte ab.
-
Hallo Zusammen:
Habe jetzt mal den 0.1.9 runter geschmissen und 0.2.2 von der Katze installiert.
Anscheinend ist das Thema SQL erst mal aus dem Adapter raus geflogen!
Kann da jemand etwas zu sagen?Im VIS habe ich eine Tabelle und den Graph eingefügt und funktioniert.
In Grafana bekomme ich das immer noch nicht gebacken den json graph anzubinden. Hat hier jemand ein Lösung wie das funktionieren kann?
-
@sonnenschein
Hallo, wie installiere ich den adapter? Ich installiere ihn von github, allerdings finde ich dan unter instanzen keinen Adapter mit dem Namen PVforcast -
ich erholte folgende Meldung:
$ iobroker url https://github.com/Patrick-Walther/ioBroker.pvforecast.git --host buanet-iobroker1 install Patrick-Walther/ioBroker.pvforecast#9a0b6b1992252dd7c48b266d0e46ee3f8745d2c2 NPM version: 6.14.16npm install Patrick-Walther/ioBroker.pvforecast#9a0b6b1992252dd7c48b266d0e46ee3f8745d2c2 --loglevel error --prefix "/opt/iobroker" (System call) upload [4] pvforecast.admin /opt/iobroker/node_modules/iobroker.pvforecast/admin/words.js words.js application/javascript upload [3] pvforecast.admin /opt/iobroker/node_modules/iobroker.pvforecast/admin/style.css style.css text/css upload [2] pvforecast.admin /opt/iobroker/node_modules/iobroker.pvforecast/admin/pvforecast.png pvforecast.png image/png upload [1] pvforecast.admin /opt/iobroker/node_modules/iobroker.pvforecast/admin/jsonConfig.json jsonConfig.json application/json upload [0] pvforecast.admin /opt/iobroker/node_modules/iobroker.pvforecast/admin/index_m.html index_m.html text/html Adapter "system.adapter.vis.0" restarted. Process exited with code 0
-
@mcbirne
Einfach bei den Adaptern auf die Katze und dann habe ich benutzerdefiniert gewählt.
Da diesen link eingetragen
https://github.com/Patrick-Walther/ioBroker.pvforecast
Danach war der Adapter im Iobroker verfügbar.
Dann einfach Instanz hinzugefügt! -
@sonnenschein
Jetzt klappt es. keine Ahnung, warum es vorhin nicht ging. Danke! -
Irgendetwas scheint nicht zu passen oder ich habe es falsch verstanden.
Ich habe mir einen API Key für solcast erstellt. Dann habe ich den Längen und Breitengrad eingegeben. (Diese Werte bringen mich bei Google MAPS zu meiner Adresse). Anschließend habe ich unter PV System mein Azimut und meine Neigung eingetragen. Anschließend erscheinen auch für morgen Werte. Allerdings soll die Anlege schon um 7:30 Uhr schon 1,7 KW produzieren und ab 10 Uhr deutlich weniger. Ich habe eine Anlage mit 7,5 KWp und einer SW Ausrichtung (Azimut 225°) und einer Neigung von 45°. Eigentlich sollte sie ab 10 Uhr so langsam steigende Werte haben und keine fallenden Werte.
Was habe ich falsch gemacht? -
@mcbirne Fehler gefunden. Bei Azimut muss ich 45 einstellen. Das sollte man vielleicht anpassen. Ich habe meinen Azimut gegoogelt und kam auf 225 für SW, da 0 Norden ist. Hier ist 0 aber Süden.
Egal, jetzt klappt es. -
@mcbirne der azimuth wird von allen apis willkürlich festgelegt. deswegen einfach in die readme schauen, da stehts
-
@meistertr D.h. wenn ich solcast nutze und dort Süden 180 bzw -180° ist, dann muss ich das in der Instanz nun so einstellen?
Der URL Parameter der solcast API URL, die der Adapter abruft, stimmt aber mit -180° obwohl 0° in der Instanz eingestellt sind. Weil bei forecast Süden ja 0° sind. Wenn ich nun in der Instanz die für solcast richtigen 180° eintrage, wird das doch bestimmt vom Adapter umgerechnet und stimmt dann nicht mehr oder?Hast du schon eine Idee zu der Fehlermeldung und dem nur alle 60min Abruf selbst wenn 30min eingestellt sind? Sollen dazu Issues aufgemacht werden?
-
@meistertr
Ja, mit der readme kommt man drauf. Aber ich glaube, dass es einen fast Standard gibt https://de.wikipedia.org/wiki/Azimut
Vielleicht kann man es in der App umrechnen und den fast Standard verwenden. -
Bei mir wurde der Adapter nun vom Host dauerhaft beendet weil er mit diesem Fehler in einem Restart Loop ging:
2022-02-26 23:28:58.323 - error: pvforecast.0 (1470319) Axios Error TypeError: Cannot read property 'find' of undefined 2022-02-26 23:28:58.325 - error: pvforecast.0 (1470319) Unhandled promise rejection. This error originated either by throwing inside of an async function without a catch block, or by rejecting a promise which was not handled with .catch(). 2022-02-26 23:28:58.326 - error: pvforecast.0 (1470319) unhandled promise rejection: Cannot read property 'find' of undefined 2022-02-26 23:28:58.326 - error: pvforecast.0 (1470319) TypeError: Cannot read property 'find' of undefined at Pvforecast.fillEveryHourRestEmpty (/opt/iobroker/node_modules/iobroker.pvforecast/main.js:451:42) at /opt/iobroker/node_modules/iobroker.pvforecast/main.js:357:43 at async asyncForEach (/opt/iobroker/node_modules/iobroker.pvforecast/main.js:922:3) at async /opt/iobroker/node_modules/iobroker.pvforecast/main.js:298:5 at async Pvforecast.getPv (/opt/iobroker/node_modules/iobroker.pvforecast/main.js:295:3) at async Pvforecast.getAllDataIntervall (/opt/iobroker/node_modules/iobroker.pvforecast/main.js:125:3) 2022-02-26 23:28:58.326 - error: pvforecast.0 (1470319) Cannot read property 'find' of undefined 2022-02-26 23:28:58.329 - warn: pvforecast.0 (1470319) Terminated (UNCAUGHT_EXCEPTION): Without reason 2022-02-26 23:28:58.927 - error: host.iobroker instance system.adapter.pvforecast.0 terminated with code 6 (UNCAUGHT_EXCEPTION) ... 2022-02-26 23:30:06.252 - warn: host.iobroker Do not restart adapter system.adapter.pvforecast.0 because restart loop detected