nlrb / com.visonic.powermax

Visonic PowerMax application for Homey
https://apps.athom.com/app/com.visonic.powermax
13 stars 8 forks source link

Homey Visonic PowerMax application

With this Homey app you can control your Visonic PowerMax alarm panel, read the status of sensors and more!

Hardware

Supported panels

In principle all PowerMax based panels are supported. It has been specifically tested with the PowerMaxPro, but also PowerMax+, PowerMax Express etc. work with this app. The new PowerMaster models are partially supported. Reason is that the PowerMaster sensors don't send their status to the panel when the panel is disarmed.

Hardware interface

In order for this application to function, Homey needs to be able to read the serial data from the Visonic PowerMax panel. There are a number of options to achieve this.

  1. Using the Visonic (dual) RS-232 Interface Module in combination with a RS-232 to Ethernet module (e.g. USR-TCP232-200). RS232 kit USR-TCP232-200

  2. Directly using the TTL signals of the Visonic PowerMax and interface via a TTL to Ethernet module (e.g. USR-TCP232-E). TTL Interface USR-TCP232-E

  3. [UNTESTED] Using the Visonic USB Programming Lead and e.g. a Raspberry Pi or Onion which runs 'ser2net'.

Application

Devices

Panel device

First create an Alarm Panel device. You can add multiple panels if needed.

add device

Pairing

Specify on which IP address and port the serial connection to the Visonic PowerMax can be made. It is also possible to select whether the panel is a PowerMax or PowerMaster model. Normally leave this on 'auto detect' and the app will determine the model itself. To start the pairing, press the 'Search' button.

add panel

As soon as communication with a PowerMax panel has been established, the pairing will move to the second screen. In the second step the panel will need to be brought into Powerlink mode. This enables the application to retrieve all information from the panel, like zone names, pin codes etc.

add panel

Please wait until all information is downloaded. Once that is completed, click the 'Add panel' button to add the panel device to Homey.

add panel

Settings

Each panel device has a number of settings that control the behavior of the device.

add panel

Panel information

Shows information on the Visonic panel like type, model, serial number and firmware version (the EEPROM and the software). Furthermore it displays the last panel event (as one would find it in the event log).

Network settings

If the address of the Visonic panel in the network has changed, then this can be adapted in the device settings. If either the IP address or port changes, the current connection will be closed and a new connection will be established on the new network address.

Homey options

Safety check

To make sure that someone cannot just change a setting and e.g. turn on the option to disarm the alarm, it is mandatory to enter the master pin code. This is the master code as present on the Visonic panel. Only if the code matches, the settings will be updated.

Controlling the panel

When it is allowed in the panel settings, it is possible to arm or disarm the panel. This can be done either via a Flow, or directly via the device control. The card also shows the status flags of the panel, i.e. whether it is ready or not, trouble, alarm etc.

panel_mobile

Door/window, motion sensors and smoke detectors

After a panel device has been created, the following sensors can be added.

The sensors will show whether it is tripped (contact/motion/smoke alarm in Homey), whether the battery of the sensor is low and it will show a tamper alarm when the sensor is being tampered with.

battery

Pairing

In case multiple panels are present in Homey, you will first need to select the panel for which you want to pair extra sensors. The panels can be identified by their model name and serial number. In case only one panel device is present, this selection step is skipped.

selectp

A list of sensors will be displayed with their name (as present in the panel) and their zone number. Names for the devices can be changed in this screen. Select the sensors you want to have added in Homey and press 'Next' (hold SHIFT to select all at once).

delectd

The devices will now be shown in Homey.

magnet motion smoke

Sensor settings

The sensor have a settings page, which shows some valuable sensor information. Currently the sensor configuration is read-only and cannot be changed through Homey. Changes have to be made on the Visonic panel.

flow1

PGM and X10 devices

After a panel device has been created, it is also possible to add a PGM and X10 devices. The PGM device will show whether it is on or off - and you can also toggle it on or off. The X10 devices also have the option to dim the device (up or down in 5% steps).

pgm x10 x10_mobile

The devices can be paired in the same way as door/window and other sensors.

Flows

When the needed devices are available in Homey, you can use them to create some cool flows. See a couple of simple examples below.

flow1

flow2

Actions

The following actions are available:

Conditions

It is possible to check the panel status flags, to see whether (or not) the panel is

Speech

You can ask Homey a couple of questions regarding your alarm panel(s), e.g.

Comments, remarks etc.

Please enter bugs or feature request on GitHub. For other things you can reach out to "homey.powermax at gmail.com".

Version history