Hi Guys and Girls,
I would very much appreciate the help of this great community.
I am running Venus OS v2.66. I have Modbus TCP enabled and I am running Home Assistant to automate my campervan. I am able to read and write to registers and perform task suck as turning on and off the Multiplus (via MK3) based on certain conditions; SOC, Solar power etc.
I have been always having issues with the Multiplus Modbus TCP unit ID's changing without reboot. So I don't really know how it happens nor how to reproduce this. It always switches between ID 238 and 237. So this mess with my automation and therefore I am unable to control the Multiplus unless I change the register in Home Assistant to the corresponding ID shown in Venus. And when I change it it switches back again to the the original value. This can happen once every 2 days or twice a day... It is very random.
Is there a way to force the Multiplus to take one ID only like other devices? The smartshunt seems to always take 237 and the MPPT always on 239.
If it is not possible is there anyway ( for those with Home Assistant know-how) to programmatically read the Unit IDs and change them accordingly or a different approach to read and write Modbus registers?
Is Node-Red the cure here?
Many thanks guys and Girls ..;)