[2026-05-12 22:38:39][INFO] : Starting daemon (lib version 1.2.9) with log level: debug [2026-05-12 22:38:39][DEBUG] : Writing PID 201905 to /tmp/jeedom/mymodbus/daemon.pid [2026-05-12 22:38:39][INFO] : Listening on 127.0.0.1:55502 [2026-05-12 22:38:39][DEBUG] : Received new message on socket [2026-05-12 22:38:39][INFO] : Send async started with a cycle of 0.5s [2026-05-12 22:38:39][DEBUG] : Close connection [2026-05-12 22:38:39][DEBUG] : MyModbusd: 'on_message' '''{'CMD': 'newDaemonConfig', 'config': [{'id': '140', 'name': 'Poolmanager Bayrol', 'eqProtocol': 'tcp', 'eqRefreshMode': 'on_event', 'eqPolling': '5', 'eqTimeout': '1', 'eqWriteCmdCheckTimeout': '0.01', 'eqRetries': '3', 'eqFirstDelay': '0', 'eqErrorDelay': '1', 'eqAddr': '192.168.0.139', 'eqPort': '502', 'eqRegTest': '0', 'cmds': [{'id': '2407', 'name': 'pH', 'type': 'info', 'cmdDevID': '0', 'cmdFctModbus': '4', 'cmdFormat': 'h', 'cmdAddress': '4001', 'cmdFrequency': '1', 'cmdInvertBytes': '0', 'cmdInvertWords': '0', 'cmdInvertDWords': '0', 'repeat': '0'}, {'id': '2408', 'name': 'Temp01', 'type': 'info', 'cmdDevID': '0', 'cmdFctModbus': '4', 'cmdFormat': 'h', 'cmdAddress': '4033', 'cmdFrequency': '1', 'cmdInvertBytes': '0', 'cmdInvertWords': '0', 'cmdInvertDWords': '0', 'repeat': '0'}, {'id': '2409', 'name': 'Chlore Libre', 'type': 'info', 'cmdDevID': '0', 'cmdFctModbus': '4', 'cmdFormat': 'h', 'cmdAddress': '4008', 'cmdFrequency': '1', 'cmdInvertBytes': '0', 'cmdInvertWords': '0', 'cmdInvertDWords': '0', 'repeat': '0'}, {'id': '2410', 'name': 'Redox', 'type': 'info', 'cmdDevID': '0', 'cmdFctModbus': '4', 'cmdFormat': 'h', 'cmdAddress': '4022', 'cmdFrequency': '1', 'cmdInvertBytes': '0', 'cmdInvertWords': '0', 'cmdInvertDWords': '0', 'repeat': '0'}, {'id': '2495', 'name': 'alarme générale', 'type': 'info', 'cmdDevID': '0', 'cmdFctModbus': '4', 'cmdFormat': 'h', 'cmdAddress': '2001', 'cmdFrequency': '1', 'cmdInvertBytes': '0', 'cmdInvertWords': '0', 'cmdInvertDWords': '0', 'repeat': '0'}, {'id': '2496', 'name': 'aucun signal débit', 'type': 'info', 'cmdDevID': '0', 'cmdFctModbus': '4', 'cmdFormat': 'h', 'cmdAddress': '2003', 'cmdFrequency': '1', 'cmdInvertBytes': '0', 'cmdInvertWords': '0', 'cmdInvertDWords': '0', 'repeat': '0'}]}], 'apikey': 'chpyqJHFUTdkwPcfPHxA7d3URW23YwBoShHoO2hpfPyue1qkcPawJcttVhNgQlpJ', 'dt': '2026-05-12T22:38:39+02:00'}''' [2026-05-12 22:38:39][INFO] : MyModbusd: Command 'newDaemonConfig' received from jeedom: sending the new config to all MyModbusClients [2026-05-12 22:38:39][INFO] : MyModbusd: 'manage_new_config' Starting equipment 'Poolmanager Bayrol' (id 140) [2026-05-12 22:38:39][DEBUG] : Poolmanager Bayrol: 'read_eqConfig' client params for Poolmanager Bayrol: {'name': 'Poolmanager Bayrol', 'timeout': 1.0, 'retries': 3.0, 'trace_connect': >, 'port': 502, 'host': '192.168.0.139', 'framer': } [2026-05-12 22:38:39][DEBUG] : Poolmanager Bayrol: 'read_eqConfig' Modbus request for cmd id 2407: ReadInputRegistersRequest(dev_id=0, transaction_id=0, address=4001, count=1, bits=[], registers=[], status=1, retries=0) [2026-05-12 22:38:39][DEBUG] : Poolmanager Bayrol: 'read_eqConfig' Modbus request for cmd id 2408: ReadInputRegistersRequest(dev_id=0, transaction_id=0, address=4033, count=1, bits=[], registers=[], status=1, retries=0) [2026-05-12 22:38:39][DEBUG] : Poolmanager Bayrol: 'read_eqConfig' Modbus request for cmd id 2409: ReadInputRegistersRequest(dev_id=0, transaction_id=0, address=4008, count=1, bits=[], registers=[], status=1, retries=0) [2026-05-12 22:38:39][DEBUG] : Poolmanager Bayrol: 'read_eqConfig' Modbus request for cmd id 2410: ReadInputRegistersRequest(dev_id=0, transaction_id=0, address=4022, count=1, bits=[], registers=[], status=1, retries=0) [2026-05-12 22:38:39][DEBUG] : Poolmanager Bayrol: 'read_eqConfig' Modbus request for cmd id 2495: ReadInputRegistersRequest(dev_id=0, transaction_id=0, address=2001, count=1, bits=[], registers=[], status=1, retries=0) [2026-05-12 22:38:39][DEBUG] : Poolmanager Bayrol: 'read_eqConfig' Modbus request for cmd id 2496: ReadInputRegistersRequest(dev_id=0, transaction_id=0, address=2003, count=1, bits=[], registers=[], status=1, retries=0) [2026-05-12 22:38:39][DEBUG] : Poolmanager Bayrol: 'connect' ModbusClient of Poolmanager Bayrol = AsyncModbusTcpClient 192.168.0.139:502 [2026-05-12 22:38:39][INFO] : MyModbusd: Starting the task for the equipment 'Poolmanager Bayrol' [2026-05-12 22:38:39][DEBUG] : Poolmanager Bayrol: 'read_downstream' launched [2026-05-12 22:38:39][DEBUG] : MyModbusd: 'read_upstream' run for Poolmanager Bayrol (id = 140) [2026-05-12 22:38:39][INFO] : Poolmanager Bayrol: 'async_connect' first call [2026-05-12 22:38:39][DEBUG] : Poolmanager Bayrol: 'run_loop' launched in mode 'on_event' [2026-05-12 22:38:39][DEBUG] : Poolmanager Bayrol: 'run_loop' wait for CMD read [2026-05-12 22:39:00][DEBUG] : Received new message on socket [2026-05-12 22:39:00][DEBUG] : Close connection [2026-05-12 22:39:00][DEBUG] : MyModbusd: 'on_message' '''{'CMD': 'read', 'read_cmd': {'eqId': '140'}, 'apikey': 'chpyqJHFUTdkwPcfPHxA7d3URW23YwBoShHoO2hpfPyue1qkcPawJcttVhNgQlpJ', 'dt': '2026-05-12T22:39:00+02:00'}''' [2026-05-12 22:39:00][INFO] : MyModbusd: Command 'read' received from jeedom: sending the command to MyModbusClient [2026-05-12 22:39:00][DEBUG] : Poolmanager Bayrol: 'read_downstream' Message received from daemon: {'read': {'eqId': '140'}} [2026-05-12 22:39:00][DEBUG] : Connecting to 192.168.0.139:502. [2026-05-12 22:39:00][DEBUG] : Connecting Poolmanager Bayrol [2026-05-12 22:39:00][WARNING] : Failed to connect [Errno 111] Connect call failed ('192.168.0.139', 502) [2026-05-12 22:39:00][DEBUG] : Poolmanager Bayrol: connection opened [2026-05-12 22:39:00][DEBUG] : Poolmanager Bayrol: 'one_cycle_read' launched [2026-05-12 22:39:00][DEBUG] : Poolmanager Bayrol: 'one_cycle_read' treatment cmd_id = 2407 [2026-05-12 22:39:00][DEBUG] : Connecting to 192.168.0.139:502. [2026-05-12 22:39:00][DEBUG] : Connecting Poolmanager Bayrol [2026-05-12 22:39:00][WARNING] : Failed to connect [Errno 111] Connect call failed ('192.168.0.139', 502) [2026-05-12 22:39:00][DEBUG] : Poolmanager Bayrol: connection opened [2026-05-12 22:39:00][DEBUG] : Poolmanager Bayrol: 'one_cycle_read'/pH: requesting read [2026-05-12 22:39:00][ERROR] : Poolmanager Bayrol/pH: exception during read request on device id 0, address 4001 -> Modbus Error: [Connection] Not connected[AsyncModbusTcpClient 192.168.0.139:502] [2026-05-12 22:39:00][DEBUG] : Poolmanager Bayrol: 'add_change' launched with payload = {'values::cycle_ok': {'value': 0, 'eqId': '140'}} [2026-05-12 22:39:00][DEBUG] : MyModbusd: Message received from MyModbusClient Poolmanager Bayrol: {'add_change': {'values::cycle_ok': {'value': 0, 'eqId': '140'}}} [2026-05-12 22:39:00][DEBUG] : Try sending to jeedom: {'values': {'cycle_ok': {'value': 0, 'eqId': '140'}}} [2026-05-12 22:39:01][DEBUG] : Poolmanager Bayrol: 'one_cycle_read' treatment cmd_id = 2408 [2026-05-12 22:39:01][DEBUG] : Connecting to 192.168.0.139:502. [2026-05-12 22:39:01][DEBUG] : Connecting Poolmanager Bayrol [2026-05-12 22:39:01][WARNING] : Failed to connect [Errno 111] Connect call failed ('192.168.0.139', 502) [2026-05-12 22:39:01][DEBUG] : Poolmanager Bayrol: connection opened [2026-05-12 22:39:01][DEBUG] : Poolmanager Bayrol: 'one_cycle_read'/Temp01: requesting read [2026-05-12 22:39:01][ERROR] : Poolmanager Bayrol/Temp01: exception during read request on device id 0, address 4033 -> Modbus Error: [Connection] Not connected[AsyncModbusTcpClient 192.168.0.139:502] [2026-05-12 22:39:01][DEBUG] : Poolmanager Bayrol: 'add_change' launched with payload = {'values::cycle_ok': {'value': 0, 'eqId': '140'}} [2026-05-12 22:39:01][DEBUG] : MyModbusd: Message received from MyModbusClient Poolmanager Bayrol: {'add_change': {'values::cycle_ok': {'value': 0, 'eqId': '140'}}} [2026-05-12 22:39:01][DEBUG] : Try sending to jeedom: {'values': {'cycle_ok': {'value': 0, 'eqId': '140'}}} [2026-05-12 22:39:02][DEBUG] : Poolmanager Bayrol: 'one_cycle_read' treatment cmd_id = 2409 [2026-05-12 22:39:02][DEBUG] : Connecting to 192.168.0.139:502. [2026-05-12 22:39:02][DEBUG] : Connecting Poolmanager Bayrol [2026-05-12 22:39:02][WARNING] : Failed to connect [Errno 111] Connect call failed ('192.168.0.139', 502) [2026-05-12 22:39:02][DEBUG] : Poolmanager Bayrol: connection opened [2026-05-12 22:39:02][DEBUG] : Poolmanager Bayrol: 'one_cycle_read'/Chlore Libre: requesting read [2026-05-12 22:39:02][ERROR] : Poolmanager Bayrol/Chlore Libre: exception during read request on device id 0, address 4008 -> Modbus Error: [Connection] Not connected[AsyncModbusTcpClient 192.168.0.139:502] [2026-05-12 22:39:02][DEBUG] : Poolmanager Bayrol: 'add_change' launched with payload = {'values::cycle_ok': {'value': 0, 'eqId': '140'}} [2026-05-12 22:39:02][DEBUG] : MyModbusd: Message received from MyModbusClient Poolmanager Bayrol: {'add_change': {'values::cycle_ok': {'value': 0, 'eqId': '140'}}} [2026-05-12 22:39:02][DEBUG] : Try sending to jeedom: {'values': {'cycle_ok': {'value': 0, 'eqId': '140'}}} [2026-05-12 22:39:03][DEBUG] : Poolmanager Bayrol: 'one_cycle_read' treatment cmd_id = 2410 [2026-05-12 22:39:03][DEBUG] : Connecting to 192.168.0.139:502. [2026-05-12 22:39:03][DEBUG] : Connecting Poolmanager Bayrol [2026-05-12 22:39:03][WARNING] : Failed to connect [Errno 111] Connect call failed ('192.168.0.139', 502) [2026-05-12 22:39:03][DEBUG] : Poolmanager Bayrol: connection opened [2026-05-12 22:39:03][DEBUG] : Poolmanager Bayrol: 'one_cycle_read'/Redox: requesting read [2026-05-12 22:39:03][ERROR] : Poolmanager Bayrol/Redox: exception during read request on device id 0, address 4022 -> Modbus Error: [Connection] Not connected[AsyncModbusTcpClient 192.168.0.139:502] [2026-05-12 22:39:03][DEBUG] : Poolmanager Bayrol: 'add_change' launched with payload = {'values::cycle_ok': {'value': 0, 'eqId': '140'}} [2026-05-12 22:39:03][DEBUG] : MyModbusd: Message received from MyModbusClient Poolmanager Bayrol: {'add_change': {'values::cycle_ok': {'value': 0, 'eqId': '140'}}} [2026-05-12 22:39:04][DEBUG] : Try sending to jeedom: {'values': {'cycle_ok': {'value': 0, 'eqId': '140'}}} [2026-05-12 22:39:04][DEBUG] : Poolmanager Bayrol: 'one_cycle_read' treatment cmd_id = 2495 [2026-05-12 22:39:04][DEBUG] : Connecting to 192.168.0.139:502. [2026-05-12 22:39:04][DEBUG] : Connecting Poolmanager Bayrol [2026-05-12 22:39:04][WARNING] : Failed to connect [Errno 111] Connect call failed ('192.168.0.139', 502) [2026-05-12 22:39:04][DEBUG] : Poolmanager Bayrol: connection opened [2026-05-12 22:39:04][DEBUG] : Poolmanager Bayrol: 'one_cycle_read'/alarme générale: requesting read [2026-05-12 22:39:04][ERROR] : Poolmanager Bayrol/alarme générale: exception during read request on device id 0, address 2001 -> Modbus Error: [Connection] Not connected[AsyncModbusTcpClient 192.168.0.139:502] [2026-05-12 22:39:04][DEBUG] : Poolmanager Bayrol: 'add_change' launched with payload = {'values::cycle_ok': {'value': 0, 'eqId': '140'}} [2026-05-12 22:39:04][DEBUG] : MyModbusd: Message received from MyModbusClient Poolmanager Bayrol: {'add_change': {'values::cycle_ok': {'value': 0, 'eqId': '140'}}} [2026-05-12 22:39:05][DEBUG] : Try sending to jeedom: {'values': {'cycle_ok': {'value': 0, 'eqId': '140'}}} [2026-05-12 22:39:05][DEBUG] : Poolmanager Bayrol: 'one_cycle_read' treatment cmd_id = 2496 [2026-05-12 22:39:05][DEBUG] : Connecting to 192.168.0.139:502. [2026-05-12 22:39:05][DEBUG] : Connecting Poolmanager Bayrol [2026-05-12 22:39:05][WARNING] : Failed to connect [Errno 111] Connect call failed ('192.168.0.139', 502) [2026-05-12 22:39:06][DEBUG] : Poolmanager Bayrol: connection opened [2026-05-12 22:39:06][DEBUG] : Poolmanager Bayrol: 'one_cycle_read'/aucun signal débit: requesting read [2026-05-12 22:39:06][ERROR] : Poolmanager Bayrol/aucun signal débit: exception during read request on device id 0, address 2003 -> Modbus Error: [Connection] Not connected[AsyncModbusTcpClient 192.168.0.139:502] [2026-05-12 22:39:06][DEBUG] : Poolmanager Bayrol: 'add_change' launched with payload = {'values::cycle_ok': {'value': 0, 'eqId': '140'}} [2026-05-12 22:39:06][DEBUG] : MyModbusd: Message received from MyModbusClient Poolmanager Bayrol: {'add_change': {'values::cycle_ok': {'value': 0, 'eqId': '140'}}} [2026-05-12 22:39:06][DEBUG] : Try sending to jeedom: {'values': {'cycle_ok': {'value': 0, 'eqId': '140'}}} [2026-05-12 22:39:07][DEBUG] : Poolmanager Bayrol: 'one_cycle_read' exit with error_or_exception = True [2026-05-12 22:39:07][DEBUG] : Poolmanager Bayrol: 'run_loop' wait for CMD read [2026-05-12 22:39:07][INFO] : Poolmanager Bayrol: Modbus communication closed [2026-05-12 22:39:52][DEBUG] : Received new message on socket [2026-05-12 22:39:52][DEBUG] : Close connection [2026-05-12 22:39:52][DEBUG] : MyModbusd: 'on_message' '''{'CMD': 'quit', 'apikey': 'chpyqJHFUTdkwPcfPHxA7d3URW23YwBoShHoO2hpfPyue1qkcPawJcttVhNgQlpJ', 'dt': '2026-05-12T22:39:52+02:00'}''' [2026-05-12 22:39:52][INFO] : MyModbusd: Command 'quit' received from jeedom: exiting [2026-05-12 22:39:52][DEBUG] : Poolmanager Bayrol: 'read_downstream' Message received from daemon: {'quit': None} [2026-05-12 22:39:52][DEBUG] : Poolmanager Bayrol: 'read_downstream' exit [2026-05-12 22:39:52][DEBUG] : MyModbusd: 'read_upstream' for Poolmanager Bayrol (id = 140) cancelled [2026-05-12 22:39:52][DEBUG] : MyModbusd: 'read_upstream' exit for Poolmanager Bayrol (id = 140) [2026-05-12 22:39:52][INFO] : Cancelling 4 tasks [2026-05-12 22:39:52][DEBUG] : Poolmanager Bayrol: 'run_loop' cancelled [2026-05-12 22:39:52][DEBUG] : Poolmanager Bayrol: 'run_loop' exit [2026-05-12 22:39:52][INFO] : Send async cancelled [2026-05-12 22:39:52][INFO] : Listening cancelled [2026-05-12 22:39:52][INFO] : Poolmanager Bayrol: Modbus communication closed [2026-05-12 22:39:52][INFO] : Shutdown [2026-05-12 22:39:52][DEBUG] : Removing PID file /tmp/jeedom/mymodbus/daemon.pid [2026-05-12 22:39:52][DEBUG] : Exit 0