Visonic Powermax and Powermaster Component

Hello all

Very much a newbie to all this HA stuff so please excuse my lack of knowledge on this subject. I currently have a PM30 (PowerMaster30) with a Powerlink 3 card that is connected to my home network. This then connects to a 3rd party web server that allows me to access my system via the Visonic app to arm and disarm.

  • so do I need to buy some hardware or is my setup ok?
  • if I do need hardware, does this go on the PM panel
  • can anyone send a picture of the setup? (PM Panel, how it connects to the network, etc)
  • my hassio is running on vitualbox, so do I just upload the files as instructed and add to the config.yaml?

I did see another setup to access by simulating the ViSonic app but this does look better if I can understand it lol. I assume nobody has done a quick video to go over it briefly.

Cheers

Hi and Welcome,
Have you checked out the github page here
You’ll need to remove your Powerlink 3 I think, although some have said that there’s 2 RS232 ports in the panel that would work. I assume that you already have an ethernet cable to your panel so I would suggest one of the 2 ethernet options.
As for wiring it, you’ll need to look through this thread for the info for a powermaster 30.

I do plan on updating the Wiki page on github at some point, with some diagrams etc but I haven’t got around to it yet :slight_smile:

Hello Dave and thank you for your reply.

From the images in the connecting up section it shows the IP pin out and next to it the RS232. Is that the bit you mean and I assume the pin out won’t be the same. I have ready this a few more times now and it’s making sense.

Does your USR fit inside your panel or have you bought a separate housing for it? Also why is it the Powerlink 3 module can’t be used just for my understanding

Yes, mine is inside the panel as it’s only small. It is powered from the panels connector.

My HA Component connects to the panel and mimics a powerlink device. I believe that the panel only supports 1 powerlink device and therefore you can only connect one or the other. However, the powermaster 30 may allow more than 1 powerlink device, you would need to try it.

There have been a few posts in this thread regarding the physical wiring, you would need to check back and find the powermaster 30 connections.

I’ve posted a bit on the need to identify what signaling RS-232 levels are and how they need to be addressed when interfacing the HA host computer and the alarm panel. Understand RS-232 is a communication protocol (logical definition) as well as a signal level specification. Traditionally, the signalling level states are -12 V (logic 1) and +12 V (logic 0). For convenience, localized connections (within a few meters) have used logic levels for signalling. For the PowerMaster-30, the signalling level states are 0 V (logic 0) and 3.3 V (logic 1), assuming it has the same interface as my PowerMaster-10. Older panels used 0 V and 5 V signalling.

Here is a reference I’ve posted before. It shows +/- 13 V instead of +/- 12 V, but either is within the limits of the specification.

https://www.sparkfun.com/tutorials/215

For my implementation, I used a 3.3 volt logic level USB cable because the alarm panel and the host computer are co-located. Since you are intending to use a Powerlink 3 card, it’s important to identify the signalling levels before you pick your hardware. Looking at the product description, it’s not apparent (at least to me) it will work since it appears to be designed for IP connections to a cloud-based API. If it has an RS-232 port it might be workable, but you’ll need to identify the signal levels and then do some amount of experimentation.

https://www.visonic.com/Products/Wireless-Property-Protection/powerlink3-communication-modules

I found this on the panel itself:
JS700421 v1.0.02
JS703204 K19.324

It looks newer.

Would be nice!
This topic gets longer by the day and searching info gets difficult too. :crazy_face:

Hello community
please tell me whether it is possible to use Visonic sensors in automation. It is the sensors. For example, the inclusion of light when moving.
If so, is there an example of automation?
P.s all of a sudden information might seem useful to someone:
a bunch of USR-C215b + Powermax Plus - works.

Hi,
I think it depends on what power model you have.
If you have the powermaster 10/ 30 it’s a no go from what I can do on mine, unless someone has made a hack for it. On my 30 I do get door sensors to activate, but the motion is only enabled when the alarm is on.
I believe (from notes above) that powermax might allow usage of the motion sensors as well, but not 100%.

For my automations I tend to use node-red for low latency and connection to many platforms, plus keeping it separate to HA which tends to need reboots etc and gets updated often.

This is the first thing you notice when migrating from OpenHab. It’s silly, but the person who chose “beautifully” instead of “reliable” is me)).
Using node-red is not my option. I am using Hassio. (at RPI3). Independent node-red cannot be raised on it. Not an addon … maybe I’m wrong. In addition, independent, additional sensors are needed. It is a pity if you can not use PowerMax sensors. For me, this casts doubt on the principle of using PowerMax. You can buy xiaomi sensors - both security and sensors.
p.s. My device PowerMax +

Hello all

After some help please.I have got my usr-tcp232-2e and connected it up as it mentions

Is the connection error a worry? Also in error i changed the Websocket default in Misc Config and cant remember what the default is. I have set a static IP on the USR connected Grd to Grd, TX to RX, RX to TX and VCC to the volts option.

On HA i have added the visonic folder to config/custom_components. I have added this to my config file

visonic:
device:
type: ethernet
host: 192.168.10.70
port: 10628
motion_off: 120
language: ‘EN’
force_standard: ‘yes’
sync_time: ‘yes’
allow_remote_arm: ‘yes’
allow_remote_disarm: ‘yes’

exclude_sensor: [2,3]

exclude_x10: [1]

override_code: ‘1234’ - Are these needed and is it the installer passcode???

download_code: ‘9876’

arm_without_usercode: ‘yes’

if i go to my overview, i can see alarm panel but its set to unkown. I have tried a few changes but i am a bit lost now. setup the logger and get this

2019-08-15 18:16:06 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’]
2019-08-15 18:16:16 DEBUG (MainThread) [custom_components.visonic.pyvisonic] [Controller] ****************************** Response Timer Expired ********************************
2019-08-15 18:16:16 DEBUG (MainThread) [custom_components.visonic.pyvisonic] [ClearList] Setting queue empty
2019-08-15 18:16:16 DEBUG (MainThread) [custom_components.visonic.pyvisonic] [pmSendPdu] Resetting expected response counter, it got to 0 Response list before 0 after 2
2019-08-15 18:16:16 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’]
2019-08-15 18:16:26 DEBUG (MainThread) [custom_components.visonic.pyvisonic] [Controller] ****************************** Response Timer Expired ********************************
2019-08-15 18:16:26 DEBUG (MainThread) [custom_components.visonic.pyvisonic] [ClearList] Setting queue empty
2019-08-15 18:16:26 DEBUG (MainThread) [custom_components.visonic.pyvisonic] [pmSendPdu] Resetting expected response counter, it got to 0 Response list before 0 after 2
2019-08-15 18:16:26 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’]
2019-08-15 18:16:36 DEBUG (MainThread) [custom_components.visonic.pyvisonic] [Controller] ****************************** Response Timer Expired ********************************
2019-08-15 18:16:36 DEBUG (MainThread) [custom_components.visonic.pyvisonic] [ClearList] Setting queue empty
2019-08-15 18:16:36 DEBUG (MainThread) [custom_components.visonic.pyvisonic] [pmSendPdu] Resetting expected response counter, it got to 0 Response list before 0 after 2
2019-08-15 18:16:36 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’]
2019-08-15 18:16:47 DEBUG (MainThread) [custom_components.visonic.pyvisonic] [Controller] ****************************** Response Timer Expired ********************************
2019-08-15 18:16:47 DEBUG (MainThread) [custom_components.visonic.pyvisonic] [ClearList] Setting queue empty
2019-08-15 18:16:47 DEBUG (MainThread) [custom_components.visonic.pyvisonic] [pmSendPdu] Resetting expected response counter, it got to 0 Response list before 0 after 2
2019-08-15 18:16:47 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’]
2019-08-15 18:16:57 DEBUG (MainThread) [custom_components.visonic.pyvisonic] [Controller] ****************************** Response Timer Expired ********************************

Oh, if you also had a powerlink 3 in, how can you stop the comms alarm or general beeping the panel is doing. its driving me crazy lol:crazy_face::crazy_face::crazy_face::crazy_face:

TIA

Looking to give this a go this weekend with an esp8266 with esp-link and a powermaster 10. Haven’t yet opened it up but wondered if anyone has the pinout for the PM10 or if it’s the same as the powermax which seems to have some diagrams here?

I have the PowerMaster 10. This post shows the pinout:

https://community.home-assistant.io/t/visonic-powermax-and-powermaster-component/55949/351

1 Like

Hello all.

From my previous post. Can anyone with a powermaster 30 using a USR-TCP232 post some pictures of the USR setup, the cabling between the USR and PM30 + HA setup / code.

Want to confirm my setup was right before I try again. I assume it’s just the power, tx, rx and ground that we connect.

Does anyone know how to reset the USR device? The guide doesn’t make any sense to me

TIA

Hello

I am just wondering if you can confirm something. I am using a Power master 30 and I went of the original post pin out. From your post it is stating a different pin out. can you confirm which pins you are using + the V pin?
https://www.domotiga.nl/projects/domotiga/wiki/Visonic
V-PM%2030

It appears your ‘Original’ column is a misnumbered version of this picture:

https://www.domoticaforum.eu/download/file.php?id=1434

All other versions I’ve seen use this pinout numbering assignment:

image

Hi, I’m a HA newby, inspired by this Visonic Plugin that I came across after my Powerlink2 died a few months ago.

I’m in awe, and highly appreciative, of the tireless work @davesmeghead has done to make this work, and produce the great write up.

My HA runs on a RPi using Hass.io and I have followed the github instructions to the point where I have my Powermax Pro, in Powerlink mode with all the entities, displaying in Lovelace. Happy bunny.

I now want to run automations. Specifically, using my telegram bot to send me a message when changing from Disarm to Arm Home or Arm Away and when Disarming from either of the armed states.
I’ve managed to get a generic message sent via my telegram bot every time the entity alarm_control_panel.visonic_alarm changes state.

Where I’m struggling is how to get (I assume) attribute charges to initiate the required messages.

I’ve been through this thread. Its touched on the subject a long while ago, but seems the series of HA updates and associated breaking changes since mean things have moved on.

If anyone can point me towards building automations for arming and disarming using Hass.io I’d be very grateful.

Does this help?

- alias: Alarm Armed So Turn Lights Off
  initial_state: 'on'
  trigger:
  - platform: state
    entity_id: alarm_control_panel.visonic_alarm
    to: armed_away
  action:
  - service: script.alarm_armed

- alias: Alarm Disarmed So Message Me
  initial_state: 'on'
  trigger:
  - platform: state
    entity_id: alarm_control_panel.visonic_alarm
    to: disarmed
  action:
  - service: script.alarm_disarmed_message

- alias: Alarm Disarmed So Turn Lights On
  initial_state: 'on'
  trigger:
  - platform: state
    entity_id: alarm_control_panel.visonic_alarm
    to: disarmed
  # only if after sunset and the garage light is off
  condition:
    - condition: state
      entity_id: switch.fibaro_system_fgs222_double_relay_switch_2x15kw_switch_10
      state: 'off'
    - condition: sun
      after: sunset
  action:
  - service: script.alarm_disarmed_lights

It’s an excert from my automations.yaml file. The HA Entity alarm_control_panel.visonic_alarm has “state” that you can use.

1 Like

Hello All

Sorry to post again but my alarm panel is nearly getting to Hammer time lol. My original setup was with a Powerlink 3 that was setup to connect over the web to a 3rd party monitor server. Is there anything i need to do first with my setup t make it work via HASS.IO?

I have pulled some pics and could someone double check my setup. I have my USR setup as below with the following connections. TX to RX and vice versa

I then have the following config in my Config.yaml and the Visonic file in my custom_components
config%20yaml

I have tried my setup with force_standard: ‘no’ and force_standard: ‘yes’
The downlad code, is that the default doenload code “5650” or is it your user or installer code?

Once i save you config, i am restarting HA and with certain option my entity show in my overview page but as unknown
Overview%20Area

as above but sometimes i see the Code option that i cant seem to edit
Overview%20Area%202

and sometimes i see an entity error for the alarm panel tile in the Overview section. I have tried to restart HA as i said before. I have also restarted HA and the USR but i get the following errors with the standard option set to Yes and No

Can anyone please advise on any of this? Is my panel config the issue and if so any tips? I my build wrong because i have missed a step. Sorry to keep posting but hit a brick wall now and need you clever folk to help :frowning_face:

OK, going top down…

Your wiring looks OK to me. Have you completely disconnected the Powerlink3, if not then please do so.

On the setup of the TCP232 device itself. The only help I can provide on this is to try using a different port than 23 as that is the telnet client/server port and it may have something associated with that port already. Try something high up, perhaps in the 20000 range. I’m not sure what “TCP Server style” is but try different settings and I’m not sure what “RFC2217” is. The rest of the settings looks OK to me.

Your configuration.yaml looks OK apart from the indentation looks like 4 characters, perhaps that should only be 2.

Looking at your log files, my Component is trying to send data but it is not receiving anything back. There are no “receive data” log entries so the communication to the panel is not working. I suggest looking at the USR-TCP232 settings, try the port up at say 20004 (in both the device settings and the configuration.yaml file remember).

Best of luck, it looks like you’re so close. Can anyone else provide any better help than me on the connections and device set up?

Many thanks, @davesmeghead . I’d got 90% there! but now its working nicely.