Salut,
Je vais me coucher et c’est pas une Hue mais je suppose que ça sera du même acabit donc si je t’ai pas montré demain, relance moi.
Salut,
Je vais me coucher et c’est pas une Hue mais je suppose que ça sera du même acabit donc si je t’ai pas montré demain, relance moi.
merci d’avance
Au résultat :
zigbee2mqtt_PHILIPS_HUE_White_and_color.json.txt (10,3 Ko)
En prime pour ceux que cela interesse la PHILPS HUE white :
zigbee2mqtt_PHILIPS_HUE_White.json.txt (11,3 Ko)
Merci encore du coup de main
Bonjour quelqu’un peut m’aider à avoir un template pour le module shelly PRO 1PM
ShellyPro1PM
Je vous joint ce que je recupere du shelly par mqtt explorer:
{"src":"shellypro1pm-30c6f781e434","dst":"EL_Prise_AC_01/events","method":"NotifyStatus","params":{"ts":1668701218.93,"switch:0":{"id":0,"apower":0,"current":0,"output":false,"pf":0,"source":"MQTT"}}}
{"src":"shellypro1pm-30c6f781e434","dst":"EL_Prise_AC_01/events","method":"NotifyStatus","params":{"ts":1668701220.99,"switch:0":{"id":0,"aenergy":{"by_minute":[0.000,0.000,0.000],"minute_ts":1668701219,"total":0.421}}}}
vu sur jeedom:
Merci à celle ou celui qui me faira un template pour ce module…
ou sinon si quelqu"un peut m’expliquer comment crée des templates ??
ou je partirai du template pour ce module pour voir comment il a fait
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": []
}
]
}
}
Hello et merci à tous.
Toutes vos dernières templates seront ajoutées à jMQTT avec la beta de demain.
Bad
Bonjour,
Le template de Tasmota Téléinfo :
{
"TI": {
"name": "Teleinfo",
"eqType_name": "jMQTT",
"configuration": {
"type": "eqpt",
"createtime": "2022-11-20 18:48:45",
"auto_add_cmd": "1",
"auto_add_topic": "%s\/#",
"Qos": "1",
"updatetime": "2022-11-28 22:02:36"
},
"category": {
"heating": "1",
"security": "0",
"energy": "0",
"light": "0",
"opening": "0",
"automatism": "0",
"multimedia": "0",
"default": "0"
},
"display": {
"width": "232px",
"height": "332px"
},
"status": {
"lastCommunication": "2022-08-31 23:11:20",
"enableDatime": "2022-08-31 23:11:20"
},
"cache": [],
"commands": [
{
"eqType": "jMQTT",
"name": "ADCO",
"type": "info",
"subType": "string",
"isHistorized": "0",
"configuration": {
"topic": "%s\/SENSOR",
"jsonPath": "[TIC][ADCO]"
},
"template": {
"dashboard": "core::default",
"mobile": "core::default"
},
"display": {
"invertBinary": "0"
},
"isVisible": "1",
"alert": []
},
{
"eqType": "jMQTT",
"name": "cmnd:POWER",
"type": "info",
"subType": "string",
"isHistorized": "0",
"configuration": {
"topic": "%s\/cmnd\/POWER"
},
"template": {
"dashboard": "core::default",
"mobile": "core::default"
},
"display": {
"invertBinary": "0"
},
"isVisible": "0",
"alert": []
},
{
"eqType": "jMQTT",
"name": "PTEC",
"type": "info",
"subType": "string",
"isHistorized": "0",
"configuration": {
"topic": "%s\/SENSOR",
"jsonPath": "[TIC][PTEC]"
},
"template": {
"dashboard": "core::default",
"mobile": "core::default"
},
"display": {
"invertBinary": "0"
},
"isVisible": "1",
"alert": []
},
{
"eqType": "jMQTT",
"name": "HCHC",
"type": "info",
"subType": "numeric",
"isHistorized": "0",
"unite": "wh",
"configuration": {
"topic": "%s\/SENSOR",
"jsonPath": "[TIC][HCHC]",
"timeline::enable": "0",
"influx::enable": "0",
"interact::auto::disable": "0",
"jeedomCheckCmdOperator": "==",
"historizeMode": "avg",
"repeatEventManagement": "never",
"alert::messageReturnBack": "0",
"actionCheckCmd": [],
"jeedomPreExecCmd": [],
"jeedomPostExecCmd": []
},
"template": {
"dashboard": "core::line",
"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": "HCHP",
"type": "info",
"subType": "numeric",
"isHistorized": "0",
"unite": "wh",
"configuration": {
"topic": "%s\/SENSOR",
"jsonPath": "[TIC][HCHP]",
"timeline::enable": "0",
"influx::enable": "0",
"interact::auto::disable": "0",
"jeedomCheckCmdOperator": "==",
"historizeMode": "avg",
"repeatEventManagement": "never",
"alert::messageReturnBack": "0",
"actionCheckCmd": [],
"jeedomPreExecCmd": [],
"jeedomPostExecCmd": []
},
"template": {
"dashboard": "core::line",
"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": "Today",
"type": "info",
"subType": "numeric",
"isHistorized": "0",
"unite": "kwh",
"configuration": {
"topic": "%s\/SENSOR",
"jsonPath": "[ENERGY][Today]",
"timeline::enable": "0",
"influx::enable": "0",
"interact::auto::disable": "0",
"jeedomCheckCmdOperator": "==",
"historizeMode": "avg",
"repeatEventManagement": "never",
"alert::messageReturnBack": "0",
"actionCheckCmd": [],
"jeedomPreExecCmd": [],
"jeedomPostExecCmd": []
},
"template": {
"dashboard": "core::line",
"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": "Yesterday",
"type": "info",
"subType": "numeric",
"isHistorized": "0",
"unite": "kwh",
"configuration": {
"topic": "%s\/SENSOR",
"jsonPath": "[ENERGY][Yesterday]",
"timeline::enable": "0",
"influx::enable": "0",
"interact::auto::disable": "0",
"jeedomCheckCmdOperator": "==",
"historizeMode": "avg",
"repeatEventManagement": "never",
"alert::messageReturnBack": "0",
"actionCheckCmd": [],
"jeedomPreExecCmd": [],
"jeedomPostExecCmd": []
},
"template": {
"dashboard": "core::line",
"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": "IMAX",
"type": "info",
"subType": "numeric",
"isHistorized": "0",
"unite": "A",
"configuration": {
"topic": "%s\/SENSOR",
"jsonPath": "[TIC][IMAX]",
"timeline::enable": "0",
"influx::enable": "0",
"interact::auto::disable": "0",
"jeedomCheckCmdOperator": "==",
"historizeMode": "avg",
"repeatEventManagement": "never",
"alert::messageReturnBack": "0",
"actionCheckCmd": [],
"jeedomPreExecCmd": [],
"jeedomPostExecCmd": []
},
"template": {
"dashboard": "core::line",
"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": "IINST",
"type": "info",
"subType": "numeric",
"isHistorized": "1",
"unite": "A",
"configuration": {
"topic": "%s\/SENSOR",
"jsonPath": "[TIC][IINST]",
"minValue": "0",
"maxValue": "48",
"timeline::enable": "0",
"influx::enable": "0",
"interact::auto::disable": "0",
"jeedomCheckCmdOperator": "==",
"historizeMode": "none",
"historyPurge": "-3 month",
"repeatEventManagement": "always",
"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": "0",
"parameters": []
},
"isVisible": "1",
"alert": []
},
{
"eqType": "jMQTT",
"name": "PAPP",
"type": "info",
"subType": "numeric",
"isHistorized": "1",
"unite": "W",
"configuration": {
"topic": "%s\/SENSOR",
"jsonPath": "[TIC][PAPP]",
"minValue": "0",
"maxValue": "6000",
"timeline::enable": "0",
"influx::enable": "0",
"interact::auto::disable": "0",
"jeedomCheckCmdOperator": "==",
"historizeMode": "none",
"historyPurge": "-3 month",
"repeatEventManagement": "always",
"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": "0",
"parameters": []
},
"isVisible": "1",
"alert": []
},
{
"eqType": "jMQTT",
"name": "INFO1",
"type": "info",
"subType": "string",
"isHistorized": "0",
"configuration": {
"topic": "%s\/INFO1"
},
"template": {
"dashboard": "core::default",
"mobile": "core::default"
},
"display": {
"invertBinary": "0"
},
"isVisible": "0",
"alert": []
},
{
"eqType": "jMQTT",
"name": "IP_EspPac",
"type": "info",
"subType": "string",
"isHistorized": "0",
"configuration": {
"topic": "%s\/INFO2",
"jsonPath": "[Info2][IPAddress]"
},
"template": {
"dashboard": "core::default",
"mobile": "core::default"
},
"display": {
"invertBinary": "0"
},
"isVisible": "1",
"alert": []
},
{
"eqType": "jMQTT",
"name": "LWT",
"type": "info",
"subType": "string",
"isHistorized": "0",
"configuration": {
"topic": "%s\/LWT"
},
"template": {
"dashboard": "core::default",
"mobile": "core::default"
},
"display": {
"invertBinary": "0"
},
"isVisible": "1",
"alert": []
},
{
"eqType": "jMQTT",
"name": "INFO2",
"type": "info",
"subType": "string",
"isHistorized": "0",
"configuration": {
"topic": "%s\/INFO2"
},
"template": {
"dashboard": "core::default",
"mobile": "core::default"
},
"display": {
"invertBinary": "0"
},
"isVisible": "0",
"alert": []
},
{
"eqType": "jMQTT",
"name": "INFO3",
"type": "info",
"subType": "string",
"isHistorized": "0",
"configuration": {
"topic": "%s\/INFO3"
},
"template": {
"dashboard": "core::default",
"mobile": "core::default"
},
"display": {
"invertBinary": "0"
},
"isVisible": "0",
"alert": []
},
{
"eqType": "jMQTT",
"name": "RSSI",
"type": "info",
"subType": "numeric",
"isHistorized": "0",
"configuration": {
"topic": "%s\/STATE",
"jsonPath": "[Wifi][RSSI]"
},
"template": {
"dashboard": "core::default",
"mobile": "core::default"
},
"display": {
"invertBinary": "0"
},
"isVisible": "1",
"alert": []
},
{
"eqType": "jMQTT",
"name": "UptimeSec",
"type": "info",
"subType": "numeric",
"isHistorized": "0",
"configuration": {
"topic": "%s\/STATE",
"jsonPath": "[UptimeSec]",
"timeline::enable": "0",
"influx::enable": "0",
"interact::auto::disable": "0",
"jeedomCheckCmdOperator": "==",
"historizeMode": "avg",
"repeatEventManagement": "never",
"alert::messageReturnBack": "0",
"actionCheckCmd": [],
"jeedomPreExecCmd": [],
"jeedomPostExecCmd": []
},
"template": {
"dashboard": "core::line",
"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": "Uptime",
"type": "info",
"subType": "string",
"isHistorized": "0",
"configuration": {
"topic": "%s\/STATE",
"jsonPath": "[Uptime]"
},
"template": {
"dashboard": "core::default",
"mobile": "core::default"
},
"display": {
"invertBinary": "0"
},
"isVisible": "1",
"alert": []
},
{
"eqType": "jMQTT",
"name": "RESULT",
"type": "info",
"subType": "string",
"isHistorized": "0",
"configuration": {
"topic": "%s\/RESULT"
},
"template": {
"dashboard": "core::default",
"mobile": "core::default"
},
"display": {
"invertBinary": "0"
},
"isVisible": "0",
"alert": []
},
{
"eqType": "jMQTT",
"name": "SENSOR",
"type": "info",
"subType": "string",
"isHistorized": "0",
"configuration": {
"topic": "%s\/SENSOR"
},
"template": {
"dashboard": "core::default",
"mobile": "core::default"
},
"display": {
"invertBinary": "0"
},
"isVisible": "0",
"alert": []
},
{
"eqType": "jMQTT",
"name": "STATE",
"type": "info",
"subType": "string",
"isHistorized": "0",
"configuration": {
"topic": "%s\/STATE"
},
"template": {
"dashboard": "core::default",
"mobile": "core::default"
},
"display": {
"invertBinary": "0"
},
"isVisible": "0",
"alert": []
}
]
}
}
Salut,
Template du Shelly button1
Shelly_button_1.txt (12,1 Ko)
Remplacer l’extension .txt par .json
Salut,
Partage template Shelly EM
Sur l’action,individuellement,sur EM 0 ou EM 1, les compteurs d’énergie total
ainsi que total_returned
seront réinitialisés et remis à 0.
Les autres infos sont disponibles mais pas affichées.
Shelly_EM.json.txt (33,7 Ko)
Lo,
Auriez-vous la template du plafonnier : Xiaomi ZNXDD01LM,
Au plaisir,
Bonne journée,
Bonjour a tous,
Auriez vous le template pour un Shelly dimmer2 s’il vous plaît?
Merci par avance
Bonne journée a tous
Bonsoir,
As tu réussi à faire un template pour le shelly pro 1PM finalement ?
Je viens d’en installer un et plutôt que de réinventer la poudre
Ou si un autre lecteur en a un à envoyer, ce serait sympa.
Il doit être proche du shelly PLUS 1PM.
Oui certainement, bien que je me demande s’ils n’ont pas changé des choses dans le firmware.
Pour le plus 1PM on voit status dans le topic alors que sur le pro 1pm c’est events.
PV_Toiture_Bois/events/rpc
Mais je vais me débrouiller, c’était juste pour gagner du temps.
Je verrais ça demain quand mes onduleurs seront réveillés, là sans soleil ils dorment
1PM PLUS
{"method":"Switch.Set","params":{"id":0,"on":true}}
{"method":"Switch.Set","params":{"id":0,"on":false}}
PRO 4PM
{"id":1,"src":"WS_in","method":"Switch.Set","params":{"id":0,"on":true}}
{"id":1,"src":"WS_in","method":"Switch.Set","params":{"id":0,"on":false}}
Merci je vais aller voir le template de ce coté, il doit plus ressembler au 1PM.
Je devient faignant