Powerlink serial pinout, linux daemon and web interface

Forum about Visonic products like Powermax Plus and Powermax Pro

Moderators: Rene, Willem4ever

Post Reply
znubbis
Starting Member
Starting Member
Posts: 1
Joined: Sun Dec 09, 2012 1:10 am

Re: Powerlink serial pinout

Post by znubbis »

I'm trying to figure out if this also work on the PowerMax alarm (not the pro version) this one http://www.visonic.com/Products/Wireles ... n/PowerMax, it has a serial pin.

If it do work, is it TTL 3.3V or 5V?

Thank you for any help!
viknet
Member
Member
Posts: 65
Joined: Thu Jan 26, 2012 1:48 am

Re: Powerlink serial pinout

Post by viknet »

from this site:
http://wiki.openwrt.org/doc/hardware/port.serial
To find out the serial console pins on the PCB, you'll be looking for a populated or unpopulated 4-pin header, which can be far from the SoC (signals are relatively slow) and usually with tracks on the top or bottom layer of the PCB, and connected to the TX and RX.

Once found, you can easily check where is the GND, which is connected to the same ground layer than the power connector. The VCC should be fixed at 3.3V and connected to the supply layer ; the TX is also at 3.3V level, but using a multimeter as an ohm-meter, if you find an infinite resistance between the TX and VCC pins, it means they're distinct signals (else, you'll need to find the correct TX or VCC pin). The RX and GND are by default at 0V, so you can check them using the same technique.
it works very well and it is how I found the pinout
dad
Starting Member
Starting Member
Posts: 30
Joined: Thu Jun 13, 2013 10:20 pm

Re: Powerlink serial pinout

Post by dad »

viknet wrote:I cannot upload ipk file (if an admin can remove this limitation)
file are uploaded at:
http://dl.free.fr/pqVtEgIOi xpl library
http://dl.free.fr/gVS3VE2eA pmax daemon
http://dl.free.fr/i9Z7TjWoX xpl example and utility (optional)


src of the three: http://dl.free.fr/gJZy64Wnr

--Snip--


if asked everything mine is GPL
Is the source still available as the links above no longer work - I can't see it in the files list.

TIA
viknet
Member
Member
Posts: 65
Joined: Thu Jan 26, 2012 1:48 am

Re: Powerlink serial pinout

Post by viknet »

I will update them shortly
viknet
Member
Member
Posts: 65
Joined: Thu Jan 26, 2012 1:48 am

Re: Powerlink serial pinout

Post by viknet »

http://dl.free.fr/tg0HI9F8I,

feel free to ask for question, using this since nearly one year, work perfectly
dad
Starting Member
Starting Member
Posts: 30
Joined: Thu Jun 13, 2013 10:20 pm

Re: Powerlink serial pinout, linux daemon and web interface

Post by dad »

Hi Viknet,

Thanks for the source. I am just trying to compile the pmaxd on a fedora system, without the xpl part. However the make exits with 1 status complaining about 'cannot find -lxPL'

Is xpl necessary if I want to use another package to parse the log files?

TIA
uAlex73
Member
Member
Posts: 218
Joined: Sun Jan 01, 2012 3:42 pm
Contact:

Re: Powerlink serial pinout, linux daemon and web interface

Post by uAlex73 »

@viknet: the link doesn't work anymore ;-(
DomotiGa / Z-Wave / RFXCom / Visonic PowerMaster / Home Assistant / Zigbee2MQTT / DSMR Reader / Toon1 (rooted)
wwolkers
Member
Member
Posts: 273
Joined: Tue Sep 23, 2008 10:10 am
Location: Netherlands
Contact:

Re: Powerlink serial pinout, linux daemon and web interface

Post by wwolkers »

Link still works for me?
dad
Starting Member
Starting Member
Posts: 30
Joined: Thu Jun 13, 2013 10:20 pm

Re: Powerlink serial pinout, linux daemon and web interface

Post by dad »

Just to say the link worked for me. But I am having the compiling problem mentioned above.

I assume Viknet is on holiday - I cannot PM yet so I cannot reply to his message to me.

Dad
ggero
Starting Member
Starting Member
Posts: 9
Joined: Mon Jul 29, 2013 3:53 am

Re: Powerlink serial pinout, linux daemon and web interface

Post by ggero »

Hi guys ! ... I am a new user of Powermax Pro. I was trying to connect it throw a DIY cable with no success .. Software does not recognize the panel. I guess that my cable (which has not a PL2303 chipset but USB2.0-ser) is the reason for this .. I order a PL2303 for the job. First I want to programm the control panel with this DIY cable and then to buy a Tp-Link for network access. I think that it can be done with this cable isnt it ? ..Also the connection for the cable from control panel to the PL2303 is RX-RX&TX-TX or RX-TX&TX-RX ?
dad
Starting Member
Starting Member
Posts: 30
Joined: Thu Jun 13, 2013 10:20 pm

Re: Powerlink serial pinout, linux daemon and web interface

Post by dad »

Hi ggero,

I have used my cable to connect to a powermaster30, using RX-TX & TX-RX & GND-GND. The remote programmer works, but I had to set a separate download code in the panel.

I eventually compiled pmaxd with xpl as I can use it with another part of my HA setup. However when I run the pmaxd it seems to hang and not communicate with the panel.

So nearly there but still no success.
viknet
Member
Member
Posts: 65
Joined: Thu Jan 26, 2012 1:48 am

Re: Powerlink serial pinout, linux daemon and web interface

Post by viknet »

hello, back from holidays,
run pmaxd with -fvvvvvv (foreground very verbose) and send the log.

you have of course setup /etc/pmaxd.conf correctly, and you can adjust timeout to see if things improve.


good luck (if you manage to compile you are already quite advanced)
dad
Starting Member
Starting Member
Posts: 30
Joined: Thu Jun 13, 2013 10:20 pm

Re: Powerlink serial pinout, linux daemon and web interface

Post by dad »

Hi viknet,

Welcome back. The problem seems to be incompatible header files in the pidora distro I am using. SO I used your code to form the basis of a perl script to handle the messages. This is better for me as my HA system is deirved from a shopping cart written in perl.

The script works in that messages are sent from the panel and logged to the syslog. I was just beginning to work on the parsing of individual messages when the following sequence of xb0 messages arrived and the flow of messages stopped. Any idea what they mean (my script adds the OK to show that the checksum is correct):

Code: Select all

Aug 16 21:15:22 rails pmaster[851]: info  * OK:a5000405010000000700004306
Aug 16 21:16:22 rails pmaster[851]: info  * OK:a5000405010000000700004306
Aug 16 21:17:13 rails pmaster[851]: info  * OK:a50004050400001007000043f2
Aug 16 21:17:13 rails pmaster[851]: info  * OK:a50004050400001007000043f2
Aug 16 21:17:13 rails pmaster[851]: info  * OK:b0033906ff08ff01243c4360         <---Here
Aug 16 21:17:14 rails pmaster[851]: info  * OK:a5000405010000000700004306
Aug 16 21:17:14 rails pmaster[851]: info  * OK:b0033906ff08ff01243d435f         <---Here
Aug 16 21:17:22 rails pmaster[851]: info  * OK:a5000405010000000700004306
Aug 16 21:17:50 rails pmaster[851]: info  * OK:a50004050400001007000043f2
Aug 16 21:17:50 rails pmaster[851]: info  * OK:b0033906ff08ff01243e435e         <---Here
Any thoughts?

Dad
ggero
Starting Member
Starting Member
Posts: 9
Joined: Mon Jul 29, 2013 3:53 am

Re: Powerlink serial pinout, linux daemon and web interface

Post by ggero »

Hi again ! :)
I have already installed the opwnwrt to my tplink but I cannot find the viknet files :(
The links are not working any more. Viknet, can you help me? :)
viknet
Member
Member
Posts: 65
Joined: Thu Jan 26, 2012 1:48 am

Re: Powerlink serial pinout, linux daemon and web interface

Post by viknet »

sorry I hate this forum where no email is sent to a thread I subscribe !!!!!!!


so sorry for beeing late,

new file at:

http://dl.free.fr/tCAjZrvQy
Post Reply

Return to “Visonic Alarm systems”