It is much more likely your power supply being the problem. Get a ups to smooth the spikes (dunno if rpi hat does that)
⊣ GE ⊢    phone➔brevity

On 6 Jan 2023 12:46 pm, "[email protected]" <[email protected]> wrote:
"What happens if you 'pull the plug' on your VP2? Does it keep running? Perhaps the batteries are bad?

Yes, it keeps running, that is why it seems to be a weewx issue to me. In other words, if the Pi Zero running weewx were not connected to the VP2, the data logger memory would not get corrupted. In fact, weewx is able to recover data that was gathered during the power outage (while the Pi is shut down). It is only when power is restored that the data logger corruption happens. At least I assume that is really the root of the issue, I really don't know. All I know is that almost every time the power goes out, I get the record time error and all data recording and uploading stops.

I've looked into getting a UPS for the Pi, which really appears to be nothing more than a $15 ext phone battery, but it seems to me this is a weewx problem that should be addressed. Alternately, I can contact Davis to see what they say.
"

On Thursday, January 5, 2023 at 3:34:40 PM UTC-8 [email protected] wrote:
It should work.

What happens if you 'pull the plug' on your VP2? Does it keep running? Perhaps the batteries are bad?

Personally, I use a UPS for both the weewx server and the VP2 and haven't had a memory corruption problem in at least a decade. So, you could try that.




On Thu, Jan 5, 2023 at 11:30 AM [email protected] <[email protected]> wrote:
I've been using weewx running on a Pi Zero with no other tasks. Unfortunately, I live in a area that suffers power losses, often during a weather events, so I lose that data. What typically happens is that when the power comes back on, I get the dreaded "..page timestamp... less than final timestamp..." error. The only way I have been able to address it is to use the memory dump and clear.

 I don't understand why this happens since the VP2 is running with battery backup, yet the memory on the datalogger gets corrupted. Is this an issue with weewx that could be addressed?

Failing that, can I address this issue by adding a backup supply to my Pi Zero?

Thanks!

--
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 weewx-user+[email protected].
To view this discussion on the web visit https://groups.google.com/d/msgid/weewx-user/c833a23b-2957-4311-882a-cda796d0c928n%40googlegroups.com.

--
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 weewx-user+[email protected].
To view this discussion on the web visit https://groups.google.com/d/msgid/weewx-user/7bd3876d-96a1-4c3a-82fb-c4f406234066n%40googlegroups.com.

--
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/709fe62a-0bad-4448-9b1f-318c3e05bb72%40email.android.com.

Reply via email to