-
Notifications
You must be signed in to change notification settings - Fork 13
Description
Hi!
i want to use this script inside a telegram bot that im developing (call it a HA replacement....) but i cannot figure this one out...
i have tried connecting the alarm directly to a rpi (3b+) using the diagram in the readme, but with 0 luck.
i also trying to acess it with the net4pro (this)
but nothing works... im able to achive connection but i dont read\write anything....
what ive done
set up and connect as the diagram in the readme describes.
set the pi's gpio baud to 2400 to no avail.
connect with the net4pro but also that didnt work..
i also tried crossing the Tx and Rx ........
no matter what i do (both methods)
while not data:
data = self._channel.read(1)
just returns '' (empty)
and the loop goes infinite... (i added a retry counter for 3 times but it doesnt matter w\wo....)
no data is being transferred between the devices.
no matter what i do (both methods)
while not data:
data = self._channel.read(1)
just returns '' (empty)
and the loop goes infinite... (i added a retry counter for 3 times but it doesnt matter w\wo....)
configurations:
configurations:
server:
--port 1492
ssl + ssl cert
--key "a"... just for testing....
--zones 32
--log_level "DEBUG"
for serial
--serialport "/dev/ttyS0"
for ethernert:
--pima_host : net4pro ip (static)
--pima_port 80
--login master code
for ethernet
the net4pro is configured as follows:
static ip address
serial frame length 64
serial framing timeout 2000
remote server the pi's
server port 1492
would appreciate the help !