Bonjour,
Je vous partage un template pour un shelly plus 2 pm en mode cover pour volet roulant.
{
"shellyplus2pm": {
"name": "shellyplus2pm",
"eqType_name": "jMQTT",
"configuration": {
"type": "eqpt",
"createtime": "2022-11-17 18:16:59",
"auto_add_cmd": "1",
"auto_add_topic": "%s\/#",
"Qos": "1",
"updatetime": "2022-11-18 23:16:45"
},
"category": {
"heating": "0",
"security": "0",
"energy": "0",
"light": "0",
"opening": "1",
"automatism": "0",
"multimedia": "0",
"default": "0"
},
"display": {
"backGraph::info": "0",
"width": "352px",
"height": "392px",
"backGraph::color": "#4572a7",
"backGraph::format": "month",
"backGraph::type": "areaspline",
"parameters": []
},
"status": {
"lastCommunication": "2022-08-31 23:11:20",
"enableDatime": "2022-08-31 23:11:20"
},
"cache": [],
"commands": [
{
"eqType": "jMQTT",
"name": "method",
"type": "info",
"subType": "string",
"isHistorized": "0",
"configuration": {
"topic": "%s\/rpc",
"jsonPath": "[method]"
},
"template": {
"dashboard": "default",
"mobile": "default"
},
"display": {
"invertBinary": "0"
},
"isVisible": "1",
"alert": []
},
{
"eqType": "jMQTT",
"name": "Mqtt_connected",
"type": "info",
"subType": "binary",
"isHistorized": "0",
"configuration": {
"topic": "%s\/status\/mqtt",
"jsonPath": "[connected]"
},
"template": {
"dashboard": "default",
"mobile": "default"
},
"display": {
"invertBinary": "0",
"showNameOndashboard": "1",
"showNameOnmobile": "1",
"showIconAndNamedashboard": "0",
"showIconAndNamemobile": "0",
"forceReturnLineBefore": "0",
"forceReturnLineAfter": "0",
"parameters": []
},
"isVisible": "1",
"alert": []
},
{
"eqType": "jMQTT",
"name": "Current",
"type": "info",
"subType": "numeric",
"isHistorized": "0",
"configuration": {
"topic": "%s\/status\/cover:0",
"jsonPath": "[current]"
},
"template": {
"dashboard": "default",
"mobile": "default"
},
"display": {
"invertBinary": "0",
"showNameOndashboard": "1",
"showNameOnmobile": "1",
"showIconAndNamedashboard": "0",
"showIconAndNamemobile": "0",
"forceReturnLineBefore": "0",
"forceReturnLineAfter": "0",
"parameters": []
},
"isVisible": "1",
"alert": []
},
{
"eqType": "jMQTT",
"name": "Voltage",
"type": "info",
"subType": "numeric",
"isHistorized": "0",
"configuration": {
"topic": "%s\/status\/cover:0",
"jsonPath": "[voltage]"
},
"template": {
"dashboard": "default",
"mobile": "default"
},
"display": {
"invertBinary": "0",
"showNameOndashboard": "1",
"showNameOnmobile": "1",
"showIconAndNamedashboard": "0",
"showIconAndNamemobile": "0",
"forceReturnLineBefore": "0",
"forceReturnLineAfter": "0",
"parameters": []
},
"isVisible": "1",
"alert": []
},
{
"eqType": "jMQTT",
"name": "paramspos",
"type": "info",
"subType": "numeric",
"isHistorized": "0",
"configuration": {
"topic": "%s\/rpc",
"jsonPath": "[params][pos]",
"minValue": "0",
"maxValue": "100"
},
"template": {
"dashboard": "default",
"mobile": "default"
},
"display": {
"invertBinary": "0",
"showNameOndashboard": "1",
"showNameOnmobile": "1",
"showIconAndNamedashboard": "0",
"showIconAndNamemobile": "0",
"forceReturnLineBefore": "0",
"forceReturnLineAfter": "0",
"parameters": []
},
"isVisible": "0",
"alert": []
},
{
"eqType": "jMQTT",
"name": "state",
"type": "info",
"subType": "string",
"isHistorized": "0",
"configuration": {
"topic": "%s\/status\/cover:0",
"jsonPath": "[state]"
},
"template": {
"dashboard": "default",
"mobile": "default"
},
"display": {
"invertBinary": "0",
"showNameOndashboard": "1",
"showNameOnmobile": "1",
"showIconAndNamedashboard": "0",
"showIconAndNamemobile": "0",
"forceReturnLineBefore": "0",
"forceReturnLineAfter": "0",
"parameters": []
},
"isVisible": "1",
"alert": []
},
{
"eqType": "jMQTT",
"name": "E1_state",
"type": "info",
"subType": "binary",
"isHistorized": "0",
"configuration": {
"topic": "%s\/status\/input:1",
"jsonPath": "[state]"
},
"template": {
"dashboard": "default",
"mobile": "default"
},
"display": {
"invertBinary": "0",
"showNameOndashboard": "1",
"showNameOnmobile": "1",
"showIconAndNamedashboard": "0",
"showIconAndNamemobile": "0",
"forceReturnLineBefore": "0",
"forceReturnLineAfter": "0",
"parameters": []
},
"isVisible": "1",
"alert": []
},
{
"eqType": "jMQTT",
"name": "E0_state",
"type": "info",
"subType": "binary",
"isHistorized": "0",
"configuration": {
"topic": "%s\/status\/input:0",
"jsonPath": "[state]"
},
"template": {
"dashboard": "default",
"mobile": "default"
},
"display": {
"invertBinary": "0",
"showNameOndashboard": "1",
"showNameOnmobile": "1",
"showIconAndNamedashboard": "0",
"showIconAndNamemobile": "0",
"forceReturnLineBefore": "0",
"forceReturnLineAfter": "0",
"parameters": []
},
"isVisible": "1",
"alert": []
},
{
"eqType": "jMQTT",
"name": "temperature",
"type": "info",
"subType": "string",
"isHistorized": "1",
"unite": "°C",
"configuration": {
"topic": "%s\/status\/cover:0",
"jsonPath": "[temperature][tC]"
},
"template": {
"dashboard": "default",
"mobile": "default"
},
"display": {
"invertBinary": "0",
"showNameOndashboard": "1",
"showNameOnmobile": "1",
"showIconAndNamedashboard": "0",
"showIconAndNamemobile": "0",
"showStatsOndashboard": "1",
"showStatsOnmobile": "1",
"forceReturnLineBefore": "0",
"forceReturnLineAfter": "0",
"parameters": []
},
"isVisible": "1",
"alert": []
},
{
"eqType": "jMQTT",
"name": "time",
"type": "info",
"subType": "string",
"isHistorized": "0",
"configuration": {
"topic": "%s\/status\/sys",
"jsonPath": "[time]"
},
"template": {
"dashboard": "default",
"mobile": "default"
},
"display": {
"invertBinary": "0",
"showNameOndashboard": "1",
"showNameOnmobile": "1",
"showIconAndNamedashboard": "0",
"showIconAndNamemobile": "0",
"forceReturnLineBefore": "0",
"forceReturnLineAfter": "0",
"parameters": []
},
"isVisible": "1",
"alert": []
},
{
"eqType": "jMQTT",
"name": "uptime",
"type": "info",
"subType": "string",
"isHistorized": "0",
"configuration": {
"topic": "%s\/status\/sys",
"jsonPath": "[uptime]"
},
"template": {
"dashboard": "default",
"mobile": "default"
},
"display": {
"invertBinary": "0",
"showNameOndashboard": "1",
"showNameOnmobile": "1",
"showIconAndNamedashboard": "0",
"showIconAndNamemobile": "0",
"forceReturnLineBefore": "0",
"forceReturnLineAfter": "0",
"parameters": []
},
"isVisible": "1",
"alert": []
},
{
"eqType": "jMQTT",
"name": "current_pos",
"type": "info",
"subType": "numeric",
"isHistorized": "0",
"configuration": {
"topic": "%s\/status\/cover:0",
"jsonPath": "[current_pos]",
"minValue": "0",
"maxValue": "100"
},
"template": {
"dashboard": "default",
"mobile": "default"
},
"display": {
"invertBinary": "0",
"showNameOndashboard": "1",
"showNameOnmobile": "1",
"showIconAndNamedashboard": "0",
"showIconAndNamemobile": "0",
"forceReturnLineBefore": "0",
"forceReturnLineAfter": "0",
"parameters": []
},
"isVisible": "1",
"alert": []
},
{
"eqType": "jMQTT",
"name": "online",
"type": "info",
"subType": "binary",
"isHistorized": "0",
"configuration": {
"topic": "%s\/online"
},
"template": {
"dashboard": "default",
"mobile": "default"
},
"display": {
"invertBinary": "0",
"showNameOndashboard": "1",
"showNameOnmobile": "1",
"showIconAndNamedashboard": "0",
"showIconAndNamemobile": "0",
"forceReturnLineBefore": "0",
"forceReturnLineAfter": "0",
"parameters": []
},
"isVisible": "1",
"alert": []
},
{
"eqType": "jMQTT",
"name": "status:input:1",
"type": "info",
"subType": "binary",
"isHistorized": "0",
"configuration": {
"topic": "%s\/status\/input:1"
},
"template": {
"dashboard": "default",
"mobile": "default"
},
"display": {
"invertBinary": "0",
"showNameOndashboard": "1",
"showNameOnmobile": "1",
"showIconAndNamedashboard": "0",
"showIconAndNamemobile": "0",
"forceReturnLineBefore": "0",
"forceReturnLineAfter": "0",
"parameters": []
},
"isVisible": "0",
"alert": []
},
{
"eqType": "jMQTT",
"name": "events:rpc",
"type": "info",
"subType": "string",
"isHistorized": "0",
"configuration": {
"topic": "%s\/events\/rpc"
},
"template": {
"dashboard": "default",
"mobile": "default"
},
"display": {
"invertBinary": "0",
"showNameOndashboard": "1",
"showNameOnmobile": "1",
"showIconAndNamedashboard": "0",
"showIconAndNamemobile": "0",
"forceReturnLineBefore": "0",
"forceReturnLineAfter": "0",
"parameters": []
},
"isVisible": "0",
"alert": []
},
{
"eqType": "jMQTT",
"name": "status:switch:0",
"type": "info",
"subType": "string",
"isHistorized": "0",
"configuration": {
"topic": "%s\/status\/switch:0"
},
"template": {
"dashboard": "default",
"mobile": "default"
},
"display": {
"invertBinary": "0",
"showNameOndashboard": "1",
"showNameOnmobile": "1",
"showIconAndNamedashboard": "0",
"showIconAndNamemobile": "0",
"forceReturnLineBefore": "0",
"forceReturnLineAfter": "0",
"parameters": []
},
"isVisible": "0",
"alert": []
},
{
"eqType": "jMQTT",
"name": "slider",
"type": "info",
"subType": "numeric",
"isHistorized": "0",
"configuration": {
"topic": "%s\/slider"
},
"template": {
"dashboard": "default",
"mobile": "default"
},
"display": {
"invertBinary": "0",
"showNameOndashboard": "1",
"showNameOnmobile": "1",
"showIconAndNamedashboard": "0",
"showIconAndNamemobile": "0",
"forceReturnLineBefore": "0",
"forceReturnLineAfter": "0",
"parameters": []
},
"isVisible": "0",
"alert": []
},
{
"eqType": "jMQTT",
"name": "rpc",
"type": "info",
"subType": "string",
"isHistorized": "0",
"configuration": {
"topic": "%s\/rpc"
},
"template": {
"dashboard": "default",
"mobile": "default"
},
"display": {
"invertBinary": "0",
"showNameOndashboard": "1",
"showNameOnmobile": "1",
"showIconAndNamedashboard": "0",
"showIconAndNamemobile": "0",
"forceReturnLineBefore": "0",
"forceReturnLineAfter": "0",
"parameters": []
},
"isVisible": "0",
"alert": []
},
{
"eqType": "jMQTT",
"name": "debug:log",
"type": "info",
"subType": "string",
"isHistorized": "0",
"configuration": {
"topic": "%s\/debug\/log"
},
"template": {
"dashboard": "default",
"mobile": "default"
},
"display": {
"invertBinary": "0",
"showNameOndashboard": "1",
"showNameOnmobile": "1",
"showIconAndNamedashboard": "0",
"showIconAndNamemobile": "0",
"forceReturnLineBefore": "0",
"forceReturnLineAfter": "0",
"parameters": []
},
"isVisible": "0",
"alert": []
},
{
"eqType": "jMQTT",
"name": "cdeSlider",
"type": "action",
"subType": "slider",
"isHistorized": "0",
"configuration": {
"topic": "%s\/rpc",
"request": "{\"id\":1,\"src\":\"jeedom\",\"method\":\"Cover.GoToPosition\",\"params\":{\"id\":0,\"pos\":#slider#}}",
"retain": "0",
"autoPub": "1",
"lastCmdValue": "20"
},
"template": {
"dashboard": "default",
"mobile": "default"
},
"display": {
"showNameOndashboard": "1",
"showNameOnmobile": "1",
"showIconAndNamedashboard": "0",
"showIconAndNamemobile": "0",
"forceReturnLineBefore": "0",
"forceReturnLineAfter": "0",
"parameters": []
},
"value": "current_pos",
"isVisible": "1",
"alert": []
},
{
"eqType": "jMQTT",
"name": "status:cover:0",
"type": "info",
"subType": "string",
"isHistorized": "0",
"configuration": {
"topic": "%s\/status\/cover:0"
},
"template": {
"dashboard": "default",
"mobile": "default"
},
"display": {
"invertBinary": "0",
"showNameOndashboard": "1",
"showNameOnmobile": "1",
"showIconAndNamedashboard": "0",
"showIconAndNamemobile": "0",
"forceReturnLineBefore": "0",
"forceReturnLineAfter": "0",
"parameters": []
},
"isVisible": "0",
"alert": []
},
{
"eqType": "jMQTT",
"name": "status:input:0",
"type": "info",
"subType": "binary",
"isHistorized": "0",
"configuration": {
"topic": "%s\/status\/input:0"
},
"template": {
"dashboard": "default",
"mobile": "default"
},
"display": {
"invertBinary": "0",
"showNameOndashboard": "1",
"showNameOnmobile": "1",
"showIconAndNamedashboard": "0",
"showIconAndNamemobile": "0",
"forceReturnLineBefore": "0",
"forceReturnLineAfter": "0",
"parameters": []
},
"isVisible": "0",
"alert": []
},
{
"eqType": "jMQTT",
"name": "status:mqtt",
"type": "info",
"subType": "binary",
"isHistorized": "0",
"configuration": {
"topic": "%s\/status\/mqtt"
},
"template": {
"dashboard": "default",
"mobile": "default"
},
"display": {
"invertBinary": "0",
"showNameOndashboard": "1",
"showNameOnmobile": "1",
"showIconAndNamedashboard": "0",
"showIconAndNamemobile": "0",
"forceReturnLineBefore": "0",
"forceReturnLineAfter": "0",
"parameters": []
},
"isVisible": "0",
"alert": []
},
{
"eqType": "jMQTT",
"name": "status:script:1",
"type": "info",
"subType": "string",
"isHistorized": "0",
"configuration": {
"topic": "%s\/status\/script:1"
},
"template": {
"dashboard": "default",
"mobile": "default"
},
"display": {
"invertBinary": "0",
"showNameOndashboard": "1",
"showNameOnmobile": "1",
"showIconAndNamedashboard": "0",
"showIconAndNamemobile": "0",
"forceReturnLineBefore": "0",
"forceReturnLineAfter": "0",
"parameters": []
},
"isVisible": "0",
"alert": []
},
{
"eqType": "jMQTT",
"name": "Ventilation",
"type": "action",
"subType": "other",
"isHistorized": "0",
"configuration": {
"topic": "%s\/rpc",
"request": "{\"id\":1,\"src\":\"jeedom\",\"method\":\"Cover.GoToPosition\",\"params\":{\"id\":0,\"pos\":20}}",
"retain": "0",
"autoPub": "0"
},
"template": {
"dashboard": "default",
"mobile": "default"
},
"display": {
"showNameOndashboard": "1",
"showNameOnmobile": "1",
"showIconAndNamedashboard": "0",
"showIconAndNamemobile": "0",
"forceReturnLineBefore": "0",
"forceReturnLineAfter": "0",
"parameters": []
},
"isVisible": "1",
"alert": []
},
{
"eqType": "jMQTT",
"name": "Open",
"type": "action",
"subType": "other",
"isHistorized": "0",
"configuration": {
"topic": "%s\/rpc",
"request": "{\"id\":1,\"src\":\"jeedom\",\"method\":\"Cover.Open\",\"params\":{\"id\":0}}",
"retain": "0",
"autoPub": "0"
},
"template": {
"dashboard": "default",
"mobile": "default"
},
"isVisible": "1",
"alert": []
},
{
"eqType": "jMQTT",
"name": "status:switch:1",
"type": "info",
"subType": "string",
"isHistorized": "0",
"configuration": {
"topic": "%s\/status\/switch:1"
},
"template": {
"dashboard": "default",
"mobile": "default"
},
"display": {
"invertBinary": "0",
"showNameOndashboard": "1",
"showNameOnmobile": "1",
"showIconAndNamedashboard": "0",
"showIconAndNamemobile": "0",
"forceReturnLineBefore": "0",
"forceReturnLineAfter": "0",
"parameters": []
},
"isVisible": "0",
"alert": []
},
{
"eqType": "jMQTT",
"name": "Close",
"type": "action",
"subType": "other",
"isHistorized": "0",
"configuration": {
"topic": "%s\/rpc",
"request": "{\"id\":1,\"src\":\"jeedom\",\"method\":\"Cover.Close\",\"params\":{\"id\":0}}",
"retain": "0",
"autoPub": "0"
},
"template": {
"dashboard": "default",
"mobile": "default"
},
"isVisible": "1",
"alert": []
},
{
"eqType": "jMQTT",
"name": "status:sys",
"type": "info",
"subType": "string",
"isHistorized": "0",
"configuration": {
"topic": "%s\/status\/sys"
},
"template": {
"dashboard": "default",
"mobile": "default"
},
"display": {
"invertBinary": "0",
"showNameOndashboard": "1",
"showNameOnmobile": "1",
"showIconAndNamedashboard": "0",
"showIconAndNamemobile": "0",
"forceReturnLineBefore": "0",
"forceReturnLineAfter": "0",
"parameters": []
},
"isVisible": "0",
"alert": []
}
]
}
}