Bonjour
Je test le nouveau plugin ModBus, développé par jeedom, qui vient tout juste de sortir.
Ce plugin est donc en Beta car tout recent
Pas de problème pour la lecture avec la fonction 3, pour les Holding registers
Je rencontre un problème pour l’écriture (fonction 16) des multiple registers
Si nous utilisons la commande Action/message créées (Écriture MultiRegistre) directement par le plugin, cela fonctionne correctement. Cela me laisse pensée que j’ai compris le mode de fonctionnement
Lorsque je crée une nouvelle commande identique, cela ne fonctionne pas.
D’ailleurs sur le dashboard, nous pouvons voir que la prise en compte n’est pas identique
Jeedom 4.2.11
[2022-02-12 15:15:17]DEBUG : True
[2022-02-12 15:15:17]DEBUG : {'nameCmd': 'PC Temp Amb Freecooling Val', 'cmdId': '3377', 'format': 'longformat', 'functioncode': 'fc03', 'nbregister': '1', 'startregister': '21', 'wordorder': 'littleword', 'byteorder': 'bigbyte', 'isnegatif': '0', 'offset': '0'}
[2022-02-12 15:15:17]DEBUG : Current transaction state - IDLE
[2022-02-12 15:15:17]DEBUG : Running transaction 1
[2022-02-12 15:15:17]DEBUG : SEND: 0x1 0x3 0x0 0x15 0x0 0x1 0x95 0xce
[2022-02-12 15:15:17]DEBUG : New Transaction state 'SENDING'
[2022-02-12 15:15:17]DEBUG : Changing transaction state from 'SENDING' to 'WAITING FOR REPLY'
[2022-02-12 15:15:17]DEBUG : Changing transaction state from 'WAITING FOR REPLY' to 'PROCESSING REPLY'
[2022-02-12 15:15:17]DEBUG : RECV: 0x1 0x3 0x2 0x0 0xdc 0xb9 0xdd
[2022-02-12 15:15:17]DEBUG : Getting Frame - 0x3 0x2 0x0 0xdc
[2022-02-12 15:15:17]DEBUG : Factory Response[ReadHoldingRegistersResponse: 3]
[2022-02-12 15:15:17]DEBUG : Frame advanced, resetting header!!
[2022-02-12 15:15:17]DEBUG : Adding transaction 1
[2022-02-12 15:15:17]DEBUG : Getting transaction 1
[2022-02-12 15:15:17]DEBUG : Changing transaction state from 'PROCESSING REPLY' to 'TRANSACTION_COMPLETE'
[2022-02-12 15:15:17]DEBUG : [220]
[2022-02-12 15:15:22]DEBUG : Send to jeedom : {'data': {'288': {'PC Temp Amb Freecooling Val': [{'StartRegister': 21, 'CmdId': '3377', 'value': 220}]}}, 'FUNC': 'readF'}
[2022-02-12 15:15:22]DEBUG : Starting new HTTP connection (1): 127.0.0.1:80
[2022-02-12 15:15:22]DEBUG : Result:{"data":{"288":{"PC Temp Amb Freecooling Val":[{"StartRegister":21,"CmdId":"3377","value":220}]}},"FUNC":"readF"}
[2022-02-12 15:15:22]DEBUG : DATACORRESPOND : {"288":{"PC Temp Amb Freecooling Val":[{"StartRegister":21,"CmdId":"3377","value":220}]}}
[2022-02-12 15:15:22]DEBUG : CMDTOEVENT >>>>>>> PC Temp Amb Freecooling Val
[2022-02-12 15:15:22]DEBUG : VALUETOEVENT >>>>>>> 220
[2022-02-12 15:15:22]DEBUG : DECODER : {"data":{"288":{"PC Temp Amb Freecooling Val":[{"StartRegister":21,"CmdId":"3377","value":220}]}},"FUNC":"readF"}
[2022-02-12 15:15:22]DEBUG : http://127.0.0.1:80 "POST /plugins/modbus/core/php/jeeModbus.php?apikey=iRsYsgY8IhvY06yYxr0UfMEyWBegW5JmeFiwXaBqeE1dRHHMNqOTrhr0Cmu7mP2j HTTP/1.1" 200 0
[2022-02-12 15:15:23]DEBUG : {'data': {'288': {}}, 'FUNC': 'readF'}
[2022-02-12 15:15:23]DEBUG : True
[2022-02-12 15:15:23]DEBUG : {'nameCmd': 'PC Temp Amb Freecooling Val', 'cmdId': '3377', 'format': 'longformat', 'functioncode': 'fc03', 'nbregister': '1', 'startregister': '21', 'wordorder': 'littleword', 'byteorder': 'bigbyte', 'isnegatif': '0', 'offset': '0'}
[2022-02-12 15:15:23]DEBUG : Current transaction state - IDLE
[2022-02-12 15:15:23]DEBUG : Running transaction 1
[2022-02-12 15:15:23]DEBUG : SEND: 0x1 0x3 0x0 0x15 0x0 0x1 0x95 0xce
[2022-02-12 15:15:23]DEBUG : New Transaction state 'SENDING'
[2022-02-12 15:15:23]DEBUG : Changing transaction state from 'SENDING' to 'WAITING FOR REPLY'
[2022-02-12 15:15:23]DEBUG : Changing transaction state from 'WAITING FOR REPLY' to 'PROCESSING REPLY'
[2022-02-12 15:15:23]DEBUG : RECV: 0x1 0x3 0x2 0x0 0xdc 0xb9 0xdd
[2022-02-12 15:15:23]DEBUG : Getting Frame - 0x3 0x2 0x0 0xdc
[2022-02-12 15:15:23]DEBUG : Factory Response[ReadHoldingRegistersResponse: 3]
[2022-02-12 15:15:23]DEBUG : Frame advanced, resetting header!!
[2022-02-12 15:15:23]DEBUG : Adding transaction 1
[2022-02-12 15:15:23]DEBUG : Getting transaction 1
[2022-02-12 15:15:23]DEBUG : Changing transaction state from 'PROCESSING REPLY' to 'TRANSACTION_COMPLETE'
[2022-02-12 15:15:23]DEBUG : [220]
[2022-02-12 15:15:28]DEBUG : Send to jeedom : {'data': {'288': {'PC Temp Amb Freecooling Val': [{'StartRegister': 21, 'CmdId': '3377', 'value': 220}]}}, 'FUNC': 'readF'}
[2022-02-12 15:15:28]DEBUG : Starting new HTTP connection (1): 127.0.0.1:80
[2022-02-12 15:15:28]DEBUG : Result:{"data":{"288":{"PC Temp Amb Freecooling Val":[{"StartRegister":21,"CmdId":"3377","value":220}]}},"FUNC":"readF"}
[2022-02-12 15:15:28]DEBUG : DATACORRESPOND : {"288":{"PC Temp Amb Freecooling Val":[{"StartRegister":21,"CmdId":"3377","value":220}]}}
[2022-02-12 15:15:28]DEBUG : CMDTOEVENT >>>>>>> PC Temp Amb Freecooling Val
[2022-02-12 15:15:28]DEBUG : VALUETOEVENT >>>>>>> 220
[2022-02-12 15:15:28]DEBUG : DECODER : {"data":{"288":{"PC Temp Amb Freecooling Val":[{"StartRegister":21,"CmdId":"3377","value":220}]}},"FUNC":"readF"}
[2022-02-12 15:15:28]DEBUG : http://127.0.0.1:80 "POST /plugins/modbus/core/php/jeeModbus.php?apikey=iRsYsgY8IhvY06yYxr0UfMEyWBegW5JmeFiwXaBqeE1dRHHMNqOTrhr0Cmu7mP2j HTTP/1.1" 200 0
[2022-02-12 15:15:28]DEBUG : {'data': {'288': {}}, 'FUNC': 'readF'}
[2022-02-12 15:15:28]DEBUG : True
[2022-02-12 15:15:28]DEBUG : {'nameCmd': 'PC Temp Amb Freecooling Val', 'cmdId': '3377', 'format': 'longformat', 'functioncode': 'fc03', 'nbregister': '1', 'startregister': '21', 'wordorder': 'littleword', 'byteorder': 'bigbyte', 'isnegatif': '0', 'offset': '0'}
[2022-02-12 15:15:28]DEBUG : Current transaction state - IDLE
[2022-02-12 15:15:28]DEBUG : Running transaction 1
[2022-02-12 15:15:28]DEBUG : SEND: 0x1 0x3 0x0 0x15 0x0 0x1 0x95 0xce
[2022-02-12 15:15:28]DEBUG : New Transaction state 'SENDING'
[2022-02-12 15:15:28]DEBUG : Changing transaction state from 'SENDING' to 'WAITING FOR REPLY'
[2022-02-12 15:15:28]DEBUG : Changing transaction state from 'WAITING FOR REPLY' to 'PROCESSING REPLY'
[2022-02-12 15:15:28]DEBUG : RECV: 0x1 0x3 0x2 0x0 0xdc 0xb9 0xdd
[2022-02-12 15:15:28]DEBUG : Getting Frame - 0x3 0x2 0x0 0xdc
[2022-02-12 15:15:28]DEBUG : Factory Response[ReadHoldingRegistersResponse: 3]
[2022-02-12 15:15:28]DEBUG : Frame advanced, resetting header!!
[2022-02-12 15:15:28]DEBUG : Adding transaction 1
[2022-02-12 15:15:28]DEBUG : Getting transaction 1
[2022-02-12 15:15:28]DEBUG : Changing transaction state from 'PROCESSING REPLY' to 'TRANSACTION_COMPLETE'
[2022-02-12 15:15:28]DEBUG : [220]
[2022-02-12 15:15:31]DEBUG : WRITETEST : {"apikey":"iRsYsgY8IhvY06yYxr0UfMEyWBegW5JmeFiwXaBqeE1dRHHMNqOTrhr0Cmu7mP2j","typeDevice":"rtu","action":"writeAction","unitID":1,"options":{"nameCmd":"Ecriture Multi Registre","cmdId":"3491","format":0,"functioncode":"fc16","nbregister":0,"startregister":"21","wordorder":"littleword","byteorder":"bigbyte","isnegatif":"0","offset":"0","valuesrequest":[{"valeur":"250","nbregister":"1"}]},"deviceInfo":{"typeDevice":"rtu","portserial":"\/dev\/ttyUSB0","baudrate":57600,"unitID":1,"parity":"N","stopbits":1,"bytesize":8,"id":"288"}}
[2022-02-12 15:15:31]DEBUG : Client connected to [127.0.0.1:36082]
[2022-02-12 15:15:31]DEBUG : Client disconnected from [127.0.0.1:36082]
[2022-02-12 15:15:33]DEBUG : Send to jeedom : {'data': {'288': {'PC Temp Amb Freecooling Val': [{'StartRegister': 21, 'CmdId': '3377', 'value': 220}]}}, 'FUNC': 'readF'}
[2022-02-12 15:15:33]DEBUG : Starting new HTTP connection (1): 127.0.0.1:80
[2022-02-12 15:15:33]DEBUG : Result:{"data":{"288":{"PC Temp Amb Freecooling Val":[{"StartRegister":21,"CmdId":"3377","value":220}]}},"FUNC":"readF"}
[2022-02-12 15:15:33]DEBUG : DATACORRESPOND : {"288":{"PC Temp Amb Freecooling Val":[{"StartRegister":21,"CmdId":"3377","value":220}]}}
[2022-02-12 15:15:33]DEBUG : CMDTOEVENT >>>>>>> PC Temp Amb Freecooling Val
[2022-02-12 15:15:33]DEBUG : VALUETOEVENT >>>>>>> 220
[2022-02-12 15:15:34]DEBUG : DECODER : {"data":{"288":{"PC Temp Amb Freecooling Val":[{"StartRegister":21,"CmdId":"3377","value":220}]}},"FUNC":"readF"}
[2022-02-12 15:15:34]DEBUG : http://127.0.0.1:80 "POST /plugins/modbus/core/php/jeeModbus.php?apikey=iRsYsgY8IhvY06yYxr0UfMEyWBegW5JmeFiwXaBqeE1dRHHMNqOTrhr0Cmu7mP2j HTTP/1.1" 200 0
[2022-02-12 15:15:34]DEBUG : Message received in socket JEEDOM_SOCKET_MESSAGE
[2022-02-12 15:15:34]DEBUG : {'nameCmd': 'Ecriture Multi Registre', 'cmdId': '3491', 'format': 0, 'functioncode': 'fc16', 'nbregister': 0, 'startregister': '21', 'wordorder': 'littleword', 'byteorder': 'bigbyte', 'isnegatif': '0', 'offset': '0', 'valuesrequest': [{'valeur': '250', 'nbregister': '1'}]}
[2022-02-12 15:15:34]DEBUG : {'valeur': '250', 'nbregister': '1'}
[2022-02-12 15:15:34]DEBUG : 250
[2022-02-12 15:15:34]DEBUG : TESTTTTT
[2022-02-12 15:15:34]DEBUG : 250
[2022-02-12 15:15:34]DEBUG : [250]
[2022-02-12 15:15:34]DEBUG : Current transaction state - IDLE
[2022-02-12 15:15:34]DEBUG : Running transaction 1
[2022-02-12 15:15:34]DEBUG : SEND: 0x1 0x10 0x0 0x15 0x0 0x1 0x2 0x0 0xfa 0x24 0xd6
[2022-02-12 15:15:34]DEBUG : New Transaction state 'SENDING'
[2022-02-12 15:15:34]DEBUG : Changing transaction state from 'SENDING' to 'WAITING FOR REPLY'
[2022-02-12 15:15:34]DEBUG : Changing transaction state from 'WAITING FOR REPLY' to 'PROCESSING REPLY'
[2022-02-12 15:15:34]DEBUG : RECV: 0x1 0x10 0x0 0x15 0x0 0x1 0x10 0xd
[2022-02-12 15:15:34]DEBUG : Getting Frame - 0x10 0x0 0x15 0x0 0x1
[2022-02-12 15:15:34]DEBUG : Factory Response[WriteMultipleRegistersResponse: 16]
[2022-02-12 15:15:34]DEBUG : Frame advanced, resetting header!!
[2022-02-12 15:15:34]DEBUG : Adding transaction 1
[2022-02-12 15:15:34]DEBUG : Getting transaction 1
[2022-02-12 15:15:34]DEBUG : Changing transaction state from 'PROCESSING REPLY' to 'TRANSACTION_COMPLETE'
[2022-02-12 15:15:34]DEBUG : MESSAGE ENVOYE ACTION WRITE
[2022-02-12 15:15:34]DEBUG : Send to jeedom : {'FUNC': 'write', 'isOk': 'yes'}
[2022-02-12 15:15:34]DEBUG : Starting new HTTP connection (1): 127.0.0.1:80
[2022-02-12 15:15:34]DEBUG : Result:{"FUNC":"write","isOk":"yes"}
[2022-02-12 15:15:34]DEBUG : RETURNFUNCTIONWRITE{"FUNC":"write","isOk":"yes"}
[2022-02-12 15:15:34]DEBUG : http://127.0.0.1:80 "POST /plugins/modbus/core/php/jeeModbus.php?apikey=iRsYsgY8IhvY06yYxr0UfMEyWBegW5JmeFiwXaBqeE1dRHHMNqOTrhr0Cmu7mP2j HTTP/1.1" 200 0
[2022-02-12 15:15:34]DEBUG : {'data': {'288': {}}, 'FUNC': 'readF'}
[2022-02-12 15:15:34]DEBUG : True
[2022-02-12 15:15:34]DEBUG : {'nameCmd': 'PC Temp Amb Freecooling Val', 'cmdId': '3377', 'format': 'longformat', 'functioncode': 'fc03', 'nbregister': '1', 'startregister': '21', 'wordorder': 'littleword', 'byteorder': 'bigbyte', 'isnegatif': '0', 'offset': '0'}
[2022-02-12 15:15:34]DEBUG : Current transaction state - IDLE
[2022-02-12 15:15:34]DEBUG : Running transaction 1
[2022-02-12 15:15:34]DEBUG : SEND: 0x1 0x3 0x0 0x15 0x0 0x1 0x95 0xce
[2022-02-12 15:15:34]DEBUG : New Transaction state 'SENDING'
[2022-02-12 15:15:34]DEBUG : Changing transaction state from 'SENDING' to 'WAITING FOR REPLY'
[2022-02-12 15:15:34]DEBUG : Changing transaction state from 'WAITING FOR REPLY' to 'PROCESSING REPLY'
[2022-02-12 15:15:34]DEBUG : RECV: 0x1 0x3 0x2 0x0 0xfa 0x38 0x7
[2022-02-12 15:15:34]DEBUG : Getting Frame - 0x3 0x2 0x0 0xfa
[2022-02-12 15:15:34]DEBUG : Factory Response[ReadHoldingRegistersResponse: 3]
[2022-02-12 15:15:34]DEBUG : Frame advanced, resetting header!!
[2022-02-12 15:15:34]DEBUG : Adding transaction 1
[2022-02-12 15:15:34]DEBUG : Getting transaction 1
[2022-02-12 15:15:34]DEBUG : Changing transaction state from 'PROCESSING REPLY' to 'TRANSACTION_COMPLETE'
[2022-02-12 15:15:34]DEBUG : [250]
[2022-02-12 15:15:39]DEBUG : Send to jeedom : {'data': {'288': {'PC Temp Amb Freecooling Val': [{'StartRegister': 21, 'CmdId': '3377', 'value': 250}]}}, 'FUNC': 'readF'}
[2022-02-12 15:15:39]DEBUG : Starting new HTTP connection (1): 127.0.0.1:80
[2022-02-12 15:15:39]DEBUG : Result:{"data":{"288":{"PC Temp Amb Freecooling Val":[{"StartRegister":21,"CmdId":"3377","value":250}]}},"FUNC":"readF"}
[2022-02-12 15:15:39]DEBUG : DATACORRESPOND : {"288":{"PC Temp Amb Freecooling Val":[{"StartRegister":21,"CmdId":"3377","value":250}]}}
[2022-02-12 15:15:39]DEBUG : CMDTOEVENT >>>>>>> PC Temp Amb Freecooling Val
[2022-02-12 15:15:39]DEBUG : VALUETOEVENT >>>>>>> 250
[2022-02-12 15:15:39]DEBUG : DECODER : {"data":{"288":{"PC Temp Amb Freecooling Val":[{"StartRegister":21,"CmdId":"3377","value":250}]}},"FUNC":"readF"}
[2022-02-12 15:15:39]DEBUG : http://127.0.0.1:80 "POST /plugins/modbus/core/php/jeeModbus.php?apikey=iRsYsgY8IhvY06yYxr0UfMEyWBegW5JmeFiwXaBqeE1dRHHMNqOTrhr0Cmu7mP2j HTTP/1.1" 200 0
[2022-02-12 15:15:40]DEBUG : {'data': {'288': {}}, 'FUNC': 'readF'}
[2022-02-12 15:15:40]DEBUG : True
[2022-02-12 15:15:40]DEBUG : {'nameCmd': 'PC Temp Amb Freecooling Val', 'cmdId': '3377', 'format': 'longformat', 'functioncode': 'fc03', 'nbregister': '1', 'startregister': '21', 'wordorder': 'littleword', 'byteorder': 'bigbyte', 'isnegatif': '0', 'offset': '0'}
[2022-02-12 15:15:40]DEBUG : Current transaction state - IDLE
[2022-02-12 15:15:40]DEBUG : Running transaction 1
[2022-02-12 15:15:40]DEBUG : SEND: 0x1 0x3 0x0 0x15 0x0 0x1 0x95 0xce
[2022-02-12 15:15:40]DEBUG : New Transaction state 'SENDING'
[2022-02-12 15:15:40]DEBUG : Changing transaction state from 'SENDING' to 'WAITING FOR REPLY'
[2022-02-12 15:15:40]DEBUG : Changing transaction state from 'WAITING FOR REPLY' to 'PROCESSING REPLY'
[2022-02-12 15:15:40]DEBUG : RECV: 0x1 0x3 0x2 0x0 0xfa 0x38 0x7
[2022-02-12 15:15:40]DEBUG : Getting Frame - 0x3 0x2 0x0 0xfa
[2022-02-12 15:15:40]DEBUG : Factory Response[ReadHoldingRegistersResponse: 3]
[2022-02-12 15:15:40]DEBUG : Frame advanced, resetting header!!
[2022-02-12 15:15:40]DEBUG : Adding transaction 1
[2022-02-12 15:15:40]DEBUG : Getting transaction 1
[2022-02-12 15:15:40]DEBUG : Changing transaction state from 'PROCESSING REPLY' to 'TRANSACTION_COMPLETE'
[2022-02-12 15:15:40]DEBUG : [250]
[2022-02-12 15:15:42]DEBUG : WRITETEST : {"apikey":"iRsYsgY8IhvY06yYxr0UfMEyWBegW5JmeFiwXaBqeE1dRHHMNqOTrhr0Cmu7mP2j","typeDevice":"rtu","action":"writeAction","unitID":1,"options":{"nameCmd":"Ecriture Multi Registre 2","cmdId":"3457","format":"longformat","functioncode":"fc16","nbregister":0,"startregister":"21","wordorder":"littleword","byteorder":"bigbyte","isnegatif":"0","offset":"0"},"deviceInfo":{"typeDevice":"rtu","portserial":"\/dev\/ttyUSB0","baudrate":57600,"unitID":1,"parity":"N","stopbits":1,"bytesize":8,"id":"288"}}
[2022-02-12 15:15:42]DEBUG : Client connected to [127.0.0.1:36090]
[2022-02-12 15:15:42]DEBUG : Client disconnected from [127.0.0.1:36090]
[2022-02-12 15:15:45]DEBUG : Send to jeedom : {'data': {'288': {'PC Temp Amb Freecooling Val': [{'StartRegister': 21, 'CmdId': '3377', 'value': 250}]}}, 'FUNC': 'readF'}
[2022-02-12 15:15:45]DEBUG : Starting new HTTP connection (1): 127.0.0.1:80
[2022-02-12 15:15:45]DEBUG : Result:{"data":{"288":{"PC Temp Amb Freecooling Val":[{"StartRegister":21,"CmdId":"3377","value":250}]}},"FUNC":"readF"}
[2022-02-12 15:15:45]DEBUG : DATACORRESPOND : {"288":{"PC Temp Amb Freecooling Val":[{"StartRegister":21,"CmdId":"3377","value":250}]}}
[2022-02-12 15:15:45]DEBUG : CMDTOEVENT >>>>>>> PC Temp Amb Freecooling Val
[2022-02-12 15:15:45]DEBUG : VALUETOEVENT >>>>>>> 250
[2022-02-12 15:15:45]DEBUG : DECODER : {"data":{"288":{"PC Temp Amb Freecooling Val":[{"StartRegister":21,"CmdId":"3377","value":250}]}},"FUNC":"readF"}
[2022-02-12 15:15:45]DEBUG : http://127.0.0.1:80 "POST /plugins/modbus/core/php/jeeModbus.php?apikey=iRsYsgY8IhvY06yYxr0UfMEyWBegW5JmeFiwXaBqeE1dRHHMNqOTrhr0Cmu7mP2j HTTP/1.1" 200 0
[2022-02-12 15:15:46]DEBUG : Message received in socket JEEDOM_SOCKET_MESSAGE
[2022-02-12 15:15:46]DEBUG : {'nameCmd': 'Ecriture Multi Registre 2', 'cmdId': '3457', 'format': 'longformat', 'functioncode': 'fc16', 'nbregister': 0, 'startregister': '21', 'wordorder': 'littleword', 'byteorder': 'bigbyte', 'isnegatif': '0', 'offset': '0'}
[2022-02-12 15:15:46]ERROR : Send command to demon error : 'valuesrequest'
[2022-02-12 15:15:46]DEBUG : {'data': {'288': {}}, 'FUNC': 'readF'}
[2022-02-12 15:15:46]DEBUG : True
[2022-02-12 15:15:46]DEBUG : {'nameCmd': 'PC Temp Amb Freecooling Val', 'cmdId': '3377', 'format': 'longformat', 'functioncode': 'fc03', 'nbregister': '1', 'startregister': '21', 'wordorder': 'littleword', 'byteorder': 'bigbyte', 'isnegatif': '0', 'offset': '0'}
[2022-02-12 15:15:46]DEBUG : Current transaction state - IDLE
[2022-02-12 15:15:46]DEBUG : Running transaction 1
[2022-02-12 15:15:46]DEBUG : SEND: 0x1 0x3 0x0 0x15 0x0 0x1 0x95 0xce
[2022-02-12 15:15:46]DEBUG : New Transaction state 'SENDING'
[2022-02-12 15:15:46]DEBUG : Changing transaction state from 'SENDING' to 'WAITING FOR REPLY'
[2022-02-12 15:15:46]DEBUG : Changing transaction state from 'WAITING FOR REPLY' to 'PROCESSING REPLY'
[2022-02-12 15:15:46]DEBUG : RECV: 0x1 0x3 0x2 0x0 0xfa 0x38 0x7
[2022-02-12 15:15:46]DEBUG : Getting Frame - 0x3 0x2 0x0 0xfa
[2022-02-12 15:15:46]DEBUG : Factory Response[ReadHoldingRegistersResponse: 3]
[2022-02-12 15:15:46]DEBUG : Frame advanced, resetting header!!
[2022-02-12 15:15:46]DEBUG : Adding transaction 1
[2022-02-12 15:15:46]DEBUG : Getting transaction 1
[2022-02-12 15:15:46]DEBUG : Changing transaction state from 'PROCESSING REPLY' to 'TRANSACTION_COMPLETE'
[2022-02-12 15:15:46]DEBUG : [250]
[2022-02-12 15:15:51]DEBUG : Send to jeedom : {'data': {'288': {'PC Temp Amb Freecooling Val': [{'StartRegister': 21, 'CmdId': '3377', 'value': 250}]}}, 'FUNC': 'readF'}
[2022-02-12 15:15:51]DEBUG : Starting new HTTP connection (1): 127.0.0.1:80
[2022-02-12 15:15:51]DEBUG : Result:{"data":{"288":{"PC Temp Amb Freecooling Val":[{"StartRegister":21,"CmdId":"3377","value":250}]}},"FUNC":"readF"}
[2022-02-12 15:15:51]DEBUG : DATACORRESPOND : {"288":{"PC Temp Amb Freecooling Val":[{"StartRegister":21,"CmdId":"3377","value":250}]}}
[2022-02-12 15:15:51]DEBUG : CMDTOEVENT >>>>>>> PC Temp Amb Freecooling Val
[2022-02-12 15:15:51]DEBUG : VALUETOEVENT >>>>>>> 250
[2022-02-12 15:15:51]DEBUG : DECODER : {"data":{"288":{"PC Temp Amb Freecooling Val":[{"StartRegister":21,"CmdId":"3377","value":250}]}},"FUNC":"readF"}
[2022-02-12 15:15:51]DEBUG : http://127.0.0.1:80 "POST /plugins/modbus/core/php/jeeModbus.php?apikey=iRsYsgY8IhvY06yYxr0UfMEyWBegW5JmeFiwXaBqeE1dRHHMNqOTrhr0Cmu7mP2j HTTP/1.1" 200 0
[2022-02-12 15:15:51]DEBUG : {'data': {'288': {}}, 'FUNC': 'readF'}
[2022-02-12 15:15:51]DEBUG : True
[2022-02-12 15:15:51]DEBUG : {'nameCmd': 'PC Temp Amb Freecooling Val', 'cmdId': '3377', 'format': 'longformat', 'functioncode': 'fc03', 'nbregister': '1', 'startregister': '21', 'wordorder': 'littleword', 'byteorder': 'bigbyte', 'isnegatif': '0', 'offset': '0'}
[2022-02-12 15:15:51]DEBUG : Current transaction state - IDLE
[2022-02-12 15:15:51]DEBUG : Running transaction 1
[2022-02-12 15:15:51]DEBUG : SEND: 0x1 0x3 0x0 0x15 0x0 0x1 0x95 0xce
[2022-02-12 15:15:51]DEBUG : New Transaction state 'SENDING'
[2022-02-12 15:15:51]DEBUG : Changing transaction state from 'SENDING' to 'WAITING FOR REPLY'
[2022-02-12 15:15:51]DEBUG : Changing transaction state from 'WAITING FOR REPLY' to 'PROCESSING REPLY'
[2022-02-12 15:15:51]DEBUG : RECV: 0x1 0x3 0x2 0x0 0xfa 0x38 0x7
[2022-02-12 15:15:51]DEBUG : Getting Frame - 0x3 0x2 0x0 0xfa
[2022-02-12 15:15:51]DEBUG : Factory Response[ReadHoldingRegistersResponse: 3]
[2022-02-12 15:15:51]DEBUG : Frame advanced, resetting header!!
[2022-02-12 15:15:51]DEBUG : Adding transaction 1
[2022-02-12 15:15:51]DEBUG : Getting transaction 1
[2022-02-12 15:15:51]DEBUG : Changing transaction state from 'PROCESSING REPLY' to 'TRANSACTION_COMPLETE'
[2022-02-12 15:15:51]DEBUG : [250]
Dans le log (debug j’ai une erreur :
[2022-02-12 15:15:46]ERROR : Send command to demon error : ‹ valuesrequest ›