[weewx-user] Re: upgrade from 3.9.1 to 4 failed

2020-05-25 Thread Neville Davis
Actually I will run my getrain.py as a service so all I will need to do is access the ramdisk. Nev On Monday, May 25, 2020 at 3:58:17 PM UTC+10, Neville Davis wrote: > > I have managed to hack owget.py to output directly to a csv file I create > in a ramdisk...and I get this by not entering

[weewx-user] Re: upgrade from 3.9.1 to 4 failed

2020-05-24 Thread Neville Davis
I have managed to hack owget.py to output directly to a csv file I create in a ramdisk...and I get this by not entering any arguments..so a simple call to to owget.py. Using this csv I will pull the data into my main sensor reading file.. The csv holds the correct data but I get some extra

[weewx-user] Re: upgrade from 3.9.1 to 4 failed

2020-05-24 Thread Neville Davis
I have almost everything working in version 4, all my i2C modules are detected wind sensors air-conditioning data etc all except my 1wire rain system. Everything is setup for python 3 so I understand from other posts of the issue with python-ow. I installed ow-server and pyownet and I get this

[weewx-user] Re: upgrade from 3.9.1 to 4 failed

2020-05-21 Thread Neville Davis
Thanks very much Gary Nev On Thursday, May 21, 2020 at 5:45:16 PM UTC+10, gjr80 wrote: > > You did a setup.py install so just install 3.9.1 over the top. The user > directory won't be touched and of course backup your data. Might be > worthwhile looking at the log rather than the

[weewx-user] Re: upgrade from 3.9.1 to 4 failed

2020-05-21 Thread gjr80
You did a setup.py install so just install 3.9.1 over the top. The user directory won't be touched and of course backup your data. Might be worthwhile looking at the log rather than the abbreviated systemctl view, the last part of the systemctl output tells me nothing, there almost certainly

[weewx-user] Re: upgrade from 3.9.1 to 4 failed

2020-05-21 Thread Neville Davis
Well done those edits that problem with my driver cleared others have happened. I then tried to run on simulator and I get *●* weewx.service - LSB: weewx weather system Loaded: loaded (/etc/init.d/weewx) Active: *active (exited)* since Thu 2020-05-21 16:20:37 AEST; 1h 9min ago

[weewx-user] Re: upgrade from 3.9.1 to 4 failed

2020-05-21 Thread gjr80
Like I said I can't explain why this error would not come up with the same driver under 3.9.1,I just checked the 3.9.1 documentation/code and hardware_name was mandatory. In any case easy fixed, you just need something like this in your driver class: @property def hardware_name(self):

[weewx-user] Re: upgrade from 3.9.1 to 4 failed

2020-05-21 Thread Neville Davis
This is my driver file, had no problems before.. but always a first time :) # #$Revision: 1 $ #$Author: Nickolas McColl $ #$Date: 2014-08-16 $ #Initial information from above author further edits by Nev Davis #Latest edit 20 June 2017 by Nev Davis """Raspberry Pi driver for

[weewx-user] Re: upgrade from 3.9.1 to 4 failed

2020-05-20 Thread gjr80
It doesn't need to be anything flash, just needs to implemented and return a string. You will find heaps of examples in the drivers in the weewx/drivers directory. Gary On Thursday, 21 May 2020 15:45:37 UTC+10, Neville Davis wrote: > > Ok I will look into it I have had the system running for a

[weewx-user] Re: upgrade from 3.9.1 to 4 failed

2020-05-20 Thread Neville Davis
Ok I will look into it I have had the system running for a few years the last software update was to 3.9.1 when it came out...Its been some time since I visited my software about time i did it again. Thanks for the info. Nev On Thursday, May 21, 2020 at 2:51:39 PM UTC+10, Neville Davis wrote:

[weewx-user] Re: upgrade from 3.9.1 to 4 failed

2020-05-20 Thread gjr80
Yes, the problem is that your driver has not implemented the hardware_name property. You will find it mentioned in the Implement the driver section of the Customization Guide. I cannot explain why the same driver worked under 3.9.1

[weewx-user] Re: upgrade from 3.9.1 to 4 failed

2020-05-20 Thread Neville Davis
Well that was it for that problem weewx installed but now I have a lot of red on status report. My station is a home brew using i2C and other sensors this is reporting a hardware naming error ?? st login: Thu May 21 14:42:32 2020 from 192.168.0.54 *pi@raspberrypi*:*~ $* sudo systemctl status

[weewx-user] Re: upgrade from 3.9.1 to 4 failed

2020-05-20 Thread Neville Davis
Thanks will look at it straight away Nev On Thursday, May 21, 2020 at 2:51:39 PM UTC+10, Neville Davis wrote: > > the following from setup and status > > copying util/import/cumulus-example.conf -> /home/weewx/util/import > > copying util/launchd/com.weewx.weewxd.plist ->

[weewx-user] Re: upgrade from 3.9.1 to 4 failed

2020-05-20 Thread gjr80
Hi, Looks like you need to install the python module configobj. How you do that will depend on whether you are running WeeWX under python2 or python3. I suspect you will be running under python 3 so use: $ sudo apt install python3-configobj if not under python2 use: $ sudo apt install