Visonic Powermax and Powermaster Integration

Just tested and the problem persist in 0.9.9.8 version.
image

Log: home-assistant_2024-10-30T07-46-41.315Z.log - Google Drive

@davesmeghead I see you also released version 0.9.9.9, and a quick test of it with Arm Home and then Disarm seems to be ok. No error in log and the panel status did not go into unavailable/unknown state :+1:

Hi all, Dave thanks a lot for this great integration!
I have a powermaster 10 panel and an USR-TCP232-T2 ethernet connection.
The 2 door switches report back immediately when i open the door.
Next to that i have 4 PIR motion detectors wich do not report back or very slow.
I’m using the dev_B0 integration.
I tested a lot with the PIR sensors and have seen a perculiar behaviour, it looks like a detection is only transmitted to HA once every 60 seconds.
Even if i trigger the PIR before the 60 seconds have passed it reports in HA excactly 60 seconds after the previous detection.
I have set the off delay time for motion sensors to 5 seconds wich shows in the attached image.
Another thing is that only the first detected sensor is transmitted to HA.

Is this normal behaviour?

Hi,
The dev_B0 release is a few months old and was set up for a specific purpose. I’ve just deleted it from Github so not one else makes the mistake of using it. The master (HACS) release is the main release, the dev release contains the latest, and sometime a bit experimental, functionality.

Having said all that, a PowerMax panel outputs all sensor changes pretty quickly. A PowerMaster panel outputs a message that contains a list of messages that I need to ask for, to get the state of the sensors. Even then, for motion sensors the message I get when I ask for it just tells me the last date & time that the sensor PIR was triggered, so I need to know the date & time in the panel.
Hence, there’s a longer response time for PowerMaster PIR/Motion Sensors.

Can you try it with the Master or the Dev release, your choice, and let me know how it goes.

Hi,
I have just uploaded a new “dev” release to Github.

This is a significant update with both breaking changes and some limitations on capability whilst I’m experimenting.

As such this is a development (experimental) release.

First of all the limitations that I’ve introduced as I have not tested them:

  1. Emulation Mode: I have disabled Minimal and Standard Mode.
    Emulation Mode is ignored and tries for Powerlink anyway
    (and gives an error in the log file to make sure you see it).
  2. It does not set the time in the panel.

And now for the added and experimental functionalities

  1. Powermaster: Changes to the startup sequence for PowerMaster panels, the EPROM is not downloaded, instead it uses B0 messages to get the needed information. This is experimental. If it fails to get the required B0 data then it downloads the EPROM as before.
  2. When selecting to Arm/Bypass a sensor there is a 3 second timeout and then it reverts to the known value, this is in-case the panel does not respond.
  3. I have added Arm Home Bypass and Arm Away Bypass as new commands (for the HA action). These bypass all “open” sensors first and then arm the panel.
  4. Powermaster: Changes to the way the event log is processed.
  5. Powermaster: I have added temperature and luminance Attributes to the Sensors in HA for supported sensors. This is experimental as I have no way to test these.
  6. Powermaster: A few bug fixes to Partitions

As normal, let me know of any issues that you have, either general issues here or specific issues on Github.

One final thing, you’ll need to update to the latest HA to use it, at least 2024.11.1

Hi,

This post is an important announcement …

This integration is compatible with the following:
msp1974/visonic_proxy

For more information see this post:
Homeassistant create a rest api integration diy Visonic alarm system - Development - Home Assistant Community

I wanted to make a separate post to announce this compatibility as it’s an important milestone for this Integration.

“What does this do for me?” I hear you ask

It allows you to use this Integration with a PowerLink 3.1 Hardware Module within your Panel. It supports:

  • Not having an external connection (set up the visonic proxy and have direct interaction).
  • An external connection to a visonic server to also use the Visonic Go app. The proxy acts as a “router” between the panel, the external site and my Integration.

Once you get the “Visonic Proxy” set up and working as per Mark’s instructions, then you can use my integration. You will need to use my dev release to support this at the moment. Configure my integration using Ethernet to connect to port 5002 and it should allow you to control your panel from within Home Assistant via the proxy.

Mark also has a custom component “visonic_powerlink” that you can install in HA. Although this is not needed for my Integration please give it a go.

Thanks to Mark for all the work he’s put in to this and being so positive and patient with me.

Lastly, give me and Mark feedback, if you think it’s a proxy problem then to Mark or my integration then here!

1 Like

Hi, ok sorry for delay of my response.
So if i understand, i have 2 choice . Put the new syntax, or try the latest HA with the siren item.

I don’t understant what did i do to use the « siren » entity…

The Alarm Control Entity only shows triggered when triggered by a sensor. The Siren Entity may also be triggered by the options you set in the configuration such as Emergency, Fire (in addition to Sensor triggered).

I put this (watch pictures) but it doesn’t working :pensive:

Do you know where is my error ? This is my automation :

Hi,
The trigger looks good. The siren.visonic_s01 entity is also a switch in HA. Go to developer tools and switch it on to see if the action works as expected.
Otherwise I’m going to need a debug log file to look through please
I also assume that you have the latest HA 2024.11.1 and at least the master HACS release of the integration?

Ho yes i have the latest version. Nothing appends when i switch the siren button directly :


I send i log file to you quickly

Hello,
I am using this integration on Powermax Pro with “ESP-LINK” on ESP-01S and it works perfectly.
Now I have another Powermax Pro panel that I want to use without Home Assistant but with the ConnectAlarm app, do you think that “ESP-LINK” can enable it without having a powerlink module?
I am well aware that this question goes beyond the scope of this forum…
Thank you Dave for all the great work accomplished and keep it up.

Hi @davesmeghead , this is the log in your Github :

https://github.com/user-attachments/files/17700945/home-assistant_2024-11-11T10-31-56.055Z.log

Thanks, I installed the Master version 0.9.9.9
The behaviour is the same, stil only once per 60 seconds i see 1 PIR trigger in the log.

I understand that this is “normal” behaviour due to limitations of the powermaster panel. But can you confirm that the integration is asking the state of the PIR’s once every 60 seconds?
Or is this something only my panel does? And can it be tweaked to be faster?

hi @davesmeghead , new day, new problem.
Since this morning, impossible to arm or disarm…nothing append.
Yesterday i reboot HA because i have the fault with supervisor and after i have this problem…

Telling me about problems without a debug log file doesn’t help me work out what the problem is. I need a debug log file please.

Can you confirm that you have the PIR delay time set to a lot less than 60 seconds
image

I keep saying this, please provide me a debug log file so I can see what is happening in your system. The integration asks the panel for an update every 5 minutes, or sooner when the panel tells my integration to ask for an update. This mechanism is separate from the “delay time” above though. Perhaps I can look at this further but I’d need a log file though to see what’s happening first. If you upload a log file I’d need to know the times that you actually triggered the PIR i.e. the red LED lights up so I can compare that to the log file.

The dev release also has some bug fixes for PIR sensors so you could try downloading the zip file and installing it if you can.
EDIT: If you use the dev release then update HA to the latest version 2024.11.1

You’re right sorry.

This is the log file

https://github.com/user-attachments/files/17713299/home-assistant_2024-11-12T08-11-48.459Z.1.log

According to the log file Z29 is open, the panel won’t arm with an open zone unless you bypass it

[36m2024-11-12 09:10:38.250 DEBUG (SyncWorker_17) [custom_components.visonic.client] P0  Client: Sending HA Event visonic_alarm_command_to_panel  {'panel': 0, 'panel_id': 'alarm_control_panel.visonic_alarm', 'action': 'armdisarm', 'ready': False, 'open': ['binary_sensor.visonic_z29'], 'bypass': [], 'tamper': [], 'zonetamper': [], 'command': 'Arm_Away', 'reason': 0, 'reason_str': 'Success', 'message': 'Request Arm/Disarm Success, sent Command to Panel'}e[0m

Shit sorry sorry sorry. I have a bug with zigbee2mqtt.
Is it possible to by-pass a zone and put it to arm ?

Another question. I don’t arrive to do action directly on siren ? I move the switchbut nothing append.