Hi Dave,
I have the panel now registering and working!
For the benefit of everyone else, here are my findings ( for a Powermaster 30 panel ).
Opting to use a Wemos for the easy way to connect relays for siren etc may not be a good idea for this panel.
I opted to power the device using a power cable spliced into the 12v supply for the board. connecting directly to the tx/rx on the panel will either not work for long or (most likely) damage the visonic panel. I also tried using a step down interface to manage the output voltage, but just saw crc errors in the HA logs (and the integration still not working).
Having got nowhere, except many hours of troubleshooting adding/removing integration, trying 2 different wemos boards and two different powermaster 30 panels, I ordered this NodeMCU, another panel and followed the helpful wiki ( Using NodeMCU PowermaxProModel6 · davesmeghead/visonic Wiki · GitHub ) to flash it:
https://www.amazon.co.uk/gp/product/B06Y1ZPNMS/
I found the easiest way was to connect it to the Pi I run HA on.
Once flashed, here is what i did:
Set a static IP on the device and connected it to the same Wifi network Homeassistant is on
Set all pins to disabled, except UART, which is left as normal.
Baud set to 9600 (despite the Powermaster being a v18 firmware panel)
Connected TX to RX, RX to TX , GND and 3.7v to the end 3v pin/GND on the NodeMCU
Then connected the battery on the panel, then connected the DC 12v mains to the panel
I then saw XXXXXXXXXXXXXXXXXX… on the console output of the NodeMCU - finally something!
Then reinstalled the HA Visonic alarm integration and set only:
Ethernet
Static IP of the NodeMCU
Port: 23 in this case (that’s not mega clear in the Wiki for the NodeMCU)
The option to enroll automatically.
Lo and behold, the console was reporting comms, some readable relating to rooms, and some random characters.
Finally the panel shows in, and could be activated and disarmed in HA after waiting a short while for the comms to complete (I set allow arm and disarm and override user code, so that the keypad wasn’t needed in HA).
I’m very sure the Wemos/voltage damaged the other panels RS232 port, as I was getting zero console output via NodeMCU from a panel I had previously connected the Wemos to, and immediate data when i connected a fresh panel.
Hopefully this will save someone connecting a Wemos and damaging the panel or going through a lot of frustration trying to figure out why it wont work. Specifically for me and might be relevant, a Powermaster 30
One thing I have noticed, sometimes I see a warning on the panel “CPU Tamper” like when coming out of installer mode after enrolling devices, despite the panel not being opened. This seems to clear either by itself or after another entry into installer mode or a disarm. Not yet figured out exactly what causes this, but it has only happened since the Nodemcu or Wemos were connected, and happened on multiple panels
I have currently enrolled on my system, a contactless door sensor, 2x PIR, 1x smoke, 1x CO2 (all enrolled after the integrations was working) and see the following as entities, not sure if expected, the binary sensor has appeared as an entity, and nothing else.
UPDATE: I powered off the panel and restarted HA and the other entities/devices then appeared too.
But super happy I can now see the status and control the panel via HA.
I was prompted to enable B0 features, but haven’t yet - couldn’t find a detailed doc on what actually that does or might break.
Thanks again to Dave for giving suggestions that helped me rule out it wasn’t just me doing it wrong"
Darryl.