Hi,
I’ve created an Integration for the Visonic Powermax and Powermaster Alarm Systems.
The Integration was originally created in June 2018 and first posted in this forum here.
That forum thread has been used over the past 3 years to develop the Integration and to try to ensure that it works with as many of the Visonic panels as possible, including the most recent Powermaster panels. I have decided to close that thread as there is little or no information in there that isn’t now on the wiki and many users were reading the whole thread looking for information.
Here are some general notes on connecting it up and what it does but for much more detailed information please see the wiki and the main Github code page here.
It currently supports most Visonic panel types but not all so please check the wiki for supported panels. You’ll need to buy a piece of hardware and do some wiring inside your panel so make sure you’re confident enough to do this, although the wiki provides a pretty simple guide for you. The hardware is inexpensive and easily available and there are a few different options for you to choose from. If you buy the Wemos D1 R2 with a relay board you can connect it to a wired input on your alarm to trigger your external siren from within Home Assistant. For guidance on the hardware options see the wiki here.
Many people seem to be OK with the wifi options but if your panel is in a weak wifi area of your property then it may be necessary for you to use a wired hardware option, either Ethernet or USB.
The Integration does not use the Visonic Powerlink hardware, please do not buy or use this hardware with this integration. Many people have asked if they can use the Visonic Powerlink hardware at the same time as using an RS232 hardware device to also connect to Home Assistant and the answer is almost certainly not. However, a few people have panels with more than 1 PC/RS232 connection and have claimed to have got it working.
I think that all the information that you need to set it up is on the wiki but if you have any problems or set up issues then please post in this thread.
Software installation is simple, either install it using HACS or download and unzip the zip file from Github here. In either case, after you restart Home Assistant it should appear in the Integrations list. For more on software installation see the wiki here
When you select to install the Visonic Integration in Home Assistant, the configuration settings are also on the wiki here.
There is much more information on the wiki about setting it up and creating automations, for example
Troubleshooting
If you have problems then please read the wiki troubleshooting section first here. Also look through the descriptions of the configuration settings again as you may have a configuration setting wrong.
If you still get problems then set your home assistant logger settings like this and recheck the troubleshooting guide on the wiki again.
First of all, look for this in the home assistant log file:
Setting TCP socket Options
Setting TCP socket Options Exception [Errno 111] Connection refused
Failed to connect into Visonic Alarm. Check Settings.
When using Ethernet, this means there is no connection to the Ethernet device. Either you have the wrong IP address or the wrong port.
If you have this in your log file
[Controller] Visonic Plugin has suspended all operations, there is a problem with the communication with the panel (i.e. no data has been received from the panel)
Then the integration has not received any data from your alarm panel in the first 30 seconds after starting the integration. This likely indicates a problem with your wiring in the panel or the hardware setup. Please check this before proceeding.
If you have this in your log file
[Controller] Visonic Plugin has suspended all operations, there is a problem with the communication with the panel (i.e. data has not been received from the panel in 600 seconds)
Then the integration did start receiving data but then it stopped and nothing has been received from the alarm panel in the last 600 seconds (10 minutes). Has the connection been broken, a wire became disconnected for example.
Then look for this
ERROR Connection Lost : disconnected because the Ethernet/USB connection was externally terminated.
If you see this then something is disconnecting the communication between the integration in Home Assistant and the hardware device in your panel. This could be for many reasons, renewing DHCP leases in your router, bad wifi signal in your property etc etc. but it is not something that I can help with. The operating system on the hardware that you run Home Assistant is telling my integration that the connection to the panel has been broken but there is no way of knowing why.
If you do not see the above and you still have problems then…
This is a complex integration with a complex interaction with the alarm panel, if it doesn’t work then I need a log file to help me work out what is going wrong.
Please do not post a message saying "it doesn’t work"
Instead, please describe the error, what you have done about it and …
I always need the relevant part of the Home Assistant Log File to help you
Set your home assistant logger settings like this. Upload the relevant part of the log file to pastebin or dropbox and leave me a link in a post in this thread and I’ll take a look.
That’s all for now