Hi everyone,
I’m currently running into an issue where my device (read via Modbus) can’t really keep up with lots of single requests. It kind of works, but with ~40–50 sensors / single reads per second, the requests sometimes don’t even fit into one second anymore, so delays start to build up.
So I’d like to switch to block reading. According to the docs and also this thread:
https://community.home-assistant.io/t/extract-data-from-modbus-multiple-register/607120/7
it seems possible, but apparently only if you use the same data type, because you then split/offset the data yourself afterwards.
My problem is that the register ranges I need contain mixed types (e.g. int32, int16, uint16, uint32).
In the end I’d probably end up with ~20 block reads, which would already be a lot better but I’d have to read some registers multiple times.
Is there a way in Home Assistant to read one block and define different data types within that block? For example: read registers 5000–5100, and then specify that certain parts are int32, others uint16, etc.
Thanks for your Help.