Plugin for Visonic Powermax Integration

Hej Utz

Where can I get version 0.73? I have now installed 0.70 and the log file doesn’t load so want to try the latest version.

Sten,
The link where 0.73 can be found is on the first port of this subject on page 1. If you follow that into the trunk, you will find 0.73 … (Visonic Powermax Alarm Panel). This is where I found it.
Mano

Mano
Got it - Thanks!
Sten

Hi Utz,
Finally had time to hookup the Powerlink2 to the PowermaxPro and have captured the following.
The Alarm Panel has 2 X10 devices for this. On house code O. Device 01 and 15. I’ll call it X01 and X15 for the traces enclosed.
Device X01 is attatched 2 couple of Zones when triggered and Device X15 had it programmed to Turn Lights ON when Alarm is Disarmed.
As I did not know enough in the flow of information on Rx/Tx pins, I’ve used the ref of Pin3 and Pin 2 to capture the data individually and then combined.
I am not well versed with what is going on the link,
A5 message sets the X10 status in Bytes 9 & 10 and the planel in responds with a A4 message indicating the X10 status update of some sort.
3 files attatched.
powerup.txt is on Powerlink powerup.
powGUIup.txt is when I http to the powerlink.
X01X15.txt is the details of traces when being toggeled.

Hope, you can crack it.
How can I send the messages into the powerlink to see if I can manipulate the X10 device?

[quote=“mano, post:144, topic:169028”]Hi Utz,
Finally had time to hookup the Powerlink2 to the PowermaxPro and have captured the following.
The Alarm Panel has 2 X10 devices for this. On house code O. Device 01 and 15. I’ll call it X01 and X15 for the traces enclosed.
Device X01 is attatched 2 couple of Zones when triggered and Device X15 had it programmed to Turn Lights ON when Alarm is Disarmed.
As I did not know enough in the flow of information on Rx/Tx pins, I’ve used the ref of Pin3 and Pin 2 to capture the data individually and then combined.
I am not well versed with what is going on the link,
A5 message sets the X10 status in Bytes 9 & 10 and the planel in responds with a A4 message indicating the X10 status update of some sort.
3 files attatched.
powerup.txt is on Powerlink powerup.
powGUIup.txt is when I http to the powerlink.
X01X15.txt is the details of traces when being toggeled.

Hope, you can crack it.
How can I send the messages into the powerlink to see if I can manipulate the X10 device?[/quote]

Many thanks for this effort!

I had a quick look and it seems to make sense. I will sit down the next days and try to infer the mechanics of this protocol bit. Then I will integrate with the UI4 plugin and make it available for you to test (I do not have an X10 so I cant test it here). I think best would be to represent each X10 device in UI4 by a light switch (To be configured similar to the sensors in zones).

@mano

I think I decoded it and found out how to trigger X10. We should be able to use the powermax as X10 gateway for vera. I hope to do some coding tomorrow.

0d a4 00 00 00 00 00 01 00 80 00 00 43 96 0a

this should be sent from vera to powermax to switch on X15. Byte8 means on; Byte10 is X15

0d a4 00 00 00 00 00 01 02 00 00 00 43 96 0a

this should be sent from vera to powermax to switch on X01. Byte8 means on; Byte9 is X01

0d a5 00 04 00 01 00 00 00 00 12 80 43 7f 0a

this is sent from powermax to vera to indicate X10 status. Byte11 means X01 and X04 are on; Byte12 means X15 is on. Do you have an X04 in your setup?

Utz

In few days (the time to receive the RS232/USB converter from Hong Kong), I will have everything to test this plugin.
Micasaverde proposed the plugin in the UI5 apps store. Do we have any feedback from users using this version with UI5 ?

utz, its time to switch to UI5 :wink:

Tomorrow I will take delivery of my Vera Lite, and one of the 1st things I would like to do is integrate it with my BT VP1000 (which is a Visonic Powermax underneath) system, so I too would like to find out if it is compatible with UI5.

I have about 50 devices in my setup and I am not convinced everything will still be working when moving to UI5. For example, it controls my heating, it is winter and if it fails I sit in the cold. A lot of what I read is that people upgrade to UI5 and then directly back to UI4 as essential bits stop working. Is there a definite list stating which devices/plugins work in UI5 and which do not?

You’re right, that list would be interesting.
Reading the forum, it looks like one of the major issue is with the EZmotion 3 in 1 sensor (temperatire and light level is not reported by Vera). If you use this sensor for controling your heating, it is not time for you to move to UI5.
On my side, of course I have only few devices (as I am starting with Z-Wave) but all my devices are working with UI5.

By the way, as soon as I have everything to connect PowerMax Pro to VeraLite (it might be 2 or 3 weeks), I will try the version of the plugin made by Micasaverde and come back to you if I need help to debug.

Do you have any idea which of your version was used by Micasaverde to build the UI5 version ?

[quote=“utz, post:146, topic:169028”]@mano

I think I decoded it and found out how to trigger X10. We should be able to use the powermax as X10 gateway for vera. I hope to do some coding tomorrow.

0d a5 00 04 00 01 00 00 00 00 12 80 43 7f 0a

this is sent from powermax to vera to indicate X10 status. Byte11 means X01 and X04 are on; Byte12 means X15 is on. Do you have an X04 in your setup?

Utz[/quote]
Utz,
Amazing, I do have the remnents of X04 from when I was trying to setup Powermax to X10 some years ago. I thought I cleaned all the data out. Very glad you’ve sussed it out to code.
I’ll keep an eye on this thread on your progress.
Mano

I am not sure which one was used. I guess that the internal logic between UI4 and UI5 is not much different. How could I have a look at the UI5 code (where is it to be found?). I could try to put the UI5 code in the svn as well and keep both versions up to date (I guess it is the GUI stuff where the difference is).

I created a version 0.81 which supports X10 and can be found in the trunk of the svn.

The X10 devices must be set up in the powermax. Then the altid in the powermax device must be of form “Z01,Z02,Z03,Z11,X01,X15” to add, for example, X10 device 01 and 15. When restarting the UI a BinaryLight device to represent each X10 device is created. The X10 device can be switched on/off using the device on/off button in the UI. In addition, if the powermax is used to change device state (via control panel or as programed) the vera UI should update as well and show the correct state.

I could not test this fully as I do not have any X10 devices. However, there is a good chance it works. If anyone has time, please test and let me know ….

I am not sure which one was used. I guess that the internal logic between UI4 and UI5 is not much different. How could I have a look at the UI5 code (where is it to be found?). I could try to put the UI5 code in the svn as well and keep both versions up to date (I guess it is the GUI stuff where the difference is).[/quote]

I don’t know exactly which are the URL to be used by developpers. Information is probably somewhere in the forum.You probably need to request access rights to your plugin to update it.

For users, we have access to apps (plugins) directly through the UI. Or the plugin can be found here too: MiOS Apps The version is dated November 2011.

Utz,
You’ve cracked the X10 over Vera2 onto Powermax Pro. Just updated the I_Powermax.xml as I am already on 0.73, added X01 and X15 hit Save and The Vera UI4 picked up the new 2 X10 additions and works a treat. Saved me oodles of £.s and probably loads for other european’s.
Well done mate, and thanks.
Mano

@mano

Good to hear it works. Would not have been possible without the traces. Thanks for testing.

I wonder if it also works with two way X10 (the ones that send an ACK, I think the powermax can support these two different styles of X10). The other question would be dimmers. As far as I can see the powermax only understands on/off but not X10 dimming I guess.

(BTW, if the powerlink has any other nice features we could copy these the same way for vera)

Utz,
I did try the dimming on the powerlink, did not seem to have any effect on the lampunit. I’ll try it again over the next weekend. Also, it appears any devices on the same house code as what the Powemax is on is also contollable from vera, even though it has not been enrolled onto the Powermax.
I

cont…
I will check what other features are available of use.

Utz,
Strange Powerlink trace for X10 Dim/Bright.
I had on the Powermax Panel, All X10 one way comms.
X01 - as Garage - Light Unit - Appliance Module
X15 - as LivRoom - Light Unit - Lamp Unit with Brightness/Dim control
X04 - as left over Debris.
X02 - Installed to proove a fault.

When I Tried to control the X15 unit. On/Off worked via the Powerlink, no changes when DIM/BRI was tried.
Checked the X10 trace over the mains and found, when Brightness or DIM commands were sent the addressing for X01 was X01 and for X15 strangely it was for (X02).
Not sure if the issue of incorrect addressing is caused by the Powerlink or the PowermaxPro.
Installed, X02 as an additional unit on Powermax, changed the Lamp from X15 to X02 device address.
now from memory,
When X02 on/off and DIm/Bri all worked.
When X15 on/off nothing to receive, however when Bri/Dim for X15 pressed, X02 reacted.

With Lights off. Pressing the Bri button, the Lights will Turn On FULL Brighteness and can be dimmed.
With Lights off. Pressing the Dim button, The Lights Turn on Full and can be Dimmed.

No Memory retention capability on my Lamp unit, hence the above behaviour.

After Inserting the X02 device, checking the trace of the X10messages sent out from the Powermax showed,
X01 - X01 addresses.
X02 - X02 addresses.
X15 - X03 addresses.

Although I still have the X04 data debris which you picked out, it did not influence the X10 addresses the Powermax sent to the mains. Very Strange, the Device Address of X10 set out from Powermax runs sequentially regardless of where the actual Device address is. Something either in the Powermax panel or Powerlink is out of sync.

On the other features of Powerlink, the enclosed word doc shows the screen shots. Its not as extensive as the RS232 Programming software. The Powerlink GUI did not pick up the Panel details of phone numbers and panel name.

Hope the above helps.
Mano

@mano

it will take a while for me to process … I will have a look.