Bonjour,
je fais suite au sujet sur les groupe de registres qui permet d’avoir des temps de cycle trés court.
j’ai donc mis en place les groupe de registre mais ca plance le cycle. Soit en NOK
Mon équipement :
{
"Test alarme": {
"name": "Test alarme",
"eqType_name": "mymodbus",
"configuration": {
"createtime": "2024-01-08 23:09:39",
"eqProtocol": "tcp",
"eqRefreshMode": "polling",
"eqPolling": "5",
"eqWriteCmdCheckTimeout": "1",
"eqFirstDelay": "0",
"updatetime": "2024-10-07 16:52:58",
"previousIsEnable": "1",
"previousIsVisible": "1",
"eqTimeout": "1",
"eqRetries": "3",
"eqErrorDelay": "1",
"eqAddr": "",
"eqPortNetwork": "502"
},
"category": {
"heating": "0",
"security": "0",
"energy": "0",
"light": "0",
"opening": "0",
"automatism": "0",
"multimedia": "0",
"default": "0"
},
"display": {
"width": "250px",
"height": "548px"
},
"status": {
"lastCommunication": "2024-10-03 19:03:37",
"enableDatime": "2024-10-03 19:03:37"
},
"cache": {
"z2m_eq_name": "0x90fd9ffffecd8475"
},
"commands": [
{
"logicalId": "refresh",
"eqType": "mymodbus",
"name": "Rafraîchir",
"type": "action",
"subType": "other",
"isHistorized": "0",
"configuration": {
"cmdSlave": "0",
"cmdFctModbus": "1",
"cmdFormat": "bit",
"cmdInvertBytes": "0",
"cmdInvertWords": "0",
"cmdFrequency": "1",
"logicalId": "refresh"
},
"template": {
"dashboard": "core::default",
"mobile": "core::default"
},
"isVisible": "1",
"alert": []
},
{
"logicalId": "cycle ok",
"eqType": "mymodbus",
"name": "Cycle OK",
"type": "info",
"subType": "binary",
"isHistorized": "1",
"configuration": {
"cmdSlave": "1",
"cmdFctModbus": "1",
"cmdFormat": "bit",
"cmdInvertBytes": "0",
"cmdInvertWords": "0",
"cmdFrequency": "1"
},
"template": {
"dashboard": "core::default",
"mobile": "core::default"
},
"isVisible": "1",
"alert": []
},
{
"eqType": "mymodbus",
"name": "Radar 1 actif",
"type": "info",
"subType": "binary",
"isHistorized": "0",
"configuration": {
"cmdSlave": "1",
"cmdFctModbus": "fromBlob",
"cmdFormat": "bit",
"cmdAddress": "3001",
"cmdInvertBytes": "0",
"cmdInvertWords": "0",
"cmdOption": "#value# & 1",
"cmdFrequency": "1",
"cmdSourceBlobBin": "#[Groupe]#"
},
"template": {
"dashboard": "core::default",
"mobile": "core::default"
},
"isVisible": "1",
"alert": []
},
{
"logicalId": "refresh time",
"eqType": "mymodbus",
"name": "Temps de rafraîchissement",
"type": "info",
"subType": "numeric",
"isHistorized": "0",
"unite": "s",
"configuration": {
"cmdSlave": "0",
"cmdFctModbus": "1",
"cmdFormat": "bit",
"cmdInvertBytes": "0",
"cmdInvertWords": "0",
"cmdFrequency": "1",
"logicalId": "refresh time"
},
"template": {
"dashboard": "core::default",
"mobile": "core::default"
},
"isVisible": "1",
"alert": []
},
{
"eqType": "mymodbus",
"name": "Radar 2actif",
"type": "info",
"subType": "binary",
"isHistorized": "0",
"configuration": {
"cmdSlave": "1",
"cmdFctModbus": "fromBlob",
"cmdFormat": "bit",
"cmdAddress": "3002",
"cmdInvertBytes": "0",
"cmdInvertWords": "0",
"cmdOption": "#value# & 1",
"cmdFrequency": "1",
"cmdSourceBlobBin": "#[Groupe]#"
},
"template": {
"dashboard": "core::default",
"mobile": "core::default"
},
"isVisible": "1",
"alert": []
},
{
"eqType": "mymodbus",
"name": "Radar 3 actif",
"type": "info",
"subType": "binary",
"isHistorized": "0",
"configuration": {
"cmdSlave": "1",
"cmdFctModbus": "fromBlob",
"cmdFormat": "bit",
"cmdAddress": "3003",
"cmdInvertBytes": "0",
"cmdInvertWords": "0",
"cmdOption": "#value# & 1",
"cmdFrequency": "1",
"cmdSourceBlobBin": "#[Groupe]#"
},
"template": {
"dashboard": "core::default",
"mobile": "core::default"
},
"isVisible": "1",
"alert": []
},
{
"eqType": "mymodbus",
"name": "Partition 1",
"type": "info",
"subType": "binary",
"isHistorized": "0",
"configuration": {
"cmdSlave": "1",
"cmdFctModbus": "3",
"cmdFormat": "uint8",
"cmdAddress": "101",
"cmdInvertBytes": "0",
"cmdInvertWords": "0",
"cmdOption": "#value# & 1",
"cmdFrequency": "1"
},
"template": {
"dashboard": "core::default",
"mobile": "core::default"
},
"isVisible": "1",
"alert": []
},
{
"eqType": "mymodbus",
"name": "MHS Maison",
"type": "action",
"subType": "other",
"isHistorized": "0",
"configuration": {
"cmdSlave": "1",
"cmdFctModbus": "6",
"cmdFormat": "h",
"cmdAddress": "1",
"cmdInvertBytes": "0",
"cmdInvertWords": "0",
"cmdFrequency": "1",
"cmdWriteValue": "0"
},
"template": {
"dashboard": "core::default",
"mobile": "core::default"
},
"isVisible": "1",
"alert": []
},
{
"eqType": "mymodbus",
"name": "MES Maison",
"type": "action",
"subType": "other",
"isHistorized": "0",
"configuration": {
"cmdSlave": "1",
"cmdFctModbus": "6",
"cmdFormat": "h",
"cmdAddress": "1",
"cmdInvertBytes": "0",
"cmdInvertWords": "0",
"cmdFrequency": "1",
"cmdWriteValue": "1"
},
"template": {
"dashboard": "core::default",
"mobile": "core::default"
},
"isVisible": "1",
"alert": []
},
{
"eqType": "mymodbus",
"name": "Radar 1 Alarme",
"type": "info",
"subType": "binary",
"isHistorized": "0",
"configuration": {
"cmdSlave": "1",
"cmdFctModbus": "fromBlob",
"cmdFormat": "bit",
"cmdAddress": "2001",
"cmdInvertBytes": "0",
"cmdInvertWords": "0",
"cmdOption": "#value# & 1",
"cmdFrequency": "1",
"cmdSourceBlobBin": "#[Groupe]#"
},
"template": {
"dashboard": "core::default",
"mobile": "core::default"
},
"isVisible": "1",
"alert": []
},
{
"eqType": "mymodbus",
"name": "Radar 2 Alarme",
"type": "info",
"subType": "binary",
"isHistorized": "0",
"configuration": {
"cmdSlave": "1",
"cmdFctModbus": "fromBlob",
"cmdFormat": "bit",
"cmdAddress": "2002",
"cmdInvertBytes": "0",
"cmdInvertWords": "0",
"cmdOption": "#value# & 1",
"cmdFrequency": "1",
"cmdSourceBlobBin": "#[Groupe]#"
},
"template": {
"dashboard": "core::default",
"mobile": "core::default"
},
"isVisible": "1",
"alert": []
},
{
"eqType": "mymodbus",
"name": "Radar 3 Alarme",
"type": "info",
"subType": "binary",
"isHistorized": "0",
"configuration": {
"cmdSlave": "1",
"cmdFctModbus": "fromBlob",
"cmdFormat": "bit",
"cmdAddress": "2003",
"cmdInvertBytes": "0",
"cmdInvertWords": "0",
"cmdOption": "#value# & 1",
"cmdFrequency": "1",
"cmdSourceBlobBin": "#[Groupe]#"
},
"template": {
"dashboard": "core::default",
"mobile": "core::default"
},
"isVisible": "1",
"alert": []
},
{
"eqType": "mymodbus",
"name": "Radar 1 Garage actif",
"type": "info",
"subType": "binary",
"isHistorized": "0",
"configuration": {
"cmdSlave": "1",
"cmdFctModbus": "fromBlob",
"cmdFormat": "bit",
"cmdAddress": "3033",
"cmdInvertBytes": "0",
"cmdInvertWords": "0",
"cmdOption": "#value# & 1",
"cmdFrequency": "1",
"cmdSourceBlobBin": "#[Groupe]#"
},
"template": {
"dashboard": "core::default",
"mobile": "core::default"
},
"isVisible": "1",
"alert": []
},
{
"eqType": "mymodbus",
"name": "Radar 2 Garage Actif",
"type": "info",
"subType": "binary",
"isHistorized": "0",
"configuration": {
"cmdSlave": "1",
"cmdFctModbus": "fromBlob",
"cmdFormat": "bit",
"cmdAddress": "3034",
"cmdInvertBytes": "0",
"cmdInvertWords": "0",
"cmdOption": "#value# & 1",
"cmdFrequency": "1",
"cmdSourceBlobBin": "#[Groupe]#"
},
"template": {
"dashboard": "core::default",
"mobile": "core::default"
},
"isVisible": "1",
"alert": []
},
{
"eqType": "mymodbus",
"name": "Partition 2",
"type": "info",
"subType": "binary",
"isHistorized": "0",
"configuration": {
"cmdSlave": "1",
"cmdFctModbus": "3",
"cmdFormat": "h",
"cmdAddress": "102",
"cmdInvertBytes": "0",
"cmdInvertWords": "0",
"cmdOption": "#value# & 1",
"cmdFrequency": "1"
},
"template": {
"dashboard": "core::default",
"mobile": "core::default"
},
"isVisible": "1",
"alert": []
},
{
"eqType": "mymodbus",
"name": "Radar 1 Garage Alarme",
"type": "info",
"subType": "binary",
"isHistorized": "0",
"configuration": {
"cmdSlave": "1",
"cmdFctModbus": "fromBlob",
"cmdFormat": "bit",
"cmdAddress": "2033",
"cmdInvertBytes": "0",
"cmdInvertWords": "0",
"cmdOption": "#value# & 1",
"cmdFrequency": "1",
"cmdSourceBlobBin": "#[Groupe]#"
},
"template": {
"dashboard": "core::default",
"mobile": "core::default"
},
"isVisible": "1",
"alert": []
},
{
"eqType": "mymodbus",
"name": "Radar 2 Garage Alarme",
"type": "info",
"subType": "binary",
"isHistorized": "0",
"configuration": {
"cmdSlave": "1",
"cmdFctModbus": "fromBlob",
"cmdFormat": "bit",
"cmdAddress": "2034",
"cmdInvertBytes": "0",
"cmdInvertWords": "0",
"cmdOption": "#value# & 1",
"cmdFrequency": "1",
"cmdSourceBlobBin": "#[Groupe]#"
},
"template": {
"dashboard": "core::default",
"mobile": "core::default"
},
"isVisible": "1",
"alert": []
},
{
"eqType": "mymodbus",
"name": "MES Garage",
"type": "action",
"subType": "other",
"isHistorized": "0",
"configuration": {
"cmdSlave": "1",
"cmdFctModbus": "6",
"cmdFormat": "uint8",
"cmdAddress": "2",
"cmdInvertBytes": "0",
"cmdInvertWords": "0",
"cmdFrequency": "1",
"cmdWriteValue": "1"
},
"template": {
"dashboard": "core::default",
"mobile": "core::default"
},
"isVisible": "1",
"alert": []
},
{
"eqType": "mymodbus",
"name": "MHS Garage",
"type": "action",
"subType": "other",
"isHistorized": "0",
"configuration": {
"cmdSlave": "1",
"cmdFctModbus": "6",
"cmdFormat": "uint8",
"cmdAddress": "2",
"cmdInvertBytes": "0",
"cmdInvertWords": "0",
"cmdFrequency": "1",
"cmdWriteValue": "0"
},
"template": {
"dashboard": "core::default",
"mobile": "core::default"
},
"isVisible": "1",
"alert": []
},
{
"eqType": "mymodbus",
"name": "Groupe",
"type": "info",
"subType": "binary",
"isHistorized": "0",
"configuration": {
"cmdSlave": "1",
"cmdFctModbus": "3",
"cmdFormat": "blob",
"cmdAddress": "2000 [1050]",
"cmdInvertBytes": "0",
"cmdInvertWords": "0",
"cmdOption": "#value# & 1",
"cmdFrequency": "1"
},
"template": {
"dashboard": "core::default",
"mobile": "core::default"
},
"isVisible": "1",
"alert": []
}
]
}
}
Ma page santé :
La version de mymodbus :
Merci ![]()








