question

zorrobyte avatar image
zorrobyte asked

How can I make "AC input 1 source type" writable via ModBus?

I'm running a setup in an RV with Home Assistant. I'd like to auto switch the "AC input 1 source type" depending if my generator is turned on or not to maximize battery charge behavior (yes, it does differ, battery charges to 100% with ESS when set to generator, maintains set percentage if shore or grid).


I don't mind forking the Venus OS if needed and submitting a PR if I can get some tips on where to start.

Edit: Looks like this is the line: https://github.com/victronenergy/dbus_modbustcp/blob/d65f8fc04444e9779e059fe867b3aad9f6e8ebe4/attributes.csv#L240

Venus OSNode-REDModbus TCP
2 |3000

Up to 8 attachments (including images) can be used with a maximum of 190.8 MiB each and 286.6 MiB total.

2 Answers
derrick thomas avatar image
derrick thomas answered ·

Check out Kevin windrem's ExtTransferSwitch mod. Does just what you are looking for and works great. Also check out his guimods.

2 |3000

Up to 8 attachments (including images) can be used with a maximum of 190.8 MiB each and 286.6 MiB total.

zorrobyte avatar image
zorrobyte answered ·

Thank you!

2 |3000

Up to 8 attachments (including images) can be used with a maximum of 190.8 MiB each and 286.6 MiB total.