pai icon indicating copy to clipboard operation
pai copied to clipboard

MG5050+ ESP32 Connection to panel

Open armandvanderwalt opened this issue 6 months ago • 2 comments

Alarm system

MG5050+ Serial over IP Connected ESP32 to S2 on the board, tried S1 also with the same results

Environment

Home Assistant Also tried docker container latest and dev, currently this is what is active

Git branch

dev

Question

I have having issues connecting to the panel

Logs (if required)

2025-08-09 14:01:17,246 - INFO - MainThread - PAI.paradox.connections.connection - Connection established 2025-08-09 14:01:17,247 - INFO - MainThread - PAI.paradox.paradox - Connecting to Panel 2025-08-09 14:01:18,252 - DEBUG - MainThread - PAI.paradox.paradox - send/receive timeout in 1.0022 s 2025-08-09 14:01:18,252 - DEBUG - MainThread - PAI.paradox.paradox - Request retry (attempt 2/5) 2025-08-09 14:01:19,255 - DEBUG - MainThread - PAI.paradox.paradox - send/receive timeout in 1.0022 s 2025-08-09 14:01:19,255 - DEBUG - MainThread - PAI.paradox.paradox - Request retry (attempt 3/5) 2025-08-09 14:01:20,260 - DEBUG - MainThread - PAI.paradox.paradox - send/receive timeout in 1.0043 s 2025-08-09 14:01:20,261 - DEBUG - MainThread - PAI.paradox.paradox - Request retry (attempt 4/5) 2025-08-09 14:01:21,264 - DEBUG - MainThread - PAI.paradox.paradox - send/receive timeout in 1.0024 s 2025-08-09 14:01:21,264 - DEBUG - MainThread - PAI.paradox.paradox - Request retry (attempt 5/5) 2025-08-09 14:01:22,267 - DEBUG - MainThread - PAI.paradox.paradox - send/receive timeout in 1.0023 s 2025-08-09 14:01:22,267 - ERROR - MainThread - PAI.paradox.paradox - Timeout while connecting to panel. Is an other connection active? 2025-08-09 14:01:22,269 - ERROR - MainThread - PAI - Unable to connect to alarm 2025-08-09 14:01:22,270 - DEBUG - MainThread - PAI.paradox.interfaces.mqtt.core - MQTT: paradox/interface/pai_status=error 2025-08-09 14:01:22,271 - DEBUG - MainThread - PAI.paradox.interfaces.mqtt.core - MQTT: paradox/interface/availability=offline

Also from time to time see 2025-08-09 14:01:42,401 - DEBUG - MainThread - PAI.paradox.paradox - Message received: None 2025-08-09 14:01:42,402 - DEBUG - MainThread - PAI.paradox.paradox - Unknown message: e0 14 19 08 09 09 0e 00 04 00 00 00 00 00 00 4c 49 56 49 4e 47 00 52 4f 4f 4d 00 00 00 00 00 00 00 00 00 00 3f

armand@ender-wire:~ $ nc 10.1.20.68 6638 | hexdump -C 00000000 e0 14 19 08 09 09 0f 01 05 00 00 00 00 00 00 50 |...............P| 00000010 41 53 53 41 47 45 00 00 00 00 00 00 00 00 00 00 |ASSAGE..........| 00000020 00 00 00 00 40 e0 14 19 08 09 09 0f 01 04 00 00 |....@...........| 00000030 00 00 00 00 4c 49 56 49 4e 47 00 52 4f 4f 4d 00 |....LIVING.ROOM.| 00000040 00 00 00 00 00 00 00 00 00 41 e0 14 19 08 09 09 |.........A......| 00000050 0f 00 05 00 00 00 00 00 00 50 41 53 53 41 47 45 |.........PASSAGE| 00000060 00 00 00 00 00 00 00 00 00 00 00 00 00 00 3f e0 |..............?.| 00000070 14 19 08 09 09 0f 01 05 00 00 00 00 00 00 50 41 |..............PA| 00000080 53 53 41 47 45 00 00 00 00 00 00 00 00 00 00 00 |SSAGE...........| 00000090 00 00 00 40 e0 14 19 08 09 09 0f 00 04 00 00 00 |...@............| 000000a0 00 00 00 4c 49 56 49 4e 47 00 52 4f 4f 4d 00 00 |...LIVING.ROOM..| 000000b0 00 00 00 00 00 00 00 00 40 e0 14 19 08 09 09 0f |........@.......| 000000c0 00 05 00 00 00 00 00 00 50 41 53 53 41 47 45 00 |........PASSAGE.| 000000d0 00 00 00 00 00 00 00 00 00 00 00 00 00 3f e0 14 |.............?..| 000000e0 19 08 09 09 0f 01 04 00 00 00 00 00 00 4c 49 56 |.............LIV| 000000f0 49 4e 47 00 52 4f 4f 4d 00 00 00 00 00 00 00 00 |ING.ROOM........| 00000100 00 00 41 e0 14 19 08 09 09 0f 00 04 00 00 00 00 |..A.............| 00000110 00 00 4c 49 56 49 4e 47 00 52 4f 4f 4d 00 00 00 |..LIVING.ROOM...| 00000120 00 00 00 00 00 00 00 40 e0 14 19 08 09 09 0f 01 |.......@........| 00000130 05 00 00 00 00 00 00 50 41 53 53 41 47 45 00 00 |.......PASSAGE..| 00000140 00 00 00 00 00 00 00 00 00 00 00 00 40 e0 14 19 |............@...| 00000150 08 09 09 0f 00 05 00 00 00 00 00 00 50 41 53 53 |............PASS| 00000160 41 47 45 00 00 00 00 00 00 00 00 00 00 00 00 00 |AGE.............|

armandvanderwalt avatar Aug 09 '25 12:08 armandvanderwalt

I can confirm that when using USB serial adapter I can connect using Babyware

armandvanderwalt avatar Aug 10 '25 15:08 armandvanderwalt

did you manage to resolve this? I'm also struggling to get my MG5050+ working.

TechishPtyLtd avatar Sep 25 '25 12:09 TechishPtyLtd