I do it, but this the same ERROR

Jan  1 15:55:56 raspberrypi weewx[2593]: engine: pid file is 
/var/run/weewx.pid
Jan  1 15:55:56 raspberrypi weewx[2597]: engine: Using configuration file 
/home/weewx/weewx.conf
Jan  1 15:55:56 raspberrypi weewx[2597]: engine: Loading station type BYOWS 
(user.byows)
Jan  1 15:55:56 raspberrypi weewx[2582]: Starting weewx weather system: 
weewx.
Jan  1 15:55:56 raspberrypi systemd[1]: Started LSB: weewx weather system.
Jan  1 15:55:59 raspberrypi weewx[2597]: engine: Caught unrecoverable 
exception in engine:
Jan  1 15:55:59 raspberrypi weewx[2597]:     ****  name 'BYOWS' is not 
defined
Jan  1 15:55:59 raspberrypi weewx[2597]:     ****  Traceback (most recent 
call last):
Jan  1 15:55:59 raspberrypi weewx[2597]:     ****    File 
"/home/weewx/bin/weewx/engine.py", line 871, in main
Jan  1 15:55:59 raspberrypi weewx[2597]:     ****      engine = 
engine_class(config_dict)
Jan  1 15:55:59 raspberrypi weewx[2597]:     ****    File 
"/home/weewx/bin/weewx/engine.py", line 72, in __init__
Jan  1 15:55:59 raspberrypi weewx[2597]:     ****      
self.setupStation(config_dict)
Jan  1 15:55:59 raspberrypi weewx[2597]:     ****    File 
"/home/weewx/bin/weewx/engine.py", line 96, in setupStation
Jan  1 15:55:59 raspberrypi weewx[2597]:     ****      __import__(driver)
Jan  1 15:55:59 raspberrypi weewx[2597]:     ****    File 
"/home/weewx/bin/user/byows.py", line 32, in <module>
Jan  1 15:55:59 raspberrypi weewx[2597]:     ****      
wind_speed_sensor.when_pressed = BYOWS.spin # is this a valid call for the 
below class function?
Jan  1 15:55:59 raspberrypi weewx[2597]:     ****  NameError: name 'BYOWS' 
is not defined
Jan  1 15:55:59 raspberrypi weewx[2597]:     ****  Exiting.

Patrick

On Saturday, December 8, 2018 at 3:40:43 PM UTC+1, Patrick Tranchant wrote:
>
> hello I am a newbie from France ( sorry for my english )
>
> I want to use weewx on a raspberry with a weather station built by myself 
> (view on Magpi)
> I don't see my station on your website to configure :
>
> Weather Station Hardware Comparison: I don't found my weather station.
> Do you have a solution or how to configure Weewx
>
> thank you for your help
>
> Patrick
>

-- 
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].
For more options, visit https://groups.google.com/d/optout.

Reply via email to