I have three electricity meters in our house, and I’m reading six values from each.
They are on the same modbus line, but clearly they are on three different modbus-controllers.
My issue is, right now, they are read one node at a time, and the values does not appear in HomeAssistant at the same time.
I’m doing som calculations in HA, but since the values are not read at the (nearly) same time, I get a lot of spikes.
Does anyone know of a way or a trick to not send the values to HA until all three nodes has been read?
Use node-red (modbus-getter, modbus-flex-getter) since that does offer a modbus.read which allows you to send the read request upon a trigger sent, and not just dumb by defining devices which get polled by a time interval.
Perhaps some day the modbus integration also gets a modbus.read_register Since that’s what’s missing.