vanackej / risco-mqtt-local

Provide Risco alarm system integration to Home assistant using local TCP communication (no cloud required) and MQTT
MIT License
24 stars 11 forks source link

Wrong CRC value #29

Closed ghost closed 2 years ago

ghost commented 2 years ago

Hi there,

I'm trying to get this package to work in proxy mode but I get an error saying that the CRC is not valid.

3/13/2022, 9:35:28 AM [debug] Local GMT Timezone is : +00:00
3/13/2022, 9:35:28 AM [info] autoConnect enabled, starting communication
3/13/2022, 9:35:28 AM [verbose] Start Connection to Panel
3/13/2022, 9:35:28 AM [debug] TCP Socket is not already created, Create It
3/13/2022, 9:35:28 AM [debug] TCP Socket must be created now
3/13/2022, 9:35:28 AM [info] Connecting to mqtt server: mqtt://x.x.x.x:1883
3/13/2022, 9:35:28 AM [info] Listening on IP :: and Port 33000
3/13/2022, 9:35:28 AM [info] Waiting for panel incoming connection... This can take up to 1 or 2 minutes
3/13/2022, 9:35:28 AM [info] Connected on mqtt server: mqtt://x.x.x.x:1883
3/13/2022, 9:35:28 AM [info] Panel is not connected, waiting
3/13/2022, 10:56:05 AM [info] Incoming connection from panel received
3/13/2022, 10:56:05 AM [debug] RiscoCloud Socket: connect
3/13/2022, 10:56:05 AM [info] RiscoCloud Socket: ready
3/13/2022, 10:56:05 AM [info] Setting a timer for panel connection in 30000 ms
3/13/2022, 10:56:06 AM [debug] [Panel => Bridge] Received unencrypted data Buffer from Panel : [71,69,84,32,47,32,...
3/13/2022, 10:56:06 AM [debug] Received data Buffer : [71,69,84,32,47,...
3/13/2022, 10:56:06 AM [debug] Command[NaN] CRC Value : FFFF
3/13/2022, 10:56:06 AM [debug] Command[NaN] CRC Not Ok
3/13/2022, 10:56:06 AM [warn] Command[NaN] Wrong CRC value for the response.
3/13/2022, 10:56:22 AM [error] Panel Socket Closed.
3/13/2022, 10:56:22 AM [debug] RiscoCloud Socket Destroyed.
3/13/2022, 10:56:22 AM [error] TCP Socket Disconnected

I haven't found anything point me in the right direction in the docs. Does anybody have a clue what is going wrong here?

Kr, Thomas

vanackej commented 2 years ago

Hi,

I'm cleaning the issues backlog. If you still have CRC problems, please reopen an issue using the bug issue template and providing all required informations (including the commands log, required for CRC issues debugging on my side)