Visonic Powermax and Powermaster Component

Thank you!

Is it possible to step back in versions? Since the last 3 versions, I keep getting disconnects

Thanks for the offer, in the past I’ve asked for people who like this integration and can afford it to make donations to your local charity. I do this for the enjoyment and because I believe in free software (where appropriate).

Go on to the Github page and use github to download previous versions or releases.

I’d rather get to the bottom of why this is happening though. If you can upload a debug log file to a site like pastebin or dropbox and leave a link here I’ll take a look. If the file is too large then cut out the part where it disconnects and maybe 700 lines before that point.

Thanks… I was trying to not use up your time in case this was a silly thing…

I have spent all this time trying to get the logs to generate… but I cant find them…

Where I am now is - I have used my old Homey Controller to connect to the alarm on the same IP and Port and made sure everything at the alarm panel is functioning. It is.

So I disconnected that…

Back to HA

I removed the integration and installed an old version but its the same…
So I started over with the latest version.

I appear to be stuck in Download mode…
I have tried download code 5650 and AAAA

anyway… I feel stupid but I cannot find the logs

image

OK… finally worked out where the log is… I assumed it was in its own files as screenshot shows.

OK… somehow … after doing everything over… I made it passed download and i am in standard mode now…

here is the log

2021-01-31 00:26:35 DEBUG (MainThread) [custom_components.visonic.pyvisonic] [pmSendPdu] Resetting expected response counter, it got to 1   Response list length before 0  after 2
2021-01-31 00:26:35 DEBUG (MainThread) [custom_components.visonic.pyvisonic] [pmSendPdu] Sending Command (Getting Status)    raw data 0d a2 00 00 00 00 00 00 00 00 00 00 43 1a 0a    waiting for message response ['0XA5', '0X2']
2021-01-31 00:26:35 DEBUG (MainThread) [custom_components.visonic.pyvisonic] [Controller] download_counter is 5
2021-01-31 00:26:36 DEBUG (MainThread) [custom_components.visonic.pyvisonic] [Sending ack] PowerlinkMode=False    Is PM Ack Reqd=True    This is an Ack for message=0XA5
2021-01-31 00:26:36 DEBUG (MainThread) [custom_components.visonic.pyvisonic] [data receiver] msgType 0XA5 got it so removed from list, list is now ['0X2']
2021-01-31 00:26:36 DEBUG (MainThread) [custom_components.visonic.pyvisonic] [handle_msgtypeA5] Parsing A5 packet 0d 04 00 01 00 00 00 07 00 00 43 
2021-01-31 00:26:36 DEBUG (MainThread) [custom_components.visonic.pyvisonic] [handle_msgtypeA5]      Got A5 04 message, resetting watchdog
2021-01-31 00:26:36 DEBUG (MainThread) [custom_components.visonic.pyvisonic] [handle_msgtypeA5]      log: Disarmed(Disarmed), arm: Disarmed
2021-01-31 00:26:36 DEBUG (MainThread) [custom_components.visonic.pyvisonic] [pmSendPdu] Sending Command (Ack Long)    raw data 0d 02 43 ba 0a    waiting for message response ['0X2']
2021-01-31 00:26:36 DEBUG (MainThread) [custom_components.visonic.client] No Key Panel as disarmed and user arm without code
2021-01-31 00:26:36 DEBUG (MainThread) [custom_components.visonic.pyvisonic] [Sending ack] PowerlinkMode=False    Is PM Ack Reqd=True    This is an Ack for message=0XA5
2021-01-31 00:26:36 DEBUG (MainThread) [custom_components.visonic.pyvisonic] [handle_msgtypeA5] Parsing A5 packet 0d 04 00 01 00 00 00 07 00 00 43 
2021-01-31 00:26:36 DEBUG (MainThread) [custom_components.visonic.pyvisonic] [handle_msgtypeA5]      Got A5 04 message, resetting watchdog
2021-01-31 00:26:36 DEBUG (MainThread) [custom_components.visonic.pyvisonic] [handle_msgtypeA5]      log: Disarmed(Disarmed), arm: Disarmed
2021-01-31 00:26:36 DEBUG (MainThread) [custom_components.visonic.pyvisonic] [pmSendPdu] Sending Command (Ack Long)    raw data 0d 02 43 ba 0a    waiting for message response ['0X2']
2021-01-31 00:26:36 DEBUG (MainThread) [custom_components.visonic.client] No Key Panel as disarmed and user arm without code
2021-01-31 00:26:36 DEBUG (MainThread) [custom_components.visonic.pyvisonic] [Sending ack] PowerlinkMode=False    Is PM Ack Reqd=True    This is an Ack for message=0XA5
2021-01-31 00:26:36 DEBUG (MainThread) [custom_components.visonic.pyvisonic] [handle_msgtypeA5] Parsing A5 packet 0d 04 00 01 00 00 00 07 00 00 43 
2021-01-31 00:26:36 DEBUG (MainThread) [custom_components.visonic.pyvisonic] [handle_msgtypeA5]      Got A5 04 message, resetting watchdog
2021-01-31 00:26:36 DEBUG (MainThread) [custom_components.visonic.pyvisonic] [handle_msgtypeA5]      log: Disarmed(Disarmed), arm: Disarmed
2021-01-31 00:26:36 DEBUG (MainThread) [custom_components.visonic.client] No Key Panel as disarmed and user arm without code
2021-01-31 00:26:36 DEBUG (MainThread) [custom_components.visonic.pyvisonic] [pmSendPdu] Sending Command (Ack Long)    raw data 0d 02 43 ba 0a    waiting for message response ['0X2']
2021-01-31 00:26:36 DEBUG (MainThread) [custom_components.visonic.pyvisonic] [Controller] download_counter is 6
2021-01-31 00:26:36 DEBUG (MainThread) [custom_components.visonic.pyvisonic] [Sending ack] PowerlinkMode=False    Is PM Ack Reqd=True    This is an Ack for message=0XA5
2021-01-31 00:26:36 DEBUG (MainThread) [custom_components.visonic.pyvisonic] [handle_msgtypeA5] Parsing A5 packet 0d 04 00 01 00 00 00 07 00 00 43 
2021-01-31 00:26:36 DEBUG (MainThread) [custom_components.visonic.pyvisonic] [handle_msgtypeA5]      Got A5 04 message, resetting watchdog
2021-01-31 00:26:36 DEBUG (MainThread) [custom_components.visonic.pyvisonic] [handle_msgtypeA5]      log: Disarmed(Disarmed), arm: Disarmed
2021-01-31 00:26:36 DEBUG (MainThread) [custom_components.visonic.pyvisonic] [pmSendPdu] Sending Command (Ack Long)    raw data 0d 02 43 ba 0a    waiting for message response ['0X2']
2021-01-31 00:26:36 DEBUG (MainThread) [custom_components.visonic.client] No Key Panel as disarmed and user arm without code
2021-01-31 00:26:37 DEBUG (MainThread) [custom_components.visonic.pyvisonic] [Sending ack] PowerlinkMode=False    Is PM Ack Reqd=True    This is an Ack for message=0XA5
2021-01-31 00:26:37 DEBUG (MainThread) [custom_components.visonic.pyvisonic] [handle_msgtypeA5] Parsing A5 packet 0d 04 00 01 00 00 00 07 00 00 43 
2021-01-31 00:26:37 DEBUG (MainThread) [custom_components.visonic.pyvisonic] [handle_msgtypeA5]      Got A5 04 message, resetting watchdog
2021-01-31 00:26:37 DEBUG (MainThread) [custom_components.visonic.pyvisonic] [handle_msgtypeA5]      log: Disarmed(Disarmed), arm: Disarmed
2021-01-31 00:26:37 DEBUG (MainThread) [custom_components.visonic.client] No Key Panel as disarmed and user arm without code
2021-01-31 00:26:37 DEBUG (MainThread) [custom_components.visonic.pyvisonic] [pmSendPdu] Sending Command (Ack Long)    raw data 0d 02 43 ba 0a    waiting for message response ['0X2']
2021-01-31 00:26:37 DEBUG (MainThread) [custom_components.visonic.pyvisonic] [Sending ack] PowerlinkMode=False    Is PM Ack Reqd=True    This is an Ack for message=0XA5
2021-01-31 00:26:37 DEBUG (MainThread) [custom_components.visonic.pyvisonic] [handle_msgtypeA5] Parsing A5 packet 0d 04 00 01 00 00 00 07 00 00 43 
2021-01-31 00:26:37 DEBUG (MainThread) [custom_components.visonic.pyvisonic] [handle_msgtypeA5]      Got A5 04 message, resetting watchdog
2021-01-31 00:26:37 DEBUG (MainThread) [custom_components.visonic.pyvisonic] [handle_msgtypeA5]      log: Disarmed(Disarmed), arm: Disarmed
2021-01-31 00:26:37 DEBUG (MainThread) [custom_components.visonic.pyvisonic] [pmSendPdu] Sending Command (Ack Long)    raw data 0d 02 43 ba 0a    waiting for message response ['0X2']
2021-01-31 00:26:37 DEBUG (MainThread) [custom_components.visonic.client] No Key Panel as disarmed and user arm without code
2021-01-31 00:26:37 DEBUG (MainThread) [custom_components.visonic.pyvisonic] [Sending ack] PowerlinkMode=False    Is PM Ack Reqd=True    This is an Ack for message=0XAB
2021-01-31 00:26:37 DEBUG (MainThread) [custom_components.visonic.pyvisonic] [handle_msgtypeAB]  data 03 00 1e 00 31 2e 30 38 00 00 43 
2021-01-31 00:26:37 DEBUG (MainThread) [custom_components.visonic.pyvisonic] [handle_msgtypeAB] ***************************** Got PowerLink Keep-Alive ****************************
2021-01-31 00:26:37 DEBUG (MainThread) [custom_components.visonic.pyvisonic] [handle_msgtypeAB]         Got alive message while not in Powerlink mode and not in Download mode
2021-01-31 00:26:37 DEBUG (MainThread) [custom_components.visonic.pyvisonic] [pmSendPdu] Sending Command (Ack Long)    raw data 0d 02 43 ba 0a    waiting for message response ['0X2']
2021-01-31 00:26:37 DEBUG (MainThread) [custom_components.visonic.pyvisonic] [Controller] download_counter is 7
2021-01-31 00:26:38 DEBUG (MainThread) [custom_components.visonic.pyvisonic] [Controller] download_counter is 8

I’ve started looking through your log files and there’s something you can try for me.
You currently have “Force Auto Enroll” set to False. Only Powermax+ users should set this to False, please set it to True (Ticked). You will have to delete the integration from within HA and re-create it to do this.
As an aside, the log file settings within the integration are the about retrieving the alarm panel log. Sorry for the confusion. You have uploaded the HA log file to pastebin which is what I need so thanks.

1 Like

Yep
Looks like that did the trick

at first it went standard… then standard plus which i have never seen before… only ever read about it in your Wiki… and then a while later went to Powerlink mode

i then reboot to see what would happen and it went through the above sequence and works fine

edit:

Forgot to say THANK YOU for you work and help with this

Curiosity … since you are parsing out the names of the zones from the panel… any reason they aren’t set on the device names?

If there isn’t a technical reason… then can it be a feature request?

There is a reason and it’s because they are not unique. I have a PIR and a door (magnet) sensor in my kitchen for example. They both have a “Zone Name” of Kitchen.

If I put 2 PIRs in the same Zone, they would be exactly the same except for the zone id. So I put “visonic_z” in front of a binary sensor and “visonic_x” in front of an X10 switch with the zone id at the end. Also, the zone name is available as an attribute of the sensor if you want to use it.

Apart from that it’s really easy to give them whatever name you want to within Home Assistant and customise them.

So, after all that it’s not something that I can do and it’s so easy to do without it anyway.
:slight_smile:

Just want you to know… Today I made a 50eur donation to a volunteer group locally where I live. In cash! So no one can take their handling fees!

Thanks for all your work!

Hello All,

I just bought a property with a Powermaster 10 G2 fitted and of course the first thing I did is to check if I can integrate it with Home Assistant and I bumped into this channel. I need to say that I am really impressed with all the work you have done!

I am trying to get my head around the integration. I have read the Wiki page and my understanding is that in terms of hardware I need a USR-TCP232-E2 board to connect an ethernet cable and few jumper wires.

I have ordered those and waiting them to arrive. In the meantime I removed the panel from the wall to have a look. All the guides and photos of alarm panels that I have seen are showing that the pins where the jumper wires are connected are labeled as IP or PC/IP (see the first picture below) where in my panel the only identical exposed pins are labeled as PRG/BBA.

photo guide

Am I looking to the correct pins or those pins are for a different use?

Any help is much appreciated.

Thank you

Stefanos

Welcome :slight_smile:

Yes.
Instead of jumper wires I used a 10 pin IDC cable, cut one end off and split out the wires to solder to the USR-TCT232 Gadget. The connector then plugs in to the alarm panel as shown in your picture and I can remove it easily.
As for the actual PowerMaster connector, I’d hope that someone else can help you out as I have a PowerMax panel.

Edit: I have the same panel, but there are differences for the US market. That said, the connector is exposed through an opening in the back. It looks like it’s in roughly the same position as the panel I have.

The connector I ordered is one of these. Don’t be confused by the picture; the part is a 10 position backshell. You still need pins and a crimper to terminate the wires.

https://www.mouser.com/ProductDetail/TE-Connectivity/102387-1/?qs=%2Fha2pyFadujm6gOuMSXZg1ypYIsPiGRR8WjvRkld3I4pRZUA%2FdyIvw%3D%3D

Dave Yes, sorry. Was my stupidity overlooking the Port in the RS232 tab. Duh, too much night time working.

It might help someone else if I report here my newbie issue with the Lovelace UI card & Automations not working for Arm Home / Arm Away / Alarm Night, yet automations Disarming OK.

I had (erroneously as it turns out) ticked the ‘Arm without User Code’ box in the options.
My logic was that if I wanted to arm in HA I didn’t want to have to enter the User Code.

May just me me but this option wording seems counter-intuitive.

Although that’s true, the alarm panel has to support it, some do and some don’t. I haven’t yet worked out which panel models do and don’t. It’s a panel capability rather than a user desire.
On the wiki description it does say “If the Panel is Disarmed, then Arm without the Usercode (not all panels support this)” but perhaps I need to make it more obvious.

Hello, i have a Powermax Pro panel with USR-TCP232-E2 as indicated in Wiki.
My question what is the port to put in the config ?

Thx

cp1-visonic

likely 23 - what did you flash on the USR-232?

but if you download FING on your phone and scan the network. you can then find this IP and scan for ports open…

that will show which port it is

Thanks for your anwser,

I don’t have still flash the USR-232, what is the software to install?
I read the wiki for the NodeMCU, i must do make the same for the USR-232 ?

Sorry just ignore that… I misread what device you have…

go to the web address for your device
192.168.1.225

In there set the parameters
and the confirm the port number