{ "ShelliesScripts": { "name": "ShelliesScripts", "eqType_name": "jMQTT", "configuration": { "type": "eqpt", "createtime": "2025-05-25 16:12:07", "auto_add_cmd": "0", "auto_add_topic": "%s/#", "updatetime": "2025-05-25 21:35:54" }, "category": { "heating": "0", "security": "0", "energy": "0", "light": "0", "opening": "0", "automatism": "0", "multimedia": "0", "default": "0" }, "display": { "backGraph::color": "#4572a7", "backGraph::format": "month", "backGraph::type": "areaspline", "parameters": [], "width": "330px", "height": "154px" }, "status": { "lastCommunication": "2025-06-09 11:56:45", "enableDatime": "2025-06-09 11:56:45" }, "cache": [], "commands": [ { "eqType": "jMQTT", "name": "events", "type": "info", "subType": "string", "isHistorized": "0", "configuration": { "topic": "%s/events/rpc" }, "template": { "dashboard": "core::default", "mobile": "core::default" }, "display": { "invertBinary": "0", "showNameOndashboard": "1", "showNameOnmobile": "1", "showIconAndNamedashboard": "0", "showIconAndNamemobile": "0", "forceReturnLineBefore": "0", "forceReturnLineAfter": "0", "parameters": [] }, "isVisible": "0", "alert": [] }, { "eqType": "jMQTT", "name": "LastOnOff", "type": "info", "subType": "string", "isHistorized": "0", "configuration": { "topic": "%s/nobody", "timeline::enable": "0", "influx::enable": "0", "interact::auto::disable": "0", "calculValueOffset": "date('d/m/Y H:i:s', #value#)", "jeedomCheckCmdOperator": "==", "repeatEventManagement": "never", "alert::messageReturnBack": "0", "actionCheckCmd": [], "jeedomPreExecCmd": [], "jeedomPostExecCmd": [] }, "template": { "dashboard": "core::default", "mobile": "core::default" }, "display": { "invertBinary": "0", "showNameOndashboard": "1", "showNameOnmobile": "1", "showIconAndNamedashboard": "0", "showIconAndNamemobile": "0", "forceReturnLineBefore": "0", "forceReturnLineAfter": "1", "parameters": [] }, "isVisible": "1", "alert": [] }, { "eqType": "jMQTT", "name": "Script.List", "type": "action", "subType": "other", "isHistorized": "0", "configuration": { "topic": "%s/rpc", "request": "{\"id\":\"Script.List\",\"src\":topicEvents(#eqTopic#),\"method\":\"Script.List\"}", "retain": "0", "autoPub": "0" }, "template": { "dashboard": "core::default", "mobile": "core::default" }, "display": { "showNameOndashboard": "1", "showNameOnmobile": "1", "showIconAndNamedashboard": "0", "showIconAndNamemobile": "0", "forceReturnLineBefore": "0", "forceReturnLineAfter": "0", "parameters": [] }, "isVisible": "0", "alert": [] }, { "eqType": "jMQTT", "name": "Script01", "type": "info", "subType": "string", "isHistorized": "0", "configuration": { "topic": "%s/events/rpc", "jsonPath": "[result][scripts][0][name]" }, "template": { "dashboard": "core::default", "mobile": "core::default" }, "display": { "invertBinary": "0", "showNameOndashboard": "0", "showNameOnmobile": "0", "showIconAndNamedashboard": "0", "showIconAndNamemobile": "0", "forceReturnLineBefore": "0", "forceReturnLineAfter": "0", "parameters": [] }, "isVisible": "1", "alert": [] }, { "eqType": "jMQTT", "name": "Auto01", "type": "info", "subType": "binary", "isHistorized": "0", "configuration": { "topic": "%s/events/rpc", "jsonPath": "[result][scripts][0][enable]" }, "template": { "dashboard": "core::default", "mobile": "core::default" }, "display": { "invertBinary": "0", "showNameOndashboard": "1", "showNameOnmobile": "1", "showIconAndNamedashboard": "0", "showIconAndNamemobile": "0", "forceReturnLineBefore": "0", "forceReturnLineAfter": "0", "parameters": [] }, "isVisible": "1", "alert": [] }, { "eqType": "jMQTT", "name": "Actif01", "type": "info", "subType": "binary", "isHistorized": "0", "configuration": { "topic": "%s/status/script:1", "jsonPath": "[running]" }, "template": { "dashboard": "core::default", "mobile": "core::default" }, "display": { "invertBinary": "0", "showNameOndashboard": "1", "showNameOnmobile": "1", "showIconAndNamedashboard": "0", "showIconAndNamemobile": "0", "forceReturnLineBefore": "0", "forceReturnLineAfter": "1", "parameters": [] }, "isVisible": "1", "alert": [] }, { "eqType": "jMQTT", "name": "Auto01 ON", "type": "action", "subType": "other", "isHistorized": "0", "configuration": { "topic": "%s/rpc", "request": "{\"id\":\"Script.List\",\"src\":topicEvents(#eqTopic#),\"method\":\"Script.SetConfig\", params:{\"id\":1,\"config\":{\"enable\":true}}}", "retain": "0", "autoPub": "0", "timeline::enable": "0", "interact::auto::disable": "0", "actionConfirm": "0", "actionCheckCmd": [], "jeedomPreExecCmd": [], "jeedomPostExecCmd": [ { "type": "action", "options": { "enable": "1", "background": "0", "cmd": "#[LastOnOff]#", "value": "strtotime(\"now\")" }, "cmd": "event" }, { "type": "action", "options": { "enable": "1", "background": "0", "duration": "2" }, "cmd": "sleep" }, { "type": "action", "options": { "enable": "1", "background": "0" }, "cmd": "#[Script.List]#" } ] }, "template": { "dashboard": "core::default", "mobile": "core::default" }, "display": { "showNameOndashboard": "1", "showNameOnmobile": "1", "showIconAndNamedashboard": "0", "showIconAndNamemobile": "0", "forceReturnLineBefore": "0", "forceReturnLineAfter": "0", "parameters": [] }, "isVisible": "1", "alert": [] }, { "eqType": "jMQTT", "name": "Auto01 OFF", "type": "action", "subType": "other", "isHistorized": "0", "configuration": { "topic": "%s/rpc", "request": "{\"id\":\"Script.List\",\"src\":topicEvents(#eqTopic#),\"method\":\"Script.SetConfig\", params:{\"id\":1,\"config\":{\"enable\":false}}}", "retain": "0", "autoPub": "0", "timeline::enable": "0", "interact::auto::disable": "0", "actionConfirm": "0", "actionCheckCmd": [], "jeedomPreExecCmd": [], "jeedomPostExecCmd": [ { "type": "action", "options": { "enable": "1", "background": "0", "cmd": "#[LastOnOff]#", "value": "strtotime(\"now\")" }, "cmd": "event" }, { "type": "action", "options": { "enable": "1", "background": "0", "duration": "2" }, "cmd": "sleep" }, { "type": "action", "options": { "enable": "1", "background": "0" }, "cmd": "#[Script.List]#" } ] }, "template": { "dashboard": "core::default", "mobile": "core::default" }, "display": { "showNameOndashboard": "1", "showNameOnmobile": "1", "showIconAndNamedashboard": "0", "showIconAndNamemobile": "0", "forceReturnLineBefore": "0", "forceReturnLineAfter": "0", "parameters": [] }, "isVisible": "1", "alert": [] }, { "eqType": "jMQTT", "name": "Actif01 ON", "type": "action", "subType": "other", "isHistorized": "0", "configuration": { "topic": "%s/rpc", "request": "{\"id\":\"Script.Start\",\"src\":topicEvents(#eqTopic#),\"method\":\"Script.Start\",\"params\":{\"id\":1}}", "retain": "0", "autoPub": "0", "timeline::enable": "0", "interact::auto::disable": "0", "actionConfirm": "0", "actionCheckCmd": [], "jeedomPreExecCmd": [], "jeedomPostExecCmd": [ { "type": "action", "options": { "enable": "1", "background": "0", "cmd": "#[LastOnOff]#", "value": "strtotime(\"now\")" }, "cmd": "event" }, { "type": "action", "options": { "enable": "1", "background": "0", "duration": "2" }, "cmd": "sleep" }, { "type": "action", "options": { "enable": "1", "background": "0" }, "cmd": "#[Script.List]#" } ] }, "template": { "dashboard": "core::default", "mobile": "core::default" }, "display": { "showNameOndashboard": "1", "showNameOnmobile": "1", "showIconAndNamedashboard": "0", "showIconAndNamemobile": "0", "forceReturnLineBefore": "0", "forceReturnLineAfter": "0", "parameters": [] }, "isVisible": "1", "alert": [] }, { "eqType": "jMQTT", "name": "Actif01 OFF", "type": "action", "subType": "other", "isHistorized": "0", "configuration": { "topic": "%s/rpc", "request": "{\"id\":\"Script.Stop\",\"src\":topicEvents(#eqTopic#),\"method\":\"Script.Stop\",\"params\":{\"id\":1}}", "retain": "0", "autoPub": "0", "timeline::enable": "0", "interact::auto::disable": "0", "actionConfirm": "0", "actionCheckCmd": [], "jeedomPreExecCmd": [], "jeedomPostExecCmd": [ { "type": "action", "options": { "enable": "1", "background": "0", "cmd": "#[LastOnOff]#", "value": "strtotime(\"now\")" }, "cmd": "event" }, { "type": "action", "options": { "enable": "1", "background": "0", "duration": "2" }, "cmd": "sleep" }, { "type": "action", "options": { "enable": "1", "background": "0" }, "cmd": "#[Script.List]#" } ] }, "template": { "dashboard": "core::default", "mobile": "core::default" }, "display": { "showNameOndashboard": "1", "showNameOnmobile": "1", "showIconAndNamedashboard": "0", "showIconAndNamemobile": "0", "forceReturnLineBefore": "0", "forceReturnLineAfter": "0", "parameters": [] }, "isVisible": "1", "alert": [] }, { "eqType": "jMQTT", "name": "Script02", "type": "info", "subType": "string", "isHistorized": "0", "configuration": { "topic": "%s/events/rpc", "jsonPath": "[result][scripts][1][name]" }, "template": { "dashboard": "core::default", "mobile": "core::default" }, "display": { "invertBinary": "0", "showNameOndashboard": "0", "showNameOnmobile": "0", "showIconAndNamedashboard": "0", "showIconAndNamemobile": "0", "forceReturnLineBefore": "0", "forceReturnLineAfter": "0", "parameters": [] }, "isVisible": "1", "alert": [] }, { "eqType": "jMQTT", "name": "Auto02", "type": "info", "subType": "binary", "isHistorized": "0", "configuration": { "topic": "%s/events/rpc", "jsonPath": "[result][scripts][1][enable]" }, "template": { "dashboard": "core::default", "mobile": "core::default" }, "display": { "invertBinary": "0", "showNameOndashboard": "1", "showNameOnmobile": "1", "showIconAndNamedashboard": "0", "showIconAndNamemobile": "0", "forceReturnLineBefore": "0", "forceReturnLineAfter": "0", "parameters": [] }, "isVisible": "1", "alert": [] }, { "eqType": "jMQTT", "name": "Actif02", "type": "info", "subType": "binary", "isHistorized": "0", "configuration": { "topic": "%s/status/script:2", "jsonPath": "[running]" }, "template": { "dashboard": "core::default", "mobile": "core::default" }, "display": { "invertBinary": "0", "showNameOndashboard": "1", "showNameOnmobile": "1", "showIconAndNamedashboard": "0", "showIconAndNamemobile": "0", "forceReturnLineBefore": "0", "forceReturnLineAfter": "0", "parameters": [] }, "isVisible": "1", "alert": [] }, { "eqType": "jMQTT", "name": "Auto02 ON", "type": "action", "subType": "other", "isHistorized": "0", "configuration": { "topic": "%s/rpc", "request": "{\"id\":\"Script.List\",\"src\":topicEvents(#eqTopic#),\"method\":\"Script.SetConfig\", params:{\"id\":2,\"config\":{\"enable\":true}}}", "retain": "0", "autoPub": "0", "timeline::enable": "0", "interact::auto::disable": "0", "actionConfirm": "0", "actionCheckCmd": [], "jeedomPreExecCmd": [], "jeedomPostExecCmd": [ { "type": "action", "options": { "enable": "1", "background": "0", "cmd": "#[LastOnOff]#", "value": "strtotime(\"now\")" }, "cmd": "event" }, { "type": "action", "options": { "enable": "1", "background": "0", "duration": "2" }, "cmd": "sleep" }, { "type": "action", "options": { "enable": "1", "background": "0" }, "cmd": "#[Script.List]#" } ] }, "template": { "dashboard": "core::default", "mobile": "core::default" }, "display": { "showNameOndashboard": "1", "showNameOnmobile": "1", "showIconAndNamedashboard": "0", "showIconAndNamemobile": "0", "forceReturnLineBefore": "0", "forceReturnLineAfter": "0", "parameters": [] }, "isVisible": "1", "alert": [] }, { "eqType": "jMQTT", "name": "Auto02 OFF", "type": "action", "subType": "other", "isHistorized": "0", "configuration": { "topic": "%s/rpc", "request": "{\"id\":\"Script.List\",\"src\":topicEvents(#eqTopic#),\"method\":\"Script.SetConfig\", params:{\"id\":2,\"config\":{\"enable\":false}}}", "retain": "0", "autoPub": "0", "timeline::enable": "0", "interact::auto::disable": "0", "actionConfirm": "0", "actionCheckCmd": [], "jeedomPreExecCmd": [], "jeedomPostExecCmd": [ { "type": "action", "options": { "enable": "1", "background": "0", "cmd": "#[LastOnOff]#", "value": "strtotime(\"now\")" }, "cmd": "event" }, { "type": "action", "options": { "enable": "1", "background": "0", "duration": "2" }, "cmd": "sleep" }, { "type": "action", "options": { "enable": "1", "background": "0" }, "cmd": "#[Script.List]#" } ] }, "template": { "dashboard": "core::default", "mobile": "core::default" }, "display": { "showNameOndashboard": "1", "showNameOnmobile": "1", "showIconAndNamedashboard": "0", "showIconAndNamemobile": "0", "forceReturnLineBefore": "0", "forceReturnLineAfter": "0", "parameters": [] }, "isVisible": "1", "alert": [] }, { "eqType": "jMQTT", "name": "Actif02 ON", "type": "action", "subType": "other", "isHistorized": "0", "configuration": { "topic": "%s/rpc", "request": "{\"id\":\"Script.Start\",\"src\":topicEvents(#eqTopic#),\"method\":\"Script.Start\",\"params\":{\"id\":2}}", "retain": "0", "autoPub": "0", "timeline::enable": "0", "interact::auto::disable": "0", "actionConfirm": "0", "actionCheckCmd": [], "jeedomPreExecCmd": [], "jeedomPostExecCmd": [ { "type": "action", "options": { "enable": "1", "background": "0", "cmd": "#[LastOnOff]#", "value": "strtotime(\"now\")" }, "cmd": "event" }, { "type": "action", "options": { "enable": "1", "background": "0", "duration": "2" }, "cmd": "sleep" }, { "type": "action", "options": { "enable": "1", "background": "0" }, "cmd": "#[Script.List]#" } ] }, "template": { "dashboard": "core::default", "mobile": "core::default" }, "display": { "showNameOndashboard": "1", "showNameOnmobile": "1", "showIconAndNamedashboard": "0", "showIconAndNamemobile": "0", "forceReturnLineBefore": "0", "forceReturnLineAfter": "0", "parameters": [] }, "isVisible": "1", "alert": [] }, { "eqType": "jMQTT", "name": "Actif02 OFF", "type": "action", "subType": "other", "isHistorized": "0", "configuration": { "topic": "%s/rpc", "request": "{\"id\":\"Script.Stop\",\"src\":topicEvents(#eqTopic#),\"method\":\"Script.Stop\",\"params\":{\"id\":2}}", "retain": "0", "autoPub": "0", "timeline::enable": "0", "interact::auto::disable": "0", "actionConfirm": "0", "actionCheckCmd": [], "jeedomPreExecCmd": [], "jeedomPostExecCmd": [ { "type": "action", "options": { "enable": "1", "background": "0", "cmd": "#[LastOnOff]#", "value": "strtotime(\"now\")" }, "cmd": "event" }, { "type": "action", "options": { "enable": "1", "background": "0", "duration": "2" }, "cmd": "sleep" }, { "type": "action", "options": { "enable": "1", "background": "0" }, "cmd": "#[Script.List]#" } ] }, "template": { "dashboard": "core::default", "mobile": "core::default" }, "display": { "showNameOndashboard": "1", "showNameOnmobile": "1", "showIconAndNamedashboard": "0", "showIconAndNamemobile": "0", "forceReturnLineBefore": "0", "forceReturnLineAfter": "0", "parameters": [] }, "isVisible": "1", "alert": [] } ] } }