Hi Cameron, I have tried your solution and report me this error:
sudo /etc/init.d/weewx status -l ● weewx.service - LSB: weewx weather system Loaded: loaded (/etc/init.d/weewx) Active: active (exited) since mar 2016-11-15 19:47:20 CET; 2s ago Process: 19541 ExecStop=/etc/init.d/weewx stop (code=exited, status=0/SUCCESS) Process: 19588 ExecStart=/etc/init.d/weewx start (code=exited, status=0/SUCCESS) nov 15 19:47:20 raspberrypi weewx[19603]: **** File "/usr/share/weewx/weewx/engine.py", line 70, in __init__ nov 15 19:47:20 raspberrypi weewx[19603]: **** self.setupStation(config_dict) nov 15 19:47:20 raspberrypi weewx[19603]: **** File "/usr/share/weewx/weewx/engine.py", line 88, in setupStation nov 15 19:47:20 raspberrypi weewx[19603]: **** driver = config_dict[stationType]['driver'] nov 15 19:47:20 raspberrypi weewx[19603]: **** File "/usr/lib/python2.7/dist-packages/configobj.py", line 554, in __getitem__ nov 15 19:47:20 raspberrypi weewx[19603]: **** val = dict.__getitem__(self, key) nov 15 19:47:20 raspberrypi weewx[19603]: **** KeyError: 'WMR300c' nov 15 19:47:20 raspberrypi weewx[19603]: **** Exiting. Thank you El martes, 15 de noviembre de 2016, 1:11:44 (UTC+1), Cameron D escribió: > > > > On Tuesday, 15 November 2016 05:41:34 UTC+10, Alberto Sánchez wrote: >> >> Hi mwall >> >> You said that our error is related to the location of the operating >> system. If we change the location (I don`t know how yet), will the new >> drivers work? >> >> Thank you very much. >> > > Alberto, > if you want to help you could try my modified version, which might work > without needing to change locale. > I have attached a zipped version. > > It has a different name, so it should not overwrite the official version. > I put my copy in the user directory. > > In weewx.conf I change to > station_type = WMR300c > > > and I add a section > [WMR300c] > # This section is for WMR300 weather stations. modified by cameron > > # The station model, e.g., WMR300A > model = WMR300c > > # The driver to use: > driver = user.wmr300c > > debug_decode=1 > debug_rain=1 > > > I don't have much time to work on this today, but I'd be interested if my > changes only work on my system, or are more general. > It uses the more recent API version of pyusb, so if you only have the > original one then it will not work. > > There is quite a bit of debugging output, so your log files might grow > fairly quickly. > > In my case I am getting numerous timeouts on the write calls, and data > collection rapidly stalls - that might be a fault in my driver > modifications, or it might be the console is in an odd state. > -- 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. For more options, visit https://groups.google.com/d/optout.