AS3935 for Python3

57 views
Skip to first unread message

hesf...@gmail.com

unread,
May 10, 2021, 10:06:52 AM5/10/21
to weewx-user
hallo,
Gibt es eine Version von AS3935 für  python3 und weewx 4...

Is there a version of AS3935  for python3

my Error
May 10 15:59:21 rasb2 weewx[13155] INFO user.as3935: service version is 0.6
May 10 15:59:21 rasb2 weewx[13155] INFO user.as3935: address=0x03
May 10 15:59:21 rasb2 weewx[13155] INFO user.as3935: bus=1
May 10 15:59:21 rasb2 weewx[13155] INFO user.as3935: indoors=True
May 10 15:59:21 rasb2 weewx[13155] INFO user.as3935: noise_floor=0
May 10 15:59:21 rasb2 weewx[13155] INFO user.as3935: calibration=0x06
May 10 15:59:21 rasb2 weewx[13155] INFO user.as3935: pin=17
May 10 15:59:21 rasb2 weewx[13155] INFO user.as3935: data_binding=lightning_binding
May 10 15:59:21 rasb2 weewx[13155] INFO user.as3935: binding=archive
May 10 15:59:21 rasb2 weewx[13155] CRITICAL __main__: Caught unrecoverable exception:
May 10 15:59:21 rasb2 weewx[13155] CRITICAL __main__:     ****  'module' object is not callable
May 10 15:59:21 rasb2 weewx[13155] CRITICAL __main__:     ****  Traceback (most recent call last):
May 10 15:59:21 rasb2 weewx[13155] CRITICAL __main__:     ****    File "/home/weewx/bin/weewxd", line 151, in main
May 10 15:59:21 rasb2 weewx[13155] CRITICAL __main__:     ****      engine = weewx.engine.StdEngine(config_dict)
May 10 15:59:21 rasb2 weewx[13155] CRITICAL __main__:     ****    File "/home/weewx/bin/weewx/engine.py", line 93, in __init__
May 10 15:59:21 rasb2 weewx[13155] CRITICAL __main__:     ****      self.loadServices(config_dict)
May 10 15:59:21 rasb2 weewx[13155] CRITICAL __main__:     ****    File "/home/weewx/bin/weewx/engine.py", line 161, in loadServices
May 10 15:59:21 rasb2 weewx[13155] CRITICAL __main__:     ****      obj = weeutil.weeutil.get_object(svc)(self, config_dict)
May 10 15:59:21 rasb2 weewx[13155] CRITICAL __main__:     ****    File "/home/weewx/bin/user/as3935.py", line 190, in __init__
May 10 15:59:21 rasb2 weewx[13155] CRITICAL __main__:     ****      self.sensor = RPi_AS3935(address=addr, bus=bus)
May 10 15:59:21 rasb2 weewx[13155] CRITICAL __main__:     ****  TypeError: 'module' object is not callable
May 10 15:59:21 rasb2 weewx[13155] CRITICAL __main__:     ****  Exiting.
Hartmut
Reply all
Reply to author
Forward
0 new messages