I’ve been trying for days getting my Visonic Powermax Complete to communicate over my network using a RPI running ser2net connected through wifi to one of my servers running ESXI and ubuntu server 16.x and openhab 1.8.2 with socat on this end.
I know the rpi and ser2net is working since i can communicate using windows and Trueport in lite mode and the Visonic windows driver. But when i try to use Socat on my openHAB installation it does not work.
The RPI is connected with FTDI based TTL serial directly to Powermax unit as by this guide:
http://www.domoticaforum.eu/viewtopic.php?f=68&t=7152&sid=f73e8c18b7e354e129b9b94a6cdf04b6
My settings:
ser2net = 10001:raw:0:/dev/ttyUSB0:9600 NONE 1STOPBIT 8DATABITS
socat = sudo socat -d -d pty,link=/dev/ttyVIS,raw tcp:10.0.0.252:10001
And socat reports:
2016/05/06 11:05:09 socat[2782] N PTY is /dev/pts/6
2016/05/06 11:05:09 socat[2782] N opening connection to AF=2 10.0.0.252:10001
2016/05/06 11:05:09 socat[2782] N successfully connected from local address AF=2 10.0.0.251:37112
2016/05/06 11:05:09 socat[2782] N starting data transfer loop with FDs [5,5] and [7,7]
All i get from openHAB is that it disconnects all the time, I don’t believe it is actually communicating at all.
In openhab.cfg I have this set:
powermax:serialPort=/dev/ttyVIS
powermax:forceStandardMode=yes
and also the pin code is there.
And after running ./start.sh openHAB reports:
osgi> 2016-05-06 12:20:23.192 [INFO ] [.o.core.internal.CoreActivator] - openHAB runtime has been started (v1.8.2).
2016-05-06 12:20:25.413 [INFO ] [o.o.i.s.i.DiscoveryServiceImpl] - mDNS service has been started
2016-05-06 12:20:25.517 [INFO ] [o.o.i.s.i.DiscoveryServiceImpl] - Service Discovery initialization completed.
2016-05-06 12:20:29.617 [INFO ] [penhab.io.rest.RESTApplication] - Started REST API at /rest
2016-05-06 12:20:34.779 [INFO ] [c.internal.ModelRepositoryImpl] - Loading model 'default.sitemap’
2016-05-06 12:20:35.066 [INFO ] [c.internal.ModelRepositoryImpl] - Loading model 'home.items’
2016-05-06 12:20:35.743 [INFO ] [.o.u.w.i.servlet.WebAppServlet] - Started Classic UI at /classicui/openhab.app
2016-05-06 12:20:40.597 [INFO ] [.service.AbstractActiveService] - PowerMax Refresh Service has been started
2016-05-06 12:20:40.671 [INFO ] [o.b.p.internal.PowerMaxBinding] - PowerMax alarm binding: serial connection (/dev/ttyVIS): disconnected
2016-05-06 12:21:00.686 [INFO ] [o.b.p.internal.PowerMaxBinding] - PowerMax alarm binding: serial connection (/dev/ttyVIS): disconnected
2016-05-06 12:21:20.695 [INFO ] [o.b.p.internal.PowerMaxBinding] - PowerMax alarm binding: serial connection (/dev/ttyVIS): disconnected
2016-05-06 12:21:40.706 [INFO ] [o.b.p.internal.PowerMaxBinding] - PowerMax alarm binding: serial connection (/dev/ttyVIS): disconnected
2016-05-06 12:22:00.716 [INFO ] [o.b.p.internal.PowerMaxBinding] - PowerMax alarm binding: serial connection (/dev/ttyVIS): disconnected
Which goes on and on.
Would be very happy if someone can point me in the right direction!
And yes I am totally new woth the openHAB system, but can’t think of more things to check or do to get my PowerMax up and running.