PowerMax gateway ESP8266
Thank to irekzielinski to make the library -> https://github.com/irekzielinski/PowerMaxAlarm
This sketch provide mqtt comunication to Visonic PowerMax Alarms
Added WifiManager to setup wifi and mqtt connection
Into folder libraries you can find the used libraries to compile
Send info about alarm status (sending info each minute or when event occurs)
Example
{"stat":"0","stat_str":"Disarmed","lastCom":0,"panelType":"2","panelTypeStr":"PowerMax Pro","panelModelType":"5","alarmState":"0","alarmStateStr":"None"}
{"stat":"1","stat_str":"Exit Delay","lastCom":3,"panelType":"2","panelTypeStr":"PowerMax Pro","panelModelType":"5","alarmState":"0","alarmStateStr":"None"}
Send info about alarm status (sending info each minute or when event occurs)
{"flags":"39","flags_ready":true,"flags_alertInMemory":true,"flags_trouble":true,"flags_bypasOn":false,"flags_last10sec":false,"flags_zoneEvent":true,"flags_armDisarmEvent":false,"flags_alarmEvent":false}
{"flags":"69","flags_ready":true,"flags_alertInMemory":false,"flags_trouble":true,"flags_bypasOn":false,"flags_last10sec":false,"flags_zoneEvent":false,"flags_armDisarmEvent":true,"flags_alarmEvent":false}
Send one topic for each sensor (sending info each minute or when event occurs)
Send info about alarm event raised (armed, disarmed, raise alamr, who disarm, who arm..... sending in realtime event occurs)
Messages:
To import .zip libraries, in Arduino IDE, use Sketch->Include Library->Add Zip Library