Hi.
I am trying to reinstall the Lightning Detector v. 4.1 but are running into problems, no data is displayed on the web-page, just the header and the files buttons.
Monitor status shows:
pi@raspberrypi:~ $ sudo systemctl status as3935_monitor.service
● as3935_monitor.service - AS3935 Monitor service
Loaded: loaded (/lib/systemd/system/as3935_monitor.service; enabled; vendor preset: enabled)
Active: active (running) since Fri 2022-05-13 07:42:02 CEST; 4min 28s ago
Main PID: 609 (python3)
Tasks: 9 (limit: 1598)
CPU: 2min 16.745s
CGroup: /system.slice/as3935_monitor.service
├─609 /usr/bin/python3 /home/pi/Sensors/as3935_monitor.py
├─699 /usr/bin/python3 /home/pi/Sensors/as3935_monitor.py
└─798 /usr/bin/python3 /home/pi/Sensors/as3935_monitor.py
maj 13 07:42:07 raspberrypi python3[798]: rc = self._packet_read()
maj 13 07:42:07 raspberrypi python3[798]: File “/usr/local/lib/python3.9/dist-packages/paho/mqtt/client.py”, line 2439, in _packet_read
maj 13 07:42:07 raspberrypi python3[798]: rc = self._packet_handle()
maj 13 07:42:07 raspberrypi python3[798]: File “/usr/local/lib/python3.9/dist-packages/paho/mqtt/client.py”, line 3039, in _packet_handle
maj 13 07:42:07 raspberrypi python3[798]: return self._handle_connack()
maj 13 07:42:07 raspberrypi python3[798]: File “/usr/local/lib/python3.9/dist-packages/paho/mqtt/client.py”, line 3138, in _handle_connack
maj 13 07:42:07 raspberrypi python3[798]: on_connect(
maj 13 07:42:07 raspberrypi python3[798]: File “/home/pi/Sensors/as3935_monitor.py”, line 357, in on_connect
maj 13 07:42:07 raspberrypi python3[798]: logger.debug("MQTT broker connection failed with result: "+connack_string(rc))
maj 13 07:42:07 raspberrypi python3[798]: NameError: name ‘connack_string’ is not defined