Ecowitt GW1000 + WH57 lightning detector still not properly handled by MB Pro/RPi - nonzerotime keeps disappearing
Posted: Fri Jan 07, 2022 11:22 am
Never ending story ... (??)
There is still an issue with the WH57 lightning count and last strike time stamp.
There seem to be several events which trigger MB to forget the lightning data on RPi - I keep on reporting to Boris about the issue, but until now he doesn't seem to have figured out the reason.
1. one reason is a reboot - after a reboot the data disappears from min/max and the variable/selector [nonzerotime] provides an empty string even though
the data is still in the database
2. if only one strike occurs after the reboot, the strike count reappears, the last time stamp from before the reboot becomes available again, but the time stamp is still the time stamp of the last strike before that i.e. the time stamp which disappeared after the reboot.
MB records a strike count 0 (zero). The database records "--" ever since the new lightning occurred, before the history shows just an empty field. Only if a 2nd strike occurs, then the count will be one and the correct time stamp of that 2nd one becomes available as [nonzerotime] (e.g. [lgt0total-nonzerotime=epoch]) - but the total count is 1 and not 2 as it should be.
3. there seems to be also a time related cause for the disappearance - I'm still observing that
It happens with the RPi and the MB Pro.
It is interesting that in the non-database versions (repurposed routers - that what TP-Link refers to I assume) this doesn't or didn't appear. That may be a hint pointing at the database/software communication.
There is still an issue with the WH57 lightning count and last strike time stamp.
There seem to be several events which trigger MB to forget the lightning data on RPi - I keep on reporting to Boris about the issue, but until now he doesn't seem to have figured out the reason.
1. one reason is a reboot - after a reboot the data disappears from min/max and the variable/selector [nonzerotime] provides an empty string even though
the data is still in the database
2. if only one strike occurs after the reboot, the strike count reappears, the last time stamp from before the reboot becomes available again, but the time stamp is still the time stamp of the last strike before that i.e. the time stamp which disappeared after the reboot.
MB records a strike count 0 (zero). The database records "--" ever since the new lightning occurred, before the history shows just an empty field. Only if a 2nd strike occurs, then the count will be one and the correct time stamp of that 2nd one becomes available as [nonzerotime] (e.g. [lgt0total-nonzerotime=epoch]) - but the total count is 1 and not 2 as it should be.
3. there seems to be also a time related cause for the disappearance - I'm still observing that
It happens with the RPi and the MB Pro.
It is interesting that in the non-database versions (repurposed routers - that what TP-Link refers to I assume) this doesn't or didn't appear. That may be a hint pointing at the database/software communication.