Hello,
I am totally new to this alarmdecoder thing and raspberry Pi. Hello,
I just bought an Ad2Pi device and having some issue to get started.
My Setup: Honeywell Vista 15PSIA with one 6160 keypad at address 16, a CDMA alarm communicator connected to Alarm out terminals.
I am using your pre-configured image and verified wiring as per instructions. I also updated serial ports to
lrwxrwxrwx 1 root root 7 Dec 9 08:50 /dev/serial0 -> ttyAMA0
lrwxrwxrwx 1 root root 5 Dec 9 08:50 /dev/serial1 -> ttyS0
I can see the status from the panel on the web app and can see all the transaction messages on telnet. However, I am not able send any commands to the the panel (I cant arm, disarm) from the web app. During setup on web app, device testing fails as shown below
Opening device ✔
Saving device configuration ⚠ Test timed out.
Keypad communication (Send) ⚠ Test timed out.
Keypad communication (Receive) ✔
This is the diagnostic log from web app
Traceback (most recent call last):
File "/usr/local/lib/python2.7/dist-packages/flask/app.py", line 1836, 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 1820, in wsgi_app
response = self.make_response(self.handle_exception(e))
File "/usr/local/lib/python2.7/dist-packages/flask/app.py", line 1403, in handle_exception
reraise(exc_type, exc_value, tb)
File "/usr/local/lib/python2.7/dist-packages/flask/app.py", line 1817, in wsgi_app
response = self.full_dispatch_request()
File "/usr/local/lib/python2.7/dist-packages/flask/app.py", line 1477, in full_dispatch_request
rv = self.handle_user_exception(e)
File "/usr/local/lib/python2.7/dist-packages/flask/app.py", line 1381, in handle_user_exception
reraise(exc_type, exc_value, tb)
File "/usr/local/lib/python2.7/dist-packages/flask/app.py", line 1475, in full_dispatch_request
rv = self.dispatch_request()
File "/usr/local/lib/python2.7/dist-packages/flask/app.py", line 1461, in dispatch_request
return self.view_functions[rule.endpoint](**req.view_args)
File "/usr/local/lib/python2.7/dist-packages/flask_login.py", line 792, 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 'up
! C or V command from terminal does not get any response.
Any pointers to troubleshoot this ?
regards
Safar