Force read Modbus register

Hello

I have set up modbus communication with my ventilation unit with multiple modbus sensors to represent the various registers in the interface, and I want to be able to adjust the different settings from HA. I’m doing this with automations with input_numbers as triggers and “modbus.write_register” service calls as actions.

The problem is that the modbus hub component only seems to support a common refresh of all sensors at a max refresh rate of 30 sec. That means that if I change an input_number it takes up to 30 seconds for the user interface to reflect my new setting. I would like to read the register immediately after having changed it to confirm the new setting.

So is there a way to force update a modbus sensor?
Only way I can see so far is to modify the modbus hub component and register a “read_register” service…

3 Likes

Hi,
I want to reveive this issue. I have the same problem. I write modbus registers with automations and want to read it again after setting the register to update the sensor state without waiting for the poll interval of the modbus integration. Is there something like a read_register service? Or does anybody have a workaround?

Regards

Same issue here :
I also want to read back a register immediatly after writing a register, and don’t want to wait for the 30s poll interval.

Hi,

4 years later and the exact problem here.

Could not find any clues how to force-update a modbus register.

Anyone with ideas?

I’m also in need of doing this, for the same reasons mentioned above – having the change reflected back swiftly enough

Hi,
I have the same problem. Does anyone have any ideas?