Visonic Powerlink RS232 Hack

Forum about Visonic products like Powermax Plus and Powermax Pro

Moderators: Rene, Willem4ever

Re: Visonic Powerlink RS232 Hack

Postby Digit » Thu Aug 25, 2011 9:41 am

I use
Code: Select all
240000xxxx000000000000

(add checksum etc. yourself)
xxxx is the pincode.
User avatar
Digit
Global Moderator
Global Moderator
 
Posts: 3388
Joined: March 2006
Location: Netherlands

Re: Visonic Powerlink RS232 Hack

Postby Willem4ever » Thu Aug 25, 2011 9:49 am

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.
User avatar
Willem4ever
Global Moderator
Global Moderator
 
Posts: 804
Joined: October 2006
Location: Uithoorn / Netherlands

Re: Visonic Powerlink RS232 Hack

Postby Bwired » Thu Aug 25, 2011 10:05 am

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
Bwired
Administrator
Administrator
 
Posts: 5308
Joined: March 2006
Location: Netherlands

Re: Visonic Powerlink RS232 Hack

Postby Willem4ever » Thu Aug 25, 2011 10:11 am

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.
User avatar
Willem4ever
Global Moderator
Global Moderator
 
Posts: 804
Joined: October 2006
Location: Uithoorn / Netherlands

Re: Visonic Powerlink RS232 Hack

Postby Odin » Thu Aug 25, 2011 10:12 am

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: July 2011

Re: Visonic Powerlink RS232 Hack

Postby Odin » Thu Aug 25, 2011 10:14 am

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

$pm_logoff=pack('H*',"0D0FF00A");
Odin
Starting Member
Starting Member
 
Posts: 27
Joined: July 2011

Re: Visonic Powerlink RS232 Hack

Postby Willem4ever » Thu Aug 25, 2011 10:19 am

No logging on or off, just restarting communications with 0xAB messages. In fact the program is running 24x7 for two weeks now ....
User avatar
Willem4ever
Global Moderator
Global Moderator
 
Posts: 804
Joined: October 2006
Location: Uithoorn / Netherlands

Re: Visonic Powerlink RS232 Hack

Postby Digit » Thu Aug 25, 2011 10:20 am

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
Digit
Global Moderator
Global Moderator
 
Posts: 3388
Joined: March 2006
Location: Netherlands

Re: Visonic Powerlink RS232 Hack

Postby Willem4ever » Thu Aug 25, 2011 10:28 am

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:
User avatar
Willem4ever
Global Moderator
Global Moderator
 
Posts: 804
Joined: October 2006
Location: Uithoorn / Netherlands

Re: Visonic Powerlink RS232 Hack

Postby Digit » Thu Aug 25, 2011 10:32 am

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
Digit
Global Moderator
Global Moderator
 
Posts: 3388
Joined: March 2006
Location: Netherlands

Re: Visonic Powerlink RS232 Hack

Postby Willem4ever » Thu Aug 25, 2011 10:37 am

e.g. commands which require a pincode seems to work without a pincpode when logged on.
User avatar
Willem4ever
Global Moderator
Global Moderator
 
Posts: 804
Joined: October 2006
Location: Uithoorn / Netherlands

Re: Visonic Powerlink RS232 Hack

Postby Digit » Thu Aug 25, 2011 10:43 am

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.
User avatar
Digit
Global Moderator
Global Moderator
 
Posts: 3388
Joined: March 2006
Location: Netherlands

Re: Visonic Powerlink RS232 Hack

Postby Odin » Thu Aug 25, 2011 10:47 am

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 ?
Odin
Starting Member
Starting Member
 
Posts: 27
Joined: July 2011

Re: Visonic Powerlink RS232 Hack

Postby Willem4ever » Thu Aug 25, 2011 10:56 am

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.
User avatar
Willem4ever
Global Moderator
Global Moderator
 
Posts: 804
Joined: October 2006
Location: Uithoorn / Netherlands

Re: Visonic Powerlink RS232 Hack

Postby Digit » Thu Aug 25, 2011 11:08 am

I also send AB 0A 00 01 00 00 00 00 00 00 00 43 when I (re)connect.
User avatar
Digit
Global Moderator
Global Moderator
 
Posts: 3388
Joined: March 2006
Location: Netherlands

PreviousNext

Return to Visonic Alarm systems

Who is online

Users browsing this forum: No registered users and 1 guest