Re: [weewx-user] Weewx unable to recognize hardware (vantage.py) error (Vantage Vue)
Hi Thanks, Tom - I did an uninstall and reinstall but still didn't work so I formated the SD and started from scratch - all works again. Technology hey it does what it does. Regards On Tuesday, 28 July 2020 13:58:29 UTC+12, Tom Keffer wrote: > > Somehow, you ended up with an old copy of the Vantage driver (v3.9.2 or > earlier) in a modern copy of WeeWX. This old version was not ported to > Python 3, so the Python 3 interpreter you are using is complaining. > > Try reinstalling WeeWX. > > -tk > > On Mon, Jul 27, 2020 at 5:12 PM Lodewyk Jansen > wrote: > >> Hi all and thank you for everyone's reply's in advance. >> >> First off - i have a Raspberry Pi Model 3B+ with USB Davis Vantage Vue >> and Weewx is installed through python. >> >> Initially Weewx worked and there were no erros. However since then i >> might have deleted something or done something wrong to cause the errors. >> >> [copied from the command "service weewx status"] >> >> pi@raspberrypi:~ $ service weewx status >> * weewx.service - LSB: weewx weather system >>Loaded: loaded (/etc/init.d/weewx; generated) >>Active: active (exited) since Tue 2020-07-28 12:02:32 NZST; 7min ago >> Docs: man:systemd-sysv-generator(8) >> Process: 1921 ExecStart=/etc/init.d/weewx start (code=exited, >> status=0/SUCCESS) >> >> Jul 28 12:02:32 raspberrypi weewxd[1936]: weewx[1936] CRITICAL __main__: >> engine = weewx.engine.StdEngine(config_dict) >> Jul 28 12:02:32 raspberrypi weewxd[1936]: weewx[1936] CRITICAL __main__: >>File "/home/weewx/bin/weewx/engine.py", line 69, in __init__ >> Jul 28 12:02:32 raspberrypi weewxd[1936]: weewx[1936] CRITICAL __main__: >> self.setupStation(config_dict) >> Jul 28 12:02:32 raspberrypi weewxd[1936]: weewx[1936] CRITICAL __main__: >>File "/home/weewx/bin/weewx/engine.py", line 92, in setupStation >> Jul 28 12:02:32 raspberrypi weewxd[1936]: weewx[1936] CRITICAL __main__: >> __import__(driver) >> Jul 28 12:02:32 raspberrypi weewxd[1936]: weewx[1936] CRITICAL __main__: >>File "/home/weewx/bin/weewx/drivers/vantage.py", line 86 >> Jul 28 12:02:32 raspberrypi weewxd[1936]: weewx[1936] CRITICAL __main__: >> print "Unable to wake up console... sleeping" >> Jul 28 12:02:32 raspberrypi weewxd[1936]: weewx[1936] CRITICAL __main__: >> ^ >> Jul 28 12:02:32 raspberrypi weewxd[1936]: weewx[1936] CRITICAL __main__: >> SyntaxError: Missing parentheses in call to 'print'. Did you mean >> print("Unable to wake up console... sleeping")? >> Jul 28 12:02:32 raspberrypi weewxd[1936]: weewx[1936] CRITICAL __main__: >> Exiting. >> >> ___ >> Also attached is the system log file for reference... >> >> Anyone that can point me into the right direction to get weeewx to run >> without erros? >> >> Regards, >> LJ >> >> -- >> 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...@googlegroups.com . >> To view this discussion on the web visit >> https://groups.google.com/d/msgid/weewx-user/1455495f-c421-41b0-98a9-df78f2dce835o%40googlegroups.com >> >> <https://groups.google.com/d/msgid/weewx-user/1455495f-c421-41b0-98a9-df78f2dce835o%40googlegroups.com?utm_medium=email_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 weewx-user+unsubscr...@googlegroups.com. To view this discussion on the web visit https://groups.google.com/d/msgid/weewx-user/b797e619-1fff-4327-92b1-b5d0b0f1a54do%40googlegroups.com.
[weewx-user] Re: WeeWX doesnt run in daemon or startup after reboot - any help?
Hi Gary, Thanks it seems that there might be an issue with something somewhere but i dont know where. All the links in rc0..etc. is created. The conf file is updated and the log file is attached. Will try to get a system reboot log file also. Regards -- 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+unsubscr...@googlegroups.com. To view this discussion on the web visit https://groups.google.com/d/msgid/weewx-user/a7a7a5a8-42a9-47a6-b5a9-39aa7939cbd1%40googlegroups.com. mylog Description: Binary data
[weewx-user] Re: WeeWX doesnt run in daemon or startup after reboot - any help?
Hi Gary, Yes, WeeWX runs fine -- when I start it manually. Not sure how I would get the log over a reboot but will look into it now and post the log once I have it. I followed the same instructions as detailed in the link you listed and I only opened the file to make sure the ROOT was updated and refer to the correct location. Other than that I did nothing else. Regards, -- 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+unsubscr...@googlegroups.com. To view this discussion on the web visit https://groups.google.com/d/msgid/weewx-user/a643a2fb-d8f3-48d0-ba87-4c261ba69c99%40googlegroups.com.
[weewx-user] Re: WeeWX doesnt run in daemon or startup after reboot - any help?
Hi Gary, I can start/stop/restart WeeWX with the following command: sudo /etc/init.d/weewx start/stop/restart So no issue with that. My goal with this is to take the weather station out to a site and deploy. then when everything is ready i connect (power-up) the raspberry pi to archive all the weather data. I wont have a screen or mouse with me in the field - therefore the automated start of WeeWX is essential. Attached is the log file i created. Regards, LJ -- 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+unsubscr...@googlegroups.com. To view this discussion on the web visit https://groups.google.com/d/msgid/weewx-user/8ef5eeac-de1d-4ec2-9e4e-6cff85b10fbe%40googlegroups.com. mylog Description: Binary data
[weewx-user] Re: Vantage Vue Station to dump its files on Raspberry Pi???
Hi, Thanks for this I am sorted with getting the data. I just needed to install sqlite dB to view the files. Also got the CSV extension on to generate a CSV file. -- 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+unsubscr...@googlegroups.com. To view this discussion on the web visit https://groups.google.com/d/msgid/weewx-user/f31df967-2a57-4740-b1b7-b800d8f8add8%40googlegroups.com.
[weewx-user] Re: Vantage Vue Station to dump its files on Raspberry Pi???
Hi, As mentioned i am new to this all - stupid qustion comming up... How do i access the weewx.sdb file - would i be able to open it in a text editor or something like that? On Wednesday, 11 September 2019 02:33:51 UTC+12, vince wrote: > > On Monday, September 9, 2019 at 6:30:45 PM UTC-7, Lodewyk Jansen wrote: >> >> The noise logger is powered by a solar panel and battery box - so the >> power supply isn't an issue. >> >> > I am a noob when it comes to python and any type of programming - so if >> there is a code I can incorporate in the configuration to supply the >> 1-minute data interval to a day summary text file it would be much >> appreciated. >> > > Again, just set your station 'and' weewx to the same 60 second interval > and you're good to go. > > Ideally, it would create a days text file (and create a new one for the >> following day) and populate each of the day's text file with data. >> >> > I'm not sure what you are looking for there, but if you want to see 24*60 > records per day you just query the archive table in weewx.sdb after the > fact to get a listing of what it stored for wind vs. date+time. > >> >> >> >> On Friday, 6 September 2019 15:04:06 UTC+12, vince wrote: >>> >>> On Thursday, September 5, 2019 at 6:43:35 PM UTC-7, Lodewyk Jansen wrote: >>>> >>>> The problem is that the USB logger is limited to 516 bins, thus it can >>>> only hold 516-minutes of data (~8hours) which isn't near enough. I have a >>>> Raspberry Pi and I am hoping that in some way the Logger can dump the raw >>>> files on it while out in the field - then afterwards can "open" the files >>>> in Weatherlink or some software to get the 1-minute interval data for the >>>> whole period it was out in the field. >>>> >>>> >>> Isn't what you're asking about the same as simply setting your archive >>> period to 1 minute and letting weewx save the data to its archive table in >>> weewx.sdb normally ? >>> >>> How are you going to power the pi in the field for 2 weeks ? Powering >>> the thing connected 'to' the Vue is the bigger issue I'd think. Weewx >>> will catch up to the logger every time it starts if you were thinking about >>> only running the pi for a short time per day. >>> >>> Maybe you should explain what you're trying to do first, there's likely >>> a simpler solution to what you're asking about. >>> >>> >>> >>> -- 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+unsubscr...@googlegroups.com. To view this discussion on the web visit https://groups.google.com/d/msgid/weewx-user/ee2685f9-e2e8-4ced-a9f7-527f70a57a6f%40googlegroups.com.
[weewx-user] Re: Vantage Vue Station to dump its files on Raspberry Pi???
Hi, The reason for 1minute is to capture the wind speed. I am logging noise as part of the project wee need to determine the impact the wind has on the ambient. because noise change within seconds it would be good to have 1-minute interval logging on the weather station. The noise logger is powered by a solar panel and battery box - so the power supply isn't an issue. I am a noob when it comes to python and any type of programming - so if there is a code I can incorporate in the configuration to supply the 1-minute data interval to a day summary text file it would be much appreciated. Ideally, it would create a days text file (and create a new one for the following day) and populate each of the day's text file with data. On Friday, 6 September 2019 15:04:06 UTC+12, vince wrote: > > On Thursday, September 5, 2019 at 6:43:35 PM UTC-7, Lodewyk Jansen wrote: >> >> The problem is that the USB logger is limited to 516 bins, thus it can >> only hold 516-minutes of data (~8hours) which isn't near enough. I have a >> Raspberry Pi and I am hoping that in some way the Logger can dump the raw >> files on it while out in the field - then afterwards can "open" the files >> in Weatherlink or some software to get the 1-minute interval data for the >> whole period it was out in the field. >> >> > Isn't what you're asking about the same as simply setting your archive > period to 1 minute and letting weewx save the data to its archive table in > weewx.sdb normally ? > > How are you going to power the pi in the field for 2 weeks ? Powering the > thing connected 'to' the Vue is the bigger issue I'd think. Weewx will > catch up to the logger every time it starts if you were thinking about only > running the pi for a short time per day. > > Maybe you should explain what you're trying to do first, there's likely a > simpler solution to what you're asking about. > > > > -- 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+unsubscr...@googlegroups.com. To view this discussion on the web visit https://groups.google.com/d/msgid/weewx-user/b5b29128-60d6-420b-a683-5d48ca99537f%40googlegroups.com.
[weewx-user] Vantage Vue Station to dump its files on Raspberry Pi???
Hi, I hope there is an answer for this - I have a Vantage Vue Station (Davis) and need to log in 1-min intervals at a location very remote (no cellphone signal and some distance away). I need to record for more than a week (probably need to stay out for 2 weeks) at a time. The problem is that the USB logger is limited to 516 bins, thus it can only hold 516-minutes of data (~8hours) which isn't near enough. I have a Raspberry Pi and I am hoping that in some way the Logger can dump the raw files on it while out in the field - then afterwards can "open" the files in Weatherlink or some software to get the 1-minute interval data for the whole period it was out in the field. I do the post-processing in excel so even if I have CSV file with the whole period on it would be ideal. Thank you for reading the post and I hope there is an easy solution to this... Regards, -- 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+unsubscr...@googlegroups.com. To view this discussion on the web visit https://groups.google.com/d/msgid/weewx-user/68d68114-6567-47f5-b3d9-654d69d7c318%40googlegroups.com.