{"partition_id":0,"action":"ALARM","alarm_type":"POLICE","version":0,"nonce":"qolsys","source":"C4","token":"foobar"}
or
{"partition_id":0,"action":"ALARM","alarm_type":"FIRE","version":0,"nonce":"qolsys","source":"C4","token":"foobar"}
or
{"partition_id":0,"action":"ALARM","alarm_type":"AUXILIARY","version":0,"nonce":"qolsys","source":"C4","token":"foobar"}
Tried invoking this through MQTT request but the code expects an "event" payload, not an "action" payload... so I'm guessing the current code isn't able to handle it.
Format to trigger a panic is as follows:
{"partition_id":0,"action":"ALARM","alarm_type":"POLICE","version":0,"nonce":"qolsys","source":"C4","token":"foobar"} or {"partition_id":0,"action":"ALARM","alarm_type":"FIRE","version":0,"nonce":"qolsys","source":"C4","token":"foobar"} or {"partition_id":0,"action":"ALARM","alarm_type":"AUXILIARY","version":0,"nonce":"qolsys","source":"C4","token":"foobar"}
Tried invoking this through MQTT request but the code expects an "event" payload, not an "action" payload... so I'm guessing the current code isn't able to handle it.