Errors in testUpdate.php
- amonphi
- Advisor

- Posts: 64
- Joined: Mon Sep 10, 2018 12:52 pm
- Location: Italy
- Station model: Ecowitt GW1003
- Software: WU
- Contact:
Errors in testUpdate.php
Hi, can anyone tell me why I get these errors in testUpdate.php?
I entered the sensor ranges based on the Ecowitt sensor datasheets and so I reported them on the main page of the template installation. Are the minimum ranges too low?
Thanks in advance
Thanks in advance
- amonphi
- Advisor

- Posts: 64
- Joined: Mon Sep 10, 2018 12:52 pm
- Location: Italy
- Station model: Ecowitt GW1003
- Software: WU
- Contact:
Re: Errors in testUpdate.php
As for the date error, the only thing that comes to my mind is the first row on this screen in the Altervista "alldata" table. I don't know how it was generated ... should I delete it?
- Daali
- Advisor

- Posts: 56
- Joined: Mon Jul 26, 2021 8:06 pm
- Location: Georgia, US
- Station model: Ecowitt GW1002
- Software: Meteobridge, FOSHKplugin
- Contact:
Re: Errors in testUpdate.php
you can safely delete that initial row of NULL values through phpadmin
https://www.jeffersonweather.com
GW1000 gateway
WS68 Anemometer
WH40 Rain Gauge
WH32 Temp/Hum
WH57 Lightning
WH41 PM2.5 Air Quality
WH45 PM2.5/10/Co2 Air Quality
WN34S Soil temperature
WH31SM Soil Moisture
GW1000 gateway
WS68 Anemometer
WH40 Rain Gauge
WH32 Temp/Hum
WH57 Lightning
WH41 PM2.5 Air Quality
WH45 PM2.5/10/Co2 Air Quality
WN34S Soil temperature
WH31SM Soil Moisture
- amonphi
- Advisor

- Posts: 64
- Joined: Mon Sep 10, 2018 12:52 pm
- Location: Italy
- Station model: Ecowitt GW1003
- Software: WU
- Contact:
Re: Errors in testUpdate.php
I canceled that row in the "alldate" table of Altervista but, the result is always the same unfortunately.
-
davidefa
- Expert

- Posts: 888
- Joined: Tue Jan 12, 2021 8:03 am
- Location: Italy
- Station model: WH2650
- Software: WH2650 (direct upload)
- Contact:
Re: Errors in testUpdate.php
What are your settings for the 'Database Update Setup' page ( and if using a data file, include a sample file )
- amonphi
- Advisor

- Posts: 64
- Joined: Mon Sep 10, 2018 12:52 pm
- Location: Italy
- Station model: Ecowitt GW1003
- Software: WU
- Contact:
Re: Errors in testUpdate.php
Hi, now I have inserted API as a method but, the mistakes appeared even when I had Weather Underground.
Does a "custom file" created? If it were I hope it's not complicated
But now that I remember, since I have a GW1000 of Ecowitt and I use the Ecowitt Plugin to upload the data, I don't need to assume, also because you have already made me disable the CronJob. So I don't understand from what it depends
-
davidefa
- Expert

- Posts: 888
- Joined: Tue Jan 12, 2021 8:03 am
- Location: Italy
- Station model: WH2650
- Software: WH2650 (direct upload)
- Contact:
Re: Errors in testUpdate.php
As you use the 'api method' ( via the ecowitt plugin ) you don't need to mess with the 'Database Update Setup' page.
This is only needed when using the other methods.
This is only needed when using the other methods.
- amonphi
- Advisor

- Posts: 64
- Joined: Mon Sep 10, 2018 12:52 pm
- Location: Italy
- Station model: Ecowitt GW1003
- Software: WU
- Contact:
Re: Errors in testUpdate.php
Ok in fact I had the doubt ... only that now in Update Setup database I can no longer remove API from the selection.
Do I have to go and edit the "updateSetup.php" file in the update folder? If so which line?
Or just the delete the "updateSettings.php" file is created?
Thanks
-
davidefa
- Expert

- Posts: 888
- Joined: Tue Jan 12, 2021 8:03 am
- Location: Italy
- Station model: WH2650
- Software: WH2650 (direct upload)
- Contact:
Re: Errors in testUpdate.php
In your case the update/updateSettings.php file is not used ( a small file, less than 1Kb ).
If you want, you can safely delete it.
But do not delete the update/updateSetup.php ( larger file 46Kb )
If you want, you can safely delete it.
But do not delete the update/updateSetup.php ( larger file 46Kb )
- amonphi
- Advisor

- Posts: 64
- Joined: Mon Sep 10, 2018 12:52 pm
- Location: Italy
- Station model: Ecowitt GW1003
- Software: WU
- Contact:
Re: Errors in testUpdate.php
OK perfect, thanks for confirmation, in the meantime I made further tests:
I tried to change the min and max ranges on the main installation page and most errors have disappeared, more than anything else they were the minimum limits the problem.
Only that for the temperature if I imposed 0°C everything is ok, while it gives me error if I go down under 0°C; What to me problematic because in winter it often happens and from the error that comes out, even "Dew Point" is not calculated and "apparent temperatures".
The phrase highlighted in red "temperature value will be ignored!" Honestly it worries me.
In addition to this I am investigating with the date, I still don't come to the head.
- amonphi
- Advisor

- Posts: 64
- Joined: Mon Sep 10, 2018 12:52 pm
- Location: Italy
- Station model: Ecowitt GW1003
- Software: WU
- Contact:
Re: Errors in testUpdate.php
Surely the date problem is here but, I thought I could select in my pleasure ... what should I change, go for trials?
-
davidefa
- Expert

- Posts: 888
- Joined: Tue Jan 12, 2021 8:03 am
- Location: Italy
- Station model: WH2650
- Software: WH2650 (direct upload)
- Contact:
Re: Errors in testUpdate.php
Scusami, ma non puoi richiamare lo script update/testUpdate.php direttamente.
In questo modo non stai facendo nessun test ( perchè non gli stai passando nessun argomento da testare ).
Quello script è richiamato solo da update/updateSetup.php ( quando selezioni 'cumulus' 'wu' o 'custom file' )
Il test che stai facendo non ha nessun senso.
Se vuoi verificare la 'correttezza' dei dati memorizzati nel database ( potrebbero esserci dei valori errati per qualsiasi motivo, come la prima riga del database che hai cancellato ) puoi usare il plugin 'Data Quality Control' chè ti permette di analizzare i tuoi dati in diversi modi evidenziando le incongruenze
In questo modo non stai facendo nessun test ( perchè non gli stai passando nessun argomento da testare ).
Quello script è richiamato solo da update/updateSetup.php ( quando selezioni 'cumulus' 'wu' o 'custom file' )
Il test che stai facendo non ha nessun senso.
Se vuoi verificare la 'correttezza' dei dati memorizzati nel database ( potrebbero esserci dei valori errati per qualsiasi motivo, come la prima riga del database che hai cancellato ) puoi usare il plugin 'Data Quality Control' chè ti permette di analizzare i tuoi dati in diversi modi evidenziando le incongruenze
-
davidefa
- Expert

- Posts: 888
- Joined: Tue Jan 12, 2021 8:03 am
- Location: Italy
- Station model: WH2650
- Software: WH2650 (direct upload)
- Contact:
Re: Errors in testUpdate.php
Riguardo i limiti li puoi impostare nella sezione Limits ( del setup iniziale ).
Verifica che siano compatibili con le tue condizioni.
Qualche settimana fa un utente svedese aveva dovuto alzare il limite massimo della pioggia a 400mm
Verifica che siano compatibili con le tue condizioni.
Qualche settimana fa un utente svedese aveva dovuto alzare il limite massimo della pioggia a 400mm
- amonphi
- Advisor

- Posts: 64
- Joined: Mon Sep 10, 2018 12:52 pm
- Location: Italy
- Station model: Ecowitt GW1003
- Software: WU
- Contact:
Re: Errors in testUpdate.php
Accidenti a medavidefa wrote: ↑Fri Oct 15, 2021 5:16 pm Scusami, ma non puoi richiamare lo script update/testUpdate.php direttamente.
In questo modo non stai facendo nessun test ( perchè non gli stai passando nessun argomento da testare ).
Quello script è richiamato solo da update/updateSetup.php ( quando selezioni 'cumulus' 'wu' o 'custom file' )
Il test che stai facendo non ha nessun senso.
Se vuoi verificare la 'correttezza' dei dati memorizzati nel database ( potrebbero esserci dei valori errati per qualsiasi motivo, come la prima riga del database che hai cancellato ) puoi usare il plugin 'Data Quality Control' chè ti permette di analizzare i tuoi dati in diversi modi evidenziando le incongruenze
Verificherò bene i limiti e proverò il plugin che mi hai consigliato.
Grazie ancora per come ci supporti