Visonic Powermax and Powermaster Integration

Hi Dave,

I’ll edit this message while i do the different tasks so that we do not spread out too much the discussion :slight_smile:

  1. i cannot see the language settings here


    (sorry I’m pretty new to HA, started my project only a month ago)

  2. to be done

  3. Log file from 0.9.7.8 - italian panel

Hi,
The language settings are on the next config window, click submit at the bottom.

However, looking at your log file the locations of the needed data in the EPROM is inconsistent and we won’t be able to use it. I’ll remove the “Panel” language setting as its incorrect data. It was a bit of an experiment anyway.

Instead I’ll add the various settings to the language json file so they can be translated properly.

That will only leave us with the translations for lasteventname and lasteventaction.
The lasteventname can be done using the json language file but I’m still not sure about the 150 translations needed for lasteventaction.
Also, these are used in the panels event log file (the xml/csv file that gets written out) and these would not be able to use the translations from the json file anyway.

Hi All,

Please go here and vote for this feature request
Developer Tools - States, option to show language translated text - Feature Requests - Home Assistant Community (home-assistant.io)

Thanks
Dave

1 Like

So should I start translating to it the text in the en.json?

Not yet I think, I’ll take another look through to make sure and upload either a whole new release or just the en.json file

Hi,
As you’ve seen in the Issues lists I’ve just released 0.9.7.9 to dev_B0, if you get the chance please give it a try.

The en.json file in the languages directory is 99% complete. I can’t think of what the 1% is at the moment but I’ve probably missed something :wink:

Could you please take a look at having a go at a translation, there’s no hurry as I’m going on holiday soon anyway. Just a few things to note:

  • I’ve also included all 150+ lasteventaction strings in event_action attribute setting in the en.json file, please don’t feel obliged to do all of them.
  • These are ascii files so please use the proper codes in the strings for accented characters.
  • There is a lot of repetition throughout the file, I think “Armed Away” is in about 6 different places. Home Assistant has a way to manage this but only for core integrations and it doesn’t work for custom integrations like this one. So it has to be as it is unfortunately.

Thanks for the help with this, but I say again, it’s a big file with a lot of repetition so don’t feel obliged to do it all.
Dave

1 Like

Hi,
I’ve just released 0.9.7.10 to dev_B0, if you get the chance please give it a try.

It’s mainly for Powermax+ panels to try and get it working but since it needs to work with all panels I’d be interested in anyone testing it.

The only other thing to add, I’ll be away with work and then holiday for week or so. Please don’t expect any updates or responses to github issues, I’ll try when I can but … :wink:

Dave

Enjoy some holiday and thanks for your hard work with the integration :grinning:

Hi Dave,
I’m currently running 0.9.7.9 on powermax complete, it’s running well, responsiveness has been great.

I’ve noticed a (beneficial ) behaviour change since moving to your major new release (0.9.6.x) which I though I’d check if it’s by design or accident.

Currently when a PIR battery runs out, the panel double beeps every few minutes unit it’s changed. I’ve never been able to find anywhere in the panel configuration to prevent this - as it’s a nightmare if the occurs overnight (also really freaks my rescue dog out making her shake). Anyway, yesterday a battery died & the panel double beeped once - and hasn’t done so since!!

Also noticed an automation I setup ages ago (which didn’t previously work) to send a notification to my phone when a battery dies, started working.

Any idea why either of these things now work?
And please keep whatever’s caused this :grinning:

UPDATE: looks like after a few hours the double beeping comes back. restarting the integration stops it again for a few hours

Sorry new person here… I have a initial setup/connection problem.

I basically found my Visonic Powermaster 33 and kp-250 after a garage clean out after a move and was going to sell it on apart from i noticed you clever sods or Dave has got it working with Home Assistant. So I setup Home Assistant on my home little server in docker and off i went.

So I, started again by factory resetting the Powermater-33 (jumper E+F), that worked, connected the KP-250 to the Powermater 33, setup a couple of sensors, just motion and a door sensor. I have a Powerlink and have set a static IP. I can ping it and everything is good. I also think I changed the download code, little bit different on the KP-250, i think it is Installer Mode → 04:Communication → 6: Up/Download → PSTN Up/Download → Inst.UL/DL code → 5650.

I have setup v0.9.7.9-dev_b0 build in Home Assistant

But I can’t for the life of me get it connected… Under the entity it just says unavailable. I have tried Powerlink Emulator and Standard modes. I have gone through the post and got a little confused as a lot has gone on but couldn’t find much that can help.

I think it might be my port? Or have I not set the Download code correctly?

Any help from one Dave to another would be amazing, sorry for being a noob on this but I am stuck and would love to utalise this. (I am new to home assistant too)

      "2024-09-05 20:04:07.077396+01:00  D P0  init panel 0  language en",
      "2024-09-05 20:04:07.077544+01:00  D P0  reset client panel variables",
      "2024-09-05 20:04:07.077834+01:00  I P0  Exclude sensor list = []     Exclude x10 list = []",
      "2024-09-05 20:04:07.078025+01:00  D P0  ........... connection attempt 1 of 1",
      "2024-09-05 20:04:07.078254+01:00  D P0  connect_to_alarm self.config = {'panel_number': 0, 'type': 'ethernet', 'host': '192.168.1.10', 'port': '30000', 'path': '', 'baud': 9600, 'emulation_mode': 'Powerlink Emulation', 'download_code': '5650', 'show_eeprom_attributes': True, 'exclude_x10': [], 'exclude_sensor': [], 'siren_sounding': ['intruder'], 'panel_state_notifications': ['connection_problem', 'siren_sounding'], 'sensor_event_list': ['problem'], 'retry_connection_count': 1.0, 'retry_connection_delay': 90.0, 'motion_off_delay': 120.0, 'magnet_closed_delay': 5.0, 'emergency_off_delay': 120.0, 'arm_without_usercode': False, 'force_numeric_keypad': False, 'arm_home_enabled': True, 'arm_night_enabled': True, 'arm_away_instant': False, 'arm_home_instant': False, 'allow_remote_arm': False, 'allow_remote_disarm': False, 'allow_sensor_bypass': False, 'panellog_logentry_event': True, 'panellog_complete_event': True, '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}",
      "2024-09-05 20:04:07.078371+01:00  D P0  Connection Device Type is ethernet",
      "2024-09-05 20:04:07.080283+01:00  D P0  [getConfigData] Replacing default English names with provided list:",
      "2024-09-05 20:04:07.088367+01:00  D P0  [getConfigData] Emulation Mode Powerlink Emulation so setting ForceStandard to False, DisableAllCommands to False",
      "2024-09-05 20:04:07.089140+01:00  D P0  Setting TCP socket Options Exception [Errno 111] Connection refused",
      "2024-09-05 20:04:07.089285+01:00  D P0  reset client panel variables",
      "2024-09-05 20:04:07.089424+01:00  D P0  Client: Sending HA Event visonic_alarm_panel_state  {'panel': 0, 'panel_id': 'alarm_control_panel.visonic_alarm', 'action': 'connection', 'state': 'failedattempt', 'attempt': 1}",
      "2024-09-05 20:04:07.089555+01:00  D P0  notification_config ['connection_problem', 'siren_sounding']",
      "2024-09-05 20:04:07.089595+01:00  I P0  HA Notification: Failed to connect into Visonic Alarm Panel 0. Check Your Network and the Configuration Settings.",
      "2024-09-05 20:04:07.090551+01:00  D P0  Creating Alarm Panel Entity"
2024-09-05 20:04:07.088 DEBUG (MainThread) [custom_components.visonic.client] P0  [getConfigData] Emulation Mode Powerlink Emulation so setting ForceStandard to False, DisableAllCommands to False
2024-09-05 20:04:07.089 DEBUG (MainThread) [custom_components.visonic.client] P0  Setting TCP socket Options Exception [Errno 111] Connection refused
2024-09-05 20:04:07.089 DEBUG (MainThread) [custom_components.visonic.client] P0  reset client panel variables
2024-09-05 20:04:07.089 DEBUG (MainThread) [custom_components.visonic.client] P0  Client: Sending HA Event visonic_alarm_panel_state  {'panel': 0, 'panel_id': 'alarm_control_panel.visonic_alarm', 'action': 'connection', 'state': 'failedattempt', 'attempt': 1}
2024-09-05 20:04:07.089 DEBUG (MainThread) [custom_components.visonic.client] P0  notification_config ['connection_problem', 'siren_sounding']
2024-09-05 20:04:07.089 INFO (MainThread) [custom_components.visonic.client]  P0  HA Notification: Failed to connect into Visonic Alarm Panel 0. Check Your Network and the Configuration Settings.
2024-09-05 20:04:07.089 DEBUG (MainThread) [custom_components.visonic] [Visonic Setup] Setting client ID for entry id 01J71S53548MC1J6TVK101A3EM
2024-09-05 20:04:07.089 DEBUG (MainThread) [custom_components.visonic] [Visonic Setup] Returning True for entry id 01J71S53548MC1J6TVK101A3EM
2024-09-05 20:04:07.090 DEBUG (MainThread) [custom_components.visonic.client] P0  Creating Alarm Panel Entity
2024-09-05 20:04:07.090 DEBUG (MainThread) [custom_components.visonic.alarm_control_panel] Initialising alarm control panel Visonic Alarm panel 0

Currently you cannot use this integration with the power link module. You have to replace the module with different hardware. See here how to set it up:

1 Like