AlarmDecoder Panel setup DSC 1555

General Discussion

AlarmDecoder Panel setup DSC 1555

Postby Rpreston » Wed May 25, 2016 1:29 pm

Hello All,

I am new to the forums and am looking for some assistance while setting up my Panel.

I have a DSC 1555 Panel and am stuck at setting up the Panel Configuration. (I have uploaded a screen capture of both the settings and the result.)

We are unsure what to put in for the partition and alamdecoder and webapp masks. I know the panel is set to 18.

Any assistance will be much appreciated.
Attachments
Results.PNG
Alarmdecoder Result
Results.PNG (32.58 KiB) Viewed 15561 times
Panel Settings.PNG
Default settings
Panel Settings.PNG (84.79 KiB) Viewed 15561 times
Rpreston
newt
newt
 
Posts: 5
Joined: Wed May 25, 2016 1:17 pm

Re: AlarmDecoder Panel setup DSC 1555

Postby kevin » Wed May 25, 2016 1:32 pm

Leave address mask as default to not filter messages meant for other keypads.

DSC is not addressed the same as Ademco, the "18" does not apply. The "partition" is the "slot" you assign a keypad to a DSC alarm - refer to your manual for this. There are I believe 8 slots? If no other keypad is present, you should be fine choosing 1.
Not an employee of the company. Just here to help and keep things clean.
kevin
Platinum Nut
Platinum Nut
 
Posts: 994
Joined: Fri Aug 16, 2013 10:10 am

Re: AlarmDecoder Panel setup DSC 1555

Postby Rpreston » Wed May 25, 2016 1:36 pm

Kevin,

Thank you for getting back to me so promptly. I have tried all defaults and the next page just spins and never connects. Any other suggestions?
Rpreston
newt
newt
 
Posts: 5
Joined: Wed May 25, 2016 1:17 pm

Re: AlarmDecoder Panel setup DSC 1555

Postby kevin » Wed May 25, 2016 1:38 pm

What do the logs say? Are you able to control the alarm from a terminal? How about through ser2sock? Verify your device configuration with the C command and make sure it's setup correctly, also check wiring http://www.alarmdecoder.com/images/banner3.jpg
Not an employee of the company. Just here to help and keep things clean.
kevin
Platinum Nut
Platinum Nut
 
Posts: 994
Joined: Fri Aug 16, 2013 10:10 am

Re: AlarmDecoder Panel setup DSC 1555

Postby Rpreston » Tue May 31, 2016 10:27 am

Here is what the log is stating that is wrong.

Let me give you some background. The OS platform. we are running ESXI 6.0 Vmware, with a host running an instance of Ubuntu 14.3 LTS.

Here is the log error

Traceback (most recent call last):
File "/opt/alarmdecoder-webapp/ad2web/decoder.py", line 259, in open
self.device.open(baudrate=self._device_baudrate, no_reader_thread=no_reader_thread)
File "/usr/local/lib/python2.7/dist-packages/alarmdecoder/decoder.py", line 211, in open
self._device.open(baudrate=baudrate, no_reader_thread=no_reader_thread)
File "/usr/local/lib/python2.7/dist-packages/alarmdecoder/devices.py", line 735, in open
raise NoDeviceError('Error opening device on {0}.'.format(self._port), err)
NoDeviceError: ('Error opening device on /dev/ttyUSB0.', SerialException(13, u"could not open port /dev/ttyUSB0: [Errno 13] Permission denied: '/dev/ttyUSB0'"))
--------------------------------------------------------------------------------
ERROR in decoder [/opt/alarmdecoder-webapp/ad2web/decoder.py:456]:
Device not found: Error opening device on /dev/ttyUSB0.
--------------------------------------------------------------------------------
Rpreston
newt
newt
 
Posts: 5
Joined: Wed May 25, 2016 1:17 pm

Re: AlarmDecoder Panel setup DSC 1555

Postby kevin » Tue May 31, 2016 10:41 am

Looks like you need to give the user the services are running at access to the device

chmod the /dev/ttyUSB0 device
Not an employee of the company. Just here to help and keep things clean.
kevin
Platinum Nut
Platinum Nut
 
Posts: 994
Joined: Fri Aug 16, 2013 10:10 am

Re: AlarmDecoder Panel setup DSC 1555

Postby Rpreston » Tue May 31, 2016 11:00 am

Next error.

INFO in decoder [/opt/alarmdecoder-webapp/ad2web/decoder.py:315]:
AlarmDecoder device was opened.
--------------------------------------------------------------------------------
127.0.0.1 - - [2016-05-31 23:00:43] "POST /setup/device HTTP/1.1" 302 776 0.052945
127.0.0.1 - - [2016-05-31 23:00:43] "GET /setup/test HTTP/1.1" 200 7978 0.031180
127.0.0.1 - - [2016-05-31 23:00:43] "GET /static/img/spinner.gif HTTP/1.1" 200 1288 0.002278
Traceback (most recent call last):
File "/usr/local/lib/python2.7/dist-packages/gevent/greenlet.py", line 534, in run
result = self._run(*self.args, **self.kwargs)
File "/usr/local/lib/python2.7/dist-packages/gevent/baseserver.py", line 25, in _handle_and_close_when_done
return handle(*args_tuple)
File "/usr/local/lib/python2.7/dist-packages/socketio/server.py", line 124, in handle
handler.handle()
File "/usr/local/lib/python2.7/dist-packages/gevent/pywsgi.py", line 443, in handle
result = self.handle_one_request()
File "/usr/local/lib/python2.7/dist-packages/gevent/pywsgi.py", line 658, in handle_one_request
self.handle_one_response()
File "/usr/local/lib/python2.7/dist-packages/socketio/handler.py", line 122, in handle_one_response
return self._do_handshake(handshake_tokens.groupdict())
File "/usr/local/lib/python2.7/dist-packages/socketio/handler.py", line 64, in _do_handshake
self.write_smart(data)
File "/usr/local/lib/python2.7/dist-packages/socketio/handler.py", line 88, in write_smart
self.write_plain_result(data)
File "/usr/local/lib/python2.7/dist-packages/socketio/handler.py", line 78, in write_plain_result
("Content-Type", "text/plain"),
File "/usr/local/lib/python2.7/dist-packages/gevent/pywsgi.py", line 778, in start_response
raise UnicodeError("The value must be a native string", header, value)
UnicodeError: ('The value must be a native string', 'Access-Control-Max-Age', 3600)
<Greenlet at 0x7fbb3b6c3d70: _handle_and_close_when_done(<bound method SocketIOServer.handle of <SocketIOSe, <bound method SocketIOServer.do_close of <SocketIO, (<socket at 0x7fbb3b7a0b50 fileno=[Errno 9] Bad fi)> failed with UnicodeError
Rpreston
newt
newt
 
Posts: 5
Joined: Wed May 25, 2016 1:17 pm

Re: AlarmDecoder Panel setup DSC 1555

Postby kevin » Tue May 31, 2016 11:03 am

Unicode error. You need to set your operating system's locale. en_us.UTF-8 or whatever language you're using.

On raspberry pi it is something like
Code: Select all
export LANGUAGE=en_US.UTF-8
export LANG=en_US.UTF-8
export LC_ALL=en_US.UTF-8


On ubuntu? Not sure!
Not an employee of the company. Just here to help and keep things clean.
kevin
Platinum Nut
Platinum Nut
 
Posts: 994
Joined: Fri Aug 16, 2013 10:10 am

Re: AlarmDecoder Panel setup DSC 1555

Postby Rpreston » Tue May 31, 2016 11:26 am

What Linux distro is preferred to have alarm decoder work?
Rpreston
newt
newt
 
Posts: 5
Joined: Wed May 25, 2016 1:17 pm

Re: AlarmDecoder Panel setup DSC 1555

Postby kevin » Tue May 31, 2016 11:28 am

Any distro will work technically, you just have to do your own due diligence with setting things up like your locale in this instance.

We just happen to ship a pre-made image for the raspberry pi. The manual process assumes that a user is familiar with the environment. If you're not, I highly suggest using our pre-built raspberry pi image on a raspberry pi.
Not an employee of the company. Just here to help and keep things clean.
kevin
Platinum Nut
Platinum Nut
 
Posts: 994
Joined: Fri Aug 16, 2013 10:10 am


Return to General

Who is online

Users browsing this forum: No registered users and 4 guests

cron