Help Troubleshooting AD2Pi
Posted: Sun May 20, 2018 11:01 am
My AD2Pi was was working until I had a failure on my SD card. After replacing the card and reinstalling, I am having problems I'd like help with. My guess is a wiring issue, but everything looks fine visually.
Here are the symptoms:
I'm looking for any advice on how to troubleshoot this and repair. I've replaced the Raspberry Pi thinking something happened with the GPIO interface, but that didn't help.
Thanks-
Jason
Here are the symptoms:
- telnetting on port 10000 DOES show a stream of messages from the Alarm panel.
- Communication appears to be one-way. No response to commands in terminal or from web app.
- Setup wizard yields:
Opening device ✔
Saving device configuration ⚠ Test timed out.
Keypad communication (Send) ⚠ Test timed out.
Keypad communication (Receive) ✔ - Web app diagnostics page returns a python error (which might be from a null response from the board?):
- Code: Select all
Traceback (most recent call last):
File "/usr/local/lib/python2.7/dist-packages/flask/app.py", line 1997, in __call__
return self.wsgi_app(environ, start_response)
File "/opt/alarmdecoder-webapp/ad2web/app.py", line 128, in __call__
return self.app(environ, start_response)
File "/usr/local/lib/python2.7/dist-packages/flask/app.py", line 1985, in wsgi_app
response = self.handle_exception(e)
File "/usr/local/lib/python2.7/dist-packages/flask/app.py", line 1540, in handle_exception
reraise(exc_type, exc_value, tb)
File "/usr/local/lib/python2.7/dist-packages/flask/app.py", line 1982, in wsgi_app
response = self.full_dispatch_request()
File "/usr/local/lib/python2.7/dist-packages/flask/app.py", line 1614, in full_dispatch_request
rv = self.handle_user_exception(e)
File "/usr/local/lib/python2.7/dist-packages/flask/app.py", line 1517, in handle_user_exception
reraise(exc_type, exc_value, tb)
File "/usr/local/lib/python2.7/dist-packages/flask/app.py", line 1612, in full_dispatch_request
rv = self.dispatch_request()
File "/usr/local/lib/python2.7/dist-packages/flask/app.py", line 1598, in dispatch_request
return self.view_functions[rule.endpoint](**req.view_args)
File "/usr/local/lib/python2.7/dist-packages/flask_login/utils.py", line 228, in decorated_view
return func(*args, **kwargs)
File "/opt/alarmdecoder-webapp/ad2web/decorators.py", line 16, in decorated_function
return f(*args, **kwargs)
File "/opt/alarmdecoder-webapp/ad2web/settings/views.py", line 717, in system_diagnostics
device_settings['serial'] = current_app.decoder.device.serial_number.upper()
AttributeError: 'long' object has no attribute 'upper'
I'm looking for any advice on how to troubleshoot this and repair. I've replaced the Raspberry Pi thinking something happened with the GPIO interface, but that didn't help.
Thanks-
Jason