Visonic Powermax and Powermaster Component

Hello Dave,

I have no information [Process Settings] in my logs, i have these informations :

2020-10-26 20:06:14 INFO (MainThread) [custom_components.visonic.pyvisonic] =============================================== Display Status ===============================================
2020-10-26 20:06:14 INFO (MainThread) [custom_components.visonic.pyvisonic]      key 0  Sensor id=1  dname=Z01  stype=None zname=Basement       ztypeName=Voie Périp ztamper=0  ztrip=0  bypass=0  lowbatt=0  status=0  tamper=0  enrolled=1  triggered=0 
2020-10-26 20:06:14 INFO (MainThread) [custom_components.visonic.pyvisonic]      key 1  Sensor id=2  dname=Z02  stype=None zname=Kitchen        ztypeName=Temporisée ztamper=0  ztrip=0  bypass=0  lowbatt=0  status=0  tamper=0  enrolled=1  triggered=0 
2020-10-26 20:06:14 INFO (MainThread) [custom_components.visonic.pyvisonic]      key 2  Sensor id=3  dname=Z03  stype=None zname=Kitchen        ztypeName=Incendie   ztamper=0  ztrip=0  bypass=0  lowbatt=0  status=0  tamper=0  enrolled=1  triggered=0 
2020-10-26 20:06:14 INFO (MainThread) [custom_components.visonic.pyvisonic]      key 3  Sensor id=4  dname=Z04  stype=None zname=Basement       ztypeName=Inondation ztamper=0  ztrip=0  bypass=0  lowbatt=0  status=0  tamper=0  enrolled=1  triggered=0 
2020-10-26 20:06:14 INFO (MainThread) [custom_components.visonic.pyvisonic]    Model Unknown                PowerMaster No                     LastEvent None                   Ready   Yes          
2020-10-26 20:06:14 INFO (MainThread) [custom_components.visonic.pyvisonic]    Mode  Standard               Status      Armé Total             Armed     Yes                    Trouble None              AlarmStatus None        
2020-10-26 20:06:14 INFO (MainThread) [custom_components.visonic.pyvisonic] ==============================================================================================================

cat home-assistant.log |grep Process

give me nothing …

Hello,

Maybe a stupid question, i have read the install manual. But i don’t get it (beginner with HA). I have a powermax Pro with a serial2USB adapeter (RS232) attached, worked with Vera.
Can i use this or not? I see Ethernet and USB option in the manual, but the USB option says:(You do not need the Visonic RS-232 Adaptor Kit if you use a USB interface).

I see that you are in Standard Mode and you do not get the EEPROM data from the panel so you do not get the full sensor data and do not see the Process Settings messages in the log file.

Do you get

[handle_MsgTypeA6] Packet = <data>

and

[handle_MsgTypeA3] Packet = <data>

If so then show me that block of lines for each of the 4 sensors please. If not then I’m not sure what’s going on.

If you had it working with Vera then I’m pretty certain that it will work with HA and this integration.
The Visonic RS-232 adaptor kit converts the proper RS-232 voltake levels to TTL logic levels. Ths bit in brackets just means that if you have a standard Serial to USB device then you shouldn’t need the Visonic adaptor kit to convert voltage levels.
I suggest that you give it a try :wink:

I can’t have it working in an other mode … can you help me about that ?

2020-10-26 20:01:03 INFO (MainThread) [custom_components.visonic.pyvisonic] [handle_MsgTypeA6] Packet = 08 01 25 22 29 20 25 24 24 25 43 
2020-10-26 20:01:04 INFO (MainThread) [custom_components.visonic.pyvisonic] [handle_MsgTypeA6] Packet = 08 02 25 25 24 24 25 25 24 25 43 
2020-10-26 20:01:04 INFO (MainThread) [custom_components.visonic.pyvisonic] [handle_MsgTypeA6] Packet = 08 03 25 25 25 28 28 25 25 27 43 
2020-10-26 20:01:04 INFO (MainThread) [custom_components.visonic.pyvisonic] [handle_MsgTypeA6] Packet = 08 04 27 28 28 25 25 25 25 25 43 
2020-10-26 20:01:04 INFO (MainThread) [custom_components.visonic.pyvisonic] [handle_MsgTypeA6] Packet = 08 05 25 25 25 25 25 25 25 25 43 
2020-10-26 20:01:04 INFO (MainThread) [custom_components.visonic.pyvisonic] [handle_MsgTypeA6] Packet = 08 06 25 25 25 25 25 25 25 25 43 
2020-10-26 20:01:04 INFO (MainThread) [custom_components.visonic.pyvisonic] [handle_MsgTypeA6] Packet = 08 07 25 25 25 25 25 25 25 25 43 
2020-10-26 20:01:04 INFO (MainThread) [custom_components.visonic.pyvisonic] [handle_MsgTypeA6] Packet = 08 08 25 25 25 25 25 25 25 25 43 

and

2020-10-26 20:01:02 INFO (MainThread) [custom_components.visonic.pyvisonic] [handle_MsgTypeA3] Packet = 08 01 02 11 11 02 05 16 08 08 43 
2020-10-26 20:01:02 INFO (MainThread) [custom_components.visonic.pyvisonic] [handle_MsgTypeA3] Packet = 08 02 11 13 13 04 04 0f 15 15 43 
2020-10-26 20:01:02 INFO (MainThread) [custom_components.visonic.pyvisonic] [handle_MsgTypeA3] Packet = 08 03 12 14 02 18 18 0a 0a 02 43 
2020-10-26 20:01:03 INFO (MainThread) [custom_components.visonic.pyvisonic] [handle_MsgTypeA3] Packet = 08 04 16 00 07 19 10 18 16 16 43 
2020-10-26 20:01:03 INFO (MainThread) [custom_components.visonic.pyvisonic] [handle_MsgTypeA3] Packet = 08 05 00 00 00 00 00 00 00 00 43 
2020-10-26 20:01:03 INFO (MainThread) [custom_components.visonic.pyvisonic] [handle_MsgTypeA3] Packet = 08 06 00 00 00 00 00 00 00 00 43 
2020-10-26 20:01:03 INFO (MainThread) [custom_components.visonic.pyvisonic] [handle_MsgTypeA3] Packet = 08 07 00 00 00 00 00 00 00 00 43 
2020-10-26 20:01:03 INFO (MainThread) [custom_components.visonic.pyvisonic] [handle_MsgTypeA3] Packet = 08 08 00 00 00 00 00 00 00 00 43 

I can send you the whole log file via PM if you want.

That would be helpful if you can please :smile:

Ok, i have switched to powerlink mode with “AAAA”
Here the logs :

2020-10-28 19:39:03 DEBUG (MainThread) [custom_components.visonic.pyvisonic] [Process Settings] Processing settings information
2020-10-28 19:39:03 DEBUG (MainThread) [custom_components.visonic.pyvisonic] [Process Settings]      i=0 :    SensorID=0x29   zoneInfo=0x7   ZTypeName=Voie Périphérique   Chime=Eteint   sensorTypeStr=Magnet   zoneName=Basement
2020-10-28 19:39:03 DEBUG (MainThread) [custom_components.visonic.pyvisonic] [Process Settings]      i=1 :    SensorID=0x1   zoneInfo=0x4   ZTypeName=Temporisée 1   Chime=Eteint   sensorTypeStr=Motion   zoneName=Kitchen
2020-10-28 19:39:03 DEBUG (MainThread) [custom_components.visonic.pyvisonic] [Process Settings]      i=2 :    SensorID=0x16   zoneInfo=0xb   ZTypeName=Incendie   Chime=Eteint   sensorTypeStr=Smoke   zoneName=Kitchen
2020-10-28 19:39:03 INFO (MainThread) [custom_components.visonic.pyvisonic] [Process Settings] Found unknown sensor type 25
2020-10-28 19:39:03 DEBUG (MainThread) [custom_components.visonic.pyvisonic] [Process Settings]      i=3 :    SensorID=0x19   zoneInfo=0x2   ZTypeName=Inondation   Chime=Eteint   sensorTypeStr=UNKNOWN 25   zoneName=Basement

image

Tell me if you need other informations

I got everything I needed thankyou. It is only the flood sensor that I didn’t have but it’s worth it to add it so thankyou. I have uploaded version 0.5.0.3 to Github that includes it so please give it a try.

Did you know that you can set Friendly Names for sensors so in the frontend it uses the friendly name when it is set. So you could have “Kitchen Door” shown instead of the “visonic_z…” names.

Thank you very much Dave !!
For your code and your support
It’s perfect. I hope that your code will quickly integrate the official integrations of HA.
image
Have a good day

I just updated to HA 0.117.2 and I no longer see these ERROR messages in the log. So far, that is.

I’ve been running this component for well over a year and for the most part it has been flawless, so thank you Dave for all your hard work! In the past few months however, I’ve been completely unable to get it working, and I’m not entirely sure what the trigger was.

My set up: The component is installed via HACS on Home Assistant running on Docker connected to a Powermax panel via Ethernet using the USR-TCP232-E2. Currently HA version 0.117.2 and Visonic component version 0.5.0.1 but I’ve seen this issue in various combinations of versions (suggesting it’s something up with my set up).

The issue I’m having is that HA spends a lot of time in download mode when connecting. It never gets into Powerlink mode and only ever goes into standard mode. At this point I am able to arm/disarm and see sensor data as you’d expect in standard mode. Within about 12 hours or so HA is then unable to connect even in standard mode.

Around the time the integration stopped working for me, I got a “BBA Comms Lost” (or similar) error on the panel. I’m not sure if this is relevant but from reading up on the few bits of information on this error it seemed related.

I’ve tried various things to try and resolve the issues:

  • Uninstalling the component in HA and then reinstalling it
  • Ensuring HA and the Visonic component are up to date
  • Trying various combinations of settings on the USR-TCP232-E2
  • Factory resetting the Powermax panel

None of these have helped. I’ve created a Pastebin of my logs with debug enabled: https://pastebin.com/XNk18E80. These logs are from a restart of HA, however I have had to truncate them due the file size limit on Pastebin. Happy to send additional logs if it helps!

There’s a screenshot of my USR-TCP232-E2 configuration below:

If anyone has any suggestions or is able to make more sense of the logs than I can I would really appreciate some help!

I’ve had a look through your log file and I can see what is happening but I don’t understand it.

I try to instigate download from the panel. The panel responds with a “wait” i.e a message handle_msgtype25 is sent by the panel. It then keeps doing this over and over again, every 2 or 3 seconds. I periodically send “stop” and “exit” commends to try to get the panel in to a known state but the panelignores them. I wait 90 seconds before I instigate download again but the panel still keeps asking to wait.

What kind of panel do you have?
You said that you factory reset your panel, if it’s a Powermax+ or Powermax Pro did you have to manually enroll again or not?
Have you tried stopping the integration, leave it overnight and then start it again? Sometimes this works, I don’t know why but the panel seems to timeout and reset the comms connection.

I’m running out of ideas but I’ll keep thinking

Thanks for taking a look at the logs.

The panel is a Powermax Pro. After factory reset I had to re-enrol, reset user and installer codes, time etc.

I’ve tried the leaving it overnight suggestion previously and when I reset the panel I also left it with the mains and battery unplugged for a few days just to make sure.

Let me know if you come up with any other ideas!

Lockdown Project after original integration running reasonably OK for over a year- bring Visonic Integration up to date as I know its been deprecated. Its still working but I’m getting error log messages

Unable to find services.yaml for the visonic integration
15:14:28 – helpers/service.py (WARNING)
AlarmControlPanel is deprecated, modify VisonicAlarm to extend AlarmControlPanelEntity
15:14:25 – Alarm Control Panel (WARNING)
The ‘entity_id’ option is deprecated, please remove it from your configuration
15:14:24 – template (WARNING)
ERROR: ************************ Cannot find key ForceKeypad in panel settings
15:14:20 – Visonic Intruder Alarm - PowerMax and PowerMaster Series (WARNING) - message first occurred at 15:14:20 and shows up 4 times

Looking back at posts over last year I see that Dave has put a Visonic Integration on HACS but for the life of me I can’t find it, despite a search and manually scrolling. Seems a dumb question but where is it?
Assuming I find and install the integration what do I need to do to stop everything crashing around my head? Remove all traces of the existing install in custom components, customize, etc?

Maybe there’s an idiot’s guide somewhere but, as I say, I’ve trawled the posts from the last year and found nothing.

Thanks for any pointers.

Go to integrations and use the search feature just below the top of the panel.

Thanks. Surely search below top panel is of installed repositories? I’m using the + and searching but the only Visonic thrown up is this one. I’m embarrassed because this is such a basic fail!
Screenshot_20201106_183213_com.android.chrome|230x500

Yup, that’s obviously not the right one.

What versions of HA and HACS are you running?

Assuming you’re up to date, using HACS you should see something like this:

HA now has a user interface for integrations. Using the HA UI, you should see this:

Yes, clearly that’s the problem. HACS is 1.6.2 and I’ve just updated HA to 0.117.4 today. Not had any prompts that HACS out of date. Will explore why I’ve not got up to date version. Thanks.

Edit. Quick check shows both up to date! So where is Visonic?

1 Like

The software has evolved quite a bit in the last year. There have also been changes to the Supervisor. If you’re using HA OS, that’s changed to a Buildroot implementation (another version of Linux). FYI, Supervisor is up to version 2020.11.0 (at least on my system). Supervised implementations are now restricted to a limited version of Debian if you wish to have a supported configuration.

Have you rebooted and checked the logs? Have you reviewed breaking changes?

I’m guessing you might need to get back some basic functionality. I recall references to Lovelace resource files need to be moved to configuration.YAML. Perhaps there’s more I’m forgetting. Once you get to a stable configuration, you should go to Dave’s Readme and Wiki pages and see what other things might be required as you update the Visonic integration.

https://github.com/davesmeghead/visonic

For HACS:

HACS > Integrations > <type Visonic in search box>

For HA:

Configuration > Integrations > ⊕ > <type Visonic in search box>