Bonsoir Mips,
Je viens de constater une régression entre la dernière beta et la version stable sur un équipement qui fait du comptage, lorsque je suis passé en production.
Il s’agit de la lecture de deux données codées sur les registres 32-33 et 34-35.
J’ai fait un rollback sur la préproduction en version stable et cela fonctionne parfaitement. La différence semble provenir de l’option inversion de l’ordre des octets pour un type 32 bits.
Ci-après une copie des écrans de paramétrage, ainsi que celle du log en mode debug.
Merci pour tes éclairages
[2024-09-24 20:33:50] INFO : Starting daemon with log level: debug
[2024-09-24 20:33:50] DEBUG : Writing PID 1452612 to /tmp/jeedom/modbus2mqtt/daemon.pid
[2024-09-24 20:33:50] INFO : Listening on 127.0.0.1:55071
[2024-09-24 20:33:50] INFO : Send async started with a cycle of 0.5s
[2024-09-24 20:33:51] DEBUG : Received new message on socket
[2024-09-24 20:33:51] DEBUG : Close connection
[2024-09-24 20:33:51] INFO : Starting modbus4mqtt for 268 and topic carte_entrees
[2024-09-24 20:33:51] DEBUG : connect mqtt to 127.0.0.1 on 1883 with user jeedom
[2024-09-24 20:33:51] DEBUG : will publish to modbus2mqtt/carte_entrees
[2024-09-24 20:33:51] INFO : Start polling...
[2024-09-24 20:33:51] DEBUG : Received new message on socket
[2024-09-24 20:33:51] DEBUG : Received new message on socket
[2024-09-24 20:33:51] DEBUG : Received new message on socket
[2024-09-24 20:33:51] DEBUG : Close connection
[2024-09-24 20:33:51] DEBUG : Close connection
[2024-09-24 20:33:51] DEBUG : Close connection
[2024-09-24 20:33:51] INFO : Starting modbus4mqtt for 270 and topic carte_sorties
[2024-09-24 20:33:51] DEBUG : connect mqtt to 127.0.0.1 on 1883 with user jeedom
[2024-09-24 20:33:51] DEBUG : will publish to modbus2mqtt/carte_sorties
[2024-09-24 20:33:51] INFO : Connected to MQTT.
[2024-09-24 20:33:51] INFO : Starting modbus4mqtt for 269 and topic compteurs_eau
[2024-09-24 20:33:51] DEBUG : connect mqtt to 127.0.0.1 on 1883 with user jeedom
[2024-09-24 20:33:51] DEBUG : will publish to modbus2mqtt/compteurs_eau
[2024-09-24 20:33:51] INFO : Connected to MQTT.
[2024-09-24 20:33:51] INFO : Subscribed to modbus2mqtt/carte_sorties/on_01
[2024-09-24 20:33:51] INFO : Subscribed to modbus2mqtt/carte_sorties/off_01
[2024-09-24 20:33:51] INFO : Subscribed to modbus2mqtt/carte_sorties/on_02
[2024-09-24 20:33:51] INFO : Subscribed to modbus2mqtt/carte_sorties/off_02
[2024-09-24 20:33:51] INFO : Subscribed to modbus2mqtt/carte_sorties/on_03
[2024-09-24 20:33:51] INFO : Subscribed to modbus2mqtt/carte_sorties/off_03
[2024-09-24 20:33:51] INFO : Subscribed to modbus2mqtt/carte_sorties/on_04
[2024-09-24 20:33:51] INFO : Subscribed to modbus2mqtt/carte_sorties/off_04
[2024-09-24 20:33:51] INFO : Subscribed to modbus2mqtt/carte_sorties/on_05
[2024-09-24 20:33:51] INFO : Subscribed to modbus2mqtt/carte_sorties/off_05
[2024-09-24 20:33:51] INFO : Subscribed to modbus2mqtt/carte_sorties/on_06
[2024-09-24 20:33:51] INFO : Subscribed to modbus2mqtt/carte_sorties/off_06
[2024-09-24 20:33:51] INFO : Subscribed to modbus2mqtt/carte_sorties/on_07
[2024-09-24 20:33:51] INFO : Subscribed to modbus2mqtt/carte_sorties/off_07
[2024-09-24 20:33:51] INFO : Subscribed to modbus2mqtt/carte_sorties/on_08
[2024-09-24 20:33:51] INFO : Subscribed to modbus2mqtt/carte_sorties/off_08
[2024-09-24 20:33:51] INFO : Subscribed to modbus2mqtt/carte_sorties/on_09
[2024-09-24 20:33:51] INFO : Subscribed to modbus2mqtt/carte_sorties/off_09
[2024-09-24 20:33:51] INFO : Subscribed to modbus2mqtt/carte_sorties/on_10
[2024-09-24 20:33:51] INFO : Subscribed to modbus2mqtt/carte_sorties/off_10
[2024-09-24 20:33:51] INFO : Subscribed to modbus2mqtt/carte_sorties/on_11
[2024-09-24 20:33:51] INFO : Subscribed to modbus2mqtt/carte_sorties/off_11
[2024-09-24 20:33:51] INFO : Subscribed to modbus2mqtt/carte_sorties/on_12
[2024-09-24 20:33:51] INFO : Subscribed to modbus2mqtt/carte_sorties/off_12
[2024-09-24 20:33:51] INFO : Subscribed to modbus2mqtt/carte_sorties/on_13
[2024-09-24 20:33:51] INFO : Subscribed to modbus2mqtt/carte_sorties/off_13
[2024-09-24 20:33:51] INFO : Subscribed to modbus2mqtt/carte_sorties/on_14
[2024-09-24 20:33:51] INFO : Subscribed to modbus2mqtt/carte_sorties/off_14
[2024-09-24 20:33:51] INFO : Subscribed to modbus2mqtt/carte_sorties/on_15
[2024-09-24 20:33:51] INFO : Subscribed to modbus2mqtt/carte_sorties/off_15
[2024-09-24 20:33:51] INFO : Subscribed to modbus2mqtt/carte_sorties/on_16
[2024-09-24 20:33:51] INFO : Subscribed to modbus2mqtt/carte_sorties/off_16
[2024-09-24 20:33:51] INFO : Starting modbus4mqtt for 265 and topic vmc
[2024-09-24 20:33:51] DEBUG : connect mqtt to 127.0.0.1 on 1883 with user jeedom
[2024-09-24 20:33:51] DEBUG : will publish to modbus2mqtt/vmc
[2024-09-24 20:33:51] INFO : Connected to MQTT.
[2024-09-24 20:33:51] INFO : Start polling...
[2024-09-24 20:33:51] INFO : Start polling...
[2024-09-24 20:33:51] INFO : Start polling...
[2024-09-24 20:33:51] INFO : Connected to MQTT.
[2024-09-24 20:33:51] INFO : Subscribed to modbus2mqtt/vmc/debit_normal
[2024-09-24 20:33:56] DEBUG : Read 1 value from holding table at 128
[2024-09-24 20:33:56] DEBUG : Read 1 value from holding table at 129
[2024-09-24 20:33:56] DEBUG : Read 1 value from holding table at 130
[2024-09-24 20:33:57] DEBUG : Read 1 value from holding table at 131
[2024-09-24 20:33:57] DEBUG : Read 1 value from holding table at 132
[2024-09-24 20:33:57] DEBUG : Read 1 value from holding table at 133
[2024-09-24 20:33:57] DEBUG : Read 1 value from holding table at 134
[2024-09-24 20:33:57] DEBUG : Read 1 value from holding table at 135
[2024-09-24 20:33:57] DEBUG : Read 1 value from holding table at 136
[2024-09-24 20:33:57] DEBUG : Read 1 value from holding table at 137
[2024-09-24 20:33:57] DEBUG : Read 1 value from holding table at 138
[2024-09-24 20:33:57] DEBUG : Read 1 value from holding table at 139
[2024-09-24 20:33:57] DEBUG : Read 1 value from holding table at 140
[2024-09-24 20:33:57] DEBUG : Read 1 value from holding table at 141
[2024-09-24 20:33:57] DEBUG : Read 1 value from holding table at 142
[2024-09-24 20:33:58] DEBUG : Read 1 value from holding table at 143
[2024-09-24 20:33:58] DEBUG : Read 1 value from holding table at 144
[2024-09-24 20:33:58] DEBUG : Read 1 value from holding table at 145
[2024-09-24 20:33:58] DEBUG : Read 1 value from holding table at 146
[2024-09-24 20:33:58] DEBUG : Read 1 value from holding table at 147
[2024-09-24 20:33:58] DEBUG : Read 1 value from holding table at 148
[2024-09-24 20:33:58] DEBUG : Read 1 value from holding table at 149
[2024-09-24 20:33:58] DEBUG : Read 1 value from holding table at 150
[2024-09-24 20:33:58] DEBUG : Read 1 value from holding table at 151
[2024-09-24 20:33:58] DEBUG : Read 1 value from holding table at 152
[2024-09-24 20:33:58] DEBUG : Read 1 value from holding table at 153
[2024-09-24 20:33:58] DEBUG : Read 1 value from holding table at 154
[2024-09-24 20:33:58] DEBUG : Read 1 value from holding table at 155
[2024-09-24 20:33:59] DEBUG : Read 1 value from holding table at 156
[2024-09-24 20:33:59] DEBUG : Read 1 value from holding table at 157
[2024-09-24 20:33:59] DEBUG : Read 1 value from holding table at 158
[2024-09-24 20:33:59] DEBUG : Read 1 value from holding table at 159
[2024-09-24 20:33:59] DEBUG : Publish 0 to modbus2mqtt/carte_entrees/entree_1
[2024-09-24 20:33:59] DEBUG : Publish 0 to modbus2mqtt/carte_entrees/entree_2
[2024-09-24 20:33:59] DEBUG : Publish 0 to modbus2mqtt/carte_entrees/entree_3
[2024-09-24 20:33:59] DEBUG : Publish 0 to modbus2mqtt/carte_entrees/entree_4
[2024-09-24 20:33:59] DEBUG : Publish 0 to modbus2mqtt/carte_entrees/entree_5
[2024-09-24 20:33:59] DEBUG : Publish 0 to modbus2mqtt/carte_entrees/entree_6
[2024-09-24 20:33:59] DEBUG : Publish 0 to modbus2mqtt/carte_entrees/entree_7
[2024-09-24 20:33:59] DEBUG : Publish 0 to modbus2mqtt/carte_entrees/entree_8
[2024-09-24 20:33:59] DEBUG : Publish 0 to modbus2mqtt/carte_entrees/entree_9
[2024-09-24 20:33:59] DEBUG : Publish 0 to modbus2mqtt/carte_entrees/entree_10
[2024-09-24 20:33:59] DEBUG : Publish 0 to modbus2mqtt/carte_entrees/entree_11
[2024-09-24 20:33:59] DEBUG : Publish 0 to modbus2mqtt/carte_entrees/entree_12
[2024-09-24 20:33:59] DEBUG : Publish 0 to modbus2mqtt/carte_entrees/entree_13
[2024-09-24 20:33:59] DEBUG : Publish 0 to modbus2mqtt/carte_entrees/entree_14
[2024-09-24 20:33:59] DEBUG : Publish 0 to modbus2mqtt/carte_entrees/entree_15
[2024-09-24 20:33:59] DEBUG : Publish 0 to modbus2mqtt/carte_entrees/entree_16
[2024-09-24 20:33:59] DEBUG : Publish 1 to modbus2mqtt/carte_entrees/entree_17
[2024-09-24 20:33:59] DEBUG : Publish 1 to modbus2mqtt/carte_entrees/entree_18
[2024-09-24 20:33:59] DEBUG : Publish 0 to modbus2mqtt/carte_entrees/entree_19
[2024-09-24 20:33:59] DEBUG : Publish 0 to modbus2mqtt/carte_entrees/entree_20
[2024-09-24 20:33:59] DEBUG : Publish 0 to modbus2mqtt/carte_entrees/entree_21
[2024-09-24 20:33:59] DEBUG : Publish 0 to modbus2mqtt/carte_entrees/entree_22
[2024-09-24 20:33:59] DEBUG : Publish 0 to modbus2mqtt/carte_entrees/entree_23
[2024-09-24 20:33:59] DEBUG : Publish 0 to modbus2mqtt/carte_entrees/entree_24
[2024-09-24 20:33:59] DEBUG : Publish 1 to modbus2mqtt/carte_entrees/entree_25
[2024-09-24 20:33:59] DEBUG : Publish 1 to modbus2mqtt/carte_entrees/entree_26
[2024-09-24 20:33:59] DEBUG : Publish 1 to modbus2mqtt/carte_entrees/entree_27
[2024-09-24 20:33:59] DEBUG : Publish 1 to modbus2mqtt/carte_entrees/entree_28
[2024-09-24 20:33:59] DEBUG : Publish 1 to modbus2mqtt/carte_entrees/entree_29
[2024-09-24 20:33:59] DEBUG : Publish 1 to modbus2mqtt/carte_entrees/entree_30
[2024-09-24 20:33:59] DEBUG : Publish 1 to modbus2mqtt/carte_entrees/entree_31
[2024-09-24 20:33:59] DEBUG : Publish 1 to modbus2mqtt/carte_entrees/entree_32
[2024-09-24 20:33:59] DEBUG : Read 1 value from holding table at 1
[2024-09-24 20:33:59] DEBUG : Read 1 value from holding table at 2
[2024-09-24 20:33:59] DEBUG : Read 1 value from holding table at 3
[2024-09-24 20:33:59] DEBUG : Read 1 value from holding table at 4
[2024-09-24 20:33:59] DEBUG : Read 1 value from holding table at 5
[2024-09-24 20:34:00] DEBUG : Read 1 value from holding table at 6
[2024-09-24 20:34:00] DEBUG : Read 1 value from holding table at 7
[2024-09-24 20:34:00] DEBUG : Read 1 value from holding table at 8
[2024-09-24 20:34:00] DEBUG : Read 1 value from holding table at 9
[2024-09-24 20:34:00] DEBUG : Read 1 value from holding table at 10
[2024-09-24 20:34:00] DEBUG : Read 1 value from holding table at 11
[2024-09-24 20:34:00] DEBUG : Read 1 value from holding table at 12
[2024-09-24 20:34:01] DEBUG : Read 1 value from holding table at 13
[2024-09-24 20:34:01] DEBUG : Read 1 value from holding table at 14
[2024-09-24 20:34:01] DEBUG : Read 1 value from holding table at 15
[2024-09-24 20:34:01] DEBUG : Read 1 value from holding table at 16
[2024-09-24 20:34:01] DEBUG : Publish 0 to modbus2mqtt/carte_sorties/relais_01
[2024-09-24 20:34:01] DEBUG : Publish 0 to modbus2mqtt/carte_sorties/relais_02
[2024-09-24 20:34:01] DEBUG : Publish 0 to modbus2mqtt/carte_sorties/relais_03
[2024-09-24 20:34:01] DEBUG : Publish 0 to modbus2mqtt/carte_sorties/relais_04
[2024-09-24 20:34:01] DEBUG : Publish 0 to modbus2mqtt/carte_sorties/relais_05
[2024-09-24 20:34:01] DEBUG : Publish 0 to modbus2mqtt/carte_sorties/relais_06
[2024-09-24 20:34:01] DEBUG : Publish 0 to modbus2mqtt/carte_sorties/relais_07
[2024-09-24 20:34:01] DEBUG : Publish 0 to modbus2mqtt/carte_sorties/relais_08
[2024-09-24 20:34:01] DEBUG : Publish 0 to modbus2mqtt/carte_sorties/relais_09
[2024-09-24 20:34:01] DEBUG : Publish 0 to modbus2mqtt/carte_sorties/relais_10
[2024-09-24 20:34:01] DEBUG : Publish 0 to modbus2mqtt/carte_sorties/relais_11
[2024-09-24 20:34:01] DEBUG : Publish 0 to modbus2mqtt/carte_sorties/relais_12
[2024-09-24 20:34:01] DEBUG : Publish 256 to modbus2mqtt/carte_sorties/relais_13
[2024-09-24 20:34:01] DEBUG : Publish 0 to modbus2mqtt/carte_sorties/relais_14
[2024-09-24 20:34:01] DEBUG : Publish 0 to modbus2mqtt/carte_sorties/relais_15
[2024-09-24 20:34:01] DEBUG : Publish 0 to modbus2mqtt/carte_sorties/relais_16
[2024-09-24 20:34:01] DEBUG : Read 1 value from holding table at 32
[2024-09-24 20:34:01] DEBUG : Read 1 value from holding table at 33
[2024-09-24 20:34:01] DEBUG : Read 1 value from holding table at 34
[2024-09-24 20:34:01] DEBUG : Read 1 value from holding table at 35
[2024-09-24 20:34:01]WARNING : Couldn't get value from register 32 in table holding
[2024-09-24 20:34:01]WARNING : Couldn't get value from register 34 in table holding
[2024-09-24 20:34:04] DEBUG : Read 1 value from holding table at 128
[2024-09-24 20:34:04] DEBUG : Read 1 value from holding table at 129
[2024-09-24 20:34:04] DEBUG : Read 1 value from holding table at 130
[2024-09-24 20:34:04] DEBUG : Read 1 value from holding table at 131
[2024-09-24 20:34:04] DEBUG : Read 1 value from holding table at 132
[2024-09-24 20:34:04] DEBUG : Read 1 value from holding table at 133
[2024-09-24 20:34:04] DEBUG : Read 1 value from holding table at 134
[2024-09-24 20:34:04] DEBUG : Read 1 value from holding table at 135
[2024-09-24 20:34:05] DEBUG : Read 1 value from holding table at 136
[2024-09-24 20:34:05] DEBUG : Read 1 value from holding table at 137
[2024-09-24 20:34:05] DEBUG : Read 1 value from holding table at 138
[2024-09-24 20:34:05] DEBUG : Read 1 value from holding table at 139
[2024-09-24 20:34:05] DEBUG : Read 1 value from holding table at 140
[2024-09-24 20:34:05] DEBUG : Read 1 value from holding table at 141
[2024-09-24 20:34:05] DEBUG : Read 1 value from holding table at 142
[2024-09-24 20:34:05] DEBUG : Read 1 value from holding table at 143