I’ve been working on integrating my Visonic PowerMax system with my Raspberry Pi and OpenHAB setup, and I wanted to share my experiences and ask for some advice.
Over the past few days, I’ve been trying to get the PowerMax Complete to communicate over my network. I’m using a Raspberry Pi running ser2net connected via Wi-Fi to a server running ESXi and Ubuntu Server 16.04, with OpenHAB 1.8.2 and socat. I know the RPi and ser2net are working because I can communicate using Windows and TruePort in lite mode, along with the Visonic Windows driver. However, when I try to use socat with OpenHAB, it doesn’t work.
Here’s what I’ve done so far:
- Connected the RPi directly to the PowerMax unit using an FTDI-based TTL serial connection, following this guide.
- Set up ser2net with the following configuration: 10001:raw:0:/dev/ttyUSB0:9600 NONE 1STOPBIT 8DATABITS.
- Configured socat as sudo socat -d -d pty,link=/dev/ttyVIS,raw tcp:10.0.0.252:10001.
- Set up OpenHAB with powermax:serialPort=/dev/ttyVIS and powermax:forceStandardMode=yes, along with the correct PIN code.
Despite all this, OpenHAB keeps disconnecting, and the logs show that the serial connection is disconnected repeatedly. I’m not sure if there’s a configuration issue or if it’s a compatibility problem with the specific version of OpenHAB I’m using.
I’m wondering if anyone else has encountered similar issues and how they resolved them. Any tips or suggestions would be greatly appreciated!
In the meantime, I’ll keep experimenting with different configurations and checking the logs for any clues. If anyone has successfully integrated PowerMax with OpenHAB, I’d love to hear about your setup.