Visonic Powerlink RS232 Hack

Forum about Visonic products like Powermax Plus and Powermax Pro

Moderators: Rene, Willem4ever

Digit
Global Moderator
Global Moderator
Posts: 3388
Joined: Sat Mar 25, 2006 10:23 am
Location: Netherlands
Contact:

Re: Visonic Powerlink RS232 Hack

Post by Digit »

I use

Code: Select all

240000xxxx000000000000
(add checksum etc. yourself)
xxxx is the pincode.
User avatar
Willem4ever
Global Moderator
Global Moderator
Posts: 805
Joined: Mon Oct 30, 2006 3:48 pm
Location: Uithoorn / Netherlands

Re: Visonic Powerlink RS232 Hack

Post by Willem4ever »

Odin we found that the behaviour of the PM depends on the way you acknowledge the initial transmission. For now you should NOT register the powerlink but simply process the output it generates, when the output has stopped you can restart it using the 0xAB message. I noticed something similair in my setup (missing messages after registering my software as a powerlink) After starting/stopping the remote programmer the behaviour was back to 'normal' i.e. outputting all the messages as we see in the description.
Bwired
Administrator
Administrator
Posts: 4704
Joined: Sat Mar 25, 2006 1:07 am
Location: Netherlands
Contact:

Re: Visonic Powerlink RS232 Hack

Post by Bwired »

nice to see all the differences :)
I also use 0D AB 0A 00 01 00 00 00 00 00 00 00 43 06 0A to make it work
and this works good for me, no need for pincode.
Concur with Willem, I first disconnect mains and battery from visonic
then reboot
then send 0D AB 0A 00 01 00 00 00 00 00 00 00 43 06 0A

The login with pin is also possible, works with me too, but i think slightly different
User avatar
Willem4ever
Global Moderator
Global Moderator
Posts: 805
Joined: Mon Oct 30, 2006 3:48 pm
Location: Uithoorn / Netherlands

Re: Visonic Powerlink RS232 Hack

Post by Willem4ever »

Digit wrote:I use

Code: Select all

240000xxxx000000000000
I believe this is only necessary when you want to enter the programming mode, which shouldn't be necessary to receive message from the PM.
Odin
Starting Member
Starting Member
Posts: 27
Joined: Tue Jul 12, 2011 11:33 am

Re: Visonic Powerlink RS232 Hack

Post by Odin »

OK guys thanks for feedback - I will have a play and maybe reset as Bwired suggests. I also think maybe there are a few differences between the panels (I have a Complete panel).

Will report back.
Odin
Starting Member
Starting Member
Posts: 27
Joined: Tue Jul 12, 2011 11:33 am

Re: Visonic Powerlink RS232 Hack

Post by Odin »

Also, when my Perl program ends, I send a logoff msg as follows - is this what you guys do?

$pm_logoff=pack('H*',"0D0FF00A");
User avatar
Willem4ever
Global Moderator
Global Moderator
Posts: 805
Joined: Mon Oct 30, 2006 3:48 pm
Location: Uithoorn / Netherlands

Re: Visonic Powerlink RS232 Hack

Post by Willem4ever »

No logging on or off, just restarting communications with 0xAB messages. In fact the program is running 24x7 for two weeks now ....
Digit
Global Moderator
Global Moderator
Posts: 3388
Joined: Sat Mar 25, 2006 10:23 am
Location: Netherlands
Contact:

Re: Visonic Powerlink RS232 Hack

Post by Digit »

PS
To make sure everybody understands what I meant in my previous post: I was only showing how I log in - nothing else... cause that was the question.
User avatar
Willem4ever
Global Moderator
Global Moderator
Posts: 805
Joined: Mon Oct 30, 2006 3:48 pm
Location: Uithoorn / Netherlands

Re: Visonic Powerlink RS232 Hack

Post by Willem4ever »

Digit wrote: To make sure everybody understands what I meant in my previous post: I was only showing how I log in - nothing else... cause that was the question.
Ahh i see, trying to emulate women behaviour by doing several things at the same time - and it isn't workin :lol:
Digit
Global Moderator
Global Moderator
Posts: 3388
Joined: Sat Mar 25, 2006 10:23 am
Location: Netherlands
Contact:

Re: Visonic Powerlink RS232 Hack

Post by Digit »

Right :) All other conclusions from my post were your own :D

@odin: 0x0F is indeed the way to logoff. But as you know by now, you don't have to do that. There are some commands that only work while logged in, but I can't remember them right now.
User avatar
Willem4ever
Global Moderator
Global Moderator
Posts: 805
Joined: Mon Oct 30, 2006 3:48 pm
Location: Uithoorn / Netherlands

Re: Visonic Powerlink RS232 Hack

Post by Willem4ever »

e.g. commands which require a pincode seems to work without a pincpode when logged on.
Digit
Global Moderator
Global Moderator
Posts: 3388
Joined: Sat Mar 25, 2006 10:23 am
Location: Netherlands
Contact:

Re: Visonic Powerlink RS232 Hack

Post by Digit »

No, more like this: Commands that do not have a pincode themselves don't work when not logged in, but do after logging in.
But I'll have to reread some chat logs to find out what it was exactly.
Odin
Starting Member
Starting Member
Posts: 27
Joined: Tue Jul 12, 2011 11:33 am

Re: Visonic Powerlink RS232 Hack

Post by Odin »

OK I tried the 'programming' way using the Visonic client, logged off and then tried again. Still no A7 msgs. so am currently resetting the unit (no AC Power and battery disconnected).

Just to be sure, when I open the Serial port connection from my client, I don't have to send any msgs to the PM - I should just wait for first msg back from PM to PC and then acknowledge the msg with 0D02FD0A ?
User avatar
Willem4ever
Global Moderator
Global Moderator
Posts: 805
Joined: Mon Oct 30, 2006 3:48 pm
Location: Uithoorn / Netherlands

Re: Visonic Powerlink RS232 Hack

Post by Willem4ever »

Odin, we are reverse engineering so your mileage may vary.

What I do when my little program starts is that I Send 0xAB, 0x0A, 0x00, 0x01, 0x0 , 0x0 , 0x0 , 0x0 , 0x0 , 0x0 , 0x0 , 0x43 to (re) start the output from the visonic. Received messages (when valid) are acknowledged by 0x2,0x43. I never send an 0xAB as an acknowledge since this changes the behaviour of the PM (we need some work on that). Registering PL emulator with PM seems not necessary for our purpose - as we know right now -

Not sure what digit and bwired are doing, but this is what I do.
Digit
Global Moderator
Global Moderator
Posts: 3388
Joined: Sat Mar 25, 2006 10:23 am
Location: Netherlands
Contact:

Re: Visonic Powerlink RS232 Hack

Post by Digit »

I also send AB 0A 00 01 00 00 00 00 00 00 00 43 when I (re)connect.
Post Reply

Return to “Visonic Alarm systems”