If i set config file to Serial and do the following
/home/ha/dev/ttyV0
socat pty,link=/home/ha/dev/ttyV0,waitslave tcp:172.16.103.60:23
to create a virtual port
Then i am able to connect to the panel and i can read data just fine.
But i don't know socat, and it doesn't seem reliable (i haven't tried to make it either).
So naturally i would like to use the built in ability to connect direct to TCP socket.
Then i never manage to connect.
Any ideas?
# Connection Type
CONNECTION_TYPE = 'IP' # Serial or IP
# Serial Connection Details
SERIAL_PORT = '/home/ha/dev/ttyV0' # Pathname of the Serial Port
SERIAL_BAUD = 9600 # 9600 for SP/MG. For EVO: Use 38400(default setting) or 57600
# IP Connection Details
IP_CONNECTION_HOST = '172.16.103.60' # IP Module address when using direct IP Connection
IP_CONNECTION_PORT = 23 # IP Module port when using direct IP Connection
IP_CONNECTION_PASSWORD = b'paradox' # IP Module password. "paradox" is default.
IP_CONNECTION_SITEID = None # SITE ID. IF defined, connection will be made through this method.
IP_CONNECTION_EMAIL = None # Email registered in the site
IP_CONNECTION_PANEL_SERIAL = None # Use a specific panel. Set it to None to use the first
IP_CONNECTION_BARE = True # No not expect an IP150 module. Used this for base Serial over TCP tunnels
2019-12-15 10:06:45,395 - INFO - PAI.paradox.connections.ip_connection - Connecting to IP module. Try 1/3
2019-12-15 10:06:45,397 - WARNING - PAI.paradox.connections.ip_connection - Dangling data in the receive buffer: b'e014130c0f0c06000f00000000000041424e42204245414d2020202020202000000000006be014130c0f0c06010f00000000000041424e42204245414d2020202020202000000000006ce014130c0f0c06000f00000000000041424e42204245414d2020202020202000000000006b'
2019-12-15 10:06:45,398 - WARNING - PAI.paradox.connections.ip_connection - Dangling data in the receive buffer: b'e014130c0f0c06000f00000000000041424e42204245414d2020202020202000000000006be014130c0f0c06010f00000000000041424e42204245414d2020202020202000000000006ce014130c0f0c06000f00000000000041424e42204245414d2020202020202000000000006b'
2019-12-15 10:06:45,398 - WARNING - PAI.paradox.connections.ip_connection - Dangling data in the receive buffer: b'e014130c0f0c06000f00000000000041424e42204245414d2020202020202000000000006be014130c0f0c06010f00000000000041424e42204245414d2020202020202000000000006ce014130c0f0c06000f00000000000041424e42204245414d2020202020202000000000006b'
2019-12-15 10:06:45,399 - WARNING - PAI.paradox.connections.ip_connection - Dangling data in the receive buffer: b'e014130c0f0c06000f00000000000041424e42204245414d2020202020202000000000006be014130c0f0c06010f00000000000041424e42204245414d2020202020202000000000006ce014130c0f0c06000f00000000000041424e42204245414d2020202020202000000000006b'
So i have the following issue at the moment.
If i set config file to Serial and do the following /home/ha/dev/ttyV0
socat pty,link=/home/ha/dev/ttyV0,waitslave tcp:172.16.103.60:23
to create a virtual port Then i am able to connect to the panel and i can read data just fine.But i don't know socat, and it doesn't seem reliable (i haven't tried to make it either).
So naturally i would like to use the built in ability to connect direct to TCP socket.
Then i never manage to connect.
Any ideas?
'
Alarm system
sp5050
Environment
linux arm
Git branch
dev
Question
Logs (if required)