The answer to adding an
Inverter to existing AC wiring that is/can be powered by another AC Supply is very simple and comprises two words ... "Transfer Switch"
This may be built into some devices.
Any
Inverter/Charger (e,g, the
Victron Multiplus) will have that built in and run automatically.
Some Inverters have a AC Passthrough so if EHU is detected, it will switch to that input instead of the
Inverter. So again they have an Automatic Transfer Switch (often called an "ATS")
You can get standalone ATS's, and standalone Manual Transfer Switches
It is simply a matter of choosing the right solution for the installation and the requirement
But ... and it is a BIG But ... if the Transfer Switch is not wired up correctly it
WILL lead to a
BIG BANG and an expensive lesson.
I used to build and sell a variety of ATS's and they were quite popular, but everytime I sold one I worried about the buyer not connecting it up right (doesn't matter what instructions you provide, there are still people who won't read them).
When I relaunched my website, I didn't include them in the new store deliberately
Now people can only answer the question as posed. If it is badly worded, tough, you get the answer the question deserves.