So I connected Visonic PRP to my panel and I got this
INFO:root:[sending to Alarm at 2019-12-02 21:23:29.099261] : 0d 24 00 00 56 50 00 00 00 00 00 00 35 0a
INFO:root:[received from Alarm at 2019-12-02 21:23:29.158095] : 0d 02 fd 0a 0d 3c fd 0a 00 00 47 04 01 00 00 00 6f 0a
INFO:root:[sending to Alarm at 2019-12-02 21:23:29.211941] : 0d 02 fd 0a
They look similar to that which David R got
Where you get this
0d 22 fd 0a 01 16 15 00 0d 00 00 00 9c 0a
I get this
0d 3c fd 0a 00 00 47 04 01 00 00 00 6f 0a
So I get a 3C message instead of a 22 message but they look kind of similar, close but different.
A 3C message defines the panel type and the software version.
I ignore the software version but I do decode the model and panel type. I use this as confirmation to then download the EPROM.
Looking at your 22 message, bytes “15 00” this would make the
Panel as Powermax (0x00)
Model 21 (0x15)
It looks close enough to me to probably be a definition, I am assuming that Visonic changed the message definition from your panel to newer ones and so created a new message as 3C.
So, I’ve made an alteration in pyvisonic.py to decode a 22 message in the same way as a 3C message. I have no idea if this will work but David R, will you try it please.
I have uploaded version 0.3.3.6 to Github, please download it to your Windows PC. You do not need the bridge or the com0com.
Simply run test.py and connect straight to the COM port you use (COM5?) and tell me what happens.
If you get stuck then please ask here for help.