Hi Jarda, I've been able to repeat the error - apologies I missed a test case. If the console buffer is empty (because its just been manually reset) then it still provides 1 set of data but fills it with zeroes but ws6in1 was still trying to process it in the normal way. The workaround until I have put in a fix is that if you reset the buffer on the console do not start weewx until one data logging period has passed (i.e. so that the console has some data to retrieve).
I'll add a note to the readme.txt for the moment, 0.4 will probably follow tomorrow Bob On Saturday, 16 May 2020 15:45:43 UTC+1, Jarda Uher wrote: > > Hi Bob > Great job, your driver 0.3 works with Garni 935PC and Weewx 4.0.0. Python > 3.8.2. and Ubuntu 20.04 LTS. > The console scan must be really set to 5 minutes, otherwise the program > will stop. > (here is the message: > *May 16 16:02:48 jardaCQ58 weewx[5664] ERROR user.ws6in1: ValueError > error: invalid literal for int() with base 10: '---'* > *May 16 16:02:48 jardaCQ58 weewx[5664] ERROR user.ws6in1: other unknown > error* > *May 16 16:02:48 jardaCQ58 weewx[5664] INFO weewx.engine: Main loop > exiting. Shutting engine down*.) > > I have setting konzole 30 min. and after setting the console for 5 min. > and restart weewx is running. > thank you once again. super job. > cheers > Jarda > > Dne sobota 16. května 2020 13:40:32 UTC+2 Bob Atchley napsal(a): >> >> I have released version 0.3 of the WS6in1 >> <https://github.com/BobAtchley/weewx-ws6in1> driver for the weather >> stations: >> Youshiko YC9388 >> Bresser PC 6 in 1 >> Garni 935PC >> Ventus W835 >> (+ others ?) >> >> This release adds restoring missed records on weewx startup. >> >> Confession: I have only tested this with weewx 4.0.0 running python 3, >> but it should work with older versions and python 2 (but I recommend the >> upgrade as this will provide long term support). >> >> Please note: to enable restoration of data from the console, within the >> weewx.conf file in the section "[StdArchive]" set >> >> record_generation = hardware >> >> >> Otherwise no other configuration changes are needed. See the readme.txt >> and changelog for details. >> >> Cheers >> >> Bob >> > -- 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/4f260c05-9920-4002-938b-3390832edea7%40googlegroups.com.
