First find the range of time(epoch)  that you want to add the rain
Enter to weeex.sdb

sudo sqlite3 /home/weewx/archive/weewx.sdb

Then check what values your station recorded

 select datetime, datetime(dateTime, 'unixepoch','localtime'), rain from
archive where dateTime > 1686881600 and dateTime <= 1686981600;

Then correct the time you want
For example

update archive set rain=1.0 where dateTime = 1686975900;

Then exit the db

.quit

Stop weewx

After all corrections rebuild the data base for that day


sudo /home/weewx/bin/wee_database --rebuild-daily --from=2023-06-17
--to=2023-06-17

Start weewx

Thats what i am doing when i have to add some missing mm in my db



Στις Σάβ, 17 Ιουν 2023, 11:42 ο χρήστης Δημήτρης Βήχος <
[email protected]> έγραψε:

> i want like to add some mm to my daily rainfall beacuse after power loss ,
> my console (fine offset)  have 10mm above the weewx after the power on
> again.
> i had loss 10mm in my daily rain.
>
> thank you!
>
> --
> You received this message because you are subscribed to the Google Groups
> "weewx-user" group.
> To unsubscribe from this group and stop receiving emails from it, send an
> email to [email protected].
> To view this discussion on the web visit
> https://groups.google.com/d/msgid/weewx-user/e96ce7e9-1085-46f6-adf4-b82275bf4df4n%40googlegroups.com
> <https://groups.google.com/d/msgid/weewx-user/e96ce7e9-1085-46f6-adf4-b82275bf4df4n%40googlegroups.com?utm_medium=email&utm_source=footer>
> .
>

-- 
You received this message because you are subscribed to the Google Groups 
"weewx-user" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To view this discussion on the web visit 
https://groups.google.com/d/msgid/weewx-user/CAERekb8DhKsq%2BmDywJ3rxqnJ0C1o8%3D1E4XSkpdAaB7WPO6hk_A%40mail.gmail.com.

Reply via email to