Bonjour,
la Beta 48 à apporter un bug lors de l’envoie de commande au démon :
0176|[2024-09-24 08:44:57] ERROR : Send command to demon error: cannot access local variable 'eqId' where it is not associated with a value
Comme à mon habitude j’ai chercher et le soucis vient du fichier mymodbusd.py fonction on_message
Voici ma correction pour validation par @Michel_F
71 #self._logger.info(f"{self.__n}: Command 'write' received from jeedom: sending the command to MyModbusClient {eqId}: {message['write_cmd']}")
72 self._logger.info(f"{self.__n}: Command 'write' received from jeedom: sending the command to MyModbusClient {message['write_cmd']['eqId']}: {message['write_cmd']}")
73 await self.send_downstream(message["write_cmd"]["eqId"], {"write": message["write_cmd"]})