Page 5 of 16

Re: Powerlink serial pinout

Posted: Sun Dec 09, 2012 1:53 am
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!

Re: Powerlink serial pinout

Posted: Fri Dec 21, 2012 3:20 pm
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

Re: Powerlink serial pinout

Posted: Sat Jun 15, 2013 4:41 pm
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

Re: Powerlink serial pinout

Posted: Sun Jun 16, 2013 10:17 pm
by viknet
I will update them shortly

Re: Powerlink serial pinout

Posted: Sun Jun 16, 2013 10:23 pm
by viknet
http://dl.free.fr/tg0HI9F8I,

feel free to ask for question, using this since nearly one year, work perfectly

Re: Powerlink serial pinout, linux daemon and web interface

Posted: Tue Jun 25, 2013 1:50 pm
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

Re: Powerlink serial pinout, linux daemon and web interface

Posted: Wed Jun 26, 2013 8:53 am
by uAlex73
@viknet: the link doesn't work anymore ;-(

Re: Powerlink serial pinout, linux daemon and web interface

Posted: Wed Jun 26, 2013 2:25 pm
by wwolkers
Link still works for me?

Re: Powerlink serial pinout, linux daemon and web interface

Posted: Mon Jul 08, 2013 2:33 pm
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

Re: Powerlink serial pinout, linux daemon and web interface

Posted: Sat Aug 03, 2013 12:39 am
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 ?

Re: Powerlink serial pinout, linux daemon and web interface

Posted: Mon Aug 05, 2013 12:48 am
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.

Re: Powerlink serial pinout, linux daemon and web interface

Posted: Mon Aug 19, 2013 12:01 am
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)

Re: Powerlink serial pinout, linux daemon and web interface

Posted: Mon Aug 19, 2013 1:43 pm
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

Re: Powerlink serial pinout, linux daemon and web interface

Posted: Thu Aug 29, 2013 11:31 pm
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? :)

Re: Powerlink serial pinout, linux daemon and web interface

Posted: Tue Sep 10, 2013 12:08 am
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