I'm installed apache 2 on raspby.
Move www file on your source code to /var/www/
and move *.cgi to /usr/lib/cgi-bin/
wget
http://localhost/cgi-bin/jsongetxplstate.cgi
restult: { "status":"","pmaxstatus":"","readytoarm":"","sensor":[]}
I think it is ready to test connected to powermax
Lunch pmaxd: (without powermax connected)
Code: Select all
pi@raspberrypi /var/www $ pmaxd -f -vvvvv
NOTICE: [Sat Jun 7 23:53:37 2014 initLog:0058]Logging initialized
NOTICE: [Sat Jun 7 23:53:37 2014 initLog:0059]Verbose level: 5
NOTICE: [Sat Jun 7 23:53:37 2014 main:0415]Program started by User 1000
NOTICE: [Sat Jun 7 23:53:37 2014 main:0449]Starting......
I have 8 zone:
NOTICE: [Sat Jun 7 23:53:37 2014 PmaxInit:0162]zone: 0, name: R.D.C.
NOTICE: [Sat Jun 7 23:53:37 2014 PmaxInit:0162]zone: 1, name: Etage
NOTICE: [Sat Jun 7 23:53:37 2014 PmaxInit:0162]zone: 2, name: Salon
NOTICE: [Sat Jun 7 23:53:37 2014 PmaxInit:0162]zone: 3, name: Salle a manger
NOTICE: [Sat Jun 7 23:53:37 2014 PmaxInit:0162]zone: 4, name: cuisine
NOTICE: [Sat Jun 7 23:53:37 2014 PmaxInit:0162]zone: 5, name: porte garage
NOTICE: [Sat Jun 7 23:53:37 2014 PmaxInit:0162]zone: 6, name: volet garage
NOTICE: [Sat Jun 7 23:53:37 2014 PmaxInit:0162]zone: 7, name: detecteur incendie
ERR: [Sat Jun 7 23:53:37 2014 deFormatBuffer:0203]checksum NOK calculated:00EE in packet:0000
ERR: [Sat Jun 7 23:53:37 2014 packetManager:0359]Packet not correctly formated
ERR: [Sat Jun 7 23:53:37 2014 logBuffer:0158]Buffer: 0B 06 00
ERR: [Sat Jun 7 23:53:42 2014 deFormatBuffer:0203]checksum NOK calculated:00A7 in packet:00B6
ERR: [Sat Jun 7 23:53:42 2014 packetManager:0359]Packet not correctly formated
ERR: [Sat Jun 7 23:53:42 2014 logBuffer:0158]Buffer: 25 25 EC B6 BC 25 EC B6 00 00 00 00 A8 D5 EF B6 00 00 00 00 00 00 00 00 36 00 00 00 02 54 00 00 D9 44 DD BE 6C 45 DD BE 40 E2 E2 B6 00 05 00 00 05 00 00 00 BF 00 00 00 3B 8A 00 00 00 03 1C 7F 15 04 00 01 00 11 13 1A 00 12 0F 17 16 00 00 00 00 05 00 00 05 00 00 00 BF 00 00 00 31 8A 00 00 00 03 1C 7F 15 04 00 01 00 11 13 1A 00 12 0F 17 16 00 00 00 80 76 E9 B6 2C 45 DD BE 00 00 00 00 00 00 00 00 D4 C7 00 00 04 00 00 00 02 00 02 00 00 00 00 00 00 05 00 00 05 00 00 00 BF 00 00 00 31 8A 00 00 00 03 1C 7F 15 04 00 01 00 11 13 1A 00 12 0F 17 16 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 23 EC B6 0F 00 00 00 0F 00 00 00 00 05 00 00 05 00 00 0000 00
The next text will be with powermax connected.
Thank you for your work!
I'll write result with the panel connected. I'll use a ftdi USB - TLL