first commit
This commit is contained in:
@@ -0,0 +1,67 @@
|
||||
{
|
||||
"_comment": "Config plugin_commander pour JH Photomaton — remplace les appels vers Node-RED (:1880) par notre app (:8090)",
|
||||
"_instructions": "Copier ce fichier vers ~/.config/photobooth-app/plugin_commander.json sur le Pi, puis redémarrer photobooth-app",
|
||||
"enable_tasks_processing": true,
|
||||
"tasks_httprequests": [
|
||||
{
|
||||
"enabled": true,
|
||||
"name": "JH - events images",
|
||||
"event": [
|
||||
"counting",
|
||||
"captured",
|
||||
"capture",
|
||||
"finished"
|
||||
],
|
||||
"filter_mediaitem_types": [
|
||||
"image"
|
||||
],
|
||||
"delay_before": 0.0,
|
||||
"wait_until_completed": false,
|
||||
"timeout": 5,
|
||||
"url": "http://127.0.0.1:8090/api/webhook/photobooth",
|
||||
"method": "get",
|
||||
"body_parameters_as_json": false,
|
||||
"parameter": [
|
||||
{
|
||||
"key": "event_key",
|
||||
"value": "{event}",
|
||||
"where": "query"
|
||||
},
|
||||
{
|
||||
"key": "mediaitem_type",
|
||||
"value": "{mediaitem_type}",
|
||||
"where": "query"
|
||||
}
|
||||
]
|
||||
},
|
||||
{
|
||||
"enabled": true,
|
||||
"name": "JH - init/stop",
|
||||
"event": [
|
||||
"init",
|
||||
"start",
|
||||
"stop"
|
||||
],
|
||||
"filter_mediaitem_types": [],
|
||||
"delay_before": 0.0,
|
||||
"wait_until_completed": false,
|
||||
"timeout": 3,
|
||||
"url": "http://127.0.0.1:8090/api/webhook/photobooth",
|
||||
"method": "get",
|
||||
"body_parameters_as_json": false,
|
||||
"parameter": [
|
||||
{
|
||||
"key": "event_key",
|
||||
"value": "{event}",
|
||||
"where": "query"
|
||||
},
|
||||
{
|
||||
"key": "mediaitem_type",
|
||||
"value": "",
|
||||
"where": "query"
|
||||
}
|
||||
]
|
||||
}
|
||||
],
|
||||
"tasks_commands": []
|
||||
}
|
||||
Reference in New Issue
Block a user