Issues with USR-TCP232-E to PC/IP on Powermax Pro

Hi,

I recently purchased a Vera3 and wanted to connect my Powermax Pro using this plugin. I’ve read through various threads here and on domoticaforum and thought I had everything I needed but I’m struggling to get the communications working. Here’s my setup:

Powermax Pro PC/IP <-> Dupont cables <-> USR-TCP232-E <-> Ethernet <-> Switch <-> Ethernet <-> Vera3

However, the plugin is unable to read the panel. I am able to telnet to the USR-TCP232-E but just receive a continuous stream of X’s from the Powermax Pro. I have verified the wiring and comm settings of 9600,8,N,1.

I have read (and re-read) this post, [url=http://forum.micasaverde.com/index.php/topic,17184.0.html]http://forum.micasaverde.com/index.php/topic,17184.0.html[/url], where it appears others have managed to get this to work. Do I have a configuration setting on the USR-TCP232-E wrong or missing another component?

I previously had a Powerlink2 installed and working on the PC/IP port. I removed that before trying this plugin including un-enrolling the Powerlink. I also tried the Powerlink2 again to see if I messed something up on the PC/IP port and it still works.

I’m using version 1.2 of the plugin. I assume I don’t need to add the code referenced in the post to the lua file, is that correct? I’m also not sure if the plugin installed correctly as I can’t set the IP address from the settings tab. I did come across an entry in the Advanced section for IP and put it in there. Is that how it should be done?

Thanks,
Rob

You can indeed specify the IP address in the advanced tab, e.g. ip → 192.168.1.70:23.

See attached my settings for port 0, on which a PowerMaxPro is connected.

What do you mean by ‘stream of X’s’?

Here’s what I see when I telnet directly to the USR-TCP232-E:

$ telnet 192.168.1.200 Trying 192.168.1.200... Connected to 192.168.1.200. Escape character is '^]'. XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX^] telnet> q Connection closed. $

I don’t see anything different in the port settings that should cause a problem (only have 1 telnet session enabled), but I’ll try matching everything and see what happens. What about power? I have one of the PC/IP 3.75V pins connected to Vdd (5V). Do you have this connected to Vcc (3.3V)? The 3.75V source is not in the operating range of either. Or are you pulling power from somewhere else on the Powermax?

Thanks

I also have the 3.75V power on the 5V if I’m not mistaken. Make sure you have a proper GND. Use a program like Docklight to see what actually comes in as serial data.

Try to take the power off the PowerMax completely (mains & battery) and try again. That helps sometimes.

I believe I have narrowed down my issue to the software version running on the PowermaxPro itself. As I mentioned, I have the Powerlink2 and it works on the PC/IP interface. Visonic added support for the Powerlink2 on the PowermaxPro, but you must be running 5.2.50 (5.2.08 on some sites) or later on the PowerlinkPro. I’m assuming everyone that has this working is on an earlier version on their Pro. Visonic apparently changed something on the PC/IP interface starting with this version to make the Powerlink2 “compatible” but I have not been able to figure out what that is yet. I think it’s just different communication parameters instead of the 9600, 8, N, 1, that works for others. Will Docklight be able to help here? Any recommended settings to try?

Thanks

Why would you believe it is related to the SW version? The baud rate settings will always be the same - they don’t change. Just don’t use Powerlink2 together with a connection to Vera. You can only use one of the two.

I’m not using the Powerlink2 at the same time as when it’s connected to the Vera, in fact, I can’t since both are using the PC/IP interface, I can only connect one or the other. When I configure my USR-TCP232-E for 9600, 8, N, 1, all I get is a stream of X’s. I’ve independently verified that the USR-TCP232-E TX/RX TTL pins are working properly, I know there is no problems with my PC/IP interface since the Powerlink2 works when connected to it but when I connect the USR-TCP232-E to the PC/IP interface I just get the continuous stream of X’s like there is a baud, parity, etc. mismatch. Visonic did something in 5.2.50 to support the Powerlink2 in the PowermaxPro and the fact that I don’t see hex data with the USR-TCP232-E but the Powerlink2 still works leads me to believe something changed on the PC/IP interface. Why do you think the baud setting will always be the same?

The serial interface and baud rate settings is the same over all Visonic models - already for years. Their software also expects these settings.

Can you share a picture to see what pins you are using?

BTW: have a look at the domoticaforum for more information on connections.

I had a problem using this module as well, was fine using a usbbub I use for arduino’s and decided to connect them both together to first determing working USR-TCP232-E. After that it started spewing out HEX-codes via telnet when connected to pwrm-pro.

Below pictures how I connected.

[url=http://tweakers.net/ext/f/1QjlqvAJ8637FsmgnGAluPpa/full.jpg]http://tweakers.net/ext/f/1QjlqvAJ8637FsmgnGAluPpa/full.jpg[/url]
[url=http://tweakers.net/ext/f/QcaxccirJ60OLdHjeqmovPIt/full.jpg]http://tweakers.net/ext/f/QcaxccirJ60OLdHjeqmovPIt/full.jpg[/url]

If it keeps out spitting the same value (0x85 or something) then take off the power completely (mains & battery) for a few seconds and re-apply power.

It’s working fine, really like your plugin!
Since I only got it after using the sensors for a couple of years*, I’ll have to find a good way to program the powermax pro without walking all around the house :wink:

*used these sensors with an rfxlan in another domotica software very reliably for years.

[quote=“j.hoekstra, post:11, topic:182584”]It’s working fine, really like your plugin!
Since I only got it after using the sensors for a couple of years*, I’ll have to find a good way to program the powermax pro without walking all around the house :wink:

*used these sensors with an rfxlan in another domotica software very reliably for years.[/quote]

HI!
I have the same wiring as yours but for somehow I could not get it works. My router cannot obtain the ip from that adapter. On the powermax add on panel, I got an error “Lua startup failure” and the message box “PowerMax : Please set an IP address and port or select the serial interface for the PowerMax” any suggestion?

Hi sorry for late reply, didn’t get notified. I can’t remember if the module was setup for dhcp or static, but you could use some app like fing on android to automate scanning. My router has a list of IP’s assigned as well. Can’t recall if the program from the supplier could be used as well to set an IP.

@ J.Hoekstra,

I also dont get my Powermax pro in mode powerlink only standard.
I looked at your pictures and also have an usbbub but i have jumperd it to 3,3v.
Do i also connect the Vcc (3,3V) wire? Because without it also works/i can communicate with the powermax but no powerlink mode.
This is on a Vera lite UI7

How long do the jumper cables need to be please?

20cm long enough?

Mine are shorter, longer cables(>20-30cm) probably wouldn’t be beneficial.

[quote=“j.hoekstra, post:9, topic:182584”]I had a problem using this module as well, was fine using a usbbub I use for arduino’s and decided to connect them both together to first determing working USR-TCP232-E. After that it started spewing out HEX-codes via telnet when connected to pwrm-pro.

Below pictures how I connected.

[url=http://tweakers.net/ext/f/1QjlqvAJ8637FsmgnGAluPpa/full.jpg]http://tweakers.net/ext/f/1QjlqvAJ8637FsmgnGAluPpa/full.jpg[/url]
[url=http://tweakers.net/ext/f/QcaxccirJ60OLdHjeqmovPIt/full.jpg]http://tweakers.net/ext/f/QcaxccirJ60OLdHjeqmovPIt/full.jpg[/url][/quote]

Are these the photos of the last pint out to get it to work? Did you make these or buy them premade?

Hi,

First of all sorry for late reply, turns out Tapatalk doesn’t show PM’s…

Yes, this way it has worked fine for me just fine, I only had to somehow get the module going by initiating contact using a USB-bub I use for arduino programming.

This is a NUON-model, but I guess all PMPRO use same pins.

[quote=“j.hoekstra”]Hi,

First of all sorry for late reply, turns out Tapatalk doesn’t show PM’s…

Yes, this way it has worked fine for me just fine, I only had to somehow get the module going by initiating contact using a USB-bub I use for arduino programming.

This is a NUON-model, but I guess all PMPRO use same pins.[/quote]
Thanks! Did you make or buy the cables?

Search ebay for dupont wires, http://m.ebay.com.au/itm/291044306717?_mwBanner=1 these are the ones I bought. You can buy them everywhere they sell arduinos.