Well i kind of gave up after testing with alot of other stuff aswell, PC, powermaster remote software, usb-serial cable and stuff.
But today im at it again and it seems i have it working now. Combination of bad breadboard setup (not a good connection) and wrong settings in ESP-LINK was the problem.
Now i have a connection and just received this error in the log. Dont know why yet. Any ideas?
Edit: I should mention that my alarm is an early version of PM30 , my firmware is version 13. It doenst offically support powerlink3 at all.
Full log - https://pastebin.com/fqmQrkXJ
2020-01-02 17:30:42 ERROR (MainThread) [custom_components.visonic.pyvisonic] ERROR Connection Lost : disconnected due to exception Same Packet for 20 times in a row
2020-01-02 17:30:47 ERROR (MainThread) [custom_components.visonic.pyvisonic] Calling Exception handler.
2020-01-02 17:30:47 ERROR (MainThread) [custom_components.visonic] PyVisonic has caused an exception Same Packet for 20 times in a row
2020-01-02 17:30:42 DEBUG (MainThread) [custom_components.visonic.alarm_control_panel] code format number *****************************
2020-01-02 17:30:42 DEBUG (MainThread) [custom_components.visonic.pyvisonic] [pmSendPdu] Sending Command (Ack Long) raw data 0d 02 43 ba 0a waiting for message response ['0X3F']
2020-01-02 17:30:42 DEBUG (MainThread) [custom_components.visonic.pyvisonic] [Sending ack] PowerlinkMode=False Is PM Ack Reqd=True This is an Ack for message=0XA5
2020-01-02 17:30:42 DEBUG (MainThread) [custom_components.visonic.pyvisonic] [handle_msgtypeA5] Parsing A5 packet 00 04 00 05 00 00 00 07 00 00 43
2020-01-02 17:30:42 DEBUG (MainThread) [custom_components.visonic.pyvisonic] [handle_msgtypeA5] Got A5 04 message, resetting watchdog
2020-01-02 17:30:42 DEBUG (MainThread) [custom_components.visonic.pyvisonic] [handle_msgtypeA5] Zone Event sysStatus 0x0 sysFlags 0x5 eventZone 0 eventType 0 x10status 0x0
2020-01-02 17:30:42 DEBUG (MainThread) [custom_components.visonic.pyvisonic] [handle_msgtypeA5] log: Disarmed(Disarmed), arm: Disarmed
2020-01-02 17:30:42 INFO (MainThread) [custom_components.visonic] Exclude sensor list = [] Exclude x10 list = []
2020-01-02 17:30:42 INFO (MainThread) [custom_components.visonic] Visonic update event 1
2020-01-02 17:30:42 INFO (SyncWorker_7) [custom_components.visonic.alarm_control_panel] alarm control panel received update event
2020-01-02 17:30:42 DEBUG (MainThread) [custom_components.visonic.alarm_control_panel] code format called *****************************
2020-01-02 17:30:42 DEBUG (MainThread) [custom_components.visonic.alarm_control_panel] code format number *****************************
2020-01-02 17:30:42 DEBUG (MainThread) [custom_components.visonic.pyvisonic] [pmSendPdu] Sending Command (Ack Long) raw data 0d 02 43 ba 0a waiting for message response ['0X3F']
2020-01-02 17:30:42 DEBUG (MainThread) [custom_components.visonic.pyvisonic] [Sending ack] PowerlinkMode=False Is PM Ack Reqd=True This is an Ack for message=0XA5
2020-01-02 17:30:42 DEBUG (MainThread) [custom_components.visonic.pyvisonic] [handle_msgtypeA5] Parsing A5 packet 00 04 00 05 00 00 00 07 00 00 43
2020-01-02 17:30:42 DEBUG (MainThread) [custom_components.visonic.pyvisonic] [handle_msgtypeA5] Got A5 04 message, resetting watchdog
2020-01-02 17:30:42 DEBUG (MainThread) [custom_components.visonic.pyvisonic] [handle_msgtypeA5] Zone Event sysStatus 0x0 sysFlags 0x5 eventZone 0 eventType 0 x10status 0x0
2020-01-02 17:30:42 DEBUG (MainThread) [custom_components.visonic.pyvisonic] [handle_msgtypeA5] log: Disarmed(Disarmed), arm: Disarmed
2020-01-02 17:30:42 INFO (MainThread) [custom_components.visonic] Exclude sensor list = [] Exclude x10 list = []
2020-01-02 17:30:42 INFO (MainThread) [custom_components.visonic] Visonic update event 1
2020-01-02 17:30:42 INFO (SyncWorker_0) [custom_components.visonic.alarm_control_panel] alarm control panel received update event
2020-01-02 17:30:42 DEBUG (MainThread) [custom_components.visonic.alarm_control_panel] code format called *****************************
2020-01-02 17:30:42 DEBUG (MainThread) [custom_components.visonic.alarm_control_panel] code format number *****************************
2020-01-02 17:30:42 DEBUG (MainThread) [custom_components.visonic.pyvisonic] [pmSendPdu] Sending Command (Ack Long) raw data 0d 02 43 ba 0a waiting for message response ['0X3F']
2020-01-02 17:30:42 DEBUG (MainThread) [custom_components.visonic.pyvisonic] [Sending ack] PowerlinkMode=False Is PM Ack Reqd=True This is an Ack for message=0XA5
2020-01-02 17:30:42 DEBUG (MainThread) [custom_components.visonic.pyvisonic] [handle_packet] Had the same packet for 20 times in a row : 0d a5 00 04 00 05 00 00 00 07 00 00 43 07 0a
2020-01-02 17:30:42 ERROR (MainThread) [custom_components.visonic.pyvisonic] ERROR Connection Lost : disconnected due to exception Same Packet for 20 times in a row
2020-01-02 17:30:47 ERROR (MainThread) [custom_components.visonic.pyvisonic] Calling Exception handler.
2020-01-02 17:30:47 ERROR (MainThread) [custom_components.visonic] PyVisonic has caused an exception Same Packet for 20 times in a row