
I have a PowerMax Pro and a raspberry 2 with jeedom.
Please confirm if pmaxd is compatible with jeedom ?
Thank you.
Moderators: Rene, Willem4ever
Code: Select all
# authenticator
usercode=0xXXXX;
device = ["/dev/ttyUSB0"]; // Use more than 2
zonename = ["R.D.C.", "Etage", "Salon", "Salle a manger", "cuisine", "porte garage", "volet garage", "detecteur incendie", "Zone9", "Zone10"]; // Use more than 2
restartscript = "/etc/restart.sh";
packet_timeout = 5000;
Code: Select all
pi@raspberrypi ~ $ sudo pmaxd -fvvvvv
NOTICE: [Fri Aug 21 23:31:58 2015 initLog:0058]Logging initialized
NOTICE: [Fri Aug 21 23:31:58 2015 initLog:0059]Verbose level: 5
NOTICE: [Fri Aug 21 23:31:58 2015 main:0412]Program started by User 0
NOTICE: [Fri Aug 21 23:31:58 2015 main:0446]Starting......
I have 10 zone:
NOTICE: [Fri Aug 21 23:31:58 2015 PmaxInit:0162]zone: 0, name: R.D.C.
NOTICE: [Fri Aug 21 23:31:58 2015 PmaxInit:0162]zone: 1, name: Etage
NOTICE: [Fri Aug 21 23:31:58 2015 PmaxInit:0162]zone: 2, name: Salon
NOTICE: [Fri Aug 21 23:31:58 2015 PmaxInit:0162]zone: 3, name: Salle a manger
NOTICE: [Fri Aug 21 23:31:58 2015 PmaxInit:0162]zone: 4, name: cuisine
NOTICE: [Fri Aug 21 23:31:58 2015 PmaxInit:0162]zone: 5, name: porte garage
NOTICE: [Fri Aug 21 23:31:58 2015 PmaxInit:0162]zone: 6, name: volet garage
NOTICE: [Fri Aug 21 23:31:58 2015 PmaxInit:0162]zone: 7, name: detecteur incendie
NOTICE: [Fri Aug 21 23:31:58 2015 PmaxInit:0162]zone: 8, name: Zone9
NOTICE: [Fri Aug 21 23:31:58 2015 PmaxInit:0162]zone: 9, name: Zone10
ERR: [Fri Aug 21 23:31:58 2015 deFormatBuffer:0200]checksum NOK calculated:00FE in packet:0000
ERR: [Fri Aug 21 23:31:58 2015 packetManager:0356]Packet not correctly formated
ERR: [Fri Aug 21 23:31:58 2015 logBuffer:0155]Buffer: 01 00
ERR: [Fri Aug 21 23:31:58 2015 deFormatBuffer:0200]checksum NOK calculated:00FE in packet:0000
ERR: [Fri Aug 21 23:31:58 2015 packetManager:0356]Packet not correctly formated
ERR: [Fri Aug 21 23:31:58 2015 logBuffer:0155]Buffer: 01 00
ERR: [Fri Aug 21 23:31:58 2015 deFormatBuffer:0200]checksum NOK calculated:00FE in packet:0000
ERR: [Fri Aug 21 23:31:58 2015 packetManager:0356]Packet not correctly formated
ERR: [Fri Aug 21 23:31:58 2015 logBuffer:0155]Buffer: 01 00
Code: Select all
#!/bin/sh
NOW=$(date +"%d/%m/%Y %H:%M")
if [ $1 = "4" ]; then #Puerta
EMAIL="To: xxxxx@gmail.com
Subject: ALARMA - Zona Puerta abierta $NOW
Zona Puerta abierta
$NOW
"
echo "$EMAIL" | sendmail -t
wget -qO- "http://192.168.3.241/json.htm?type=command¶m=switchlight&idx=28&switchcmd=On" &> /dev/null
fi
Code: Select all
# authenticator
usercode=0x2256;
device = ["/dev/ttyATH0"]; // Use more than 2
zonename = ["Entrada", "Salon", "Dormitorios", "Puerta","Garaje"]; // Use more than 2
restartscript = "/etc/restart.sh";
packet_timeout = 1000;
execute_scripts=1;
event_log_file=1;
Sure: see this thread: http://www.domoticaforum.eu/viewtopic.php?f=68&t=11254povlhp wrote:Did anybody try to connect the $2-$3 ESP8266 WiFi<-> 3.3V serial module directly to the PowerMax, to network enable it ? Then use a remote PC / AP to render the we interface, and talk to the PowerMax Pro through WiFi -> the ESP8266
Shuldn't this be easy and doable ? Just need the FTDI to program the ESP8266 to connect to home network.
Yes... here for you!!manno wrote:Thanks for the nice work ayasystems!
I have been attempting to get this working on my system but running into Seg Faults and always seems to be after "Command Fine":
DEBUG: [Sun Sep 11 12:18:13 2016 findCommand:0229]Command find !!!!
Segmentation fault
Do you happen to know why this might be happening?
Thanks!