Page 1 of 1

serialport.py in alarmdecoder python toasts settings

PostPosted: Tue Jun 12, 2018 6:48 pm
by jefftoaster
I've been watching the serial port using screen /dev/ttyAMA0 115200

I'm trying to run the serialport.py in the examples folder of the alarm decoder python interface found here: https://github.com/nutechsoftware/alarmdecoder

It really screws up the settings of my ad2pi. Before I run the serialport.py it's address 31 Ademco. After, it's address 11 (or 18) DSC (which of course doesn't work).

I'm guessing there are settings hardcoded somewhere in the alarmdecoder python code. Can anyone tell me where I can set these? It's really frustrating that I can't run this example, since I'll be using python to control my ad2pi.

Thanks!

Re: serialport.py in alarmdecoder python toasts settings

PostPosted: Wed Jun 13, 2018 10:49 am
by jefftoaster
Okay nevermind I've decided this isn't the way to go. I've got ser2sock working using python telnetlib. Thanks anyway.