De Dietrich/Diematic (Modbus) to MQTT Interface

Hi champ2410

I tried to install the add-on according to your instructions but I encountered a problem.
My system is .:

  • Core.: 2024.9.3
  • Supervisor.: 2024.10.0
  • Operating System.: 13.1
  • User interface.: 20240909.1

When I try to install I get this message.:

2024-10-11 21:51:09.406 WARNING (SyncWorker_0) [supervisor.addons.validate] Add-on config ‘startup’ with ‘before’ is deprecated. Please report this to the maintainer of Diematic 3

When I change “startup: before” to “startup: application” or “startup: services” I get this message.:

2024-10-11 22:05:02.843 ERROR (MainThread) [supervisor.docker.addon] Invalid build environment, can’t build this add-on!

Have you encountered this problem before?

Hello Pawel,

I start to have a idea of the problem (Diematic 4 interface is always in slave mode), but with it, it should never work, even partially. Can you provide logs of first 2 minutes after launching ?

Regards,
Benoit

Hi Benoit,
Thanks for looking into it. Few minutes logs contains milion of records! :slight_smile:
I tired to take out the most important part. Hope this helps you in the analysis.

If you have any idea how to debug the MODBUS please let me know. I can provide additional information.

2024-10-12 08:25:47,215 - __main__ - CRITICAL - Modbus interface address: 192.168.1.153 : 20108
2024-10-12 08:25:47,216 - __main__ - CRITICAL - Modbus regulator address: 0xa
2024-10-12 08:25:47,216 - __main__ - CRITICAL - Broker: 192.168.1.199 : 1883
2024-10-12 08:25:47,217 - __main__ - CRITICAL - Topic Root: home/heater/boiler
2024-10-12 08:25:47,217 - __main__ - CRITICAL - Hassio Discovery Enable: True
2024-10-12 08:25:47,217 - __main__ - CRITICAL - Hassio Discovery Prefix: homeassistant
2024-10-12 08:25:47,217 - __main__ - CRITICAL - Regulator type is Diematic3
2024-10-12 08:25:47,280 - Diematic - INFO - Using tzinfo ('CET') for Boiler time sync
2024-10-12 08:25:47,282 - Diematic - WARNING - Init Link with Regulator
2024-10-12 08:25:47,383 - __main__ - DEBUG - Paho MQTT version 2.XX or more detected, using callback API version1
2024-10-12 08:25:47,398 - __main__ - CRITICAL - Connected to MQTT broker
2024-10-12 08:25:47,399 - __main__ - INFO - Publish :home/heater/boiler/status Offline
2024-10-12 08:25:47,447 - __main__ - INFO - Sending HA discovery messages
2024-10-12 08:26:27,445 - Diematic - WARNING - Synchro timeout
2024-10-12 08:26:27,447 - __main__ - INFO - Publish :home/heater/boiler/date 
2024-10-12 08:26:27,448 - __main__ - INFO - Publish :home/heater/boiler/lastTimeSync 
2024-10-12 08:26:27,449 - __main__ - INFO - Publish :home/heater/boiler/type 
2024-10-12 08:26:27,450 - __main__ - INFO - Publish :home/heater/boiler/ctrl 
2024-10-12 08:26:27,452 - __main__ - INFO - Publish :home/heater/boiler/ext/temp 
2024-10-12 08:26:27,455 - __main__ - INFO - Publish :home/heater/boiler/temp 
2024-10-12 08:26:27,456 - __main__ - INFO - Publish :home/heater/boiler/targetTemp 
2024-10-12 08:26:27,458 - __main__ - INFO - Publish :home/heater/boiler/returnTemp 
2024-10-12 08:26:27,460 - __main__ - INFO - Publish :home/heater/boiler/waterPressure 
2024-10-12 08:26:27,462 - __main__ - INFO - Publish :home/heater/boiler/power 
2024-10-12 08:26:27,464 - __main__ - INFO - Publish :home/heater/boiler/smokeTemp 
2024-10-12 08:26:27,466 - __main__ - INFO - Publish :home/heater/boiler/ionizationCurrent 
2024-10-12 08:26:27,468 - __main__ - INFO - Publish :home/heater/boiler/fanSpeed 
2024-10-12 08:26:27,470 - __main__ - INFO - Publish :home/heater/boiler/burnerStatus 
2024-10-12 08:26:27,471 - __main__ - INFO - Publish :home/heater/boiler/pumpPower 
2024-10-12 08:26:27,473 - __main__ - INFO - Publish :home/heater/boiler/alarm 
2024-10-12 08:26:27,475 - __main__ - INFO - Publish :home/heater/boiler/hotWater/pump 
2024-10-12 08:26:27,477 - __main__ - INFO - Publish :home/heater/boiler/hotWater/temp 
2024-10-12 08:26:27,480 - __main__ - INFO - Publish :home/heater/boiler/hotWater/mode 
2024-10-12 08:26:27,481 - __main__ - INFO - Publish :home/heater/boiler/hotWater/dayTemp 
2024-10-12 08:26:27,482 - __main__ - INFO - Publish :home/heater/boiler/hotWater/nightTemp 
2024-10-12 08:26:27,484 - __main__ - INFO - Publish :home/heater/boiler/zoneA/temp 
2024-10-12 08:26:27,484 - __main__ - INFO - Publish :home/heater/boiler/zoneA/mode 
2024-10-12 08:26:27,485 - __main__ - INFO - Publish :home/heater/boiler/zoneA/pump 
2024-10-12 08:26:27,487 - __main__ - INFO - Publish :home/heater/boiler/zoneA/dayTemp 
2024-10-12 08:26:27,489 - __main__ - INFO - Publish :home/heater/boiler/zoneA/nightTemp 
2024-10-12 08:26:27,490 - __main__ - INFO - Publish :home/heater/boiler/zoneA/antiiceTemp 
2024-10-12 08:26:27,491 - __main__ - INFO - Publish :home/heater/boiler/zoneB/temp 
2024-10-12 08:26:27,492 - __main__ - INFO - Publish :home/heater/boiler/zoneB/mode 
2024-10-12 08:26:27,494 - __main__ - INFO - Publish :home/heater/boiler/zoneB/pump 
2024-10-12 08:26:27,496 - __main__ - INFO - Publish :home/heater/boiler/zoneB/dayTemp 
2024-10-12 08:26:27,497 - __main__ - INFO - Publish :home/heater/boiler/zoneB/nightTemp 
2024-10-12 08:26:27,498 - __main__ - INFO - Publish :home/heater/boiler/zoneB/antiiceTemp 
2024-10-12 08:26:27,507 - Diematic - WARNING - Init Link with Regulator
2024-10-12 08:26:27,508 - DDModbus - DEBUG - Frame received: 
2024-10-12 08:26:27,509 - DDModbus - WARNING - Received Frame Length Error
2024-10-12 08:26:27,509 - Diematic - DEBUG - Bus status switched to SLAVE
2024-10-12 08:26:27,510 - DDModbus - DEBUG - Frame received: 
2024-10-12 08:26:27,511 - DDModbus - WARNING - Received Frame Length Error
2024-10-12 08:26:27,511 - DDModbus - DEBUG - Frame received: 
2024-10-12 08:26:27,511 - DDModbus - WARNING - Received Frame Length Error
2024-10-12 08:26:27,512 - DDModbus - DEBUG - Frame received: 
2024-10-12 08:26:27,512 - DDModbus - WARNING - Received Frame Length Error
....this continue until....
2024-10-12 08:27:07,508 - DDModbus - WARNING - Received Frame Length Error
2024-10-12 08:27:07,508 - DDModbus - DEBUG - Frame received: 
2024-10-12 08:27:07,508 - DDModbus - WARNING - Received Frame Length Error
2024-10-12 08:27:07,508 - Diematic - WARNING - Synchro timeout
2024-10-12 08:27:07,510 - Diematic - WARNING - Init Link with Regulator
2024-10-12 08:27:08,111 - Diematic - DEBUG - Bus status switched to MASTER after 40.60195469856262
2024-10-12 08:27:08,112 - Diematic - INFO - ModBus Master Slave Synchro OK
2024-10-12 08:27:08,112 - DDModbus - DEBUG - Send read request: 0a030001003f556100
2024-10-12 08:27:08,304 - DDModbus - DEBUG - Answer received: 0a037e000000000030000a001a0006005300be8046000100030000000000af00aa003c0008ffff0003000f0000000000d200b9003c000800ef00070016006401c20000ffff000000c800b4003c000800e200070016006401c20000ffff0000000000000000000000000000000000000000000000000000022600000002021d00008bed000000
2024-10-12 08:27:08,305 - DDModbus - DEBUG - Answer valid 
2024-10-12 08:27:08,305 - DDModbus - DEBUG - Send read request: 0a0300400040449500
2024-10-12 08:27:08,525 - DDModbus - DEBUG - Answer received: 0a03800001000000000000000000000000000000000000006402528ccc2807091100000000000000000000000000000000000000000001000000000000000000000000006400000000000000000000004800000000000000000000000c000a0018000000008ccc000000000000025200000000000203200000000000000000000f03e0fd0c000000
2024-10-12 08:27:08,526 - DDModbus - DEBUG - Answer valid 
2024-10-12 08:27:08,526 - DDModbus - DEBUG - Send read request: 0a0301800040455500
2024-10-12 08:27:08,738 - DDModbus - DEBUG - Answer received: 0a038000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000280001000000000000000000000000000000000064000e007800060002000000000000000009112807000038e9000000
2024-10-12 08:27:08,739 - DDModbus - DEBUG - Answer valid 
2024-10-12 08:27:08,739 - DDModbus - DEBUG - Send read request: 0a0301c00017057f00
2024-10-12 08:27:08,848 - DDModbus - DEBUG - Answer received: 0a032e0000000000000000025202398ccc0000000e00180000021d00000000006400000000ffff0000800180010000800139a7000000
2024-10-12 08:27:08,849 - DDModbus - DEBUG - Answer valid 
2024-10-12 08:27:08,850 - __main__ - INFO - Publish :home/heater/boiler/status Online
2024-10-12 08:27:08,850 - __main__ - INFO - Publish :home/heater/boiler/date 2024-10-12T10:26:00+02:00
2024-10-12 08:27:08,851 - __main__ - INFO - Publish :home/heater/boiler/type 24
2024-10-12 08:27:08,851 - __main__ - INFO - Publish :home/heater/boiler/ctrl 48
2024-10-12 08:27:08,852 - __main__ - INFO - Publish :home/heater/boiler/ext/temp 8.3
2024-10-12 08:27:08,852 - __main__ - INFO - Publish :home/heater/boiler/temp 59.4
2024-10-12 08:27:08,852 - __main__ - INFO - Publish :home/heater/boiler/targetTemp 0.0
2024-10-12 08:27:08,853 - __main__ - INFO - Publish :home/heater/boiler/returnTemp 56.9
2024-10-12 08:27:08,853 - __main__ - INFO - Publish :home/heater/boiler/waterPressure 1.4
2024-10-12 08:27:08,854 - __main__ - INFO - Publish :home/heater/boiler/power 0
2024-10-12 08:27:08,855 - __main__ - INFO - Publish :home/heater/boiler/smokeTemp -327.6
2024-10-12 08:27:08,855 - __main__ - INFO - Publish :home/heater/boiler/ionizationCurrent 0.0
2024-10-12 08:27:08,856 - __main__ - INFO - Publish :home/heater/boiler/fanSpeed 0
2024-10-12 08:27:08,856 - __main__ - INFO - Publish :home/heater/boiler/burnerStatus 0
2024-10-12 08:27:08,857 - __main__ - INFO - Publish :home/heater/boiler/alarm {"id": 65535, "txt": "D\u00e9faut inconnu"}
2024-10-12 08:27:08,857 - __main__ - INFO - Publish :home/heater/boiler/hotWater/pump 0
2024-10-12 08:27:08,857 - __main__ - INFO - Publish :home/heater/boiler/hotWater/temp 54.1
2024-10-12 08:27:08,858 - __main__ - INFO - Publish :home/heater/boiler/hotWater/mode AUTO
2024-10-12 08:27:08,859 - __main__ - INFO - Publish :home/heater/boiler/hotWater/dayTemp 55.0
2024-10-12 08:27:08,859 - __main__ - INFO - Publish :home/heater/boiler/hotWater/nightTemp 10.0
2024-10-12 08:27:08,859 - __main__ - INFO - Publish :home/heater/boiler/zoneB/temp 23.9
2024-10-12 08:27:08,860 - __main__ - INFO - Publish :home/heater/boiler/zoneB/mode AUTO
2024-10-12 08:27:08,860 - __main__ - INFO - Publish :home/heater/boiler/zoneB/pump 0
2024-10-12 08:27:08,860 - __main__ - INFO - Publish :home/heater/boiler/zoneB/dayTemp 21.0
2024-10-12 08:27:08,860 - __main__ - INFO - Publish :home/heater/boiler/zoneB/nightTemp 18.5
2024-10-12 08:27:08,860 - __main__ - INFO - Publish :home/heater/boiler/zoneB/antiiceTemp 6.0
2024-10-12 08:27:08,861 - Diematic - DEBUG - Now :2024-10-12 08:27:08.860927+00:00
2024-10-12 08:27:08,861 - Diematic - DEBUG - Boiler :2024-10-12 10:26:00+02:00
2024-10-12 08:27:08,861 - Diematic - DEBUG - Drift :68.860927
2024-10-12 08:27:08,861 - Diematic - DEBUG - Drift Counter:1
2024-10-12 08:27:48,916 - Diematic - WARNING - Synchro timeout
2024-10-12 08:27:48,917 - __main__ - INFO - Publish :home/heater/boiler/status Offline
2024-10-12 08:27:48,918 - __main__ - INFO - Publish :home/heater/boiler/date 
2024-10-12 08:27:48,919 - __main__ - INFO - Publish :home/heater/boiler/type 
2024-10-12 08:27:48,920 - __main__ - INFO - Publish :home/heater/boiler/ctrl 
2024-10-12 08:27:48,921 - __main__ - INFO - Publish :home/heater/boiler/ext/temp 
2024-10-12 08:27:48,923 - __main__ - INFO - Publish :home/heater/boiler/temp 
2024-10-12 08:27:48,924 - __main__ - INFO - Publish :home/heater/boiler/targetTemp 
2024-10-12 08:27:48,926 - __main__ - INFO - Publish :home/heater/boiler/returnTemp 
2024-10-12 08:27:48,927 - __main__ - INFO - Publish :home/heater/boiler/waterPressure 
2024-10-12 08:27:48,929 - __main__ - INFO - Publish :home/heater/boiler/power 
2024-10-12 08:27:48,931 - __main__ - INFO - Publish :home/heater/boiler/smokeTemp 
2024-10-12 08:27:48,932 - __main__ - INFO - Publish :home/heater/boiler/ionizationCurrent 
2024-10-12 08:27:48,934 - __main__ - INFO - Publish :home/heater/boiler/fanSpeed 
2024-10-12 08:27:48,936 - __main__ - INFO - Publish :home/heater/boiler/burnerStatus 
2024-10-12 08:27:48,938 - __main__ - INFO - Publish :home/heater/boiler/alarm 
2024-10-12 08:27:48,939 - __main__ - INFO - Publish :home/heater/boiler/hotWater/pump 
2024-10-12 08:27:48,941 - __main__ - INFO - Publish :home/heater/boiler/hotWater/temp 
2024-10-12 08:27:48,943 - __main__ - INFO - Publish :home/heater/boiler/hotWater/mode 
2024-10-12 08:27:48,944 - __main__ - INFO - Publish :home/heater/boiler/hotWater/dayTemp 
2024-10-12 08:27:48,946 - __main__ - INFO - Publish :home/heater/boiler/hotWater/nightTemp 
2024-10-12 08:27:48,948 - __main__ - INFO - Publish :home/heater/boiler/zoneB/temp 
2024-10-12 08:27:48,950 - __main__ - INFO - Publish :home/heater/boiler/zoneB/mode 
2024-10-12 08:27:48,952 - __main__ - INFO - Publish :home/heater/boiler/zoneB/pump 
2024-10-12 08:27:48,953 - __main__ - INFO - Publish :home/heater/boiler/zoneB/dayTemp 
2024-10-12 08:27:48,955 - __main__ - INFO - Publish :home/heater/boiler/zoneB/nightTemp 
2024-10-12 08:27:48,956 - __main__ - INFO - Publish :home/heater/boiler/zoneB/antiiceTemp 
2024-10-12 08:27:48,964 - Diematic - WARNING - Init Link with Regulator
2024-10-12 08:27:48,964 - DDModbus - DEBUG - Frame received: 
2024-10-12 08:27:48,965 - DDModbus - WARNING - Received Frame Length Error
2024-10-12 08:27:48,966 - Diematic - DEBUG - Bus status switched to SLAVE
2024-10-12 08:27:48,966 - DDModbus - DEBUG - Frame received: 
2024-10-12 08:27:48,967 - DDModbus - WARNING - Received Frame Length Error
2024-10-12 08:27:48,967 - DDModbus - DEBUG - Frame received: 
2024-10-12 08:27:48,967 - DDModbus - WARNING - Received Frame Length Error
2024-10-12 08:27:48,968 - DDModbus - DEBUG - Frame received: 
2024-10-12 08:27:48,968 - DDModbus - WARNING - Received Frame Length Error
2024-10-12 08:27:48,969 - DDModbus - DEBUG - Frame received: 
2024-10-12 08:27:48,969 - DDModbus - WARNING - Received Frame Length Error
2024-10-12 08:27:48,969 - DDModbus - DEBUG - Frame received: 
2024-10-12 08:27:48,970 - DDModbus - WARNING - Received Frame Length Error
2024-10-12 08:27:48,970 - DDModbus - DEBUG - Frame received: 
....this continue until.....
2024-10-12 08:28:28,964 - DDModbus - WARNING - Received Frame Length Error
2024-10-12 08:28:28,964 - DDModbus - DEBUG - Frame received: 
2024-10-12 08:28:28,964 - DDModbus - WARNING - Received Frame Length Error
2024-10-12 08:28:28,964 - DDModbus - DEBUG - Frame received: 
2024-10-12 08:28:28,964 - DDModbus - WARNING - Received Frame Length Error
2024-10-12 08:28:28,965 - Diematic - WARNING - Synchro timeout
2024-10-12 08:28:28,966 - Diematic - WARNING - Init Link with Regulator
2024-10-12 08:28:29,567 - Diematic - DEBUG - Bus status switched to MASTER after 40.601542949676514
2024-10-12 08:28:29,568 - DDModbus - DEBUG - Send read request: 0a030001003f556100
2024-10-12 08:28:29,768 - DDModbus - DEBUG - Answer received: 0a037e000000000030000a001b0006005300be8046000100030000000000af00aa003c0008ffff0003000f0000000000d200b9003c000800ef00070016006401c20000ffff000000c800b4003c000800e200070016006401c20000ffff0000000000000000000000000000000000000000000000000000022600000002021c0000196e000000
2024-10-12 08:28:29,769 - DDModbus - DEBUG - Answer valid 
2024-10-12 08:28:29,769 - DDModbus - DEBUG - Send read request: 0a0300400040449500
2024-10-12 08:28:29,981 - DDModbus - DEBUG - Answer received: 0a038000010000000000000000000000000000000000000064024d8ccc2807091100000000000000000000000000000000000000000001000000000000000000000000006400000000000000000000004800000000000000000000000c000a0018000000008ccc000000000000024d00000000000203200000000000000000000f03e00824000000
2024-10-12 08:28:29,982 - DDModbus - DEBUG - Answer valid 
2024-10-12 08:28:29,982 - DDModbus - DEBUG - Send read request: 0a0301800040455500
2024-10-12 08:28:30,199 - DDModbus - DEBUG - Answer received: 0a038000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000280001000000000000000000000000000000000064000e007800060002000000000000000009112807000038e9000000
2024-10-12 08:28:30,200 - DDModbus - DEBUG - Answer valid 
2024-10-12 08:28:30,200 - DDModbus - DEBUG - Send read request: 0a0301c00017057f00
2024-10-12 08:28:30,314 - DDModbus - DEBUG - Answer received: 0a032e0000000000000000024d02378ccc0000000e00180000021d00000000006400000000ffff00008001800100008001dd57000000
2024-10-12 08:28:30,315 - DDModbus - DEBUG - Answer valid 
2024-10-12 08:28:30,316 - __main__ - INFO - Publish :home/heater/boiler/status Online
2024-10-12 08:28:30,317 - __main__ - INFO - Publish :home/heater/boiler/date 2024-10-12T10:27:00+02:00
2024-10-12 08:28:30,317 - __main__ - INFO - Publish :home/heater/boiler/type 24
2024-10-12 08:28:30,318 - __main__ - INFO - Publish :home/heater/boiler/ctrl 48
2024-10-12 08:28:30,319 - __main__ - INFO - Publish :home/heater/boiler/ext/temp 8.3
2024-10-12 08:28:30,320 - __main__ - INFO - Publish :home/heater/boiler/temp 58.9
2024-10-12 08:28:30,320 - __main__ - INFO - Publish :home/heater/boiler/targetTemp 0.0
2024-10-12 08:28:30,321 - __main__ - INFO - Publish :home/heater/boiler/returnTemp 56.7
2024-10-12 08:28:30,322 - __main__ - INFO - Publish :home/heater/boiler/waterPressure 1.4
2024-10-12 08:28:30,323 - __main__ - INFO - Publish :home/heater/boiler/power 0
2024-10-12 08:28:30,324 - __main__ - INFO - Publish :home/heater/boiler/smokeTemp -327.6
2024-10-12 08:28:30,325 - __main__ - INFO - Publish :home/heater/boiler/ionizationCurrent 0.0
2024-10-12 08:28:30,326 - __main__ - INFO - Publish :home/heater/boiler/fanSpeed 0
2024-10-12 08:28:30,327 - __main__ - INFO - Publish :home/heater/boiler/burnerStatus 0
2024-10-12 08:28:30,328 - __main__ - INFO - Publish :home/heater/boiler/alarm {"id": 65535, "txt": "D\u00e9faut inconnu"}
2024-10-12 08:28:30,329 - __main__ - INFO - Publish :home/heater/boiler/hotWater/pump 0
2024-10-12 08:28:30,330 - __main__ - INFO - Publish :home/heater/boiler/hotWater/temp 54.0
2024-10-12 08:28:30,331 - __main__ - INFO - Publish :home/heater/boiler/hotWater/mode AUTO
2024-10-12 08:28:30,331 - __main__ - INFO - Publish :home/heater/boiler/hotWater/dayTemp 55.0
2024-10-12 08:28:30,332 - __main__ - INFO - Publish :home/heater/boiler/hotWater/nightTemp 10.0
2024-10-12 08:28:30,332 - __main__ - INFO - Publish :home/heater/boiler/zoneB/temp 23.9
2024-10-12 08:28:30,333 - __main__ - INFO - Publish :home/heater/boiler/zoneB/mode AUTO
2024-10-12 08:28:30,333 - __main__ - INFO - Publish :home/heater/boiler/zoneB/pump 0
2024-10-12 08:28:30,334 - __main__ - INFO - Publish :home/heater/boiler/zoneB/dayTemp 21.0
2024-10-12 08:28:30,334 - __main__ - INFO - Publish :home/heater/boiler/zoneB/nightTemp 18.5
2024-10-12 08:28:30,334 - __main__ - INFO - Publish :home/heater/boiler/zoneB/antiiceTemp 6.0
2024-10-12 08:28:30,335 - Diematic - DEBUG - Now :2024-10-12 08:28:30.334968+00:00
2024-10-12 08:28:30,335 - Diematic - DEBUG - Boiler :2024-10-12 10:27:00+02:00
2024-10-12 08:28:30,335 - Diematic - DEBUG - Drift :90.334968
2024-10-12 08:28:30,335 - Diematic - DEBUG - Drift Counter:2
2024-10-12 08:29:10,391 - Diematic - WARNING - Synchro timeout
2024-10-12 08:29:10,393 - __main__ - INFO - Publish :home/heater/boiler/status Offline
2024-10-12 08:29:10,394 - __main__ - INFO - Publish :home/heater/boiler/date 
2024-10-12 08:29:10,395 - __main__ - INFO - Publish :home/heater/boiler/type 
2024-10-12 08:29:10,396 - __main__ - INFO - Publish :home/heater/boiler/ctrl 
2024-10-12 08:29:10,398 - __main__ - INFO - Publish :home/heater/boiler/ext/temp 
2024-10-12 08:29:10,400 - __main__ - INFO - Publish :home/heater/boiler/temp 
2024-10-12 08:29:10,403 - __main__ - INFO - Publish :home/heater/boiler/targetTemp 
2024-10-12 08:29:10,404 - __main__ - INFO - Publish :home/heater/boiler/returnTemp 
2024-10-12 08:29:10,406 - __main__ - INFO - Publish :home/heater/boiler/waterPressure 
2024-10-12 08:29:10,408 - __main__ - INFO - Publish :home/heater/boiler/power 
2024-10-12 08:29:10,410 - __main__ - INFO - Publish :home/heater/boiler/smokeTemp 
2024-10-12 08:29:10,413 - __main__ - INFO - Publish :home/heater/boiler/ionizationCurrent 
2024-10-12 08:29:10,415 - __main__ - INFO - Publish :home/heater/boiler/fanSpeed 
2024-10-12 08:29:10,417 - __main__ - INFO - Publish :home/heater/boiler/burnerStatus 
2024-10-12 08:29:10,419 - __main__ - INFO - Publish :home/heater/boiler/alarm 
2024-10-12 08:29:10,421 - __main__ - INFO - Publish :home/heater/boiler/hotWater/pump 
2024-10-12 08:29:10,423 - __main__ - INFO - Publish :home/heater/boiler/hotWater/temp 
2024-10-12 08:29:10,424 - __main__ - INFO - Publish :home/heater/boiler/hotWater/mode 
2024-10-12 08:29:10,426 - __main__ - INFO - Publish :home/heater/boiler/hotWater/dayTemp 
2024-10-12 08:29:10,428 - __main__ - INFO - Publish :home/heater/boiler/hotWater/nightTemp 
2024-10-12 08:29:10,429 - __main__ - INFO - Publish :home/heater/boiler/zoneB/temp 
2024-10-12 08:29:10,431 - __main__ - INFO - Publish :home/heater/boiler/zoneB/mode 
2024-10-12 08:29:10,433 - __main__ - INFO - Publish :home/heater/boiler/zoneB/pump 
2024-10-12 08:29:10,434 - __main__ - INFO - Publish :home/heater/boiler/zoneB/dayTemp 
2024-10-12 08:29:10,435 - __main__ - INFO - Publish :home/heater/boiler/zoneB/nightTemp 
2024-10-12 08:29:10,436 - __main__ - INFO - Publish :home/heater/boiler/zoneB/antiiceTemp 
2024-10-12 08:29:10,439 - Diematic - WARNING - Init Link with Regulator
2024-10-12 08:29:10,440 - DDModbus - DEBUG - Frame received: 
2024-10-12 08:29:10,440 - DDModbus - WARNING - Received Frame Length Error
2024-10-12 08:29:10,441 - Diematic - DEBUG - Bus status switched to SLAVE
2024-10-12 08:29:10,441 - DDModbus - DEBUG - Frame received: 
2024-10-12 08:29:10,442 - DDModbus - WARNING - Received Frame Length Error
2024-10-12 08:29:10,442 - DDModbus - DEBUG - Frame received: 
2024-10-12 08:29:10,443 - DDModbus - WARNING - Received Frame Length Error
2024-10-12 08:29:10,443 - DDModbus - DEBUG - Frame received: 
2024-10-12 08:29:10,443 - DDModbus - WARNING - Received Frame Length Error
...this continue until....
2024-10-12 08:29:43,459 - DDModbus - WARNING - Received Frame Length Error
2024-10-12 08:29:43,459 - DDModbus - DEBUG - Frame received: 
2024-10-12 08:29:43,459 - DDModbus - WARNING - Received Frame Length Error
2024-10-12 08:29:50,257 - DDModbus - DEBUG - Frame received: 
2024-10-12 08:29:50,257 - DDModbus - WARNING - Received Frame Length Error
2024-10-12 08:29:50,257 - DDModbus - DEBUG - Frame received: 
2024-10-12 08:29:50,258 - DDModbus - WARNING - Received Frame Length Error
...this continue until....
2024-10-12 08:29:50,439 - DDModbus - DEBUG - Frame received: 
2024-10-12 08:29:50,439 - DDModbus - WARNING - Received Frame Length Error
2024-10-12 08:29:50,439 - DDModbus - DEBUG - Frame received: 
2024-10-12 08:29:50,439 - DDModbus - WARNING - Received Frame Length Error
2024-10-12 08:29:50,440 - Diematic - WARNING - Synchro timeout
2024-10-12 08:29:50,441 - Diematic - WARNING - Init Link with Regulator
2024-10-12 08:29:51,042 - Diematic - DEBUG - Bus status switched to MASTER after 40.6016206741333
2024-10-12 08:29:51,043 - DDModbus - DEBUG - Send read request: 0a030001003f556100
2024-10-12 08:29:51,245 - DDModbus - DEBUG - Answer received: 0a037e000000000030000a001d0006005400be8046000100030000000000af00aa003c0008ffff0003000f0000000000d200b9003c000800ef00070016006401c20000ffff000000c800b4003c000800e200070016006401c20000ffff0000000000000000000000000000000000000000000000000000022600000002021c0000e257000000
2024-10-12 08:29:51,247 - DDModbus - DEBUG - Answer valid 
2024-10-12 08:29:51,248 - DDModbus - DEBUG - Send read request: 0a0300400040449500
2024-10-12 08:29:51,469 - DDModbus - DEBUG - Answer received: 0a038000010000000000000000000000000000000000000064024a8ccc2807091100000000000000000000000000000000000000000001000000000000000000000000006400000000000000000000004800000000000000000000000c000a0018000000008ccc000000000000024a00000000000203200000000000000000000f03e049a3000000
2024-10-12 08:29:51,472 - DDModbus - DEBUG - Answer valid 
2024-10-12 08:29:51,473 - DDModbus - DEBUG - Send read request: 0a0301800040455500
2024-10-12 08:29:51,677 - DDModbus - DEBUG - Answer received: 0a038000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000280001000000000000000000000000000000000064000e007800060002000000000000000009112807000038e9000000
2024-10-12 08:29:51,679 - DDModbus - DEBUG - Answer valid 
2024-10-12 08:29:51,680 - DDModbus - DEBUG - Send read request: 0a0301c00017057f00
2024-10-12 08:29:51,798 - DDModbus - DEBUG - Answer received: 0a032e0000000000000000024a02358ccc0000000e00180000021c00000000006400000000ffff000080018001000080011a3b000000
2024-10-12 08:29:51,799 - DDModbus - DEBUG - Answer valid 
2024-10-12 08:29:51,801 - __main__ - INFO - Publish :home/heater/boiler/status Online
2024-10-12 08:29:51,802 - __main__ - INFO - Publish :home/heater/boiler/date 2024-10-12T10:29:00+02:00
2024-10-12 08:29:51,803 - __main__ - INFO - Publish :home/heater/boiler/type 24
2024-10-12 08:29:51,805 - __main__ - INFO - Publish :home/heater/boiler/ctrl 48
2024-10-12 08:29:51,806 - __main__ - INFO - Publish :home/heater/boiler/ext/temp 8.4
2024-10-12 08:29:51,807 - __main__ - INFO - Publish :home/heater/boiler/temp 58.6
2024-10-12 08:29:51,808 - __main__ - INFO - Publish :home/heater/boiler/targetTemp 0.0
2024-10-12 08:29:51,809 - __main__ - INFO - Publish :home/heater/boiler/returnTemp 56.5
2024-10-12 08:29:51,810 - __main__ - INFO - Publish :home/heater/boiler/waterPressure 1.4
2024-10-12 08:29:51,811 - __main__ - INFO - Publish :home/heater/boiler/power 0
2024-10-12 08:29:51,812 - __main__ - INFO - Publish :home/heater/boiler/smokeTemp -327.6
2024-10-12 08:29:51,813 - __main__ - INFO - Publish :home/heater/boiler/ionizationCurrent 0.0
2024-10-12 08:29:51,814 - __main__ - INFO - Publish :home/heater/boiler/fanSpeed 0
2024-10-12 08:29:51,815 - __main__ - INFO - Publish :home/heater/boiler/burnerStatus 0
2024-10-12 08:29:51,816 - __main__ - INFO - Publish :home/heater/boiler/alarm {"id": 65535, "txt": "D\u00e9faut inconnu"}
2024-10-12 08:29:51,817 - __main__ - INFO - Publish :home/heater/boiler/hotWater/pump 0
2024-10-12 08:29:51,818 - __main__ - INFO - Publish :home/heater/boiler/hotWater/temp 54.0
2024-10-12 08:29:51,819 - __main__ - INFO - Publish :home/heater/boiler/hotWater/mode AUTO
2024-10-12 08:29:51,820 - __main__ - INFO - Publish :home/heater/boiler/hotWater/dayTemp 55.0
2024-10-12 08:29:51,820 - __main__ - INFO - Publish :home/heater/boiler/hotWater/nightTemp 10.0
2024-10-12 08:29:51,821 - __main__ - INFO - Publish :home/heater/boiler/zoneB/temp 23.9
2024-10-12 08:29:51,822 - __main__ - INFO - Publish :home/heater/boiler/zoneB/mode AUTO
2024-10-12 08:29:51,822 - __main__ - INFO - Publish :home/heater/boiler/zoneB/pump 0
2024-10-12 08:29:51,823 - __main__ - INFO - Publish :home/heater/boiler/zoneB/dayTemp 21.0
2024-10-12 08:29:51,823 - __main__ - INFO - Publish :home/heater/boiler/zoneB/nightTemp 18.5
2024-10-12 08:29:51,824 - __main__ - INFO - Publish :home/heater/boiler/zoneB/antiiceTemp 6.0
2024-10-12 08:29:51,824 - Diematic - DEBUG - Now :2024-10-12 08:29:51.824562+00:00
2024-10-12 08:29:51,825 - Diematic - DEBUG - Boiler :2024-10-12 10:29:00+02:00
2024-10-12 08:29:51,825 - Diematic - DEBUG - Drift :51.824562
2024-10-12 08:30:31,881 - Diematic - WARNING - Synchro timeout
2024-10-12 08:30:31,882 - __main__ - INFO - Publish :home/heater/boiler/status Offline
2024-10-12 08:30:31,884 - __main__ - INFO - Publish :home/heater/boiler/date 
2024-10-12 08:30:31,885 - __main__ - INFO - Publish :home/heater/boiler/type 
2024-10-12 08:30:31,886 - __main__ - INFO - Publish :home/heater/boiler/ctrl 
2024-10-12 08:30:31,887 - __main__ - INFO - Publish :home/heater/boiler/ext/temp 
2024-10-12 08:30:31,889 - __main__ - INFO - Publish :home/heater/boiler/temp 
2024-10-12 08:30:31,891 - __main__ - INFO - Publish :home/heater/boiler/targetTemp 
2024-10-12 08:30:31,893 - __main__ - INFO - Publish :home/heater/boiler/returnTemp 
2024-10-12 08:30:31,895 - __main__ - INFO - Publish :home/heater/boiler/waterPressure 
2024-10-12 08:30:31,897 - __main__ - INFO - Publish :home/heater/boiler/power 
2024-10-12 08:30:31,899 - __main__ - INFO - Publish :home/heater/boiler/smokeTemp 
2024-10-12 08:30:31,901 - __main__ - INFO - Publish :home/heater/boiler/ionizationCurrent 
2024-10-12 08:30:31,903 - __main__ - INFO - Publish :home/heater/boiler/fanSpeed 
2024-10-12 08:30:31,905 - __main__ - INFO - Publish :home/heater/boiler/burnerStatus 
2024-10-12 08:30:31,907 - __main__ - INFO - Publish :home/heater/boiler/alarm 
2024-10-12 08:30:31,909 - __main__ - INFO - Publish :home/heater/boiler/hotWater/pump 
2024-10-12 08:30:31,912 - __main__ - INFO - Publish :home/heater/boiler/hotWater/temp 
2024-10-12 08:30:31,913 - __main__ - INFO - Publish :home/heater/boiler/hotWater/mode 
2024-10-12 08:30:31,914 - __main__ - INFO - Publish :home/heater/boiler/hotWater/dayTemp 
2024-10-12 08:30:31,916 - __main__ - INFO - Publish :home/heater/boiler/hotWater/nightTemp 
2024-10-12 08:30:31,918 - __main__ - INFO - Publish :home/heater/boiler/zoneB/temp 
2024-10-12 08:30:31,920 - __main__ - INFO - Publish :home/heater/boiler/zoneB/mode 
2024-10-12 08:30:31,921 - __main__ - INFO - Publish :home/heater/boiler/zoneB/pump 
2024-10-12 08:30:31,923 - __main__ - INFO - Publish :home/heater/boiler/zoneB/dayTemp 
2024-10-12 08:30:31,925 - __main__ - INFO - Publish :home/heater/boiler/zoneB/nightTemp 
2024-10-12 08:30:31,926 - __main__ - INFO - Publish :home/heater/boiler/zoneB/antiiceTemp 
2024-10-12 08:30:31,929 - Diematic - WARNING - Init Link with Regulator
2024-10-12 08:30:31,930 - DDModbus - DEBUG - Frame received: 
2024-10-12 08:30:31,931 - DDModbus - WARNING - Received Frame Length Error
2024-10-12 08:30:31,931 - Diematic - DEBUG - Bus status switched to SLAVE
2024-10-12 08:30:31,932 - DDModbus - DEBUG - Frame received: 
2024-10-12 08:30:31,932 - DDModbus - WARNING - Received Frame Length Error
2024-10-12 08:30:31,933 - DDModbus - DEBUG - Frame received: 
2024-10-12 08:30:31,934 - DDModbus - WARNING - Received Frame Length Error
2024-10-12 08:30:31,936 - DDModbus - DEBUG - Frame received: 
2024-10-12 08:30:31,937 - DDModbus - WARNING - Received Frame Length Error

I set the log level to CRITICAL to limit the log size.

Regards,
Pawel

Hello,

the protocol of Diematic4 is different of the Diematic3, but I don’t know really differences.

I read few months/years ago that the Diematic4 act on the bus only as a Slave.

The dev-latest version (diematic_to_mqtt versions · benoit3 · GitHub ) could be compatible with Diematic4 (mqtt interface will be the master), just select Diematic4 in the conf file. You can try it and post logs… But I never tested it (so you will be the first one and need to accept risks :grinning:) it as I don’t have access to any Diematic4 boiler. If you want to do modification, fork the repository and pull a branch from the dev one => you will be able to do a pull request afterward.
Regards,

Benoit

Hi Tomasz,

It looks there is n issue with the local add-on installation in HAOS.
I built a simple TEST add-on based on HA tutorial.

When I want to instal it I am getting error:

2024-10-13 19:21:16.595 CRITICAL (MainThread) [supervisor.utils.common] Can't parse data: does not match regular expression ^([a-z0-9][a-z0-9.\-]*(:[0-9]+)?/)*?([a-z0-9{][a-z0-9.\-_{}]*/)*?([a-z0-9{][a-z0-9.\-_{}]*)$ for dictionary value @ data['user']['local_Test']['image']. Got 'local/aarch64-addon-Test'
2024-10-13 19:21:16.597 WARNING (MainThread) [supervisor.utils.common] Resetting /data/addons.json to last version
2024-10-13 19:21:16.603 ERROR (MainThread) [supervisor.jobs] Unhandled exception: 'local_Test'
Traceback (most recent call last):
  File "/usr/src/supervisor/supervisor/jobs/decorator.py", line 304, in wrapper
    return await self._method(obj, *args, **kwargs)
           ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/usr/src/supervisor/supervisor/addons/addon.py", line 737, in install
    await self.load()
  File "/usr/src/supervisor/supervisor/addons/addon.py", line 201, in load
    await self._check_ingress_port()
  File "/usr/src/supervisor/supervisor/addons/addon.py", line 721, in _check_ingress_port
    if not self.with_ingress:
           ^^^^^^^^^^^^^^^^^
  File "/usr/src/supervisor/supervisor/addons/model.py", line 440, in with_ingress
    return self.data[ATTR_INGRESS]
           ^^^^^^^^^
  File "/usr/src/supervisor/supervisor/addons/addon.py", line 224, in data
    return self.sys_addons.data.system[self.slug]
           ~~~~~~~~~~~~~~~~~~~~~~~~~~~^^^^^^^^^^^
KeyError: 'local_Test'

Can you try this at your end?

Regards,
Pawel

Hi Benoit,

Thank you so much! :slight_smile:
I pull your dev-last version and it worked super cool.
It works with a without option “CP Server-kick off old connection” in USR.

Looks that the pulling parameter from the config file is not valid here and data are refreshed every few seconds. It works really fast. I don’t see any freeze time.

I also found this repo GitHub - 45clouds/diematic2mqtt: Request De Dietrich iSystem boiler and send value to mqtt and there is explanation that iSystem works in bi-master mode.

I will create my customised version as a new fork and play with other parameters specific to Diematic4 system, for example: add zone C parameters, boiler mode with option to set the holiday period (anty freeze mode with number of days), etc.

Below you can find the full log from the first few seconds (quite heavy logs). If you want to see more log I can share it as a file using GitHub.

Sometime the exception for socket error is reported “No answer to masterReadAnalog”. Log at the end.

Many thanks for your help and support.

Regards,
Pawel

log

2024-10-13 17:00:44,113 - __main__ - CRITICAL - Modbus interface address: 192.168.1.153 : 20108
2024-10-13 17:00:44,114 - __main__ - CRITICAL - Modbus regulator address: 0xa
2024-10-13 17:00:44,114 - __main__ - CRITICAL - Broker: 192.168.1.199 : 1883
2024-10-13 17:00:44,115 - __main__ - CRITICAL - Topic Root: home/heater/boiler
2024-10-13 17:00:44,115 - __main__ - CRITICAL - Hassio Discovery Enable: True
2024-10-13 17:00:44,115 - __main__ - CRITICAL - Hassio Discovery Prefix: homeassistant
2024-10-13 17:00:44,115 - __main__ - CRITICAL - Regulator type is Diematic3
2024-10-13 17:00:44,185 - Diematic - INFO - Using tzinfo ('CET') for Boiler time sync
2024-10-13 17:00:44,187 - Diematic - WARNING - Init Link with Regulator
2024-10-13 17:00:44,288 - __main__ - DEBUG - Paho MQTT version 2.XX or more detected, using callback API version2
2024-10-13 17:00:44,314 - __main__ - CRITICAL - Connected to MQTT broker
2024-10-13 17:00:44,315 - __main__ - INFO - Publish :home/heater/boiler/status Offline
2024-10-13 17:00:44,375 - __main__ - INFO - Sending HA discovery messages
2024-10-13 17:00:44,791 - DDModbus - DEBUG - Send read request: 0a030001003f556100
2024-10-13 17:00:45,014 - DDModbus - DEBUG - Answer received: 0a037e000000000030001300010007006c00be8046000100030000000000af00aa003c0008ffff0003000f0000000000d200b9003c000800ef00070016006401c20000ffff000000c800b4003c000800e300070016006401c20000ffff0000000000000000000000000000000000000000000000000000021200000002020a00008e7b000000
2024-10-13 17:00:45,015 - DDModbus - DEBUG - Answer valid 
2024-10-13 17:00:45,015 - DDModbus - DEBUG - Send read request: 0a0300400040449500
2024-10-13 17:00:45,224 - DDModbus - DEBUG - Answer received: 0a03800001000000000000000000000000000000000000006401ad8ccc2809091200000000000000000000000000000000000000000001000000000000000000000000006400000000000000000000006900000000000000000000000d000a0018000000008ccc00000000000001ad00000000000203200000000000000000000f03e01f27000000
2024-10-13 17:00:45,226 - DDModbus - DEBUG - Answer valid 
2024-10-13 17:00:45,227 - DDModbus - DEBUG - Send read request: 0a0301800040455500
2024-10-13 17:00:45,435 - DDModbus - DEBUG - Answer received: 0a038000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000280001000000000000000000000000000000000064000e0078000000060000000000000000091228090000fa88000000
2024-10-13 17:00:45,437 - DDModbus - DEBUG - Answer valid 
2024-10-13 17:00:45,438 - DDModbus - DEBUG - Send read request: 0a0301c00017057f00
2024-10-13 17:00:45,558 - DDModbus - DEBUG - Answer received: 0a032e000000000000000001ad01aa8ccc0000000e00180000020a00000000006400000000ffff000080018001000080010f6e000000
2024-10-13 17:00:45,559 - DDModbus - DEBUG - Answer valid 
2024-10-13 17:00:45,562 - __main__ - INFO - Publish :home/heater/boiler/status Online
2024-10-13 17:00:45,563 - __main__ - INFO - Publish :home/heater/boiler/date 2024-10-13T19:01:00+02:00
2024-10-13 17:00:45,564 - __main__ - INFO - Publish :home/heater/boiler/lastTimeSync 
2024-10-13 17:00:45,565 - __main__ - INFO - Publish :home/heater/boiler/type 24
2024-10-13 17:00:45,567 - __main__ - INFO - Publish :home/heater/boiler/ctrl 48
2024-10-13 17:00:45,567 - __main__ - INFO - Publish :home/heater/boiler/ext/temp 10.8
2024-10-13 17:00:45,569 - __main__ - INFO - Publish :home/heater/boiler/temp 42.9
2024-10-13 17:00:45,570 - __main__ - INFO - Publish :home/heater/boiler/targetTemp 0.0
2024-10-13 17:00:45,571 - __main__ - INFO - Publish :home/heater/boiler/returnTemp 42.6
2024-10-13 17:00:45,572 - __main__ - INFO - Publish :home/heater/boiler/waterPressure 1.4
2024-10-13 17:00:45,573 - __main__ - INFO - Publish :home/heater/boiler/power 0
2024-10-13 17:00:45,574 - __main__ - INFO - Publish :home/heater/boiler/smokeTemp -327.6
2024-10-13 17:00:45,575 - __main__ - INFO - Publish :home/heater/boiler/ionizationCurrent 0.0
2024-10-13 17:00:45,576 - __main__ - INFO - Publish :home/heater/boiler/fanSpeed 0
2024-10-13 17:00:45,577 - __main__ - INFO - Publish :home/heater/boiler/burnerStatus 0
2024-10-13 17:00:45,578 - __main__ - INFO - Publish :home/heater/boiler/pumpPower 
2024-10-13 17:00:45,579 - __main__ - INFO - Publish :home/heater/boiler/alarm {"id": 65535, "txt": "D\u00e9faut inconnu"}
2024-10-13 17:00:45,580 - __main__ - INFO - Publish :home/heater/boiler/hotWater/pump 0
2024-10-13 17:00:45,582 - __main__ - INFO - Publish :home/heater/boiler/hotWater/temp 52.2
2024-10-13 17:00:45,584 - __main__ - INFO - Publish :home/heater/boiler/hotWater/mode AUTO
2024-10-13 17:00:45,586 - __main__ - INFO - Publish :home/heater/boiler/hotWater/dayTemp 53.0
2024-10-13 17:00:45,588 - __main__ - INFO - Publish :home/heater/boiler/hotWater/nightTemp 10.0
2024-10-13 17:00:45,590 - __main__ - INFO - Publish :home/heater/boiler/zoneA/temp 
2024-10-13 17:00:45,592 - __main__ - INFO - Publish :home/heater/boiler/zoneA/mode 
2024-10-13 17:00:45,593 - __main__ - INFO - Publish :home/heater/boiler/zoneA/pump 
2024-10-13 17:00:45,594 - __main__ - INFO - Publish :home/heater/boiler/zoneA/dayTemp 
2024-10-13 17:00:45,596 - __main__ - INFO - Publish :home/heater/boiler/zoneA/nightTemp 
2024-10-13 17:00:45,596 - __main__ - INFO - Publish :home/heater/boiler/zoneA/antiiceTemp 
2024-10-13 17:00:45,597 - __main__ - INFO - Publish :home/heater/boiler/zoneB/temp 23.9
2024-10-13 17:00:45,597 - __main__ - INFO - Publish :home/heater/boiler/zoneB/mode AUTO
2024-10-13 17:00:45,598 - __main__ - INFO - Publish :home/heater/boiler/zoneB/pump 0
2024-10-13 17:00:45,599 - __main__ - INFO - Publish :home/heater/boiler/zoneB/dayTemp 21.0
2024-10-13 17:00:45,599 - __main__ - INFO - Publish :home/heater/boiler/zoneB/nightTemp 18.5
2024-10-13 17:00:45,600 - __main__ - INFO - Publish :home/heater/boiler/zoneB/antiiceTemp 6.0
2024-10-13 17:00:45,600 - Diematic - DEBUG - Now :2024-10-13 17:00:45.600416+00:00
2024-10-13 17:00:45,601 - Diematic - DEBUG - Boiler :2024-10-13 19:01:00+02:00
2024-10-13 17:00:45,601 - Diematic - DEBUG - Drift :-14.399584
2024-10-13 17:00:46,102 - DDModbus - DEBUG - Send read request: 0a030001003f556100
2024-10-13 17:00:46,336 - DDModbus - DEBUG - Answer received: 0a037e000000000030001300010007006c00be8046000100030000000000af00aa003c0008ffff0003000f0000000000d200b9003c000800ef00070016006401c20000ffff000000c800b4003c000800e300070016006401c20000ffff0000000000000000000000000000000000000000000000000000021200000002020a00008e7b000000
2024-10-13 17:00:46,338 - DDModbus - DEBUG - Answer valid 
2024-10-13 17:00:46,339 - DDModbus - DEBUG - Send read request: 0a0300400040449500
2024-10-13 17:00:46,559 - DDModbus - DEBUG - Answer received: 0a03800001000000000000000000000000000000000000006401ad8ccc2809091200000000000000000000000000000000000000000001000000000000000000000000006400000000000000000000006900000000000000000000000d000a0018000000008ccc00000000000001ad00000000000203200000000000000000000f03e01f27000000
2024-10-13 17:00:46,561 - DDModbus - DEBUG - Answer valid 
2024-10-13 17:00:46,562 - DDModbus - DEBUG - Send read request: 0a0301800040455500
2024-10-13 17:00:46,767 - DDModbus - DEBUG - Answer received: 0a038000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000280001000000000000000000000000000000000064000e0078000000060000000000000000091228090000fa88000000
2024-10-13 17:00:46,769 - DDModbus - DEBUG - Answer valid 
2024-10-13 17:00:46,769 - DDModbus - DEBUG - Send read request: 0a0301c00017057f00
2024-10-13 17:00:46,894 - DDModbus - DEBUG - Answer received: 0a032e000000000000000001ad01aa8ccc0000000e00180000020a00000000006400000000ffff000080018001000080010f6e000000
2024-10-13 17:00:46,895 - DDModbus - DEBUG - Answer valid 
2024-10-13 17:00:46,896 - Diematic - DEBUG - Now :2024-10-13 17:00:46.896598+00:00
2024-10-13 17:00:46,897 - Diematic - DEBUG - Boiler :2024-10-13 19:01:00+02:00
2024-10-13 17:00:46,897 - Diematic - DEBUG - Drift :-13.103402
2024-10-13 17:00:47,398 - DDModbus - DEBUG - Send read request: 0a030001003f556100
2024-10-13 17:00:47,603 - DDModbus - DEBUG - Answer received: 0a037e000000000030001300010007006c00be8046000100030000000000af00aa003c0008ffff0003000f0000000000d200b9003c000800ef00070016006401c20000ffff000000c800b4003c000800e300070016006401c20000ffff0000000000000000000000000000000000000000000000000000021200000002020a00008e7b000000
2024-10-13 17:00:47,605 - DDModbus - DEBUG - Answer valid 
2024-10-13 17:00:47,606 - DDModbus - DEBUG - Send read request: 0a0300400040449500
2024-10-13 17:00:47,819 - DDModbus - DEBUG - Answer received: 0a03800001000000000000000000000000000000000000006401ad8ccc2809091200000000000000000000000000000000000000000001000000000000000000000000006400000000000000000000006900000000000000000000000d000a0018000000008ccc00000000000001ad00000000000203200000000000000000000f03e01f27000000
2024-10-13 17:00:47,821 - DDModbus - DEBUG - Answer valid 
2024-10-13 17:00:47,822 - DDModbus - DEBUG - Send read request: 0a0301800040455500
2024-10-13 17:00:48,042 - DDModbus - DEBUG - Answer received: 0a038000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000280001000000000000000000000000000000000064000e0078000000060000000000000000091228090000fa88000000
2024-10-13 17:00:48,044 - DDModbus - DEBUG - Answer valid 
2024-10-13 17:00:48,044 - DDModbus - DEBUG - Send read request: 0a0301c00017057f00
2024-10-13 17:00:48,156 - DDModbus - DEBUG - Answer received: 0a032e000000000000000001ad01aa8ccc0000000e00180000020a00000000006400000000ffff000080018001000080010f6e000000
2024-10-13 17:00:48,157 - DDModbus - DEBUG - Answer valid 
2024-10-13 17:00:48,159 - Diematic - DEBUG - Now :2024-10-13 17:00:48.159154+00:00
2024-10-13 17:00:48,159 - Diematic - DEBUG - Boiler :2024-10-13 19:01:00+02:00
2024-10-13 17:00:48,160 - Diematic - DEBUG - Drift :-11.840846
2024-10-13 17:00:48,661 - DDModbus - DEBUG - Send read request: 0a030001003f556100
2024-10-13 17:00:48,867 - DDModbus - DEBUG - Answer received: 0a037e000000000030001300010007006c00be8046000100030000000000af00aa003c0008ffff0003000f0000000000d200b9003c000800ef00070016006401c20000ffff000000c800b4003c000800e300070016006401c20000ffff0000000000000000000000000000000000000000000000000000021200000002020a00008e7b000000
2024-10-13 17:00:48,869 - DDModbus - DEBUG - Answer valid 
2024-10-13 17:00:48,870 - DDModbus - DEBUG - Send read request: 0a0300400040449500
2024-10-13 17:00:49,089 - DDModbus - DEBUG - Answer received: 0a03800001000000000000000000000000000000000000006401ad8ccc2809091200000000000000000000000000000000000000000001000000000000000000000000006400000000000000000000006900000000000000000000000d000a0018000000008ccc00000000000001ad00000000000203200000000000000000000f03e01f27000000
2024-10-13 17:00:49,091 - DDModbus - DEBUG - Answer valid 
2024-10-13 17:00:49,091 - DDModbus - DEBUG - Send read request: 0a0301800040455500
2024-10-13 17:00:49,296 - DDModbus - DEBUG - Answer received: 0a038000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000280001000000000000000000000000000000000064000e0078000000060000000000000000091228090000fa88000000
2024-10-13 17:00:49,298 - DDModbus - DEBUG - Answer valid 
2024-10-13 17:00:49,299 - DDModbus - DEBUG - Send read request: 0a0301c00017057f00
2024-10-13 17:00:49,421 - DDModbus - DEBUG - Answer received: 0a032e000000000000000001ad01aa8ccc0000000e00180000020a00000000006400000000ffff000080018001000080010f6e000000
2024-10-13 17:00:49,423 - DDModbus - DEBUG - Answer valid 
2024-10-13 17:00:49,424 - Diematic - DEBUG - Now :2024-10-13 17:00:49.424647+00:00
2024-10-13 17:00:49,425 - Diematic - DEBUG - Boiler :2024-10-13 19:01:00+02:00
2024-10-13 17:00:49,425 - Diematic - DEBUG - Drift :-10.575353
2024-10-13 17:00:49,926 - DDModbus - DEBUG - Send read request: 0a030001003f556100
2024-10-13 17:00:50,133 - DDModbus - DEBUG - Answer received: 0a037e000000000030001300010007006c00be8046000100030000000000af00aa003c0008ffff0003000f0000000000d200b9003c000800ef00070016006401c20000ffff000000c800b4003c000800e300070016006401c20000ffff0000000000000000000000000000000000000000000000000000021200000002020a00008e7b000000
2024-10-13 17:00:50,136 - DDModbus - DEBUG - Answer valid 
2024-10-13 17:00:50,136 - DDModbus - DEBUG - Send read request: 0a0300400040449500
2024-10-13 17:00:50,347 - DDModbus - DEBUG - Answer received: 0a03800001000000000000000000000000000000000000006401ad8ccc2809091200000000000000000000000000000000000000000001000000000000000000000000006400000000000000000000006900000000000000000000000d000a0018000000008ccc00000000000001ad00000000000203200000000000000000000f03e01f27000000
2024-10-13 17:00:50,350 - DDModbus - DEBUG - Answer valid 
2024-10-13 17:00:50,350 - DDModbus - DEBUG - Send read request: 0a0301800040455500
2024-10-13 17:00:50,565 - DDModbus - DEBUG - Answer received: 0a038000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000280001000000000000000000000000000000000064000e0078000000060000000000000000091228090000fa88000000
2024-10-13 17:00:50,568 - DDModbus - DEBUG - Answer valid 
2024-10-13 17:00:50,568 - DDModbus - DEBUG - Send read request: 0a0301c00017057f00
2024-10-13 17:00:50,683 - DDModbus - DEBUG - Answer received: 0a032e000000000000000001ad01aa8ccc0000000e00180000020a00000000006400000000ffff000080018001000080010f6e000000
2024-10-13 17:00:50,684 - DDModbus - DEBUG - Answer valid 
2024-10-13 17:00:50,686 - Diematic - DEBUG - Now :2024-10-13 17:00:50.686309+00:00
2024-10-13 17:00:50,686 - Diematic - DEBUG - Boiler :2024-10-13 19:01:00+02:00
2024-10-13 17:00:50,687 - Diematic - DEBUG - Drift :-9.313691
2024-10-13 17:00:51,188 - DDModbus - DEBUG - Send read request: 0a030001003f556100
2024-10-13 17:00:51,394 - DDModbus - DEBUG - Answer received: 0a037e000000000030001300010007006b00be8046000100030000000000af00aa003c0008ffff0003000f0000000000d200b9003c000800ef00070016006401c20000ffff000000c800b4003c000800e300070016006401c20000ffff0000000000000000000000000000000000000000000000000000021200000002020a0000fc8a000000
2024-10-13 17:00:51,396 - DDModbus - DEBUG - Answer valid 
2024-10-13 17:00:51,397 - DDModbus - DEBUG - Send read request: 0a0300400040449500
2024-10-13 17:00:51,617 - DDModbus - DEBUG - Answer received: 0a03800001000000000000000000000000000000000000006401ad8ccc2809091200000000000000000000000000000000000000000001000000000000000000000000006400000000000000000000006900000000000000000000000d000a0018000000008ccc00000000000001ad00000000000203200000000000000000000f03e01f27000000
2024-10-13 17:00:51,619 - DDModbus - DEBUG - Answer valid 
2024-10-13 17:00:51,620 - DDModbus - DEBUG - Send read request: 0a0301800040455500
2024-10-13 17:00:51,828 - DDModbus - DEBUG - Answer received: 0a038000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000280001000000000000000000000000000000000064000e0078000000060000000000000000091228090000fa88000000
2024-10-13 17:00:51,830 - DDModbus - DEBUG - Answer valid 
2024-10-13 17:00:51,831 - DDModbus - DEBUG - Send read request: 0a0301c00017057f00
2024-10-13 17:00:51,951 - DDModbus - DEBUG - Answer received: 0a032e000000000000000001ad01aa8ccc0000000e00180000020a00000000006400000000ffff000080018001000080010f6e000000
2024-10-13 17:00:51,952 - DDModbus - DEBUG - Answer valid 
2024-10-13 17:00:51,954 - __main__ - INFO - Publish :home/heater/boiler/ext/temp 10.7
2024-10-13 17:00:51,954 - Diematic - DEBUG - Now :2024-10-13 17:00:51.954690+00:00
2024-10-13 17:00:51,955 - Diematic - DEBUG - Boiler :2024-10-13 19:01:00+02:00
2024-10-13 17:00:51,955 - Diematic - DEBUG - Drift :-8.04531
2024-10-13 17:00:52,456 - DDModbus - DEBUG - Send read request: 0a030001003f556100
2024-10-13 17:00:52,663 - DDModbus - DEBUG - Answer received: 0a037e000000000030001300010007006c00be8046000100030000000000af00aa003c0008ffff0003000f0000000000d200b9003c000800ef00070016006401c20000ffff000000c800b4003c000800e300070016006401c20000ffff0000000000000000000000000000000000000000000000000000021200000002020a00008e7b000000
2024-10-13 17:00:52,664 - DDModbus - DEBUG - Answer valid 
2024-10-13 17:00:52,664 - DDModbus - DEBUG - Send read request: 0a0300400040449500
2024-10-13 17:00:52,885 - DDModbus - DEBUG - Answer received: 0a03800001000000000000000000000000000000000000006401ad8ccc2809091200000000000000000000000000000000000000000001000000000000000000000000006400000000000000000000006900000000000000000000000d000a0018000000008ccc00000000000001ad00000000000203200000000000000000000f03e01f27000000
2024-10-13 17:00:52,886 - DDModbus - DEBUG - Answer valid 
2024-10-13 17:00:52,887 - DDModbus - DEBUG - Send read request: 0a0301800040455500
2024-10-13 17:00:53,099 - DDModbus - DEBUG - Answer received: 0a038000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000280001000000000000000000000000000000000064000e0078000000060000000000000000091228090000fa88000000
2024-10-13 17:00:53,100 - DDModbus - DEBUG - Answer valid 
2024-10-13 17:00:53,100 - DDModbus - DEBUG - Send read request: 0a0301c00017057f00
2024-10-13 17:00:53,214 - DDModbus - DEBUG - Answer received: 0a032e000000000000000001ad01aa8ccc0000000e00180000020a00000000006400000000ffff000080018001000080010f6e000000
2024-10-13 17:00:53,215 - DDModbus - DEBUG - Answer valid 
2024-10-13 17:00:53,216 - __main__ - INFO - Publish :home/heater/boiler/ext/temp 10.8
2024-10-13 17:00:53,216 - Diematic - DEBUG - Now :2024-10-13 17:00:53.216621+00:00

Socket error log

2024-10-13 17:02:11,558 - DDModbus - DEBUG - Answer valid 
2024-10-13 17:02:11,558 - DDModbus - DEBUG - Send read request: 0a0301c00017057f00
2024-10-13 17:02:11,686 - DDModbus - DEBUG - Answer received: 0a032e000000000000000001ac01a98ccc0000000e00180000020900000000006400000000ffff00008001800100008001301b000000
2024-10-13 17:02:11,687 - DDModbus - DEBUG - Answer valid 
2024-10-13 17:02:11,687 - Diematic - DEBUG - Now :2024-10-13 17:02:11.687751+00:00
2024-10-13 17:02:11,688 - Diematic - DEBUG - Boiler :2024-10-13 19:02:00+02:00
2024-10-13 17:02:11,688 - Diematic - DEBUG - Drift :11.687751
2024-10-13 17:02:12,189 - DDModbus - DEBUG - Send read request: 0a030001003f556100
2024-10-13 17:02:12,398 - DDModbus - DEBUG - Answer received: 0a037e000000000030001300020007006c00be8046000100030000000000af00aa003c0008ffff0003000f0000000000d200b9003c000800ef00070016006401c20000ffff000000c800b4003c000800e300070016006401c20000ffff0000000000000000000000000000000000000000000000000000021200000002020900003bbf000000
2024-10-13 17:02:12,399 - DDModbus - DEBUG - Answer valid 
2024-10-13 17:02:12,399 - DDModbus - DEBUG - Send read request: 0a0300400040449500
2024-10-13 17:02:12,620 - DDModbus - DEBUG - Answer received: 0a03800001000000000000000000000000000000000000006401ac8ccc2809091200000000000000000000000000000000000000000001000000000000000000000000006400000000000000000000006900000000000000000000000d000a0018000000008ccc00000000000001ac00000000000203200000000000000000000f03e0b38b000000
2024-10-13 17:02:12,621 - DDModbus - DEBUG - Answer valid 
2024-10-13 17:02:12,621 - DDModbus - DEBUG - Send read request: 0a0301800040455500
2024-10-13 17:02:12,830 - DDModbus - DEBUG - Answer received: 0a038000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000280001000000000000000000000000000000000064000e0078000000060000000000000000091228090000fa88000000
2024-10-13 17:02:12,831 - DDModbus - DEBUG - Answer valid 
2024-10-13 17:02:12,831 - DDModbus - DEBUG - Send read request: 0a0301c00017057f00
2024-10-13 17:02:15,334 - DDModbus - WARNING - No answer to masterReadAnalog
2024-10-13 17:02:15,835 - DDModbus - DEBUG - Send read request: 0a030001003f556100
2024-10-13 17:02:16,057 - DDModbus - DEBUG - Answer received: 0a037e000000000030001300020007006c00be8046000100030000000000af00aa003c0008ffff0003000f0000000000d200b9003c000800ef00070016006401c20000ffff000000c800b4003c000800e300070016006401c20000ffff0000000000000000000000000000000000000000000000000000021200000002020900003bbf000000
2024-10-13 17:02:16,058 - DDModbus - DEBUG - Answer valid 
2024-10-13 17:02:16,058 - DDModbus - DEBUG - Send read request: 0a0300400040449500
2024-10-13 17:02:16,277 - DDModbus - DEBUG - Answer received: 0a03800001000000000000000000000000000000000000006401ac8ccc2809091200000000000000000000000000000000000000000001000000000000000000000000006400000000000000000000006900000000000000000000000d000a0018000000008ccc00000000000001ac00000000000203200000000000000000000f03e0b38b000000

Many thanks for the feedback. Data pulling wouldn’t have to be continuous. I’ve understood where the but is, I will correct it during the week.
Benoît

I have a De Dietrich MCA65 gas boiler with a DIEMATIC iSystem controller, I use a Waveshare RS485 TO POE ETH converter (B).:

https://www.waveshare.com/wiki/RS485_TO_POE_ETH_(B)

and I get the same error messages, sometimes after two minutes and sometimes after three hours, completely irregularly.:

2024-10-14 15:58:48,919 - DDModbus - WARNING - No answer to masterReadAnalog
2024-10-14 15:58:48,919 - Diematic - WARNING - ModBus Master Slave Synchro Error
2024-10-14 15:58:56,036 - Diematic - INFO - ModBus Master Slave Synchro OK

PawelP,

I corrected a bug in data pull scheduling. Should be OK in dev:latest

Benoit

Dear BenoitS

Thank you for the huge amount of work you put into this project, I was looking for such a solution for a long time.

I allowed myself to run the dev:latest version
The first impression is very positive, it starts quickly but I do not receive information about the status of zone A.:

2024-10-14 21:35:38,622 - __main__ - INFO - Publish :home/heater/boiler/zoneA/mode 

and every now and then I have this message.:

2024-10-14 21:40:51,452 - DDModbus - WARNING - No answer to masterReadAnalog

and this regardless of whether I run the integration as Diematic3 or Diematic4.

greetings tomik67

PS.
An interesting observation: at midnight the zoneA status appeared, but the integration itself changed the previously set ANTIGEL to AUTO and the boiler started heating.

Hi Benoit,
Thank you for the quick fix. I tested and it works very well.
Just wondering if it is possible to easily adjust the refresh logic in case the parameters are changed. Assuming pulling request is set for 60s but when one of the parameter is changed than the refresh of the all parameters is executed without waiting time.

I also implemented few changes locally: zone C and active mode display (summer/winter). All is working nice. Now working on implementation of holiday mode (zone mode = 33) with number of days for antifreeze duration. I will update my fork when finish.

Regards,
Pawel

Hi Benoit.

I am struggling to implement the holiday (antifreeze) mode based on dates or number of days. Per default the holiday mode is set with 1 day starting form today (value 33 for registers 17 (zone A), 26 (zone B), 38 (zone C) and value 1 for reg. 721, 724, 727. In Diematic iSystem it is possible to choose number of days, the date from or date until the holiday mode is enabled. I can’t find the parameters where the dates are stored. I thought it should be 722/723 (zone A), 725/726 (zone B), 728/729 (zone C) but I when I read the register values it always shows value 0.

To read the register value I use Diematic4Panel with code as below:

reg=self.modBusInterface.masterReadAnalog(self.regulatorAddress,721,10);	
	if (reg is not None):
		#self.registers.update(reg);
		self.logger.info('TEST reg value:'+str(reg));

Is that correct way to read the values for this registers?

Regards,
Pawel

Hello,

yes it seems to be good.
You can activate the DEBUG mode to confirm modbus frame are send.
As pulling is done once every 10s now, data flowrate should be acceptable.
Where did you get register mapping?

Benoit

Hi Benoit,

To read all registers value I do not map them. Just listing the values in the log.

For the register I am working on e.g. 721, 724, 727 mapping is done in Diematic.py, class DDREGISTER. Example for one of the register below.

Regards,
Pawel

class DDREGISTER(IntEnum):
 #Antifreeze  duration
	NB_JOUR_ANTIGEL_C=727;
...
def initAttributes(self):
		#regulator attributes
		#antifreeze duration	
		self._zoneCAntifreezeDays=None;
...
#this setter/getter are used to read or change values of the regulator
#Antifreeze duration in days
@property
	def zoneCAntifreezeDays(self):
		return self._zoneCAntifreezeDays;

@zoneCAntifreezeDays.setter
	def zoneCAntifreezeDays(self,x):
		reg=DDModbus.RegisterSet(DDREGISTER.NB_JOUR_ANTIGEL_C.value,[x]);
			self.regUpdateRequest.put(reg);

Hi everyone :wave:,
I’ve got a problem, everything works fine (the script launches, he publishes an “status=offline” to the MQTT broker, it connects to the USR-TCP232-306) and then… no data is transmitted by the USR :anger: (see screenshots)

here are my logs (in DEBUG of course)

2024-11-02 23:23:25,212 - __main__ - CRITICAL - Modbus interface address: 192.168.1.120 : 20108
2024-11-02 23:23:25,212 - __main__ - CRITICAL - Modbus regulator address: 0xa
2024-11-02 23:23:25,212 - __main__ - CRITICAL - Broker: 192.168.1.24 : 1883
2024-11-02 23:23:25,212 - __main__ - CRITICAL - Topic Root: home/heater/boiler
2024-11-02 23:23:25,212 - __main__ - CRITICAL - Hassio Discovery Enable: True
2024-11-02 23:23:25,212 - __main__ - CRITICAL - Hassio Discovery Prefix: homeassistant
2024-11-02 23:23:25,212 - __main__ - CRITICAL - Regulator type is Diematic3
2024-11-02 23:23:25,234 - Diematic - INFO - Using tzinfo ('CET') for Boiler time sync
2024-11-02 23:23:25,240 - Diematic - WARNING - Init Link with Regulator
2024-11-02 23:23:25,352 - __main__ - DEBUG - Paho MQTT version 2.XX or more detected, using callback API version2
2024-11-02 23:23:25,369 - __main__ - CRITICAL - Connected to MQTT broker
2024-11-02 23:23:25,369 - __main__ - INFO - Publish :home/heater/boiler/status Offline
2024-11-02 23:24:05,758 - Diematic - WARNING - Synchro timeout
2024-11-02 23:24:05,759 - __main__ - INFO - Publish :home/heater/boiler/date 
2024-11-02 23:24:05,759 - __main__ - INFO - Publish :home/heater/boiler/lastTimeSync 
2024-11-02 23:24:05,759 - __main__ - INFO - Publish :home/heater/boiler/type 
2024-11-02 23:24:05,759 - __main__ - INFO - Publish :home/heater/boiler/ctrl 
2024-11-02 23:24:05,759 - __main__ - INFO - Publish :home/heater/boiler/ext/temp 
2024-11-02 23:24:05,759 - __main__ - INFO - Publish :home/heater/boiler/temp 
2024-11-02 23:24:05,759 - __main__ - INFO - Publish :home/heater/boiler/targetTemp 
2024-11-02 23:24:05,759 - __main__ - INFO - Publish :home/heater/boiler/returnTemp 
2024-11-02 23:24:05,759 - __main__ - INFO - Publish :home/heater/boiler/waterPressure 
2024-11-02 23:24:05,759 - __main__ - INFO - Publish :home/heater/boiler/power 
2024-11-02 23:24:05,759 - __main__ - INFO - Publish :home/heater/boiler/smokeTemp 
2024-11-02 23:24:05,759 - __main__ - INFO - Publish :home/heater/boiler/ionizationCurrent 
2024-11-02 23:24:05,760 - __main__ - INFO - Publish :home/heater/boiler/fanSpeed 
2024-11-02 23:24:05,760 - __main__ - INFO - Publish :home/heater/boiler/burnerStatus 
2024-11-02 23:24:05,760 - __main__ - INFO - Publish :home/heater/boiler/pumpPower 
2024-11-02 23:24:05,760 - __main__ - INFO - Publish :home/heater/boiler/alarm 
2024-11-02 23:24:05,760 - __main__ - INFO - Publish :home/heater/boiler/hotWater/pump 
2024-11-02 23:24:05,760 - __main__ - INFO - Publish :home/heater/boiler/hotWater/temp 
2024-11-02 23:24:05,760 - __main__ - INFO - Publish :home/heater/boiler/hotWater/mode 
2024-11-02 23:24:05,760 - __main__ - INFO - Publish :home/heater/boiler/hotWater/dayTemp 
2024-11-02 23:24:05,760 - __main__ - INFO - Publish :home/heater/boiler/hotWater/nightTemp 
2024-11-02 23:24:05,760 - __main__ - INFO - Publish :home/heater/boiler/zoneA/temp 
2024-11-02 23:24:05,760 - __main__ - INFO - Publish :home/heater/boiler/zoneA/mode 
2024-11-02 23:24:05,760 - __main__ - INFO - Publish :home/heater/boiler/zoneA/pump 
2024-11-02 23:24:05,760 - __main__ - INFO - Publish :home/heater/boiler/zoneA/dayTemp 
2024-11-02 23:24:05,760 - __main__ - INFO - Publish :home/heater/boiler/zoneA/nightTemp 
2024-11-02 23:24:05,760 - __main__ - INFO - Publish :home/heater/boiler/zoneA/antiiceTemp 
2024-11-02 23:24:05,760 - __main__ - INFO - Publish :home/heater/boiler/zoneB/temp 
2024-11-02 23:24:05,760 - __main__ - INFO - Publish :home/heater/boiler/zoneB/mode 
2024-11-02 23:24:05,761 - __main__ - INFO - Publish :home/heater/boiler/zoneB/pump 
2024-11-02 23:24:05,761 - __main__ - INFO - Publish :home/heater/boiler/zoneB/dayTemp 
2024-11-02 23:24:05,761 - __main__ - INFO - Publish :home/heater/boiler/zoneB/nightTemp 
2024-11-02 23:24:05,761 - __main__ - INFO - Publish :home/heater/boiler/zoneB/antiiceTemp 
2024-11-02 23:24:05,766 - Diematic - WARNING - Init Link with Regulator
2024-11-02 23:24:46,295 - Diematic - WARNING - Synchro timeout
2024-11-02 23:24:46,299 - Diematic - WARNING - Init Link with Regulator
2024-11-02 23:25:26,895 - Diematic - WARNING - Synchro timeout
2024-11-02 23:25:26,898 - Diematic - WARNING - Init Link with Regulator
...

0 bytes both in tx and rx



sorry for the disturbance btw and thanks in advance :grin:

Hello,
it seems there is no link between boiler (which type ?) and USR-TCP232-306:

Tx/Rx counts seems stucked to 0.

Benoit

Hi,
thanks for your fast response

since Tx is stuck at 0, dosent it says that the script isn’t trying to transmit data to the Modbus?

i’m sending you the boiler type ASAP, the regulator board is a diematic 3 with 2 modbus connectors.

So my boiler is a GTU C 1204 V from 2009


There are the modbus connectors with my wires


Using an app called “modbus monitor” I sent random data to the usr. On the web console I can now see total Tx/Rx 0 / 24 so I suppose that the interface isn’t the problem in my 0 data problem :thinking:.

Hello, Not sure but it seems that A is connected to pin 4 and B to pin 2 on your picture. The wiring provided on github shows a mâle mini din connector to be plugged in the boiler => your wiriing doesn’t seem to be correct.
Benoit