Visonic Powermax and Powermaster Integration

That doesn’t hide them completely, I tried.
I’m talking about having only 10 sensors total, but in the integration it shows 30 of them


I’d wish to only see the ones that are actually there. It’s nothing functional really, but aesthetic.
Thanks!

And when you click the 31 devices can you screengrab the device list please.

But to actually answer your question, you can only exclude the sensors and X10 devices when you first set up the Integration, so you would have to delete it and set it up again with comma separated lists for the excluded sensors and X10 devices.

i tried disabling the first 2, they are still there though.

i was wandering if there’s a file that contains that configuration and maybe possible to edit it after the configuration.
I tried backing up and removing + re-installing the integration, but it doesn’t connect for some reason. so i rolled back for now

You could edit the HA configuration files but it’s not recommended unless you really know what you’re doing. The 2 files are in the .storage directory called core.device_registry and core.entity_registry. If you do go ahead then I suggest that you delete the Visonic Integration and stop HA first (so it isn’t using these files) and then make a backup of the files before altering them.

1 Like

@davesmeghead
Hi Dave,
I have a Visonic Powermax alarm with a GSM module. 3 days ago, I received a low-bat text message on my phone. I was wondering if it would be possible to add a feature in the HA integration to report the battery status of each sensor?
In HA, when I browse the devices attached to the Visonic integration, I can see that a battery column already exists but it doesn’t seem to be used. In any case, it is not updated.
Out of curiosity, I went to see the log and the message broadcast by SMS is also visible in the HA log.

2023-05-19 12:40:16.655 DEBUG (MainThread) [custom_components.visonic.pyvisonic] [data receiver] msgType 0X2 got it so removed from list, list is now []
2023-05-19 12:40:16.656 DEBUG (MainThread) [custom_components.visonic.pyvisonic] [data receiver] msgType 0X2 resetting expected response counter, it got up to 0
2023-05-19 12:40:16.656 DEBUG (MainThread) [custom_components.visonic.pyvisonic] [handle_msgtype02] Ack Received  data = 43 
2023-05-19 12:40:40.805 DEBUG (MainThread) [custom_components.visonic.pyvisonic] [sendPdu] Resetting expected response counter, it got to 25   Response list is now 1
2023-05-19 12:40:40.806 DEBUG (MainThread) [custom_components.visonic.pyvisonic] [sendPdu] Sending Command (Get Bypass Status)    raw data 0d a2 00 00 20 00 00 00 00 00 00 00 43 f9 0a    waiting for message response ['0XA5']
2023-05-19 12:40:40.838 DEBUG (MainThread) [custom_components.visonic.pyvisonic] [handle_msgtype02] Ack Received  data = 43 
2023-05-19 12:40:40.858 DEBUG (MainThread) [custom_components.visonic.pyvisonic] [data receiver] msgType 0XA5 got it so removed from list, list is now []
2023-05-19 12:40:40.858 DEBUG (MainThread) [custom_components.visonic.pyvisonic] [data receiver] msgType 0XA5 resetting expected response counter, it got up to 0
2023-05-19 12:40:40.858 DEBUG (MainThread) [custom_components.visonic.pyvisonic] [handle_msgtypeA5] Parsing A5 packet 00 06 1f 00 00 00 00 00 00 00 43 
2023-05-19 12:40:40.858 DEBUG (MainThread) [custom_components.visonic.pyvisonic] ================================================== Display Status ==================================================
2023-05-19 12:40:40.859 DEBUG (MainThread) [custom_components.visonic.pyvisonic]      key 0  Sensor id=1  dname=Z01  stype=Magnet   zname=Back door      ztypeName=Voie Périp ztamper=0  ztrip=0  bypass=0  lowbatt=0  status=0  tamper=0  enrolled=1  triggered=0 
2023-05-19 12:40:40.859 DEBUG (MainThread) [custom_components.visonic.pyvisonic]      key 1  Sensor id=2  dname=Z02  stype=Magnet   zname=Front door     ztypeName=Voie Périp ztamper=0  ztrip=0  bypass=0  lowbatt=0  status=0  tamper=0  enrolled=1  triggered=0 
2023-05-19 12:40:40.859 DEBUG (MainThread) [custom_components.visonic.pyvisonic]      key 2  Sensor id=3  dname=Z03  stype=Motion   zname=Custom 1       ztypeName=Intérieure ztamper=0  ztrip=0  bypass=0  lowbatt=0  status=0  tamper=0  enrolled=1  triggered=0 
2023-05-19 12:40:40.859 DEBUG (MainThread) [custom_components.visonic.pyvisonic]      key 3  Sensor id=4  dname=Z04  stype=Motion   zname=Play room      ztypeName=Intérieure ztamper=0  ztrip=0  bypass=0  lowbatt=0  status=0  tamper=0  enrolled=1  triggered=0 
2023-05-19 12:40:40.859 DEBUG (MainThread) [custom_components.visonic.pyvisonic]      key 4  Sensor id=5  dname=Z05  stype=Magnet   zname=Master bedroom ztypeName=Intérieure ztamper=0  ztrip=0  bypass=0  lowbatt=0  status=0  tamper=0  enrolled=1  triggered=0 
2023-05-19 12:40:40.859 DEBUG (MainThread) [custom_components.visonic.pyvisonic]    Model PowerMax Pro Part      PowerMaster No                     LastEvent None                   Ready   Yes          
2023-05-19 12:40:40.859 DEBUG (MainThread) [custom_components.visonic.pyvisonic]    Mode  Powerlink              Status      Désarmé                Armed     No                     Trouble None              AlarmStatus None        
2023-05-19 12:40:40.859 DEBUG (MainThread) [custom_components.visonic.pyvisonic] ====================================================================================================================
2023-05-19 12:40:40.957 DEBUG (MainThread) [custom_components.visonic.pyvisonic] [sendPdu] Sending Command (Ack)    raw data 0d 02 fd 0a    waiting for message response []
2023-05-19 12:40:46.472 DEBUG (MainThread) [custom_components.visonic.pyvisonic] [handle_msgtypeAB]  data 03 00 1e 00 31 2e 30 38 00 00 43 
2023-05-19 12:40:46.473 DEBUG (MainThread) [custom_components.visonic.pyvisonic] [handle_msgtypeAB] ***************************** Got PowerLink Keep-Alive ****************************
2023-05-19 12:40:46.473 DEBUG (MainThread) [custom_components.visonic.pyvisonic] ================================================== Display Status ==================================================
2023-05-19 12:40:46.473 DEBUG (MainThread) [custom_components.visonic.pyvisonic]      key 0  Sensor id=1  dname=Z01  stype=Magnet   zname=Back door      ztypeName=Voie Périp ztamper=0  ztrip=0  bypass=0  lowbatt=0  status=0  tamper=0  enrolled=1  triggered=0 
2023-05-19 12:40:46.473 DEBUG (MainThread) [custom_components.visonic.pyvisonic]      key 1  Sensor id=2  dname=Z02  stype=Magnet   zname=Front door     ztypeName=Voie Périp ztamper=0  ztrip=0  bypass=0  lowbatt=0  status=0  tamper=0  enrolled=1  triggered=0 
2023-05-19 12:40:46.473 DEBUG (MainThread) [custom_components.visonic.pyvisonic]      key 2  Sensor id=3  dname=Z03  stype=Motion   zname=Custom 1       ztypeName=Intérieure ztamper=0  ztrip=0  bypass=0  lowbatt=0  status=0  tamper=0  enrolled=1  triggered=0 
2023-05-19 12:40:46.474 DEBUG (MainThread) [custom_components.visonic.pyvisonic]      key 3  Sensor id=4  dname=Z04  stype=Motion   zname=Play room      ztypeName=Intérieure ztamper=0  ztrip=0  bypass=0  lowbatt=0  status=0  tamper=0  enrolled=1  triggered=0 
2023-05-19 12:40:46.474 DEBUG (MainThread) [custom_components.visonic.pyvisonic]      key 4  Sensor id=5  dname=Z05  stype=Magnet   zname=Master bedroom ztypeName=Intérieure ztamper=0  ztrip=0  bypass=0  lowbatt=0  status=0  tamper=0  enrolled=1  triggered=0 
2023-05-19 12:40:46.474 DEBUG (MainThread) [custom_components.visonic.pyvisonic]    Model PowerMax Pro Part      PowerMaster No                     LastEvent None                   Ready   Yes          
2023-05-19 12:40:46.474 DEBUG (MainThread) [custom_components.visonic.pyvisonic]    Mode  Powerlink              Status      Désarmé                Armed     No                     Trouble None              AlarmStatus None        
2023-05-19 12:40:46.474 DEBUG (MainThread) [custom_components.visonic.pyvisonic] ====================================================================================================================
2023-05-19 12:40:46.475 DEBUG (MainThread) [custom_components.visonic.pyvisonic] [sendPdu] Sending Command (Ack Long)    raw data 0d 02 43 ba 0a    waiting for message response []
2023-05-19 12:40:46.476 DEBUG (MainThread) [custom_components.visonic.pyvisonic] [sendPdu] Resetting expected response counter, it got to 0   Response list is now 1
2023-05-19 12:40:46.627 DEBUG (MainThread) [custom_components.visonic.pyvisonic] [sendPdu] Sending Command (I think this is an alive message to the panel)    raw data 0d ab 0e 00 17 1e 00 03 03 01 04 00 43 c2 0a    waiting for message response ['0X2']
2023-05-19 12:40:46.713 DEBUG (MainThread) [custom_components.visonic.pyvisonic] [data receiver] msgType 0X2 got it so removed from list, list is now []
2023-05-19 12:40:46.713 DEBUG (MainThread) [custom_components.visonic.pyvisonic] [data receiver] msgType 0X2 resetting expected response counter, it got up to 0
2023-05-19 12:40:46.713 DEBUG (MainThread) [custom_components.visonic.pyvisonic] [handle_msgtype02] Ack Received  data = 43 
2023-05-19 12:40:56.494 DEBUG (MainThread) [custom_components.visonic.pyvisonic] [handle_msgtypeA5] Parsing A5 packet 00 02 00 00 00 00 04 00 00 00 43 
2023-05-19 12:40:56.494 DEBUG (MainThread) [custom_components.visonic.pyvisonic] [handle_msgtypeA5]      Battery Low Zones 32-01: 00000000000000000000000000000100
2023-05-19 12:40:56.496 DEBUG (MainThread) [custom_components.visonic.pyvisonic] [sendPdu] Sending Command (Ack)    raw data 0d 02 fd 0a    waiting for message response []
2023-05-19 12:40:56.529 DEBUG (MainThread) [custom_components.visonic.pyvisonic] [handle_msgtypeA5] Parsing A5 packet 00 04 00 05 00 00 00 00 00 00 43 
2023-05-19 12:40:56.529 DEBUG (MainThread) [custom_components.visonic.pyvisonic] [handle_msgtypeA5]      log: Disarmed(Désarmé), arm: Disarmed
2023-05-19 12:40:56.648 DEBUG (MainThread) [custom_components.visonic.pyvisonic] [sendPdu] Sending Command (Ack)    raw data 0d 02 fd 0a    waiting for message response []
2023-05-19 12:40:56.679 DEBUG (MainThread) [custom_components.visonic.pyvisonic] [handle_msgtypeA7] Panel Status Change 01 00 03 29 00 ff 00 00 00 00 43 
2023-05-19 12:40:56.680 DEBUG (MainThread) [custom_components.visonic.pyvisonic] [handle_msgtypeA7]      A7 message contains 1 messages
2023-05-19 12:40:56.680 DEBUG (MainThread) [custom_components.visonic.pyvisonic] [handle_msgtypeA7]         self.SirenTriggerList = ['intruder']
2023-05-19 12:40:56.680 DEBUG (MainThread) [custom_components.visonic.pyvisonic] [handle_msgtypeA7]         System message Batterie Faible / Zone 03  alarmStatus None   troubleStatus Battery
2023-05-19 12:40:56.680 DEBUG (MainThread) [custom_components.visonic.pyvisonic] [handle_msgtypeA7]           self.pmSirenActive=False   siren=False   eventType=0x29   self.pmPanicAlarmSilent=False   tamper=False
2023-05-19 12:40:56.680 DEBUG (MainThread) [custom_components.visonic.client] Firing HA event, panel=0  event=2 {'Zone': 3, 'Entity': 'binary_sensor.visonic_z03', 'Tamper': False, 'Siren': False, 'Reset': False, 'Time': datetime.datetime(2023, 5, 19, 12, 40, 56, 680067), 'Count': 1, 'Type': [41], 'Event': [3], 'Mode': ['Batterie Faible'], 'Name': ['Zone 03'], 'condition': 2, 'action': 'panelupdate'}
2023-05-19 12:40:56.800 DEBUG (MainThread) [custom_components.visonic.pyvisonic] [sendPdu] Sending Command (Ack)    raw data 0d 02 fd 0a    waiting for message response []
2023-05-19 12:41:16.473 DEBUG (MainThread) [custom_components.visonic.pyvisonic] [handle_msgtypeAB]  data 03 00 1e 00 31 2e 30 38 00 00 43 
2023-05-19 12:41:16.473 DEBUG (MainThread) [custom_components.visonic.pyvisonic] [handle_msgtypeAB] ***************************** Got PowerLink Keep-Alive ****************************
2023-05-19 12:41:16.473 DEBUG (MainThread) [custom_components.visonic.pyvisonic] ================================================== Display Status ==================================================
2023-05-19 12:41:16.473 DEBUG (MainThread) [custom_components.visonic.pyvisonic]      key 0  Sensor id=1  dname=Z01  stype=Magnet   zname=Back door      ztypeName=Voie Périp ztamper=0  ztrip=0  bypass=0  lowbatt=0  status=0  tamper=0  enrolled=1  triggered=0 
2023-05-19 12:41:16.474 DEBUG (MainThread) [custom_components.visonic.pyvisonic]      key 1  Sensor id=2  dname=Z02  stype=Magnet   zname=Front door     ztypeName=Voie Périp ztamper=0  ztrip=0  bypass=0  lowbatt=0  status=0  tamper=0  enrolled=1  triggered=0 
2023-05-19 12:41:16.474 DEBUG (MainThread) [custom_components.visonic.pyvisonic]      key 2  Sensor id=3  dname=Z03  stype=Motion   zname=Custom 1       ztypeName=Intérieure ztamper=0  ztrip=0  bypass=0  lowbatt=1  status=0  tamper=0  enrolled=1  triggered=0 
2023-05-19 12:41:16.474 DEBUG (MainThread) [custom_components.visonic.pyvisonic]      key 3  Sensor id=4  dname=Z04  stype=Motion   zname=Play room      ztypeName=Intérieure ztamper=0  ztrip=0  bypass=0  lowbatt=0  status=0  tamper=0  enrolled=1  triggered=0 
2023-05-19 12:41:16.474 DEBUG (MainThread) [custom_components.visonic.pyvisonic]      key 4  Sensor id=5  dname=Z05  stype=Magnet   zname=Master bedroom ztypeName=Intérieure ztamper=0  ztrip=0  bypass=0  lowbatt=0  status=0  tamper=0  enrolled=1  triggered=0 
2023-05-19 12:41:16.474 DEBUG (MainThread) [custom_components.visonic.pyvisonic]    Model PowerMax Pro Part      PowerMaster No                     LastEvent Batterie Faible / Zone 03     Ready   Yes          
2023-05-19 12:41:16.474 DEBUG (MainThread) [custom_components.visonic.pyvisonic]    Mode  Powerlink              Status      Désarmé                Armed     No                     Trouble Battery           AlarmStatus None        
2023-05-19 12:41:16.474 DEBUG (MainThread) [custom_components.visonic.pyvisonic] ====================================================================================================================

Hi,

“Battery level” is already an attribute of each sensor like this
image

As the Visonic Panel only gives me a “good” / “bad” indication then the value is 100 (percent) for good and 0 for bad. So please add an automation like this as triggers

alias: Alarm Sensor Battery Check
description: Check all alarm panel sensors battery level
trigger:
  - platform: state
    entity_id: binary_sensor.visonic_z01
    attribute: battery_level
    to: "0"
  - platform: state
    entity_id: binary_sensor.visonic_z02
    attribute: battery_level
    to: "0"

Add all your sensor like this and then an Action to do what you want, in my automation I send myself an email.

Note that wired sensors do not have the Battery Level attribute.

Hi, will it be safe to update to HA 2023.6 since it moves to python 3.11?
just want to make sure this integration won’t break…

thanks in advance =]

Haha I guess we’ll find out soon enough :rofl:

Joking aside, it’s a good question to ask whenever a fundamental change to Home Assistant is made.

As far as I know the Integration itself in HA should work with 3.11 and I have a test environment for some of the code that I use and it uses 3.11 … having said that, there are no guarantees here, after all, it is software :slight_smile: and I have not tested the Integration with any beta HA 2023.6 releases. The only library dependency I have is on pyserial_asyncio and I’m assuming at the moment that it will be OK until I know different (as this is also part of my test environment, that does not include Home Assistant).

My final comment is one of caution, if you rely heavily on Home Assistant itself (with or without this Integration) then I suggest that you delay any update when 2023.6 is released. This will allow myself and other brave souls the time to ensure that the Integration works with 2023.6 and python 3.11.

1 Like

Hello, I have updated to HA 6.0 and have had no issues with the Visonic Integration version 0.8.4.1

1 Like

I upgraded HA to 6.1 and it works with Visonic Integration 0.8.4.1. Then I upgraded to Visonic Integration 0.8.5.0 and it works but I do see an warning in the log.

Log Details (WARNING)

This error originated from a custom integration.

Logger: custom_components.visonic
Source: custom_components/visonic/init.py:263
Integration: Visonic Intruder Alarm (documentation, issues)
First occurred: 9:00:40 PM (1 occurrences)
Last logged: 9:00:40 PM

[Visonic Setup] CONF_PANEL_NUMBER not in configuration, defaulting to panel 0 (before uniqueness check)

That’s good to know, thanks
I too have not had any issues updating to 2023.6

Ah yes, when I removed auto panel numbering for those with multiple panels I should have made that a debug message for the log file and not a Warning. Please ignore the Warning. I’ll do a minor update to Github to change it to a debug log file entry.
:slight_smile:

EDIT: I decided to just do it and I’ve updated the version to 0.8.5.1 on github, including a HACS release.

Thanks. I upgraded. That fixed the warning.

Hi Dave,

Been using your integration for years, but after upgrading from 0.8.2.4 to 0.8.5.2 in HA 2023.6 it wont load anymore. this is the only thing the debug logs show:

2023-06-16 17:26:56.529 DEBUG (MainThread) [custom_components.visonic.pyvisonic] Initialising Protocol - Protocol Version 1.0.20.0
2023-06-16 17:26:56.531 DEBUG (MainThread) [custom_components.visonic.client] Initialising Client - Version 0.8.5.2
2023-06-16 17:26:56.535 INFO (MainThread) [homeassistant.setup] Setting up visonic
2023-06-16 17:26:56.535 INFO (MainThread) [custom_components.visonic] Starting Visonic Component
2023-06-16 17:26:56.536 INFO (MainThread) [homeassistant.setup] Setup of domain visonic took 0.0 seconds
2023-06-16 17:26:56.539 INFO (MainThread) [homeassistant.components.sensor] Setting up sensor.utility_meter
2023-06-16 17:26:56.566 DEBUG (MainThread) [custom_components.visonic] [Visonic Setup] ************* create connection here **************
2023-06-16 17:26:56.566 INFO (MainThread) [custom_components.visonic] [Visonic Setup] Starting Visonic with entry id=cb41fb192910fd68fbce48b0f837a2d1 configured panels=1
2023-06-16 17:26:56.566 DEBUG (MainThread) [custom_components.visonic] [Visonic Setup] CONF_PANEL_NUMBER not in configuration, defaulting to panel 0 (before uniqueness check)
2023-06-16 17:26:56.566 DEBUG (MainThread) [custom_components.visonic] [Visonic Setup] Panel Ident 0
2023-06-16 17:26:56.566 INFO (MainThread) [custom_components.visonic.client] Exclude sensor list = []     Exclude x10 list = [0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15]
2023-06-16 17:26:56.566 DEBUG (MainThread) [custom_components.visonic] [Visonic Setup] Setting client ID for entry id cb41fb192910fd68fbce48b0f837a2d1
2023-06-16 17:27:49.947 WARNING (MainThread) [homeassistant.helpers.service] Unable to find referenced entities alarm_control_panel.visonic_alarm or it is/they are currently not available

reverting back to an old snapshot (VM running docker) works again with 0.8.2.4.

Any ideas?

Greetings,

Oliver

Hi, is that as far as it gets, is there any more in the log file?

I have an alarm panel (PowerMaster30) that I use to develop and test, I then deploy releases to Github/HACS and then use my proper house panel to get updates from HACS to make sure it works. Once, quite a while ago, I updated from HACS and I didn’t get all of the updated files, I never worked out why and it only happened once.
From your log file it looks like it’s got some of the new files but not all, can you make certain that you have all the files for the new release in the visonic directory and restart Home Assistant.

Hi Dave, sorry it took a while, havent had the time to look into it before now.

I tried the upgrade again, both trough HACS and also with manual updating alle files in the custom compontent directory, same result: The integration is no longer available.

When i look at the (debug) logs in the faulty situation (0.8.5.2) the visonic component entries stop after “Setting client ID for entry id cb41fb192910fd68fbce48b0f837a2d1”

2023-07-19 17:25:35.837 DEBUG (MainThread) [custom_components.visonic.pyvisonic] Initialising Protocol - Protocol Version 1.0.20.0
2023-07-19 17:25:35.842 DEBUG (MainThread) [custom_components.visonic.client] Initialising Client - Version 0.8.5.2
2023-07-19 17:25:35.847 INFO (MainThread) [homeassistant.setup] Setting up visonic
2023-07-19 17:25:35.847 INFO (MainThread) [custom_components.visonic] Starting Visonic Component
2023-07-19 17:25:35.847 INFO (MainThread) [homeassistant.setup] Setup of domain visonic took 0.0 seconds
2023-07-19 17:25:35.855 INFO (MainThread) [homeassistant.setup] Setup of domain automation took 0.4 seconds
2023-07-19 17:25:35.859 DEBUG (MainThread) [custom_components.visonic] [Visonic Setup] ************* create connection here **************
2023-07-19 17:25:35.859 INFO (MainThread) [custom_components.visonic] [Visonic Setup] Starting Visonic with entry id=cb41fb192910fd68fbce48b0f837a2d1 configured panels=1
2023-07-19 17:25:35.859 DEBUG (MainThread) [custom_components.visonic] [Visonic Setup] CONF_PANEL_NUMBER not in configuration, defaulting to panel 0 (before uniqueness check)
2023-07-19 17:25:35.859 DEBUG (MainThread) [custom_components.visonic] [Visonic Setup] Panel Ident 0
2023-07-19 17:25:35.859 INFO (MainThread) [custom_components.visonic.client] Exclude sensor list = []     Exclude x10 list = [0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15]
2023-07-19 17:25:35.859 DEBUG (MainThread) [custom_components.visonic] [Visonic Setup] Setting client ID for entry id cb41fb192910fd68fbce48b0f837a2d1

When i revert to 0.8.2.4 every thing works again:

2023-07-20 10:52:46.059 DEBUG (MainThread) [custom_components.visonic.pyvisonic] Initialising Protocol - Protocol Version 1.0.17.2
2023-07-20 10:52:46.061 DEBUG (MainThread) [custom_components.visonic.client] Initialising Client - Version 0.8.2.4
2023-07-20 10:52:46.062 INFO (MainThread) [homeassistant.setup] Setting up visonic
2023-07-20 10:52:46.062 INFO (MainThread) [custom_components.visonic] Starting Visonic Component
2023-07-20 10:52:46.062 INFO (MainThread) [homeassistant.setup] Setup of domain visonic took 0.0 seconds
2023-07-20 10:52:46.064 DEBUG (MainThread) [custom_components.visonic] ************* create connection here **************
2023-07-20 10:52:46.064 INFO (MainThread) [custom_components.visonic] Starting Visonic with entry id=cb41fb192910fd68fbce48b0f837a2d1 configured panels=1
2023-07-20 10:52:46.065 DEBUG (MainThread) [custom_components.visonic] Panel Ident set up: panelident = 0   next auto panelident = 1
2023-07-20 10:52:46.065 DEBUG (MainThread) [custom_components.visonic.client] Exclude sensor list = []     Exclude x10 list = [0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15]
2023-07-20 10:52:46.065 DEBUG (MainThread) [custom_components.visonic] Setting client ID for entry id cb41fb192910fd68fbce48b0f837a2d1
2023-07-20 10:52:46.066 DEBUG (MainThread) [custom_components.visonic.client] ........... attempting connection
2023-07-20 10:52:46.066 DEBUG (MainThread) [custom_components.visonic.client] Visonic Connection Device Type is ethernet {<PyConfiguration.DownloadCode: 0>: '', <PyConfiguration.ForceStandard: 9>: False, <PyConfiguration.ForceAutoEnroll: 1>: True, <PyConfiguration.AutoSyncTime: 2>: True, <PyConfiguration.PluginLanguage: 3>: 'EN', <PyConfiguration.MotionOffDelay: 4>: 120, <PyConfiguration.SirenTriggerList: 5>: ['intruder'], <PyConfiguration.B0_Enable: 6>: False, <PyConfiguration.B0_Min_Interval_Time: 7>: 5, <PyConfiguration.B0_Max_Wait_Time: 8>: 30}
2023-07-20 10:52:46.066 DEBUG (MainThread) [custom_components.visonic.pyvisonic] Setting TCP socket Options
2023-07-20 10:52:46.120 DEBUG (MainThread) [custom_components.visonic.pyvisonic] Buffer Flushed and Received some data!
2023-07-20 10:52:46.122 DEBUG (MainThread) [custom_components.visonic.pyvisonic] Initialising Protocol - Using Home Assistant Loop
2023-07-20 10:52:46.122 DEBUG (MainThread) [custom_components.visonic.pyvisonic] [Settings] Force Standard set to False
2023-07-20 10:52:46.122 DEBUG (MainThread) [custom_components.visonic.pyvisonic] [Settings] Force Auto Enroll set to True
2023-07-20 10:52:46.122 DEBUG (MainThread) [custom_components.visonic.pyvisonic] [Settings] Force Auto Sync Time set to True
2023-07-20 10:52:46.122 DEBUG (MainThread) [custom_components.visonic.pyvisonic] [Settings] Language set to EN
2023-07-20 10:52:46.122 DEBUG (MainThread) [custom_components.visonic.pyvisonic] [Settings] Motion Off Delay set to 120
2023-07-20 10:52:46.122 DEBUG (MainThread) [custom_components.visonic..pyvisonic] [Settings] Siren Trigger List set to ['intruder']
2023-07-20 10:52:46.122 DEBUG (MainThread) [custom_components.visonic.pyvisonic] [Settings] B0 Enable set to False
2023-07-20 10:52:46.122 DEBUG (MainThread) [custom_components.visonic.pyvisonic] [Settings] B0 Min Interval set to 5
2023-07-20 10:52:46.122 DEBUG (MainThread) [custom_components.visonic.pyvisonic] [Settings] B0 Max Wait Time set to 30
2023-07-20 10:52:46.125 DEBUG (MainThread) [custom_components.visonic.pyvisonic] [Connection] Connected to local Protocol handler and Transport Layer
2023-07-20 10:52:46.125 DEBUG (MainThread) [custom_components.visonic.pyvisonic] [_clearList] Setting queue empty
2023-07-20 10:52:46.125 DEBUG (MainThread) [custom_components.visonic.pyvisonic] [StartDownload] Starting download mode

This happened in 2023.6, but now also in 2023.7. Its reproducable every time.

Regards,

Oliver

Hi,
Can you try installing 0.8.5.2 and then after you restart HA go into the Installer > Configure
Make sure these values are valid
image
And then restart HA again, if that doesn’t fix it then please show me the log file snipped again please.
D

Hi Dave,

There is something wrong with the GUI when I try to configure these settings after upgrading to 0.8.5.2:
Most text fields are missing somehow.

Besides that, I assumed the setting above the setting that had value “90” was the connection attempt number, so I changed that to 5. Now the integration works!

The textfields missing in the settings panel is still strange though.

Regards,

Oliver

I’m pleased that you finally got it working. However, by the look of the GUI I suspect that I have a problem with the GUI panel and that it might reveal a bug.

Can you please go in to the GUI settings again, change a value (say the 90 to 91) on the first GUI that looks wrong and then progress through the settings again so it saves the settings i.e. keep selecting “submit”. Then could you go in to the log file and upload that time segment please so I can take a look.

It would be good if you turned on debug, before you select Configure, turn on debug on this GUI at the bottom, unless you already have added the logger settings to your configuration.yaml and set to debug.
image

Hi Dav, first setting that is not showing text is actually the connection attempt setting. I edited it from 5 to 6, and back to 6. See the output of that timeframe below:

2023-07-24 09:54:01.114 WARNING (MainThread) [homeassistant.components.slide] Slide 2380 (246F28440400) is offline with code=500
2023-07-24 09:54:02.615 DEBUG (MainThread) [custom_components.visonic.config_flow] Visonic async_get_options_flow
2023-07-24 09:54:02.615 DEBUG (MainThread) [custom_components.visonic.config_flow] init cb41fb192910fd68fbce48b0f837a2d1 {'type': 'ethernet', 'host': '192.168.4.210', 'port': '23', 'language': 'EN', 'exclude_x10': [0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15], 'force_standard': False, 'force_autoenroll': True, 'sync_time': True, 'download_code': '', 'exclude_sensor': [], 'motion_off': 120.0, 'siren_sounding': ['intruder'], 'panel_state_notifications': ['connectionproblem', 'sirensounding', 'paneltamper'], 'arm_without_usercode': False, 'force_numeric_keypad': False, 'arm_away_instant': False, 'arm_home_instant': False, 'allow_remote_arm': True, 'allow_remote_disarm': True, 'allow_sensor_bypass': False, 'override_code': '', 'panellog_logentry_event': True, 'panellog_complete_event': False, 'panellog_reverse_order': False, 'panellog_csv_add_title_row': False, 'panellog_xml_filename': 'visonic_log_file.xml', 'panellog_csv_filename': 'visonic_log_file.csv', 'panellog_max_entries': 10000, 'panelident': 0, 'retry_connection_count': 6.0, 'retry_connection_delay': 90.0, 'arm_home_enabled': True, 'arm_night_enabled': True}
2023-07-24 09:54:02.616 DEBUG (MainThread) [custom_components.visonic.config_flow] Edit config option settings, powermaster = False
2023-07-24 09:54:02.971 DEBUG (MainThread) [custom_components.visonic.pyvisonic] [sendPdu] Resetting expected response counter, it got to 25   Response list is now 1
2023-07-24 09:54:02.971 DEBUG (MainThread) [custom_components.visonic.pyvisonic] [sendPdu] Sending Command (Get Bypass Status)    raw data 0d a2 00 00 20 00 00 00 00 00 00 00 43 f9 0a    waiting for message response ['0XA5']
2023-07-24 09:54:03.028 DEBUG (MainThread) [custom_components.visonic.pyvisonic] [handle_msgtype02] Ack Received  data = 43 
2023-07-24 09:54:03.028 DEBUG (MainThread) [custom_components.visonic.pyvisonic] [data receiver] msgType 0XA5 got it so removed from list, list is now []
2023-07-24 09:54:03.028 DEBUG (MainThread) [custom_components.visonic.pyvisonic] [data receiver] msgType 0XA5 resetting expected response counter, it got up to 0
2023-07-24 09:54:03.028 DEBUG (MainThread) [custom_components.visonic.pyvisonic] [handle_msgtypeA5] Parsing A5 packet 00 06 03 de 03 00 00 00 00 00 43 
2023-07-24 09:54:03.029 DEBUG (MainThread) [custom_components.visonic.pyvisonic] ================================================== Display Status ==================================================
2023-07-24 09:54:03.029 DEBUG (MainThread) [custom_components.visonic.pyvisonic]      key 0  Sensor id=1  Zone=Z01  Type=Motion   Loc=Front door     ztypeName=Delay 1    ztamper=0  ztrip=0  bypass=0  lowbatt=0  status=0  tamper=0  enrolled=1  triggered=0 
2023-07-24 09:54:03.029 DEBUG (MainThread) [custom_components.visonic.pyvisonic]      key 1  Sensor id=2  Zone=Z02  Type=Motion   Loc=Front door     ztypeName=Perimeter  ztamper=0  ztrip=0  bypass=0  lowbatt=0  status=0  tamper=0  enrolled=1  triggered=0 
2023-07-24 09:54:03.029 DEBUG (MainThread) [custom_components.visonic.pyvisonic]      key 9  Sensor id=10 Zone=Z10  Type=Motion   Loc=Hall           ztypeName=Home Delay ztamper=0  ztrip=0  bypass=0  lowbatt=0  status=0  tamper=0  enrolled=1  triggered=0 
2023-07-24 09:54:03.029 DEBUG (MainThread) [custom_components.visonic.pyvisonic]      key 10 Sensor id=11 Zone=Z11  Type=Motion   Loc=Custom 2       ztypeName=Perimeter  ztamper=0  ztrip=0  bypass=0  lowbatt=0  status=0  tamper=0  enrolled=1  triggered=0 
2023-07-24 09:54:03.029 DEBUG (MainThread) [custom_components.visonic.pyvisonic]      key 11 Sensor id=12 Zone=Z12  Type=Motion   Loc=Custom 3       ztypeName=Perimeter  ztamper=0  ztrip=0  bypass=0  lowbatt=0  status=0  tamper=0  enrolled=1  triggered=0 
2023-07-24 09:54:03.029 DEBUG (MainThread) [custom_components.visonic.pyvisonic]      key 12 Sensor id=13 Zone=Z13  Type=Motion   Loc=Master bedroom ztypeName=Interior   ztamper=0  ztrip=0  bypass=0  lowbatt=0  status=1  tamper=0  enrolled=1  triggered=0 
2023-07-24 09:54:03.029 DEBUG (MainThread) [custom_components.visonic.pyvisonic]      key 14 Sensor id=15 Zone=Z15  Type=Motion   Loc=Play room      ztypeName=Interior   ztamper=0  ztrip=0  bypass=0  lowbatt=1  status=0  tamper=0  enrolled=1  triggered=0 
2023-07-24 09:54:03.029 DEBUG (MainThread) [custom_components.visonic.pyvisonic]      key 15 Sensor id=16 Zone=Z16  Type=Motion   Loc=Upstairs       ztypeName=Interior   ztamper=0  ztrip=0  bypass=0  lowbatt=0  status=0  tamper=0  enrolled=1  triggered=0 
2023-07-24 09:54:03.029 DEBUG (MainThread) [custom_components.visonic.pyvisonic]      key 16 Sensor id=17 Zone=Z17  Type=Motion   Loc=Child room     ztypeName=Interior   ztamper=0  ztrip=0  bypass=0  lowbatt=0  status=0  tamper=0  enrolled=1  triggered=0 
2023-07-24 09:54:03.029 DEBUG (MainThread) [custom_components.visonic.pyvisonic]      key 17 Sensor id=18 Zone=Z18  Type=Motion   Loc=Garage door    ztypeName=Non-Alarm  ztamper=0  ztrip=0  bypass=0  lowbatt=0  status=1  tamper=0  enrolled=1  triggered=0 
2023-07-24 09:54:03.029 DEBUG (MainThread) [custom_components.visonic.pyvisonic]    Model PowerMax Pro Part      PowerMaster No                     LastEvent None                   Ready   No           
2023-07-24 09:54:03.029 DEBUG (MainThread) [custom_components.visonic.pyvisonic]    Mode  Powerlink              Status      Disarmed               Armed     No                     Trouble None              AlarmStatus None        
2023-07-24 09:54:03.029 DEBUG (MainThread) [custom_components.visonic.pyvisonic] ====================================================================================================================
2023-07-24 09:54:03.121 DEBUG (MainThread) [custom_components.visonic.pyvisonic] [sendPdu] Sending Command (Ack)    raw data 0d 02 fd 0a    waiting for message response []
2023-07-24 09:54:08.445 DEBUG (MainThread) [custom_components.visonic.pyvisonic] [handle_msgtypeAB]  data 03 00 1e 00 31 2e 30 36 00 00 43 
2023-07-24 09:54:08.445 DEBUG (MainThread) [custom_components.visonic.pyvisonic] [handle_msgtypeAB] ***************************** Got PowerLink Keep-Alive ****************************
2023-07-24 09:54:08.445 DEBUG (MainThread) [custom_components.visonic.pyvisonic] ================================================== Display Status ==================================================
2023-07-24 09:54:08.446 DEBUG (MainThread) [custom_components.visonic.pyvisonic]      key 0  Sensor id=1  Zone=Z01  Type=Motion   Loc=Front door     ztypeName=Delay 1    ztamper=0  ztrip=0  bypass=0  lowbatt=0  status=0  tamper=0  enrolled=1  triggered=0 
2023-07-24 09:54:08.446 DEBUG (MainThread) [custom_components.visonic.pyvisonic]      key 1  Sensor id=2  Zone=Z02  Type=Motion   Loc=Front door     ztypeName=Perimeter  ztamper=0  ztrip=0  bypass=0  lowbatt=0  status=0  tamper=0  enrolled=1  triggered=0 
2023-07-24 09:54:08.446 DEBUG (MainThread) [custom_components.visonic.pyvisonic]      key 9  Sensor id=10 Zone=Z10  Type=Motion   Loc=Hall           ztypeName=Home Delay ztamper=0  ztrip=0  bypass=0  lowbatt=0  status=0  tamper=0  enrolled=1  triggered=0 
2023-07-24 09:54:08.446 DEBUG (MainThread) [custom_components.visonic.pyvisonic]      key 10 Sensor id=11 Zone=Z11  Type=Motion   Loc=Custom 2       ztypeName=Perimeter  ztamper=0  ztrip=0  bypass=0  lowbatt=0  status=0  tamper=0  enrolled=1  triggered=0 
2023-07-24 09:54:08.446 DEBUG (MainThread) [custom_components.visonic.pyvisonic]      key 11 Sensor id=12 Zone=Z12  Type=Motion   Loc=Custom 3       ztypeName=Perimeter  ztamper=0  ztrip=0  bypass=0  lowbatt=0  status=0  tamper=0  enrolled=1  triggered=0 
2023-07-24 09:54:08.446 DEBUG (MainThread) [custom_components.visonic.pyvisonic]      key 12 Sensor id=13 Zone=Z13  Type=Motion   Loc=Master bedroom ztypeName=Interior   ztamper=0  ztrip=0  bypass=0  lowbatt=0  status=1  tamper=0  enrolled=1  triggered=0 
2023-07-24 09:54:08.446 DEBUG (MainThread) [custom_components.visonic.pyvisonic]      key 14 Sensor id=15 Zone=Z15  Type=Motion   Loc=Play room      ztypeName=Interior   ztamper=0  ztrip=0  bypass=0  lowbatt=1  status=0  tamper=0  enrolled=1  triggered=0 
2023-07-24 09:54:08.446 DEBUG (MainThread) [custom_components.visonic.pyvisonic]      key 15 Sensor id=16 Zone=Z16  Type=Motion   Loc=Upstairs       ztypeName=Interior   ztamper=0  ztrip=0  bypass=0  lowbatt=0  status=0  tamper=0  enrolled=1  triggered=0 
2023-07-24 09:54:08.446 DEBUG (MainThread) [custom_components.visonic.pyvisonic]      key 16 Sensor id=17 Zone=Z17  Type=Motion   Loc=Child room     ztypeName=Interior   ztamper=0  ztrip=0  bypass=0  lowbatt=0  status=0  tamper=0  enrolled=1  triggered=0 
2023-07-24 09:54:08.446 DEBUG (MainThread) [custom_components.visonic.pyvisonic]      key 17 Sensor id=18 Zone=Z18  Type=Motion   Loc=Garage door    ztypeName=Non-Alarm  ztamper=0  ztrip=0  bypass=0  lowbatt=0  status=1  tamper=0  enrolled=1  triggered=0 
2023-07-24 09:54:08.446 DEBUG (MainThread) [custom_components.visonic.pyvisonic]    Model PowerMax Pro Part      PowerMaster No                     LastEvent None                   Ready   No           
2023-07-24 09:54:08.446 DEBUG (MainThread) [custom_components.visonic.pyvisonic]    Mode  Powerlink              Status      Disarmed               Armed     No                     Trouble None              AlarmStatus None        
2023-07-24 09:54:08.446 DEBUG (MainThread) [custom_components.visonic.pyvisonic] ====================================================================================================================
2023-07-24 09:54:08.447 DEBUG (MainThread) [custom_components.visonic.pyvisonic] [sendPdu] Sending Command (Ack Long)    raw data 0d 02 43 ba 0a    waiting for message response []
2023-07-24 09:54:08.447 DEBUG (MainThread) [custom_components.visonic.pyvisonic] [sendPdu] Resetting expected response counter, it got to 0   Response list is now 1
2023-07-24 09:54:08.598 DEBUG (MainThread) [custom_components.visonic.pyvisonic] [sendPdu] Sending Command (I think this is an alive message to the panel)    raw data 0d ab 0e 00 17 1e 00 03 03 01 04 00 43 c2 0a    waiting for message response ['0X2']
2023-07-24 09:54:08.635 DEBUG (MainThread) [custom_components.visonic.pyvisonic] [data receiver] msgType 0X2 got it so removed from list, list is now []
2023-07-24 09:54:08.635 DEBUG (MainThread) [custom_components.visonic.pyvisonic] [data receiver] msgType 0X2 resetting expected response counter, it got up to 0
2023-07-24 09:54:08.635 DEBUG (MainThread) [custom_components.visonic.pyvisonic] [handle_msgtype02] Ack Received  data = 43 
2023-07-24 09:54:11.893 DEBUG (MainThread) [custom_components.visonic.config_flow] Detected a powermax so not asking about B0 parameters
2023-07-24 09:54:11.894 DEBUG (MainThread) [custom_components.visonic] ************* update connection data **************
2023-07-24 09:54:11.894 DEBUG (MainThread) [custom_components.visonic.pyvisonic] [Settings] Force Standard set to False
2023-07-24 09:54:11.894 DEBUG (MainThread) [custom_components.visonic.pyvisonic] [Settings] Force Auto Enroll set to True
2023-07-24 09:54:11.895 DEBUG (MainThread) [custom_components.visonic.pyvisonic] [Settings] Force Auto Sync Time set to True
2023-07-24 09:54:11.895 DEBUG (MainThread) [custom_components.visonic.pyvisonic] [Settings] Language set to EN
2023-07-24 09:54:11.895 DEBUG (MainThread) [custom_components.visonic.pyvisonic] [Settings] Motion Off Delay set to 120.0
2023-07-24 09:54:11.895 DEBUG (MainThread) [custom_components.visonic.pyvisonic] [Settings] Siren Trigger List set to ['intruder']
2023-07-24 09:54:11.895 DEBUG (MainThread) [custom_components.visonic.pyvisonic] [Settings] B0 Enable set to False
2023-07-24 09:54:11.895 DEBUG (MainThread) [custom_components.visonic.pyvisonic] [Settings] B0 Min Interval set to 5
2023-07-24 09:54:11.895 DEBUG (MainThread) [custom_components.visonic.pyvisonic] [Settings] B0 Max Wait Time set to 30

There’s nothing there that indictes badly formed data so I can’t see any problems.
In other words, I have no idea why the GUI is formatted badly.
Are you using the dark mode display? It may be this that’s the problem but that’s all within HA itself.