I have been following this thread for awhile. I have installed the as3935 module and followed the installation trail. I have as3935.py v03rc2 installed. I get this error when trying to run weewx 3.5.0.
Aug 11 19:00:33 weatherstation weewx[2915]: as3935: service version is 0.3rc2 Aug 11 19:00:33 weatherstation weewx[2915]: engine: Caught unrecoverable exception in engine: Aug 11 19:00:33 weatherstation weewx[2915]: **** Failed to add edge detection Aug 11 19:00:33 weatherstation weewx[2915]: **** Traceback (most recent call last): Aug 11 19:00:33 weatherstation weewx[2915]: **** File "/home/weewx/bin/weewx/engine.py", line 853, in main Aug 11 19:00:33 weatherstation weewx[2915]: **** engine = EngineClass(config_dict) Aug 11 19:00:33 weatherstation weewx[2915]: **** File "/home/weewx/bin/weewx/engine.py", line 75, in __init__ Aug 11 19:00:33 weatherstation weewx[2915]: **** self.loadServices(config_dict) Aug 11 19:00:33 weatherstation weewx[2915]: **** File "/home/weewx/bin/weewx/engine.py", line 136, in loadServices Aug 11 19:00:33 weatherstation weewx[2915]: **** self.service_obj.append(weeutil.weeutil._get_object(svc)(self, config_dict)) Aug 11 19:00:33 weatherstation weewx[2915]: **** File "/home/weewx/bin/user/as3935.py", line 133, in __init__ Aug 11 19:00:33 weatherstation weewx[2915]: **** callback=self.handle_interrupt) Aug 11 19:00:33 weatherstation weewx[2915]: **** RuntimeError: Failed to add edge detection Aug 11 19:00:33 weatherstation weewx[2915]: **** Exiting. I tried searching for the error but didn't find any mention in the thread. Has anyone seen it and is there a fix. Steve On Saturday, July 2, 2016 at 1:46:08 PM UTC-4, Steve M. wrote: > > WH3080...Hi. I have some time on my hands for the next week, so I decided > to start playing around with the AS3935 sensor again. I was wondering if > you could tell me what "tweaks" you used in the Ishikawa.py code (and also > in the RPi_AS3935.py). When I use demo.py I do not seem to get very > consistent results, and I think you mentioned that you had better results > with the Ishikawa version. I tried using Ishikawa, (and I substituted the > RPi_AS3935.py version from Ishikawa ) but keep getting the following error > message: > > Traceback (most recent call last): > File "/home/weewx/./Ishi.py", line 51, in <module> > outputfile = open(filename , "a" ) > IOError: (Errno 2) No such file or directory: > 'lightning/201607lightning.txt' > > Do I have to create a file somewhere for the data to be placed; like > "lightning.txt" and place it in the same directory as Ishi.py, or is there > some other mods I have to make to the two .py files? > > Of course, all of this assumes that you did not give up integrating this > sensor. I appreciate any guidance you can give. > > Thanks (for all your past help also), Steve > > >
