I modified the script "byows.py"

wind_speed_sensor.when_pressed =* byows*.spin # is this a valid call for 
the below class function?

rain_sensor = Button(6)
rain_sensor.when_pressed =* byows*.bucket_tipped # is this a valid call for 
the below class function?

def logmsg(dst, msg):
    syslog.syslog(dst, *'byows*: %s' % msg)
but it is the same error

Jan  1 13:30:32 raspberrypi weewx[2019]:     ****  name 'byows' is not 
defined
Jan  1 13:30:32 raspberrypi weewx[2019]:     ****  Traceback (most recent 
call last):
Jan  1 13:30:32 raspberrypi weewx[2019]:     ****    File 
"/home/weewx/bin/weewx/engine.py", line 871, in main
Jan  1 13:30:32 raspberrypi weewx[2019]:     ****      engine = 
engine_class(config_dict)
Jan  1 13:30:32 raspberrypi weewx[2019]:     ****    File 
"/home/weewx/bin/weewx/engine.py", line 72, in __init__
Jan  1 13:30:32 raspberrypi weewx[2019]:     ****      
self.setupStation(config_dict)
Jan  1 13:30:32 raspberrypi weewx[2019]:     ****    File 
"/home/weewx/bin/weewx/engine.py", line 96, in setupStation
Jan  1 13:30:32 raspberrypi weewx[2019]:     ****      __import__(driver)
Jan  1 13:30:32 raspberrypi weewx[2019]:     ****    File 
"/home/weewx/bin/user/byows.py", line 30, in <module>
Jan  1 13:30:32 raspberrypi weewx[2019]:     ****      
wind_speed_sensor.when_pressed = byows.spin # is this a valid call for the 
below class function?
Jan  1 13:30:32 raspberrypi weewx[2019]:     ****  NameError: name 'byows' 
is not defined

where is define 'BYOWS' ?

see you

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