Looking at the extension's source, you'll also need the GPIO module ... unless it's already installed as part of something else ...
pip install RPi.GPIO from https://pypi.org/project/RPi.GPIO/ Brice Ruth, FCD Software Engineer, Madison WI On Wed, Feb 5, 2020 at 1:12 PM Brice Ruth <[email protected]> wrote: > This doesn't seem to be documented, but based on your log output, I think > you need to install a Python module => > > pip install RPi_AS3935 > > from https://pypi.org/project/RPi_AS3935/ > > Brice Ruth, FCD > Software Engineer, Madison WI > > > On Wed, Feb 5, 2020 at 10:35 AM Giuseppe Saia <[email protected]> wrote: > >> I also attach the error log file. I hope it will be useful to help me >> >> >> Feb 5 17:26:19 raspberrypi weewx[10352]: engine: Loading service >> user.as3935.AS3935 >> Feb 5 17:26:19 raspberrypi weewx[10352]: sdr: MainThread: shutdown >> process rtl_433 -M utc -F json -R 42 -R 12 >> Feb 5 17:26:19 raspberrypi weewx[10352]: sdr: MainThread: waiting for >> stdout-thread >> Feb 5 17:26:29 raspberrypi weewx[10352]: sdr: MainThread: timed out >> waiting for stdout-thread >> Feb 5 17:26:29 raspberrypi weewx[10352]: sdr: MainThread: waiting for >> stderr-thread >> Feb 5 17:26:39 raspberrypi weewx[10352]: sdr: MainThread: timed out >> waiting for stderr-thread >> Feb 5 17:26:39 raspberrypi weewx[10352]: sdr: MainThread: close stdout >> Feb 5 17:26:39 raspberrypi weewx[10352]: sdr: MainThread: close stderr >> Feb 5 17:26:39 raspberrypi weewx[10352]: engine: Caught unrecoverable >> exception in engine: >> Feb 5 17:26:39 raspberrypi weewx[10352]: **** No module named >> RPi_AS3935 >> Feb 5 17:26:39 raspberrypi weewx[10352]: **** Traceback (most >> recent call last): >> Feb 5 17:26:39 raspberrypi weewx[10352]: **** File >> "/home/weewx/bin/weewx/engine.py", line 888, in main >> Feb 5 17:26:39 raspberrypi weewx[10352]: **** engine = >> engine_class(config_dict) >> Feb 5 17:26:39 raspberrypi weewx[10352]: **** File >> "/home/weewx/bin/weewx/engine.py", line 78, in __init__ >> Feb 5 17:26:39 raspberrypi weewx[10352]: **** >> self.loadServices(config_dict) >> Feb 5 17:26:39 raspberrypi weewx[10352]: **** File >> "/home/weewx/bin/weewx/engine.py", line 142, in loadServices >> Feb 5 17:26:39 raspberrypi weewx[10352]: **** >> self.service_obj.append(weeutil.weeutil._get_object(svc)(self, config_dict)) >> Feb 5 17:26:39 raspberrypi weewx[10352]: **** File >> "/home/weewx/bin/weeutil/weeutil.py", line 1107, in _get_object >> Feb 5 17:26:39 raspberrypi weewx[10352]: **** mod = >> __import__(module) >> Feb 5 17:26:39 raspberrypi weewx[10352]: **** File >> "/home/weewx/bin/user/as3935.py", line 73, in <module> >> Feb 5 17:26:39 raspberrypi weewx[10352]: **** from RPi_AS3935 >> import RPi_AS3935 >> Feb 5 17:26:39 raspberrypi weewx[10352]: **** ImportError: No >> module named RPi_AS3935 >> Feb 5 17:26:39 raspberrypi weewx[10352]: **** Exiting. >> >> >> -- >> 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]. >> To view this discussion on the web visit >> https://groups.google.com/d/msgid/weewx-user/6899ccae-e507-47bd-a622-7127a57421e4%40googlegroups.com >> <https://groups.google.com/d/msgid/weewx-user/6899ccae-e507-47bd-a622-7127a57421e4%40googlegroups.com?utm_medium=email&utm_source=footer> >> . >> > -- 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]. To view this discussion on the web visit https://groups.google.com/d/msgid/weewx-user/CAFbExW55SoDyUaboX4hB3SikyZ3csNdQnHHUrgU9y1sbZLZB4Q%40mail.gmail.com.
