PVdiary - logging voor SMA omvormers nu beschikbaar

Kijk hier voor datalog programma's en handleidingen.
Plaats reactie
Gebruikersavatar
sg_sc
Lid Zonstraal vzw.
Lid Zonstraal vzw.
Berichten: 93
Lid geworden op: 17 mei 2013, 21:03
Installatie Land: België

Re: PVdiary - logging voor SMA omvormers nu beschikbaar

Bericht door sg_sc » 06 okt 2017, 17:38

En niet met WORD de config bewerken!
Gebruik kladblok, of de ingebouwde functie in het PVDiary dashboard.

Gebruikersavatar
valere
lid
Berichten: 29
Lid geworden op: 30 mei 2013, 18:21
Installatie Land: Maak keuze

Re: PVdiary - logging voor SMA omvormers nu beschikbaar

Bericht door valere » 06 okt 2017, 19:25

Dag Thomas,

(Word werd niet gebruikt om de config file te wijzigen. Is enkel gebruikt om te zoeken.)
Ondertussen sunnyexplorer volledig ingevuld en hier ook de
regel sunhome toegevoegd. De export verloopt vlekkeloos, de gegevens worden ingelezen. De nieuwe gegevens verschijnen in het dashbord.
Vanuit het dashbord naar lokaal maar localhost blijft leeg.... op de layout na.

Wat kan er verkeerd gaan?

mvg
Valere
(Ik ben dummie wat PHP betreft: Ik weet niet op dit belang heeft maar de PHP versie die ik geïnstalleerd heb, is zonder PEAR.)

Gebruikersavatar
valere
lid
Berichten: 29
Lid geworden op: 30 mei 2013, 18:21
Installatie Land: Maak keuze

Re: PVdiary - logging voor SMA omvormers nu beschikbaar

Bericht door valere » 06 okt 2017, 20:52

Dag,

In het dos venster van PHP PVdiary 8082 staat op de laatste regel dat er geen pv-info.json aanwezig is:
[Fri Oct 06 20:40:46 2017] ::1:60812 [404]: /www/data/pv-info.json?NoCache=1507315246247 - No such file or directory

Kan dit de reden zijn? Hoe op te lossen...
mvg
Valère

(In de configfile staat over de pv_info:
[pv_info]
longitude = 5.30778
latitude = 50.87611
location = "ALKEN"
contact = "[email protected]"
show_max = 7
refresh = 5
colors = "#8E0000,#FFE6E6,#5C0000,#5C0000,#8E0000,#FFCECE,#6A1B1B"
;EOS

Gebruikersavatar
thomasb
VZW erelid
VZW erelid
Berichten: 786
Lid geworden op: 21 dec 2012, 00:38
Installatie Land: België
Contacteer:

Re: PVdiary - logging voor SMA omvormers nu beschikbaar

Bericht door thomasb » 06 okt 2017, 21:20

Best je emailadres niet op het forum gooien ;-)

Zie je de pv-info.json in de folder C:\pvdiary2\httpd\www\data\ ?
Zo niet, doe eens een export via het dashboard met "info" aangevinkt.

Groeten, Thomas

EDIT: heb je überhaupt al een EXPORT gedaan - dit moet natuurlijk gebeuren om de grafieken te tonen. Vink dan eens voor één keer "all-data" aan. In de toekomst kan dit met "new data".

Gebruikersavatar
valere
lid
Berichten: 29
Lid geworden op: 30 mei 2013, 18:21
Installatie Land: Maak keuze

Re: PVdiary - logging voor SMA omvormers nu beschikbaar

Bericht door valere » 08 okt 2017, 06:08

Dag Thomas,

Bedankt voor raad, info en hulp.
Grafieken en info ok.
Enkel de onderbroken lijn van de verwachte opbrengst op basis van de weerdata verschijnt nog niet ...
vriendelijke groeten
Valère

Gebruikersavatar
thomasb
VZW erelid
VZW erelid
Berichten: 786
Lid geworden op: 21 dec 2012, 00:38
Installatie Land: België
Contacteer:

Re: PVdiary - logging voor SMA omvormers nu beschikbaar

Bericht door thomasb » 08 okt 2017, 16:22

valere schreef:
08 okt 2017, 06:08
Dag Thomas,

Bedankt voor raad, info en hulp.
Grafieken en info ok.
Enkel de onderbroken lijn van de verwachte opbrengst op basis van de weerdata verschijnt nog niet ...
vriendelijke groeten
Valère
Valérie,

Hier kun je een openweather appid aanvragen (neem de gratis versie):
https://openweathermap.org/appid

De key moet je dan in je config ingeven:
openweatherAppID = "HIER_DE_KEY"

Groetjes, Thomas

Gebruikersavatar
valere
lid
Berichten: 29
Lid geworden op: 30 mei 2013, 18:21
Installatie Land: Maak keuze

Re: PVdiary - logging voor SMA omvormers nu beschikbaar

Bericht door valere » 09 okt 2017, 21:14

Dag Thomas,

De weerapp wil het maar niet doen.
Ik krijg volgende boodschap in het dosvenster:
[Mon Oct 09 20:57:00 2017] ::1:52454 [404]: /www/data/weather.json?NoCache=1507575420294 - No such file or directory
In de[web] sectie heb ik op de laatste regel

Volgende stappen gedaan:
openweatherAppID = "59f3*....***876" ingegeven die ik ontvangen heb van OpenWeather ingegeven in de [Web] sectie van config.
-refresh
-Import gedaan
-Export (alles aangevinkt)
-Sync Web all pages
en dan zijn alle grafieken als ik lokaal klik op het Dashbord verdwenen ...

Als ik de verwijzing in [Web] verwijder loopt alles terug normaal.
(PVDiary draait nog steeds lokaal, als dit er al iets mee te maken zou hebben)
Enig idee wat er misloopt?
Dank bij voorbaat.
mvg
Valère

Gebruikersavatar
thomasb
VZW erelid
VZW erelid
Berichten: 786
Lid geworden op: 21 dec 2012, 00:38
Installatie Land: België
Contacteer:

Re: PVdiary - logging voor SMA omvormers nu beschikbaar

Bericht door thomasb » 09 okt 2017, 21:34

Misschien heb je je locatie niet of verkeert (notering met "." en niet met ",") opgegeven in de config?

Met deze link kun je even in een browser testen (maar ga daar je app-id nog toevoegen in het einde:
http://api.openweathermap.org/data/2.5/ ... PP_ID_HIER

Dit zou een json-file moeten downloaden dat je met een text-editor kunt opendoen. Mijn file ziet zo eruit:

Code: Selecteer alles

{"cod":"200","message":0.004,"cnt":40,"list":[{"dt":1507582800,"main":{"temp":12.47,"temp_min":12.23,"temp_max":12.47,"pressure":1028.03,"sea_level":1031.09,"grnd_level":1028.03,"humidity":93,"temp_kf":0.23},"weather":[{"id":500,"main":"Rain","description":"light rain","icon":"10n"}],"clouds":{"all":76},"wind":{"speed":4.02,"deg":217},"rain":{"3h":0.145},"sys":{"pod":"n"},"dt_txt":"2017-10-09 21:00:00"},{"dt":1507593600,"main":{"temp":12.64,"temp_min":12.46,"temp_max":12.64,"pressure":1026.91,"sea_level":1029.97,"grnd_level":1026.91,"humidity":95,"temp_kf":0.17},"weather":[{"id":500,"main":"Rain","description":"light rain","icon":"10n"}],"clouds":{"all":76},"wind":{"speed":4.84,"deg":223.001},"rain":{"3h":0.1475},"sys":{"pod":"n"},"dt_txt":"2017-10-10 00:00:00"},{"dt":1507604400,"main":{"temp":13.28,"temp_min":13.17,"temp_max":13.28,"pressure":1026.01,"sea_level":1029.06,"grnd_level":1026.01,"humidity":97,"temp_kf":0.12},"weather":[{"id":500,"main":"Rain","description":"light rain","icon":"10n"}],"clouds":{"all":76},"wind":{"speed":5.03,"deg":241.001},"rain":{"3h":0.22},"sys":{"pod":"n"},"dt_txt":"2017-10-10 03:00:00"},{"dt":1507615200,"main":{"temp":12.74,"temp_min":12.68,"temp_max":12.74,"pressure":1026,"sea_level":1029.17,"grnd_level":1026,"humidity":96,"temp_kf":0.06},"weather":[{"id":500,"main":"Rain","description":"light rain","icon":"10d"}],"clouds":{"all":36},"wind":{"speed":4.31,"deg":241.501},"rain":{"3h":0.025},"sys":{"pod":"d"},"dt_txt":"2017-10-10 06:00:00"},{"dt":1507626000,"main":{"temp":14.68,"temp_min":14.68,"temp_max":14.68,"pressure":1026.61,"sea_level":1029.72,"grnd_level":1026.61,"humidity":92,"temp_kf":0},"weather":[{"id":500,"main":"Rain","description":"light rain","icon":"10d"}],"clouds":{"all":56},"wind":{"speed":5.19,"deg":242.504},"rain":{"3h":0.09},"sys":{"pod":"d"},"dt_txt":"2017-10-10 09:00:00"},{"dt":1507636800,"main":{"temp":15.1,"temp_min":15.1,"temp_max":15.1,"pressure":1026.76,"sea_level":1029.82,"grnd_level":1026.76,"humidity":94,"temp_kf":0},"weather":[{"id":500,"main":"Rain","description":"light rain","icon":"10d"}],"clouds":{"all":100},"wind":{"speed":5.26,"deg":246.501},"rain":{"3h":0.63},"sys":{"pod":"d"},"dt_txt":"2017-10-10 12:00:00"},{"dt":1507647600,"main":{"temp":15.96,"temp_min":15.96,"temp_max":15.96,"pressure":1026.37,"sea_level":1029.47,"grnd_level":1026.37,"humidity":85,"temp_kf":0},"weather":[{"id":500,"main":"Rain","description":"light rain","icon":"10d"}],"clouds":{"all":76},"wind":{"speed":5.51,"deg":246.004},"rain":{"3h":0.01},"sys":{"pod":"d"},"dt_txt":"2017-10-10 15:00:00"},{"dt":1507658400,"main":{"temp":14.95,"temp_min":14.95,"temp_max":14.95,"pressure":1026.65,"sea_level":1029.74,"grnd_level":1026.65,"humidity":81,"temp_kf":0},"weather":[{"id":803,"main":"Clouds","description":"broken clouds","icon":"04n"}],"clouds":{"all":68},"wind":{"speed":5.29,"deg":234.501},"rain":{},"sys":{"pod":"n"},"dt_txt":"2017-10-10 18:00:00"},{"dt":1507669200,"main":{"temp":14.54,"temp_min":14.54,"temp_max":14.54,"pressure":1027.04,"sea_level":1030.02,"grnd_level":1027.04,"humidity":83,"temp_kf":0},"weather":[{"id":500,"main":"Rain","description":"light rain","icon":"10n"}],"clouds":{"all":80},"wind":{"speed":6.02,"deg":227.002},"rain":{"3h":0.02},"sys":{"pod":"n"},"dt_txt":"2017-10-10 21:00:00"},{"dt":1507680000,"main":{"temp":14.16,"temp_min":14.16,"temp_max":14.16,"pressure":1026.76,"sea_level":1029.82,"grnd_level":1026.76,"humidity":84,"temp_kf":0},"weather":[{"id":500,"main":"Rain","description":"light rain","icon":"10n"}],"clouds":{"all":68},"wind":{"speed":6.96,"deg":227},"rain":{"3h":0.06},"sys":{"pod":"n"},"dt_txt":"2017-10-11 00:00:00"},{"dt":1507690800,"main":{"temp":14.1,"temp_min":14.1,"temp_max":14.1,"pressure":1026.17,"sea_level":1029.27,"grnd_level":1026.17,"humidity":85,"temp_kf":0},"weather":[{"id":500,"main":"Rain","description":"light rain","icon":"10n"}],"clouds":{"all":80},"wind":{"speed":6.46,"deg":230.5},"rain":{"3h":0.075},"sys":{"pod":"n"},"dt_txt":"2017-10-11 03:00:00"},{"dt":1507701600,"main":{"temp":13.5,"temp_min":13.5,"temp_max":13.5,"pressure":1025.86,"sea_level":1028.97,"grnd_level":1025.86,"humidity":86,"temp_kf":0},"weather":[{"id":500,"main":"Rain","description":"light rain","icon":"10n"}],"clouds":{"all":64},"wind":{"speed":6.46,"deg":221.006},"rain":{"3h":0.045},"sys":{"pod":"n"},"dt_txt":"2017-10-11 06:00:00"},{"dt":1507712400,"main":{"temp":14.43,"temp_min":14.43,"temp_max":14.43,"pressure":1026.21,"sea_level":1029.23,"grnd_level":1026.21,"humidity":87,"temp_kf":0},"weather":[{"id":500,"main":"Rain","description":"light rain","icon":"10d"}],"clouds":{"all":32},"wind":{"speed":7.7,"deg":225},"rain":{"3h":0.035},"sys":{"pod":"d"},"dt_txt":"2017-10-11 09:00:00"},{"dt":1507723200,"main":{"temp":16.81,"temp_min":16.81,"temp_max":16.81,"pressure":1025.97,"sea_level":1028.99,"grnd_level":1025.97,"humidity":76,"temp_kf":0},"weather":[{"id":500,"main":"Rain","description":"light rain","icon":"10d"}],"clouds":{"all":36},"wind":{"speed":8.15,"deg":232.505},"rain":{"3h":0.015},"sys":{"pod":"d"},"dt_txt":"2017-10-11 12:00:00"},{"dt":1507734000,"main":{"temp":17.58,"temp_min":17.58,"temp_max":17.58,"pressure":1025.68,"sea_level":1028.76,"grnd_level":1025.68,"humidity":71,"temp_kf":0},"weather":[{"id":803,"main":"Clouds","description":"broken clouds","icon":"04d"}],"clouds":{"all":76},"wind":{"speed":7.71,"deg":241.002},"rain":{},"sys":{"pod":"d"},"dt_txt":"2017-10-11 15:00:00"},{"dt":1507744800,"main":{"temp":16.3,"temp_min":16.3,"temp_max":16.3,"pressure":1026.39,"sea_level":1029.41,"grnd_level":1026.39,"humidity":69,"temp_kf":0},"weather":[{"id":801,"main":"Clouds","description":"few clouds","icon":"02n"}],"clouds":{"all":20},"wind":{"speed":6.66,"deg":237.002},"rain":{},"sys":{"pod":"n"},"dt_txt":"2017-10-11 18:00:00"},{"dt":1507755600,"main":{"temp":14.44,"temp_min":14.44,"temp_max":14.44,"pressure":1027.24,"sea_level":1030.31,"grnd_level":1027.24,"humidity":73,"temp_kf":0},"weather":[{"id":803,"main":"Clouds","description":"broken clouds","icon":"04n"}],"clouds":{"all":76},"wind":{"speed":6.51,"deg":238.501},"rain":{},"sys":{"pod":"n"},"dt_txt":"2017-10-11 21:00:00"},{"dt":1507766400,"main":{"temp":14.12,"temp_min":14.12,"temp_max":14.12,"pressure":1028.07,"sea_level":1031.15,"grnd_level":1028.07,"humidity":80,"temp_kf":0},"weather":[{"id":803,"main":"Clouds","description":"broken clouds","icon":"04n"}],"clouds":{"all":56},"wind":{"speed":6.42,"deg":243.506},"rain":{},"sys":{"pod":"n"},"dt_txt":"2017-10-12 00:00:00"},{"dt":1507777200,"main":{"temp":13.88,"temp_min":13.88,"temp_max":13.88,"pressure":1028.25,"sea_level":1031.36,"grnd_level":1028.25,"humidity":87,"temp_kf":0},"weather":[{"id":500,"main":"Rain","description":"light rain","icon":"10n"}],"clouds":{"all":68},"wind":{"speed":5.46,"deg":243.004},"rain":{"3h":0.055},"sys":{"pod":"n"},"dt_txt":"2017-10-12 03:00:00"},{"dt":1507788000,"main":{"temp":14.27,"temp_min":14.27,"temp_max":14.27,"pressure":1029.63,"sea_level":1032.69,"grnd_level":1029.63,"humidity":92,"temp_kf":0},"weather":[{"id":500,"main":"Rain","description":"light rain","icon":"10n"}],"clouds":{"all":92},"wind":{"speed":4.45,"deg":243},"rain":{"3h":0.21},"sys":{"pod":"n"},"dt_txt":"2017-10-12 06:00:00"},{"dt":1507798800,"main":{"temp":15.45,"temp_min":15.45,"temp_max":15.45,"pressure":1031.49,"sea_level":1034.57,"grnd_level":1031.49,"humidity":97,"temp_kf":0},"weather":[{"id":500,"main":"Rain","description":"light rain","icon":"10d"}],"clouds":{"all":92},"wind":{"speed":4.56,"deg":251.507},"rain":{"3h":0.73},"sys":{"pod":"d"},"dt_txt":"2017-10-12 09:00:00"},{"dt":1507809600,"main":{"temp":16.75,"temp_min":16.75,"temp_max":16.75,"pressure":1032.8,"sea_level":1035.84,"grnd_level":1032.8,"humidity":91,"temp_kf":0},"weather":[{"id":500,"main":"Rain","description":"light rain","icon":"10d"}],"clouds":{"all":44},"wind":{"speed":4.61,"deg":264.502},"rain":{"3h":0.05},"sys":{"pod":"d"},"dt_txt":"2017-10-12 12:00:00"},{"dt":1507820400,"main":{"temp":17.1,"temp_min":17.1,"temp_max":17.1,"pressure":1033.48,"sea_level":1036.5,"grnd_level":1033.48,"humidity":79,"temp_kf":0},"weather":[{"id":500,"main":"Rain","description":"light rain","icon":"10d"}],"clouds":{"all":76},"wind":{"speed":4.56,"deg":265.001},"rain":{"3h":0.04},"sys":{"pod":"d"},"dt_txt":"2017-10-12 15:00:00"},{"dt":1507831200,"main":{"temp":15.99,"temp_min":15.99,"temp_max":15.99,"pressure":1034.36,"sea_level":1037.47,"grnd_level":1034.36,"humidity":75,"temp_kf":0},"weather":[{"id":500,"main":"Rain","description":"light rain","icon":"10n"}],"clouds":{"all":20},"wind":{"speed":3.77,"deg":248.002},"rain":{"3h":0.03},"sys":{"pod":"n"},"dt_txt":"2017-10-12 18:00:00"},{"dt":1507842000,"main":{"temp":12.89,"temp_min":12.89,"temp_max":12.89,"pressure":1035.18,"sea_level":1038.34,"grnd_level":1035.18,"humidity":85,"temp_kf":0},"weather":[{"id":800,"main":"Clear","description":"clear sky","icon":"01n"}],"clouds":{"all":0},"wind":{"speed":4.37,"deg":241},"rain":{},"sys":{"pod":"n"},"dt_txt":"2017-10-12 21:00:00"},{"dt":1507852800,"main":{"temp":11.8,"temp_min":11.8,"temp_max":11.8,"pressure":1035.49,"sea_level":1038.68,"grnd_level":1035.49,"humidity":94,"temp_kf":0},"weather":[{"id":500,"main":"Rain","description":"light rain","icon":"10n"}],"clouds":{"all":44},"wind":{"speed":4.21,"deg":232},"rain":{"3h":0.02},"sys":{"pod":"n"},"dt_txt":"2017-10-13 00:00:00"},{"dt":1507863600,"main":{"temp":13.21,"temp_min":13.21,"temp_max":13.21,"pressure":1035.56,"sea_level":1038.65,"grnd_level":1035.56,"humidity":97,"temp_kf":0},"weather":[{"id":500,"main":"Rain","description":"light rain","icon":"10n"}],"clouds":{"all":80},"wind":{"speed":4.12,"deg":232.506},"rain":{"3h":0.23},"sys":{"pod":"n"},"dt_txt":"2017-10-13 03:00:00"},{"dt":1507874400,"main":{"temp":14.18,"temp_min":14.18,"temp_max":14.18,"pressure":1036.07,"sea_level":1039.14,"grnd_level":1036.07,"humidity":95,"temp_kf":0},"weather":[{"id":500,"main":"Rain","description":"light rain","icon":"10n"}],"clouds":{"all":92},"wind":{"speed":4.46,"deg":228.503},"rain":{"3h":0.2},"sys":{"pod":"n"},"dt_txt":"2017-10-13 06:00:00"},{"dt":1507885200,"main":{"temp":15.69,"temp_min":15.69,"temp_max":15.69,"pressure":1037.06,"sea_level":1040.1,"grnd_level":1037.06,"humidity":92,"temp_kf":0},"weather":[{"id":500,"main":"Rain","description":"light rain","icon":"10d"}],"clouds":{"all":88},"wind":{"speed":4.87,"deg":231.003},"rain":{"3h":0.03},"sys":{"pod":"d"},"dt_txt":"2017-10-13 09:00:00"},{"dt":1507896000,"main":{"temp":18.47,"temp_min":18.47,"temp_max":18.47,"pressure":1037.07,"sea_level":1040.1,"grnd_level":1037.07,"humidity":86,"temp_kf":0},"weather":[{"id":801,"main":"Clouds","description":"few clouds","icon":"02d"}],"clouds":{"all":20},"wind":{"speed":5.66,"deg":229.503},"rain":{},"sys":{"pod":"d"},"dt_txt":"2017-10-13 12:00:00"},{"dt":1507906800,"main":{"temp":19.18,"temp_min":19.18,"temp_max":19.18,"pressure":1036.3,"sea_level":1039.28,"grnd_level":1036.3,"humidity":74,"temp_kf":0},"weather":[{"id":801,"main":"Clouds","description":"few clouds","icon":"02d"}],"clouds":{"all":20},"wind":{"speed":5.21,"deg":229.5},"rain":{},"sys":{"pod":"d"},"dt_txt":"2017-10-13 15:00:00"},{"dt":1507917600,"main":{"temp":16.3,"temp_min":16.3,"temp_max":16.3,"pressure":1036.55,"sea_level":1039.64,"grnd_level":1036.55,"humidity":78,"temp_kf":0},"weather":[{"id":800,"main":"Clear","description":"clear sky","icon":"01n"}],"clouds":{"all":0},"wind":{"speed":3.31,"deg":215.501},"rain":{},"sys":{"pod":"n"},"dt_txt":"2017-10-13 18:00:00"},{"dt":1507928400,"main":{"temp":14.09,"temp_min":14.09,"temp_max":14.09,"pressure":1037.03,"sea_level":1040.2,"grnd_level":1037.03,"humidity":89,"temp_kf":0},"weather":[{"id":803,"main":"Clouds","description":"broken clouds","icon":"04n"}],"clouds":{"all":80},"wind":{"speed":3.03,"deg":217.005},"rain":{},"sys":{"pod":"n"},"dt_txt":"2017-10-13 21:00:00"},{"dt":1507939200,"main":{"temp":13.28,"temp_min":13.28,"temp_max":13.28,"pressure":1037.56,"sea_level":1040.64,"grnd_level":1037.56,"humidity":90,"temp_kf":0},"weather":[{"id":801,"main":"Clouds","description":"few clouds","icon":"02n"}],"clouds":{"all":24},"wind":{"speed":1.66,"deg":206.002},"rain":{},"sys":{"pod":"n"},"dt_txt":"2017-10-14 00:00:00"},{"dt":1507950000,"main":{"temp":11.25,"temp_min":11.25,"temp_max":11.25,"pressure":1037.36,"sea_level":1040.52,"grnd_level":1037.36,"humidity":87,"temp_kf":0},"weather":[{"id":800,"main":"Clear","description":"clear sky","icon":"01n"}],"clouds":{"all":0},"wind":{"speed":1.67,"deg":190.501},"rain":{},"sys":{"pod":"n"},"dt_txt":"2017-10-14 03:00:00"},{"dt":1507960800,"main":{"temp":10.78,"temp_min":10.78,"temp_max":10.78,"pressure":1037.36,"sea_level":1040.52,"grnd_level":1037.36,"humidity":85,"temp_kf":0},"weather":[{"id":800,"main":"Clear","description":"clear sky","icon":"01n"}],"clouds":{"all":0},"wind":{"speed":2.65,"deg":183.009},"rain":{},"sys":{"pod":"n"},"dt_txt":"2017-10-14 06:00:00"},{"dt":1507971600,"main":{"temp":16.04,"temp_min":16.04,"temp_max":16.04,"pressure":1037.95,"sea_level":1041.08,"grnd_level":1037.95,"humidity":86,"temp_kf":0},"weather":[{"id":800,"main":"Clear","description":"clear sky","icon":"01d"}],"clouds":{"all":0},"wind":{"speed":2.41,"deg":198.005},"rain":{},"sys":{"pod":"d"},"dt_txt":"2017-10-14 09:00:00"},{"dt":1507982400,"main":{"temp":20.38,"temp_min":20.38,"temp_max":20.38,"pressure":1037.36,"sea_level":1040.49,"grnd_level":1037.36,"humidity":79,"temp_kf":0},"weather":[{"id":800,"main":"Clear","description":"clear sky","icon":"01d"}],"clouds":{"all":0},"wind":{"speed":3.42,"deg":202.001},"rain":{},"sys":{"pod":"d"},"dt_txt":"2017-10-14 12:00:00"},{"dt":1507993200,"main":{"temp":20.87,"temp_min":20.87,"temp_max":20.87,"pressure":1035.8,"sea_level":1038.9,"grnd_level":1035.8,"humidity":70,"temp_kf":0},"weather":[{"id":800,"main":"Clear","description":"clear sky","icon":"01d"}],"clouds":{"all":0},"wind":{"speed":3.86,"deg":192.507},"rain":{},"sys":{"pod":"d"},"dt_txt":"2017-10-14 15:00:00"},{"dt":1508004000,"main":{"temp":16.81,"temp_min":16.81,"temp_max":16.81,"pressure":1035.39,"sea_level":1038.44,"grnd_level":1035.39,"humidity":73,"temp_kf":0},"weather":[{"id":800,"main":"Clear","description":"clear sky","icon":"01n"}],"clouds":{"all":0},"wind":{"speed":3.81,"deg":180.502},"rain":{},"sys":{"pod":"n"},"dt_txt":"2017-10-14 18:00:00"}],"city":{"id":2803421,"name":"Aartselaar","coord":{"lat":51.1354,"lon":4.3827},"country":"BE"}}
EDIT: je moet wel verbonden zijn met het internet... ;-)

Gebruikersavatar
valere
lid
Berichten: 29
Lid geworden op: 30 mei 2013, 18:21
Installatie Land: Maak keuze

Re: PVdiary - logging voor SMA omvormers nu beschikbaar

Bericht door valere » 09 okt 2017, 21:55

Dag Thomas,

Ik krijg geen json file die ik kan downloaden maar direct in de browser verschijnen de gegevens:
{"cod":"200","message":0.0046,"cnt":40,"list":[{"dt":1507582800,"main":{"temp":12.29,"temp_min":12.23,"temp_max":12.29,"pressure":1028.03,"sea_level":1031.09,"grnd_level":1028.03,"humidity":93,"temp_kf":0.06},"weather":

In [PV_info:]
longitude = *******
latitude = *********
location = "ALKEN"
contact = "[email protected]"
show_max = 7
refresh = 5

vriendelijke groeten
Valère

Gebruikersavatar
thomasb
VZW erelid
VZW erelid
Berichten: 786
Lid geworden op: 21 dec 2012, 00:38
Installatie Land: België
Contacteer:

Re: PVdiary - logging voor SMA omvormers nu beschikbaar

Bericht door thomasb » 09 okt 2017, 22:03

Staat er in je folder C:\pvdiary2\httpd\www\data een file weather.json? Misschien nog eens een EXPORT doen met all-pages aangevinkt ...

Gebruikersavatar
valere
lid
Berichten: 29
Lid geworden op: 30 mei 2013, 18:21
Installatie Land: Maak keuze

Re: PVdiary - logging voor SMA omvormers nu beschikbaar

Bericht door valere » 09 okt 2017, 22:17

Dag,

Neen er staat geen weather.json in www.
Al bij herhaling import export en sync uitgevoerd. Geen weather.json file
In het dos venster PVdiary_8082 krijg ik ook de melding dat er geen weather.json file is.
Ik krijg ook geen weather.json file die ik kan downloaden als ik mijn appid ingeef. Maar alle info verschijnt direct in de browser.
.... (geval voor Leuven?)

Gebruikersavatar
thomasb
VZW erelid
VZW erelid
Berichten: 786
Lid geworden op: 21 dec 2012, 00:38
Installatie Land: België
Contacteer:

Re: PVdiary - logging voor SMA omvormers nu beschikbaar

Bericht door thomasb » 09 okt 2017, 22:24

valere schreef:
09 okt 2017, 22:17
Dag,

Neen er staat geen weather.json in www.
Al bij herhaling import export en sync uitgevoerd. Geen weather.json file
In het dos venster PVdiary_8082 krijg ik ook de melding dat er geen weather.json file is.
Ik krijg ook geen weather.json file die ik kan downloaden als ik mijn appid ingeef. Maar alle info verschijnt direct in de browser.
.... (geval voor Leuven?)
Probeer nog eens een EXPORT met "info" en "all-data" aangevinkt.

Staat je PVdiary ergens op het Internet? Dit zou het zoeken naar de fout heel erg vergemakkelijken ... Link kan ook via PB.

Groetjes, Thomas

Gebruikersavatar
valere
lid
Berichten: 29
Lid geworden op: 30 mei 2013, 18:21
Installatie Land: Maak keuze

Re: PVdiary - logging voor SMA omvormers nu beschikbaar

Bericht door valere » 10 okt 2017, 07:10

Dag Thomas,

Goedemorgen!
"Probeer nog eens een EXPORT met "info" en "all-data" aangevinkt.": Geen resultaat.
Als ik openweatherAppID = "1234...." invoer in [Web] zijn er geen grafieken meer in Lokaal.
PVDiary draait bij mij nog steeds lokaal, nog niet op het internet.

Wat betekent status 2, status 4 ... de warnings bij het importeren van de csv in de databank?
Dank!
vriendelijke groeten
Valère

Gebruikersavatar
thomasb
VZW erelid
VZW erelid
Berichten: 786
Lid geworden op: 21 dec 2012, 00:38
Installatie Land: België
Contacteer:

Re: PVdiary - logging voor SMA omvormers nu beschikbaar

Bericht door thomasb » 10 okt 2017, 20:39

Status: dit weet enkel Leslie ;-) Heeft iets te maken met of de csv volledig was voor deze dag of niet, maar daar ligt het niet aan.

Openweatherappid: waarschijnlijk crasht dan ergens het javascript. Kun je eens in je browser, als je je lokale site bekijkt, F12 drucken (dan gaat de browser in developer mode). Doe dan eens een refresh van je pagina: krijg je een foutmelding, en zo ja, welke?

UPDATE: zolang de weather.json niet aangemaakt is werkt het niet. Zou het kunnen dat je firewall het php niet toelaat om de weerdata op te halen?

Heb je geen mogelijkheid om je PVdiary ergens online te zetten? Dan zou ik dit veel gemakkelijker kunnen debuggen ...

Groetjes, Thomas

Gebruikersavatar
thomasb
VZW erelid
VZW erelid
Berichten: 786
Lid geworden op: 21 dec 2012, 00:38
Installatie Land: België
Contacteer:

Re: PVdiary - logging voor SMA omvormers nu beschikbaar

Bericht door thomasb » 10 okt 2017, 21:10

Nog een andere optie. Wat gebeurt er als je in een command prompt het volgende intikt: pvdiary --export --forecast
?
Kun je het resultaat hier posten?

Bij mij ziet dit als volgt eruit:

Code: Selecteer alles

Microsoft Windows [Version 10.0.15063]
(c) 2017 Microsoft Corporation. All rights reserved.

C:\Users\Thomas>pvdiary --export --forecast
PVdiary 2.1p.2 EXPORT start at 2017-10-10 21:07:40
 Updating weather forecast data ...
 Next weather update possible after: 6740 seconds.
 Weather forecast not updated.

End of job

C:\Users\Thomas>

Plaats reactie