-
Notifications
You must be signed in to change notification settings - Fork 11
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Raspberrypi no Serial radings (and also no lLAN connection) #21
Comments
Hey @alws34, did you enable the alarm serial port connection using the alarm keypad? |
hi maor, thank you for the quick reply yes, i did enebaled the serial connection to the alarm. |
This comment was marked as outdated.
This comment was marked as outdated.
Hi! *what i think is the problem is the ")\x0c" at the beginning... the 0c does not being parsed.... would appreciate any suggestion haha maybe i need to change the _Message and _Cahnnel values? .... i have changed the logging mechanism.....: Recieved Raw data: b')\x0c 00000062837900001010706002001\xea\xe5' Recieved Raw data length: 41 Recieved Data hex:29 0c 20 2a 30 30 30 30 30 30 36 32 38 33 2a 37 39 30 2a 30 30 30 2a 31 2a 30 31 2a 30 37 30 36 30 30 2a 32 2a 30 30 2a 31 2a ea e5 Sent message <<<: 04 0c 05 00 00 91 e2 Recieved Raw data: b')\x0c 00000062837900001010706002001\xea\xe5' Recieved Raw data length: 41 Recieved Data hex:29 0c 20 2a 30 30 30 30 30 30 36 32 38 33 2a 37 39 30 2a 30 30 30 2a 31 2a 30 31 2a 30 37 30 36 30 30 2a 32 2a 30 30 2a 31 2a ea e5 Sent message <<<: 04 0c 05 00 00 91 e2 Invalid message b' '. Failed to create alarm object. |
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)
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)
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 !
The text was updated successfully, but these errors were encountered: