Having a very old version of the webapp for an AD2USB, I installed the latest from Git https://github.com/nutechsoftware/alarmdecoder-webapp
However, after setting the AlarmDecoder settings, Device Testing fails thus:
Opening device ✘ Failed to open the device: 'AlarmDecoder' object has no attribute 'on_ready_changed'
Saving device configuration ✘ There was an error sending the command to the device.
Keypad communication (Send) ✘ There was an error sending the command to the device.
Keypad communication (Receive) ✘ There was an error sending the command to the device.
I can't find anything on that first critical bit... here is the gunicorn log
May 16 02:35:45 flamen gunicorn[16065]: ERROR in decoder [/opt/alarmdecoder-webapp/ad2web/decoder.py:927]:
May 16 02:35:45 flamen gunicorn[16065]: Error while testing device open.
May 16 02:35:45 flamen gunicorn[16065]: --------------------------------------------------------------------------------
May 16 02:35:45 flamen gunicorn[16065]: Traceback (most recent call last):
May 16 02:35:45 flamen gunicorn[16065]: File "/opt/alarmdecoder-webapp/ad2web/decoder.py", line 919, in _test_open
May 16 02:35:45 flamen gunicorn[16065]: self._alarmdecoder.open()
May 16 02:35:45 flamen gunicorn[16065]: File "/opt/alarmdecoder-webapp/ad2web/decoder.py", line 292, in open
May 16 02:35:45 flamen gunicorn[16065]: self.bind_events()
May 16 02:35:45 flamen gunicorn[16065]: File "/opt/alarmdecoder-webapp/ad2web/decoder.py", line 323, in bind_events
May 16 02:35:45 flamen gunicorn[16065]: self.device.on_ready_changed += build_message_handler('ready')
May 16 02:35:45 flamen gunicorn[16065]: AttributeError: 'AlarmDecoder' object has no attribute 'on_ready_changed'