Development informations¶
xPL messages¶
xpl-cmnd¶
The exec.basic message is used:
exec.basic { type='cmd_action' program='/path/program [parameters]' status='start' }
xpl-trig¶
The answer of the xpl-cmnd.
The exec.basic message is used:
exec.basic { type='script_info_number | script_info_binary | script_action' program='/path/program [parameters]' status='executed|value|failed' }
Examples of xPL messages of the plugin¶
The script_action xpl-cmnd message:
xpl-cmnd exec.basic { program='/home/USER/bin/setchacon.sh salon on' type='script_action' status='start' }
The script_action xpl-trig message:
xpl-trig exec.basic { status='executed' program='/home/USER/bin/setchacon.sh salon on' type='script_action' }
The script_info_binary xpl-trig message:
xpl-trig exec.basic { status='1' program='/home/USER/bin/check_process.sh lcdmeteo.py' type='script_info_binary' }
The script_info_number xpl-trig message:
xpl-trig exec.basic { status='1999.8' program='/home/USER/bin/listdatawatermysql.sh -jour' type='script_info_number' }