[2025-05-15 06:56:21][DEBUG] : Received new message on socket [2025-05-15 06:56:21][DEBUG] : Close connection [2025-05-15 06:56:21][DEBUG] : MyModbusd: 'on_message' '''{'CMD': 'quit', 'apikey': 'MU22WZaVjgJD2xb5n9NipCQ9jOTR5B0esfI6RrSTGsInN1dJq2W2NeqK0c109d5k', 'dt': '2025-05-15T06:56:21+02:00'}''' [2025-05-15 06:56:21][INFO] : MyModbusd: Command 'quit' received from jeedom: exiting [2025-05-15 06:56:21][DEBUG] : MODBUSRTU PDR 8IO: 'read_downstream' Message received from daemon: {'quit': None} [2025-05-15 06:56:21][DEBUG] : MODBUSRTU PDR 8IO: 'read_downstream' exit [2025-05-15 06:56:21][DEBUG] : MyModbusd: 'read_upstream' for MODBUSRTU PDR 8IO (id = 370) cancelled [2025-05-15 06:56:21][DEBUG] : MyModbusd: 'read_upstream' exit for MODBUSRTU PDR 8IO (id = 370) [2025-05-15 06:56:21][INFO] : Cancelling 4 tasks [2025-05-15 06:56:21][DEBUG] : MODBUSRTU PDR 8IO: 'run_loop' cancelled [2025-05-15 06:56:21][DEBUG] : MODBUSRTU PDR 8IO: 'run_loop' exit [2025-05-15 06:56:21][INFO] : Listening cancelled [2025-05-15 06:56:21][INFO] : Send async cancelled [2025-05-15 06:56:21][INFO] : MODBUSRTU PDR 8IO: Modbus communication closed [2025-05-15 06:56:21][INFO] : Shutdown [2025-05-15 06:56:21][DEBUG] : Removing PID file /tmp/jeedom/mymodbus/daemon.pid [2025-05-15 06:56:21][DEBUG] : Exit 0 [2025-05-15 06:56:23][INFO] : Starting daemon (lib version 1.2.9) with log level: debug [2025-05-15 06:56:23][DEBUG] : Writing PID 383575 to /tmp/jeedom/mymodbus/daemon.pid [2025-05-15 06:56:23][INFO] : Listening on 127.0.0.1:55502 [2025-05-15 06:56:23][DEBUG] : Received new message on socket [2025-05-15 06:56:23][INFO] : Send async started with a cycle of 0.5s [2025-05-15 06:56:23][DEBUG] : Close connection [2025-05-15 06:56:23][DEBUG] : MyModbusd: 'on_message' '''{'CMD': 'newDaemonConfig', 'config': [{'id': '370', 'name': 'MODBUSRTU PDR 8IO', 'eqProtocol': 'serial', 'eqRefreshMode': 'on_event', 'eqPolling': '60', 'eqTimeout': '5', 'eqWriteCmdCheckTimeout': '0.01', 'eqRetries': '3', 'eqFirstDelay': '0', 'eqErrorDelay': '1', 'eqPort': '/dev/serial/by-id/usb-FTDI_FT232R_USB_UART_A50285BI-if00-port0', 'eqSerialMethod': 'rtu', 'eqSerialBaudrate': '9600', 'eqSerialBytesize': '8', 'eqSerialParity': 'N', 'eqSerialStopbits': '1', 'eqRegTest': '0', 'cmds': [{'id': '6295', 'name': '1 pompe', 'type': 'info', 'cmdSlave': '3', 'cmdFctModbus': 'fromBlob', 'cmdSourceBlob': '6294', 'cmdFormat': 'bit', 'cmdAddress': '0', 'cmdFrequency': '1', 'cmdInvertBytes': '0', 'cmdInvertWords': '0', 'cmdInvertDWords': '0', 'repeat': '0'}, {'id': '6296', 'name': '2 escalier', 'type': 'info', 'cmdSlave': '3', 'cmdFctModbus': 'fromBlob', 'cmdSourceBlob': '6294', 'cmdFormat': 'bit', 'cmdAddress': '1', 'cmdFrequency': '1', 'cmdInvertBytes': '0', 'cmdInvertWords': '0', 'cmdInvertDWords': '0', 'repeat': '0'}, {'id': '6297', 'name': '3 spot', 'type': 'info', 'cmdSlave': '3', 'cmdFctModbus': 'fromBlob', 'cmdSourceBlob': '6294', 'cmdFormat': 'bit', 'cmdAddress': '2', 'cmdFrequency': '1', 'cmdInvertBytes': '0', 'cmdInvertWords': '0', 'cmdInvertDWords': '0', 'repeat': '0'}, {'id': '6294', 'name': 'Etats des relais', 'type': 'info', 'cmdSlave': '3', 'cmdFctModbus': '1', 'cmdFormat': 'blob', 'cmdAddress': '0[8]', 'cmdFrequency': '1', 'cmdInvertBytes': '0', 'cmdInvertWords': '0', 'cmdInvertDWords': '0', 'repeat': '0'}, {'id': '6298', 'name': '4 buttes', 'type': 'info', 'cmdSlave': '3', 'cmdFctModbus': 'fromBlob', 'cmdSourceBlob': '6294', 'cmdFormat': 'bit', 'cmdAddress': '3', 'cmdFrequency': '1', 'cmdInvertBytes': '0', 'cmdInvertWords': '0', 'cmdInvertDWords': '0', 'repeat': '0'}, {'id': '6299', 'name': '5 potager', 'type': 'info', 'cmdSlave': '3', 'cmdFctModbus': 'fromBlob', 'cmdSourceBlob': '6294', 'cmdFormat': 'bit', 'cmdAddress': '4', 'cmdFrequency': '1', 'cmdInvertBytes': '0', 'cmdInvertWords': '0', 'cmdInvertDWords': '0', 'repeat': '0'}, {'id': '6300', 'name': '6 pelouse Sud', 'type': 'info', 'cmdSlave': '3', 'cmdFctModbus': 'fromBlob', 'cmdSourceBlob': '6294', 'cmdFormat': 'bit', 'cmdAddress': '5', 'cmdFrequency': '1', 'cmdInvertBytes': '0', 'cmdInvertWords': '0', 'cmdInvertDWords': '0', 'repeat': '0'}, {'id': '6301', 'name': '7 pelouse Est', 'type': 'info', 'cmdSlave': '3', 'cmdFctModbus': 'fromBlob', 'cmdSourceBlob': '6294', 'cmdFormat': 'bit', 'cmdAddress': '6', 'cmdFrequency': '1', 'cmdInvertBytes': '0', 'cmdInvertWords': '0', 'cmdInvertDWords': '0', 'repeat': '0'}, {'id': '6302', 'name': '8 arrosages', 'type': 'info', 'cmdSlave': '3', 'cmdFctModbus': 'fromBlob', 'cmdSourceBlob': '6294', 'cmdFormat': 'bit', 'cmdAddress': '7', 'cmdFrequency': '1', 'cmdInvertBytes': '0', 'cmdInvertWords': '0', 'cmdInvertDWords': '0', 'repeat': '0'}, {'id': '6303', 'name': '11 pompe', 'type': 'action', 'cmdSlave': '3', 'cmdFctModbus': '5', 'cmdFormat': 'bit', 'cmdAddress': '0', 'cmdFrequency': '1', 'cmdInvertBytes': '0', 'cmdInvertWords': '0', 'cmdInvertDWords': '0', 'repeat': '0'}, {'id': '6304', 'name': '21 escalier', 'type': 'action', 'cmdSlave': '3', 'cmdFctModbus': '5', 'cmdFormat': 'bit', 'cmdAddress': '1', 'cmdFrequency': '1', 'cmdInvertBytes': '0', 'cmdInvertWords': '0', 'cmdInvertDWords': '0', 'repeat': '0'}, {'id': '6305', 'name': '31 spot', 'type': 'action', 'cmdSlave': '3', 'cmdFctModbus': '5', 'cmdFormat': 'bit', 'cmdAddress': '2', 'cmdFrequency': '1', 'cmdInvertBytes': '0', 'cmdInvertWords': '0', 'cmdInvertDWords': '0', 'repeat': '0'}, {'id': '6306', 'name': '41 buttes', 'type': 'action', 'cmdSlave': '3', 'cmdFctModbus': '5', 'cmdFormat': 'bit', 'cmdAddress': '3', 'cmdFrequency': '1', 'cmdInvertBytes': '0', 'cmdInvertWords': '0', 'cmdInvertDWords': '0', 'repeat': '0'}, {'id': '6307', 'name': '51 potager', 'type': 'action', 'cmdSlave': '3', 'cmdFctModbus': '5', 'cmdFormat': 'bit', 'cmdAddress': '4', 'cmdFrequency': '1', 'cmdInvertBytes': '0', 'cmdInvertWords': '0', 'cmdInvertDWords': '0', 'repeat': '0'}, {'id': '6308', 'name': '61 pelouse Sud', 'type': 'action', 'cmdSlave': '3', 'cmdFctModbus': '5', 'cmdFormat': 'bit', 'cmdAddress': '5', 'cmdFrequency': '1', 'cmdInvertBytes': '0', 'cmdInvertWords': '0', 'cmdInvertDWords': '0', 'repeat': '0'}, {'id': '6309', 'name': '71 pelouse Est', 'type': 'action', 'cmdSlave': '3', 'cmdFctModbus': '5', 'cmdFormat': 'bit', 'cmdAddress': '6', 'cmdFrequency': '1', 'cmdInvertBytes': '0', 'cmdInvertWords': '0', 'cmdInvertDWords': '0', 'repeat': '0'}, {'id': '6310', 'name': '81 arrosages', 'type': 'action', 'cmdSlave': '3', 'cmdFctModbus': '5', 'cmdFormat': 'bit', 'cmdAddress': '7', 'cmdFrequency': '1', 'cmdInvertBytes': '0', 'cmdInvertWords': '0', 'cmdInvertDWords': '0', 'repeat': '0'}, {'id': '6311', 'name': '10 pompe', 'type': 'action', 'cmdSlave': '3', 'cmdFctModbus': '5', 'cmdFormat': 'bit', 'cmdAddress': '0', 'cmdFrequency': '1', 'cmdInvertBytes': '0', 'cmdInvertWords': '0', 'cmdInvertDWords': '0', 'repeat': '0'}, {'id': '6312', 'name': '20 escalier', 'type': 'action', 'cmdSlave': '3', 'cmdFctModbus': '5', 'cmdFormat': 'bit', 'cmdAddress': '1', 'cmdFrequency': '1', 'cmdInvertBytes': '0', 'cmdInvertWords': '0', 'cmdInvertDWords': '0', 'repeat': '0'}, {'id': '6313', 'name': '30 spot', 'type': 'action', 'cmdSlave': '3', 'cmdFctModbus': '5', 'cmdFormat': 'bit', 'cmdAddress': '2', 'cmdFrequency': '1', 'cmdInvertBytes': '0', 'cmdInvertWords': '0', 'cmdInvertDWords': '0', 'repeat': '0'}, {'id': '6314', 'name': '40 buttes', 'type': 'action', 'cmdSlave': '3', 'cmdFctModbus': '5', 'cmdFormat': 'bit', 'cmdAddress': '3', 'cmdFrequency': '1', 'cmdInvertBytes': '0', 'cmdInvertWords': '0', 'cmdInvertDWords': '0', 'repeat': '0'}, {'id': '6315', 'name': '50 potager', 'type': 'action', 'cmdSlave': '3', 'cmdFctModbus': '5', 'cmdFormat': 'bit', 'cmdAddress': '4', 'cmdFrequency': '1', 'cmdInvertBytes': '0', 'cmdInvertWords': '0', 'cmdInvertDWords': '0', 'repeat': '0'}, {'id': '6316', 'name': '60 pelouse Sud', 'type': 'action', 'cmdSlave': '3', 'cmdFctModbus': '5', 'cmdFormat': 'bit', 'cmdAddress': '5', 'cmdFrequency': '1', 'cmdInvertBytes': '0', 'cmdInvertWords': '0', 'cmdInvertDWords': '0', 'repeat': '0'}, {'id': '6317', 'name': '70 pelouse Est', 'type': 'action', 'cmdSlave': '3', 'cmdFctModbus': '5', 'cmdFormat': 'bit', 'cmdAddress': '6', 'cmdFrequency': '1', 'cmdInvertBytes': '0', 'cmdInvertWords': '0', 'cmdInvertDWords': '0', 'repeat': '0'}, {'id': '6318', 'name': '80 arrosages', 'type': 'action', 'cmdSlave': '3', 'cmdFctModbus': '5', 'cmdFormat': 'bit', 'cmdAddress': '7', 'cmdFrequency': '1', 'cmdInvertBytes': '0', 'cmdInvertWords': '0', 'cmdInvertDWords': '0', 'repeat': '0'}]}], 'apikey': 'MU22WZaVjgJD2xb5n9NipCQ9jOTR5B0esfI6RrSTGsInN1dJq2W2NeqK0c109d5k', 'dt': '2025-05-15T06:56:23+02:00'}''' [2025-05-15 06:56:23][INFO] : MyModbusd: Command 'newDaemonConfig' received from jeedom: sending the new config to all MyModbusClients [2025-05-15 06:56:23][INFO] : MyModbusd: 'manage_new_config' Starting equipment MODBUSRTU PDR 8IO (id 370) [2025-05-15 06:56:23][DEBUG] : MODBUSRTU PDR 8IO: 'read_eqConfig' client params for MODBUSRTU PDR 8IO: {'name': 'MODBUSRTU PDR 8IO', 'timeout': 5.0, 'retries': 3.0, 'trace_connect': >, 'port': '/dev/serial/by-id/usb-FTDI_FT232R_USB_UART_A50285BI-if00-port0', 'baudrate': 9600, 'stopbits': 1, 'bytesize': 8, 'parity': 'N', 'framer': } [2025-05-15 06:56:23][DEBUG] : MODBUSRTU PDR 8IO: 'read_eqConfig' Modbus request for cmd id 6294: ReadCoilsRequest(dev_id=3, transaction_id=0, address=0, count=8, bits=[], registers=[], status=1) [2025-05-15 06:56:23][DEBUG] : MODBUSRTU PDR 8IO: 'connect' ModbusClient of MODBUSRTU PDR 8IO = AsyncModbusSerialClient /dev/serial/by-id/usb-FTDI_FT232R_USB_UART_A50285BI-if00-port0:0 [2025-05-15 06:56:23][INFO] : MyModbusd: Starting the task for the equipement MODBUSRTU PDR 8IO [2025-05-15 06:56:23][DEBUG] : MODBUSRTU PDR 8IO: 'read_downstream' launched [2025-05-15 06:56:23][DEBUG] : MyModbusd: 'read_upstream' run for MODBUSRTU PDR 8IO (id = 370) [2025-05-15 06:56:23][INFO] : MODBUSRTU PDR 8IO: 'async_connect' first call [2025-05-15 06:56:23][DEBUG] : MODBUSRTU PDR 8IO: 'run_loop' launched in mode 'on_event' [2025-05-15 06:56:23][DEBUG] : MODBUSRTU PDR 8IO: 'run_loop' wait for CMD read [2025-05-15 06:56:54][DEBUG] : Received new message on socket [2025-05-15 06:56:54][DEBUG] : Close connection [2025-05-15 06:56:54][DEBUG] : MyModbusd: 'on_message' '''{'CMD': 'write', 'write_cmd': {'eqId': '370', 'cmdWriteValue': 1, 'cmdId': '6307'}, 'apikey': 'MU22WZaVjgJD2xb5n9NipCQ9jOTR5B0esfI6RrSTGsInN1dJq2W2NeqK0c109d5k', 'dt': '2025-05-15T06:56:54+02:00'}''' [2025-05-15 06:56:54][INFO] : MyModbusd: Command 'write' received from jeedom: sending the command to MyModbusClient 370: {'eqId': '370', 'cmdWriteValue': 1, 'cmdId': '6307'} [2025-05-15 06:56:54][DEBUG] : MODBUSRTU PDR 8IO: 'read_downstream' Message received from daemon: {'write': {'eqId': '370', 'cmdWriteValue': 1, 'cmdId': '6307'}} [2025-05-15 06:56:54][DEBUG] : MODBUSRTU PDR 8IO: 'command_write' launched with command = '{'eqId': '370', 'cmdWriteValue': 1, 'cmdId': '6307'}' [2025-05-15 06:56:54][DEBUG] : MODBUSRTU PDR 8IO/51 potager: 'command_write' 'value_to_write' = '1' (bit) [2025-05-15 06:56:54][DEBUG] : MODBUSRTU PDR 8IO/51 potager: 'command_write' 'address' (count) = '4' (1) [2025-05-15 06:56:54][DEBUG] : MODBUSRTU PDR 8IO/51 potager: 'command_write' payload = [True] [2025-05-15 06:56:54][DEBUG] : MODBUSRTU PDR 8IO/51 potager: 'command_write' write_req_params = {'address': 4, 'dev_id': 3, 'bits': [True]} [2025-05-15 06:56:54][DEBUG] : MODBUSRTU PDR 8IO/51 potager: 'command_write' request_func = [2025-05-15 06:56:54][DEBUG] : MODBUSRTU PDR 8IO/51 potager: 'command_write' Fonction WriteSingleCoilRequest(dev_id=3, transaction_id=0, address=4, count=0, bits=[True], registers=[], status=1) [2025-05-15 06:56:54][DEBUG] : Connecting to /dev/serial/by-id/usb-FTDI_FT232R_USB_UART_A50285BI-if00-port0:0. [2025-05-15 06:56:54][DEBUG] : Connecting MODBUSRTU PDR 8IO [2025-05-15 06:56:54][DEBUG] : Connected to MODBUSRTU PDR 8IO [2025-05-15 06:56:54][DEBUG] : MODBUSRTU PDR 8IO: 'trace_connect_callback' called with connected = True [2025-05-15 06:56:54][DEBUG] : MODBUSRTU PDR 8IO: connection opened [2025-05-15 06:56:54][DEBUG] : MODBUSRTU PDR 8IO/51 potager: 'command_write' Request sent [2025-05-15 06:56:54][DEBUG] : send: 0x3 0x5 0x0 0x4 0xff 0x0 0xcc 0x19 [2025-05-15 06:56:54][DEBUG] : recv: 0x3 0x5 0x0 0x4 0xff 0x0 0xcc 0x19 old_data: addr=None [2025-05-15 06:56:54][DEBUG] : Processing: 0x3 0x5 0x0 0x4 0xff 0x0 0xcc 0x19 [2025-05-15 06:56:54][DEBUG] : decoded PDU function_code(5 sub -1) -> WriteSingleCoilResponse(dev_id=0, transaction_id=0, address=4, count=0, bits=[True], registers=[], status=1) [2025-05-15 06:56:54][DEBUG] : Frame advanced, resetting header!! [2025-05-15 06:57:01][DEBUG] : Received new message on socket [2025-05-15 06:57:01][DEBUG] : Close connection [2025-05-15 06:57:01][DEBUG] : MyModbusd: 'on_message' '''{'CMD': 'read', 'read_cmd': {'eqId': '370'}, 'apikey': 'MU22WZaVjgJD2xb5n9NipCQ9jOTR5B0esfI6RrSTGsInN1dJq2W2NeqK0c109d5k', 'dt': '2025-05-15T06:57:01+02:00'}''' [2025-05-15 06:57:01][INFO] : MyModbusd: Command 'read' received from jeedom: sending the command to MyModbusClient [2025-05-15 06:57:01][DEBUG] : MODBUSRTU PDR 8IO: 'read_downstream' Message received from daemon: {'read': {'eqId': '370'}} [2025-05-15 06:57:01][DEBUG] : MODBUSRTU PDR 8IO: 'one_cycle_read' launched [2025-05-15 06:57:01][DEBUG] : MODBUSRTU PDR 8IO: 'one_cycle_read' treatment cmd_id = 6294 [2025-05-15 06:57:01][DEBUG] : MODBUSRTU PDR 8IO: 'one_cycle_read'/Etats des relais: requesting read [2025-05-15 06:57:01][DEBUG] : send: 0x3 0x1 0x0 0x0 0x0 0x8 0x3c 0x2e [2025-05-15 06:57:01][DEBUG] : recv: 0x3 0x1 0x1 0x10 old_data: addr=None [2025-05-15 06:57:01][DEBUG] : Processing: 0x3 0x1 0x1 0x10 [2025-05-15 06:57:01][DEBUG] : Frame - not ready [2025-05-15 06:57:01][DEBUG] : recv, unused data waiting for next packet: 0x3 0x1 0x1 0x10 [2025-05-15 06:57:02][DEBUG] : recv: 0x51 0xfc old_data: 0x3 0x1 0x1 0x10 addr=None [2025-05-15 06:57:02][DEBUG] : Processing: 0x3 0x1 0x1 0x10 0x51 0xfc [2025-05-15 06:57:02][DEBUG] : decoded PDU function_code(1 sub -1) -> ReadCoilsResponse(dev_id=0, transaction_id=0, address=0, count=0, bits=[False, False, False, False, True, False, False, False], registers=[], status=1) [2025-05-15 06:57:02][DEBUG] : Frame advanced, resetting header!! [2025-05-15 06:57:02][DEBUG] : MODBUSRTU PDR 8IO: 'process_read_response' launched for command id = 6294 [2025-05-15 06:57:02][DEBUG] : MODBUSRTU PDR 8IO: 'cmd_decode' launched for command id = 6295 [2025-05-15 06:57:02][DEBUG] : MODBUSRTU PDR 8IO: 'cmd_decode' launched for command id = 6296 [2025-05-15 06:57:02][DEBUG] : MODBUSRTU PDR 8IO: 'cmd_decode' launched for command id = 6297 [2025-05-15 06:57:02][DEBUG] : MODBUSRTU PDR 8IO: 'cmd_decode' launched for command id = 6298 [2025-05-15 06:57:02][DEBUG] : MODBUSRTU PDR 8IO: 'cmd_decode' launched for command id = 6299 [2025-05-15 06:57:02][DEBUG] : MODBUSRTU PDR 8IO: 'cmd_decode' launched for command id = 6300 [2025-05-15 06:57:02][DEBUG] : MODBUSRTU PDR 8IO: 'cmd_decode' launched for command id = 6301 [2025-05-15 06:57:02][DEBUG] : MODBUSRTU PDR 8IO: 'cmd_decode' launched for command id = 6302 [2025-05-15 06:57:02][DEBUG] : MODBUSRTU PDR 8IO: 'add_change' launched with payload = {'values::6294': 1, 'values::6295': False, 'values::6296': False, 'values::6297': False, 'values::6298': False, 'values::6299': False, 'values::6300': False, 'values::6301': False, 'values::6302': False} [2025-05-15 06:57:02][DEBUG] : MyModbusd: Message received from MyModbusClient MODBUSRTU PDR 8IO: {'add_change': {'values::6294': 1, 'values::6295': False, 'values::6296': False, 'values::6297': False, 'values::6298': False, 'values::6299': False, 'values::6300': False, 'values::6301': False, 'values::6302': False}} [2025-05-15 06:57:02][DEBUG] : MODBUSRTU PDR 8IO: 'one_cycle_read' exit with error_or_exception = False [2025-05-15 06:57:02][DEBUG] : MODBUSRTU PDR 8IO: 'run_loop' wait for CMD read [2025-05-15 06:57:02][DEBUG] : MODBUSRTU PDR 8IO: 'add_change' launched with payload = {'values::cycle_ok': {'value': 1, 'eqId': '370'}} [2025-05-15 06:57:02][DEBUG] : MODBUSRTU PDR 8IO: 'add_change' daemon is stopping, no modification sent [2025-05-15 06:57:02][INFO] : MODBUSRTU PDR 8IO: Modbus communication closed [2025-05-15 06:57:02][DEBUG] : Try sending to jeedom: {'values': {'6294': 1, '6295': False, '6296': False, '6297': False, '6298': False, '6299': False, '6300': False, '6301': False, '6302': False}} [2025-05-15 06:57:17][DEBUG] : Received new message on socket [2025-05-15 06:57:17][DEBUG] : Close connection [2025-05-15 06:57:17][DEBUG] : MyModbusd: 'on_message' '''{'CMD': 'write', 'write_cmd': {'eqId': '370', 'cmdWriteValue': 0, 'cmdId': '6315'}, 'apikey': 'MU22WZaVjgJD2xb5n9NipCQ9jOTR5B0esfI6RrSTGsInN1dJq2W2NeqK0c109d5k', 'dt': '2025-05-15T06:57:17+02:00'}''' [2025-05-15 06:57:17][INFO] : MyModbusd: Command 'write' received from jeedom: sending the command to MyModbusClient 370: {'eqId': '370', 'cmdWriteValue': 0, 'cmdId': '6315'} [2025-05-15 06:57:17][DEBUG] : MODBUSRTU PDR 8IO: 'read_downstream' Message received from daemon: {'write': {'eqId': '370', 'cmdWriteValue': 0, 'cmdId': '6315'}} [2025-05-15 06:57:17][DEBUG] : MODBUSRTU PDR 8IO: 'command_write' launched with command = '{'eqId': '370', 'cmdWriteValue': 0, 'cmdId': '6315'}' [2025-05-15 06:57:17][DEBUG] : MODBUSRTU PDR 8IO/50 potager: 'command_write' 'value_to_write' = '0' (bit) [2025-05-15 06:57:17][DEBUG] : MODBUSRTU PDR 8IO/50 potager: 'command_write' 'address' (count) = '4' (1) [2025-05-15 06:57:17][DEBUG] : MODBUSRTU PDR 8IO/50 potager: 'command_write' payload = [False] [2025-05-15 06:57:17][DEBUG] : MODBUSRTU PDR 8IO/50 potager: 'command_write' write_req_params = {'address': 4, 'dev_id': 3, 'bits': [False]} [2025-05-15 06:57:17][DEBUG] : MODBUSRTU PDR 8IO/50 potager: 'command_write' request_func = [2025-05-15 06:57:17][DEBUG] : MODBUSRTU PDR 8IO/50 potager: 'command_write' Fonction WriteSingleCoilRequest(dev_id=3, transaction_id=0, address=4, count=0, bits=[False], registers=[], status=1) [2025-05-15 06:57:17][DEBUG] : Connecting to /dev/serial/by-id/usb-FTDI_FT232R_USB_UART_A50285BI-if00-port0:0. [2025-05-15 06:57:17][DEBUG] : Connecting MODBUSRTU PDR 8IO [2025-05-15 06:57:17][DEBUG] : Connected to MODBUSRTU PDR 8IO [2025-05-15 06:57:17][DEBUG] : MODBUSRTU PDR 8IO: 'trace_connect_callback' called with connected = True [2025-05-15 06:57:17][DEBUG] : MODBUSRTU PDR 8IO: connection opened [2025-05-15 06:57:17][DEBUG] : MODBUSRTU PDR 8IO/50 potager: 'command_write' Request sent [2025-05-15 06:57:17][DEBUG] : send: 0x3 0x5 0x0 0x4 0x0 0x0 0x8d 0xe9 [2025-05-15 06:57:17][DEBUG] : recv: 0x3 old_data: addr=None [2025-05-15 06:57:17][DEBUG] : Processing: 0x3 [2025-05-15 06:57:17][DEBUG] : Short frame: 0x3 wait for more data [2025-05-15 06:57:17][DEBUG] : recv, unused data waiting for next packet: 0x3 [2025-05-15 06:57:17][DEBUG] : recv: 0x5 0x0 0x4 0x0 0x0 0x8d 0xe9 old_data: 0x3 addr=None [2025-05-15 06:57:17][DEBUG] : Processing: 0x3 0x5 0x0 0x4 0x0 0x0 0x8d 0xe9 [2025-05-15 06:57:17][DEBUG] : decoded PDU function_code(5 sub -1) -> WriteSingleCoilResponse(dev_id=0, transaction_id=0, address=4, count=0, bits=[False], registers=[], status=1) [2025-05-15 06:57:17][DEBUG] : Frame advanced, resetting header!! [2025-05-15 06:57:28][DEBUG] : Received new message on socket [2025-05-15 06:57:28][DEBUG] : Close connection [2025-05-15 06:57:28][DEBUG] : MyModbusd: 'on_message' '''{'CMD': 'write', 'write_cmd': {'eqId': '370', 'cmdWriteValue': 1, 'cmdId': '6308'}, 'apikey': 'MU22WZaVjgJD2xb5n9NipCQ9jOTR5B0esfI6RrSTGsInN1dJq2W2NeqK0c109d5k', 'dt': '2025-05-15T06:57:28+02:00'}''' [2025-05-15 06:57:28][INFO] : MyModbusd: Command 'write' received from jeedom: sending the command to MyModbusClient 370: {'eqId': '370', 'cmdWriteValue': 1, 'cmdId': '6308'} [2025-05-15 06:57:28][DEBUG] : MODBUSRTU PDR 8IO: 'read_downstream' Message received from daemon: {'write': {'eqId': '370', 'cmdWriteValue': 1, 'cmdId': '6308'}} [2025-05-15 06:57:28][DEBUG] : MODBUSRTU PDR 8IO: 'command_write' launched with command = '{'eqId': '370', 'cmdWriteValue': 1, 'cmdId': '6308'}' [2025-05-15 06:57:28][DEBUG] : MODBUSRTU PDR 8IO/61 pelouse Sud: 'command_write' 'value_to_write' = '1' (bit) [2025-05-15 06:57:28][DEBUG] : MODBUSRTU PDR 8IO/61 pelouse Sud: 'command_write' 'address' (count) = '5' (1) [2025-05-15 06:57:28][DEBUG] : MODBUSRTU PDR 8IO/61 pelouse Sud: 'command_write' payload = [True] [2025-05-15 06:57:28][DEBUG] : MODBUSRTU PDR 8IO/61 pelouse Sud: 'command_write' write_req_params = {'address': 5, 'dev_id': 3, 'bits': [True]} [2025-05-15 06:57:28][DEBUG] : MODBUSRTU PDR 8IO/61 pelouse Sud: 'command_write' request_func = [2025-05-15 06:57:28][DEBUG] : MODBUSRTU PDR 8IO/61 pelouse Sud: 'command_write' Fonction WriteSingleCoilRequest(dev_id=3, transaction_id=0, address=5, count=0, bits=[True], registers=[], status=1) [2025-05-15 06:57:28][DEBUG] : MODBUSRTU PDR 8IO/61 pelouse Sud: 'command_write' Request sent [2025-05-15 06:57:28][DEBUG] : send: 0x3 0x5 0x0 0x5 0xff 0x0 0x9d 0xd9 [2025-05-15 06:57:28][DEBUG] : recv: 0x3 0x5 0x0 0x5 0xff 0x0 0x9d 0xd9 old_data: addr=None [2025-05-15 06:57:28][DEBUG] : Processing: 0x3 0x5 0x0 0x5 0xff 0x0 0x9d 0xd9 [2025-05-15 06:57:28][DEBUG] : decoded PDU function_code(5 sub -1) -> WriteSingleCoilResponse(dev_id=0, transaction_id=0, address=5, count=0, bits=[True], registers=[], status=1) [2025-05-15 06:57:28][DEBUG] : Frame advanced, resetting header!! [2025-05-15 06:57:34][DEBUG] : Received new message on socket [2025-05-15 06:57:34][DEBUG] : Close connection [2025-05-15 06:57:34][DEBUG] : MyModbusd: 'on_message' '''{'CMD': 'read', 'read_cmd': {'eqId': '370'}, 'apikey': 'MU22WZaVjgJD2xb5n9NipCQ9jOTR5B0esfI6RrSTGsInN1dJq2W2NeqK0c109d5k', 'dt': '2025-05-15T06:57:34+02:00'}''' [2025-05-15 06:57:34][INFO] : MyModbusd: Command 'read' received from jeedom: sending the command to MyModbusClient [2025-05-15 06:57:34][DEBUG] : MODBUSRTU PDR 8IO: 'read_downstream' Message received from daemon: {'read': {'eqId': '370'}} [2025-05-15 06:57:34][DEBUG] : MODBUSRTU PDR 8IO: 'one_cycle_read' launched [2025-05-15 06:57:34][DEBUG] : MODBUSRTU PDR 8IO: 'one_cycle_read' treatment cmd_id = 6294 [2025-05-15 06:57:34][DEBUG] : MODBUSRTU PDR 8IO: 'one_cycle_read'/Etats des relais: requesting read [2025-05-15 06:57:34][DEBUG] : send: 0x3 0x1 0x0 0x0 0x0 0x8 0x3c 0x2e [2025-05-15 06:57:34][DEBUG] : recv: 0x3 0x1 0x1 0x20 0x51 0xe8 old_data: addr=None [2025-05-15 06:57:34][DEBUG] : Processing: 0x3 0x1 0x1 0x20 0x51 0xe8 [2025-05-15 06:57:34][DEBUG] : decoded PDU function_code(1 sub -1) -> ReadCoilsResponse(dev_id=0, transaction_id=0, address=0, count=0, bits=[False, False, False, False, False, True, False, False], registers=[], status=1) [2025-05-15 06:57:34][DEBUG] : Frame advanced, resetting header!! [2025-05-15 06:57:34][DEBUG] : MODBUSRTU PDR 8IO: 'process_read_response' launched for command id = 6294 [2025-05-15 06:57:34][DEBUG] : MODBUSRTU PDR 8IO: 'cmd_decode' launched for command id = 6295 [2025-05-15 06:57:34][DEBUG] : MODBUSRTU PDR 8IO: 'cmd_decode' launched for command id = 6296 [2025-05-15 06:57:34][DEBUG] : MODBUSRTU PDR 8IO: 'cmd_decode' launched for command id = 6297 [2025-05-15 06:57:34][DEBUG] : MODBUSRTU PDR 8IO: 'cmd_decode' launched for command id = 6298 [2025-05-15 06:57:34][DEBUG] : MODBUSRTU PDR 8IO: 'cmd_decode' launched for command id = 6299 [2025-05-15 06:57:34][DEBUG] : MODBUSRTU PDR 8IO: 'cmd_decode' launched for command id = 6300 [2025-05-15 06:57:34][DEBUG] : MODBUSRTU PDR 8IO: 'cmd_decode' launched for command id = 6301 [2025-05-15 06:57:34][DEBUG] : MODBUSRTU PDR 8IO: 'cmd_decode' launched for command id = 6302 [2025-05-15 06:57:34][DEBUG] : MODBUSRTU PDR 8IO: 'add_change' launched with payload = {'values::6294': 1, 'values::6295': False, 'values::6296': False, 'values::6297': False, 'values::6298': False, 'values::6299': False, 'values::6300': False, 'values::6301': False, 'values::6302': False} [2025-05-15 06:57:34][DEBUG] : MODBUSRTU PDR 8IO: 'add_change' No modification to send [2025-05-15 06:57:34][DEBUG] : MODBUSRTU PDR 8IO: 'one_cycle_read' exit with error_or_exception = False [2025-05-15 06:57:34][DEBUG] : MODBUSRTU PDR 8IO: 'run_loop' wait for CMD read [2025-05-15 06:57:34][DEBUG] : MODBUSRTU PDR 8IO: 'add_change' launched with payload = {'values::cycle_ok': {'value': 1, 'eqId': '370'}} [2025-05-15 06:57:34][DEBUG] : MODBUSRTU PDR 8IO: 'add_change' daemon is stopping, no modification sent [2025-05-15 06:57:34][INFO] : MODBUSRTU PDR 8IO: Modbus communication closed [2025-05-15 06:57:40][DEBUG] : Received new message on socket [2025-05-15 06:57:40][DEBUG] : Close connection [2025-05-15 06:57:40][DEBUG] : MyModbusd: 'on_message' '''{'CMD': 'write', 'write_cmd': {'eqId': '370', 'cmdWriteValue': 0, 'cmdId': '6316'}, 'apikey': 'MU22WZaVjgJD2xb5n9NipCQ9jOTR5B0esfI6RrSTGsInN1dJq2W2NeqK0c109d5k', 'dt': '2025-05-15T06:57:40+02:00'}''' [2025-05-15 06:57:40][INFO] : MyModbusd: Command 'write' received from jeedom: sending the command to MyModbusClient 370: {'eqId': '370', 'cmdWriteValue': 0, 'cmdId': '6316'} [2025-05-15 06:57:40][DEBUG] : MODBUSRTU PDR 8IO: 'read_downstream' Message received from daemon: {'write': {'eqId': '370', 'cmdWriteValue': 0, 'cmdId': '6316'}} [2025-05-15 06:57:40][DEBUG] : MODBUSRTU PDR 8IO: 'command_write' launched with command = '{'eqId': '370', 'cmdWriteValue': 0, 'cmdId': '6316'}' [2025-05-15 06:57:40][DEBUG] : MODBUSRTU PDR 8IO/60 pelouse Sud: 'command_write' 'value_to_write' = '0' (bit) [2025-05-15 06:57:40][DEBUG] : MODBUSRTU PDR 8IO/60 pelouse Sud: 'command_write' 'address' (count) = '5' (1) [2025-05-15 06:57:40][DEBUG] : MODBUSRTU PDR 8IO/60 pelouse Sud: 'command_write' payload = [False] [2025-05-15 06:57:40][DEBUG] : MODBUSRTU PDR 8IO/60 pelouse Sud: 'command_write' write_req_params = {'address': 5, 'dev_id': 3, 'bits': [False]} [2025-05-15 06:57:40][DEBUG] : MODBUSRTU PDR 8IO/60 pelouse Sud: 'command_write' request_func = [2025-05-15 06:57:40][DEBUG] : MODBUSRTU PDR 8IO/60 pelouse Sud: 'command_write' Fonction WriteSingleCoilRequest(dev_id=3, transaction_id=0, address=5, count=0, bits=[False], registers=[], status=1) [2025-05-15 06:57:40][DEBUG] : Connecting to /dev/serial/by-id/usb-FTDI_FT232R_USB_UART_A50285BI-if00-port0:0. [2025-05-15 06:57:40][DEBUG] : Connecting MODBUSRTU PDR 8IO [2025-05-15 06:57:40][DEBUG] : Connected to MODBUSRTU PDR 8IO [2025-05-15 06:57:40][DEBUG] : MODBUSRTU PDR 8IO: 'trace_connect_callback' called with connected = True [2025-05-15 06:57:40][DEBUG] : MODBUSRTU PDR 8IO: connection opened [2025-05-15 06:57:40][DEBUG] : MODBUSRTU PDR 8IO/60 pelouse Sud: 'command_write' Request sent [2025-05-15 06:57:40][DEBUG] : send: 0x3 0x5 0x0 0x5 0x0 0x0 0xdc 0x29 [2025-05-15 06:57:40][DEBUG] : recv: 0x3 0x5 old_data: addr=None [2025-05-15 06:57:40][DEBUG] : Processing: 0x3 0x5 [2025-05-15 06:57:40][DEBUG] : Short frame: 0x3 0x5 wait for more data [2025-05-15 06:57:40][DEBUG] : recv, unused data waiting for next packet: 0x3 0x5 [2025-05-15 06:57:40][DEBUG] : recv: 0x0 0x5 0x0 0x0 0xdc 0x29 old_data: 0x3 0x5 addr=None [2025-05-15 06:57:40][DEBUG] : Processing: 0x3 0x5 0x0 0x5 0x0 0x0 0xdc 0x29 [2025-05-15 06:57:40][DEBUG] : decoded PDU function_code(5 sub -1) -> WriteSingleCoilResponse(dev_id=0, transaction_id=0, address=5, count=0, bits=[False], registers=[], status=1) [2025-05-15 06:57:40][DEBUG] : Frame advanced, resetting header!! [2025-05-15 06:57:54][DEBUG] : Received new message on socket [2025-05-15 06:57:54][DEBUG] : Close connection [2025-05-15 06:57:54][DEBUG] : MyModbusd: 'on_message' '''{'CMD': 'write', 'write_cmd': {'eqId': '370', 'cmdWriteValue': 1, 'cmdId': '6309'}, 'apikey': 'MU22WZaVjgJD2xb5n9NipCQ9jOTR5B0esfI6RrSTGsInN1dJq2W2NeqK0c109d5k', 'dt': '2025-05-15T06:57:54+02:00'}''' [2025-05-15 06:57:54][INFO] : MyModbusd: Command 'write' received from jeedom: sending the command to MyModbusClient 370: {'eqId': '370', 'cmdWriteValue': 1, 'cmdId': '6309'} [2025-05-15 06:57:54][DEBUG] : MODBUSRTU PDR 8IO: 'read_downstream' Message received from daemon: {'write': {'eqId': '370', 'cmdWriteValue': 1, 'cmdId': '6309'}} [2025-05-15 06:57:54][DEBUG] : MODBUSRTU PDR 8IO: 'command_write' launched with command = '{'eqId': '370', 'cmdWriteValue': 1, 'cmdId': '6309'}' [2025-05-15 06:57:54][DEBUG] : MODBUSRTU PDR 8IO/71 pelouse Est: 'command_write' 'value_to_write' = '1' (bit) [2025-05-15 06:57:54][DEBUG] : MODBUSRTU PDR 8IO/71 pelouse Est: 'command_write' 'address' (count) = '6' (1) [2025-05-15 06:57:54][DEBUG] : MODBUSRTU PDR 8IO/71 pelouse Est: 'command_write' payload = [True] [2025-05-15 06:57:54][DEBUG] : MODBUSRTU PDR 8IO/71 pelouse Est: 'command_write' write_req_params = {'address': 6, 'dev_id': 3, 'bits': [True]} [2025-05-15 06:57:54][DEBUG] : MODBUSRTU PDR 8IO/71 pelouse Est: 'command_write' request_func = [2025-05-15 06:57:54][DEBUG] : MODBUSRTU PDR 8IO/71 pelouse Est: 'command_write' Fonction WriteSingleCoilRequest(dev_id=3, transaction_id=0, address=6, count=0, bits=[True], registers=[], status=1) [2025-05-15 06:57:54][DEBUG] : MODBUSRTU PDR 8IO/71 pelouse Est: 'command_write' Request sent [2025-05-15 06:57:54][DEBUG] : send: 0x3 0x5 0x0 0x6 0xff 0x0 0x6d 0xd9 [2025-05-15 06:57:54][DEBUG] : recv: 0x3 0x5 0x0 0x6 0xff 0x0 0x6d 0xd9 old_data: addr=None [2025-05-15 06:57:54][DEBUG] : Processing: 0x3 0x5 0x0 0x6 0xff 0x0 0x6d 0xd9 [2025-05-15 06:57:54][DEBUG] : decoded PDU function_code(5 sub -1) -> WriteSingleCoilResponse(dev_id=0, transaction_id=0, address=6, count=0, bits=[True], registers=[], status=1) [2025-05-15 06:57:54][DEBUG] : Frame advanced, resetting header!! [2025-05-15 06:57:59][DEBUG] : Received new message on socket [2025-05-15 06:57:59][DEBUG] : Close connection [2025-05-15 06:57:59][DEBUG] : MyModbusd: 'on_message' '''{'CMD': 'read', 'read_cmd': {'eqId': '370'}, 'apikey': 'MU22WZaVjgJD2xb5n9NipCQ9jOTR5B0esfI6RrSTGsInN1dJq2W2NeqK0c109d5k', 'dt': '2025-05-15T06:57:59+02:00'}''' [2025-05-15 06:57:59][INFO] : MyModbusd: Command 'read' received from jeedom: sending the command to MyModbusClient [2025-05-15 06:57:59][DEBUG] : MODBUSRTU PDR 8IO: 'read_downstream' Message received from daemon: {'read': {'eqId': '370'}} [2025-05-15 06:57:59][DEBUG] : MODBUSRTU PDR 8IO: 'one_cycle_read' launched [2025-05-15 06:57:59][DEBUG] : MODBUSRTU PDR 8IO: 'one_cycle_read' treatment cmd_id = 6294 [2025-05-15 06:57:59][DEBUG] : MODBUSRTU PDR 8IO: 'one_cycle_read'/Etats des relais: requesting read [2025-05-15 06:57:59][DEBUG] : send: 0x3 0x1 0x0 0x0 0x0 0x8 0x3c 0x2e [2025-05-15 06:57:59][DEBUG] : recv: 0x3 old_data: addr=None [2025-05-15 06:57:59][DEBUG] : Processing: 0x3 [2025-05-15 06:57:59][DEBUG] : Short frame: 0x3 wait for more data [2025-05-15 06:57:59][DEBUG] : recv, unused data waiting for next packet: 0x3 [2025-05-15 06:57:59][DEBUG] : recv: 0x1 0x1 0x40 0x51 0xc0 old_data: 0x3 addr=None [2025-05-15 06:57:59][DEBUG] : Processing: 0x3 0x1 0x1 0x40 0x51 0xc0 [2025-05-15 06:57:59][DEBUG] : decoded PDU function_code(1 sub -1) -> ReadCoilsResponse(dev_id=0, transaction_id=0, address=0, count=0, bits=[False, False, False, False, False, False, True, False], registers=[], status=1) [2025-05-15 06:57:59][DEBUG] : Frame advanced, resetting header!! [2025-05-15 06:57:59][DEBUG] : MODBUSRTU PDR 8IO: 'process_read_response' launched for command id = 6294 [2025-05-15 06:57:59][DEBUG] : MODBUSRTU PDR 8IO: 'cmd_decode' launched for command id = 6295 [2025-05-15 06:57:59][DEBUG] : MODBUSRTU PDR 8IO: 'cmd_decode' launched for command id = 6296 [2025-05-15 06:57:59][DEBUG] : MODBUSRTU PDR 8IO: 'cmd_decode' launched for command id = 6297 [2025-05-15 06:57:59][DEBUG] : MODBUSRTU PDR 8IO: 'cmd_decode' launched for command id = 6298 [2025-05-15 06:57:59][DEBUG] : MODBUSRTU PDR 8IO: 'cmd_decode' launched for command id = 6299 [2025-05-15 06:57:59][DEBUG] : MODBUSRTU PDR 8IO: 'cmd_decode' launched for command id = 6300 [2025-05-15 06:57:59][DEBUG] : MODBUSRTU PDR 8IO: 'cmd_decode' launched for command id = 6301 [2025-05-15 06:57:59][DEBUG] : MODBUSRTU PDR 8IO: 'cmd_decode' launched for command id = 6302 [2025-05-15 06:57:59][DEBUG] : MODBUSRTU PDR 8IO: 'add_change' launched with payload = {'values::6294': 1, 'values::6295': False, 'values::6296': False, 'values::6297': False, 'values::6298': False, 'values::6299': False, 'values::6300': False, 'values::6301': False, 'values::6302': False} [2025-05-15 06:57:59][DEBUG] : MODBUSRTU PDR 8IO: 'add_change' No modification to send [2025-05-15 06:57:59][DEBUG] : MODBUSRTU PDR 8IO: 'one_cycle_read' exit with error_or_exception = False [2025-05-15 06:57:59][DEBUG] : MODBUSRTU PDR 8IO: 'run_loop' wait for CMD read [2025-05-15 06:57:59][DEBUG] : MODBUSRTU PDR 8IO: 'add_change' launched with payload = {'values::cycle_ok': {'value': 1, 'eqId': '370'}} [2025-05-15 06:57:59][DEBUG] : MODBUSRTU PDR 8IO: 'add_change' daemon is stopping, no modification sent [2025-05-15 06:57:59][INFO] : MODBUSRTU PDR 8IO: Modbus communication closed [2025-05-15 06:58:02][DEBUG] : Received new message on socket [2025-05-15 06:58:02][DEBUG] : Close connection [2025-05-15 06:58:02][DEBUG] : MyModbusd: 'on_message' '''{'CMD': 'write', 'write_cmd': {'eqId': '370', 'cmdWriteValue': 0, 'cmdId': '6317'}, 'apikey': 'MU22WZaVjgJD2xb5n9NipCQ9jOTR5B0esfI6RrSTGsInN1dJq2W2NeqK0c109d5k', 'dt': '2025-05-15T06:58:02+02:00'}''' [2025-05-15 06:58:02][INFO] : MyModbusd: Command 'write' received from jeedom: sending the command to MyModbusClient 370: {'eqId': '370', 'cmdWriteValue': 0, 'cmdId': '6317'} [2025-05-15 06:58:02][DEBUG] : MODBUSRTU PDR 8IO: 'read_downstream' Message received from daemon: {'write': {'eqId': '370', 'cmdWriteValue': 0, 'cmdId': '6317'}} [2025-05-15 06:58:02][DEBUG] : MODBUSRTU PDR 8IO: 'command_write' launched with command = '{'eqId': '370', 'cmdWriteValue': 0, 'cmdId': '6317'}' [2025-05-15 06:58:02][DEBUG] : MODBUSRTU PDR 8IO/70 pelouse Est: 'command_write' 'value_to_write' = '0' (bit) [2025-05-15 06:58:02][DEBUG] : MODBUSRTU PDR 8IO/70 pelouse Est: 'command_write' 'address' (count) = '6' (1) [2025-05-15 06:58:02][DEBUG] : MODBUSRTU PDR 8IO/70 pelouse Est: 'command_write' payload = [False] [2025-05-15 06:58:02][DEBUG] : MODBUSRTU PDR 8IO/70 pelouse Est: 'command_write' write_req_params = {'address': 6, 'dev_id': 3, 'bits': [False]} [2025-05-15 06:58:02][DEBUG] : MODBUSRTU PDR 8IO/70 pelouse Est: 'command_write' request_func = [2025-05-15 06:58:02][DEBUG] : MODBUSRTU PDR 8IO/70 pelouse Est: 'command_write' Fonction WriteSingleCoilRequest(dev_id=3, transaction_id=0, address=6, count=0, bits=[False], registers=[], status=1) [2025-05-15 06:58:02][DEBUG] : Connecting to /dev/serial/by-id/usb-FTDI_FT232R_USB_UART_A50285BI-if00-port0:0. [2025-05-15 06:58:02][DEBUG] : Connecting MODBUSRTU PDR 8IO [2025-05-15 06:58:02][DEBUG] : Connected to MODBUSRTU PDR 8IO [2025-05-15 06:58:02][DEBUG] : MODBUSRTU PDR 8IO: 'trace_connect_callback' called with connected = True [2025-05-15 06:58:03][DEBUG] : MODBUSRTU PDR 8IO: connection opened [2025-05-15 06:58:03][DEBUG] : MODBUSRTU PDR 8IO/70 pelouse Est: 'command_write' Request sent [2025-05-15 06:58:03][DEBUG] : send: 0x3 0x5 0x0 0x6 0x0 0x0 0x2c 0x29 [2025-05-15 06:58:03][DEBUG] : recv: 0x3 old_data: addr=None [2025-05-15 06:58:03][DEBUG] : Processing: 0x3 [2025-05-15 06:58:03][DEBUG] : Short frame: 0x3 wait for more data [2025-05-15 06:58:03][DEBUG] : recv, unused data waiting for next packet: 0x3 [2025-05-15 06:58:03][DEBUG] : recv: 0x5 0x0 0x6 0x0 0x0 0x2c 0x29 old_data: 0x3 addr=None [2025-05-15 06:58:03][DEBUG] : Processing: 0x3 0x5 0x0 0x6 0x0 0x0 0x2c 0x29 [2025-05-15 06:58:03][DEBUG] : decoded PDU function_code(5 sub -1) -> WriteSingleCoilResponse(dev_id=0, transaction_id=0, address=6, count=0, bits=[False], registers=[], status=1) [2025-05-15 06:58:03][DEBUG] : Frame advanced, resetting header!! [2025-05-15 06:58:07][DEBUG] : Received new message on socket [2025-05-15 06:58:07][DEBUG] : Close connection [2025-05-15 06:58:07][DEBUG] : MyModbusd: 'on_message' '''{'CMD': 'write', 'write_cmd': {'eqId': '370', 'cmdWriteValue': 1, 'cmdId': '6310'}, 'apikey': 'MU22WZaVjgJD2xb5n9NipCQ9jOTR5B0esfI6RrSTGsInN1dJq2W2NeqK0c109d5k', 'dt': '2025-05-15T06:58:07+02:00'}''' [2025-05-15 06:58:07][INFO] : MyModbusd: Command 'write' received from jeedom: sending the command to MyModbusClient 370: {'eqId': '370', 'cmdWriteValue': 1, 'cmdId': '6310'} [2025-05-15 06:58:07][DEBUG] : MODBUSRTU PDR 8IO: 'read_downstream' Message received from daemon: {'write': {'eqId': '370', 'cmdWriteValue': 1, 'cmdId': '6310'}} [2025-05-15 06:58:07][DEBUG] : MODBUSRTU PDR 8IO: 'command_write' launched with command = '{'eqId': '370', 'cmdWriteValue': 1, 'cmdId': '6310'}' [2025-05-15 06:58:07][DEBUG] : MODBUSRTU PDR 8IO/81 arrosages: 'command_write' 'value_to_write' = '1' (bit) [2025-05-15 06:58:07][DEBUG] : MODBUSRTU PDR 8IO/81 arrosages: 'command_write' 'address' (count) = '7' (1) [2025-05-15 06:58:07][DEBUG] : MODBUSRTU PDR 8IO/81 arrosages: 'command_write' payload = [True] [2025-05-15 06:58:07][DEBUG] : MODBUSRTU PDR 8IO/81 arrosages: 'command_write' write_req_params = {'address': 7, 'dev_id': 3, 'bits': [True]} [2025-05-15 06:58:07][DEBUG] : MODBUSRTU PDR 8IO/81 arrosages: 'command_write' request_func = [2025-05-15 06:58:07][DEBUG] : MODBUSRTU PDR 8IO/81 arrosages: 'command_write' Fonction WriteSingleCoilRequest(dev_id=3, transaction_id=0, address=7, count=0, bits=[True], registers=[], status=1) [2025-05-15 06:58:07][DEBUG] : MODBUSRTU PDR 8IO/81 arrosages: 'command_write' Request sent [2025-05-15 06:58:07][DEBUG] : send: 0x3 0x5 0x0 0x7 0xff 0x0 0x3c 0x19 [2025-05-15 06:58:07][DEBUG] : recv: 0x3 0x5 0x0 0x7 old_data: addr=None [2025-05-15 06:58:07][DEBUG] : Processing: 0x3 0x5 0x0 0x7 [2025-05-15 06:58:07][DEBUG] : Frame - not ready [2025-05-15 06:58:07][DEBUG] : recv, unused data waiting for next packet: 0x3 0x5 0x0 0x7 [2025-05-15 06:58:07][DEBUG] : recv: 0xff 0x0 0x3c 0x19 old_data: 0x3 0x5 0x0 0x7 addr=None [2025-05-15 06:58:07][DEBUG] : Processing: 0x3 0x5 0x0 0x7 0xff 0x0 0x3c 0x19 [2025-05-15 06:58:07][DEBUG] : decoded PDU function_code(5 sub -1) -> WriteSingleCoilResponse(dev_id=0, transaction_id=0, address=7, count=0, bits=[True], registers=[], status=1) [2025-05-15 06:58:07][DEBUG] : Frame advanced, resetting header!! [2025-05-15 06:58:10][DEBUG] : Received new message on socket [2025-05-15 06:58:10][DEBUG] : Close connection [2025-05-15 06:58:10][DEBUG] : MyModbusd: 'on_message' '''{'CMD': 'read', 'read_cmd': {'eqId': '370'}, 'apikey': 'MU22WZaVjgJD2xb5n9NipCQ9jOTR5B0esfI6RrSTGsInN1dJq2W2NeqK0c109d5k', 'dt': '2025-05-15T06:58:10+02:00'}''' [2025-05-15 06:58:10][INFO] : MyModbusd: Command 'read' received from jeedom: sending the command to MyModbusClient [2025-05-15 06:58:10][DEBUG] : MODBUSRTU PDR 8IO: 'read_downstream' Message received from daemon: {'read': {'eqId': '370'}} [2025-05-15 06:58:10][DEBUG] : MODBUSRTU PDR 8IO: 'one_cycle_read' launched [2025-05-15 06:58:10][DEBUG] : MODBUSRTU PDR 8IO: 'one_cycle_read' treatment cmd_id = 6294 [2025-05-15 06:58:10][DEBUG] : MODBUSRTU PDR 8IO: 'one_cycle_read'/Etats des relais: requesting read [2025-05-15 06:58:10][DEBUG] : send: 0x3 0x1 0x0 0x0 0x0 0x8 0x3c 0x2e [2025-05-15 06:58:10][DEBUG] : recv: 0x3 0x1 0x1 0x80 0x51 0x90 old_data: addr=None [2025-05-15 06:58:10][DEBUG] : Processing: 0x3 0x1 0x1 0x80 0x51 0x90 [2025-05-15 06:58:10][DEBUG] : decoded PDU function_code(1 sub -1) -> ReadCoilsResponse(dev_id=0, transaction_id=0, address=0, count=0, bits=[False, False, False, False, False, False, False, True], registers=[], status=1) [2025-05-15 06:58:10][DEBUG] : Frame advanced, resetting header!! [2025-05-15 06:58:10][DEBUG] : MODBUSRTU PDR 8IO: 'process_read_response' launched for command id = 6294 [2025-05-15 06:58:10][DEBUG] : MODBUSRTU PDR 8IO: 'cmd_decode' launched for command id = 6295 [2025-05-15 06:58:10][DEBUG] : MODBUSRTU PDR 8IO: 'cmd_decode' launched for command id = 6296 [2025-05-15 06:58:10][DEBUG] : MODBUSRTU PDR 8IO: 'cmd_decode' launched for command id = 6297 [2025-05-15 06:58:10][DEBUG] : MODBUSRTU PDR 8IO: 'cmd_decode' launched for command id = 6298 [2025-05-15 06:58:10][DEBUG] : MODBUSRTU PDR 8IO: 'cmd_decode' launched for command id = 6299 [2025-05-15 06:58:10][DEBUG] : MODBUSRTU PDR 8IO: 'cmd_decode' launched for command id = 6300 [2025-05-15 06:58:10][DEBUG] : MODBUSRTU PDR 8IO: 'cmd_decode' launched for command id = 6301 [2025-05-15 06:58:10][DEBUG] : MODBUSRTU PDR 8IO: 'cmd_decode' launched for command id = 6302 [2025-05-15 06:58:10][DEBUG] : MODBUSRTU PDR 8IO: 'add_change' launched with payload = {'values::6294': 1, 'values::6295': False, 'values::6296': False, 'values::6297': False, 'values::6298': False, 'values::6299': False, 'values::6300': False, 'values::6301': False, 'values::6302': False} [2025-05-15 06:58:10][DEBUG] : MODBUSRTU PDR 8IO: 'add_change' No modification to send [2025-05-15 06:58:10][DEBUG] : MODBUSRTU PDR 8IO: 'one_cycle_read' exit with error_or_exception = False [2025-05-15 06:58:10][DEBUG] : MODBUSRTU PDR 8IO: 'run_loop' wait for CMD read [2025-05-15 06:58:10][DEBUG] : MODBUSRTU PDR 8IO: 'add_change' launched with payload = {'values::cycle_ok': {'value': 1, 'eqId': '370'}} [2025-05-15 06:58:10][DEBUG] : MODBUSRTU PDR 8IO: 'add_change' daemon is stopping, no modification sent [2025-05-15 06:58:10][INFO] : MODBUSRTU PDR 8IO: Modbus communication closed [2025-05-15 06:58:14][DEBUG] : Received new message on socket [2025-05-15 06:58:14][DEBUG] : Close connection [2025-05-15 06:58:14][DEBUG] : MyModbusd: 'on_message' '''{'CMD': 'write', 'write_cmd': {'eqId': '370', 'cmdWriteValue': 0, 'cmdId': '6318'}, 'apikey': 'MU22WZaVjgJD2xb5n9NipCQ9jOTR5B0esfI6RrSTGsInN1dJq2W2NeqK0c109d5k', 'dt': '2025-05-15T06:58:14+02:00'}''' [2025-05-15 06:58:14][INFO] : MyModbusd: Command 'write' received from jeedom: sending the command to MyModbusClient 370: {'eqId': '370', 'cmdWriteValue': 0, 'cmdId': '6318'} [2025-05-15 06:58:14][DEBUG] : MODBUSRTU PDR 8IO: 'read_downstream' Message received from daemon: {'write': {'eqId': '370', 'cmdWriteValue': 0, 'cmdId': '6318'}} [2025-05-15 06:58:14][DEBUG] : MODBUSRTU PDR 8IO: 'command_write' launched with command = '{'eqId': '370', 'cmdWriteValue': 0, 'cmdId': '6318'}' [2025-05-15 06:58:14][DEBUG] : MODBUSRTU PDR 8IO/80 arrosages: 'command_write' 'value_to_write' = '0' (bit) [2025-05-15 06:58:14][DEBUG] : MODBUSRTU PDR 8IO/80 arrosages: 'command_write' 'address' (count) = '7' (1) [2025-05-15 06:58:14][DEBUG] : MODBUSRTU PDR 8IO/80 arrosages: 'command_write' payload = [False] [2025-05-15 06:58:14][DEBUG] : MODBUSRTU PDR 8IO/80 arrosages: 'command_write' write_req_params = {'address': 7, 'dev_id': 3, 'bits': [False]} [2025-05-15 06:58:14][DEBUG] : MODBUSRTU PDR 8IO/80 arrosages: 'command_write' request_func = [2025-05-15 06:58:14][DEBUG] : MODBUSRTU PDR 8IO/80 arrosages: 'command_write' Fonction WriteSingleCoilRequest(dev_id=3, transaction_id=0, address=7, count=0, bits=[False], registers=[], status=1) [2025-05-15 06:58:14][DEBUG] : Connecting to /dev/serial/by-id/usb-FTDI_FT232R_USB_UART_A50285BI-if00-port0:0. [2025-05-15 06:58:14][DEBUG] : Connecting MODBUSRTU PDR 8IO [2025-05-15 06:58:14][DEBUG] : Connected to MODBUSRTU PDR 8IO [2025-05-15 06:58:14][DEBUG] : MODBUSRTU PDR 8IO: 'trace_connect_callback' called with connected = True [2025-05-15 06:58:14][DEBUG] : MODBUSRTU PDR 8IO: connection opened [2025-05-15 06:58:14][DEBUG] : MODBUSRTU PDR 8IO/80 arrosages: 'command_write' Request sent [2025-05-15 06:58:14][DEBUG] : send: 0x3 0x5 0x0 0x7 0x0 0x0 0x7d 0xe9 [2025-05-15 06:58:14][DEBUG] : recv: 0x3 0x5 0x0 0x7 0x0 0x0 old_data: addr=None [2025-05-15 06:58:14][DEBUG] : Processing: 0x3 0x5 0x0 0x7 0x0 0x0 [2025-05-15 06:58:14][DEBUG] : Frame - not ready [2025-05-15 06:58:14][DEBUG] : recv, unused data waiting for next packet: 0x3 0x5 0x0 0x7 0x0 0x0 [2025-05-15 06:58:14][DEBUG] : recv: 0x7d 0xe9 old_data: 0x3 0x5 0x0 0x7 0x0 0x0 addr=None [2025-05-15 06:58:14][DEBUG] : Processing: 0x3 0x5 0x0 0x7 0x0 0x0 0x7d 0xe9 [2025-05-15 06:58:14][DEBUG] : decoded PDU function_code(5 sub -1) -> WriteSingleCoilResponse(dev_id=0, transaction_id=0, address=7, count=0, bits=[False], registers=[], status=1) [2025-05-15 06:58:14][DEBUG] : Frame advanced, resetting header!!