Would a DIY solution like this run afoul of building codes? How about insurance coverage if something happens?
On one end of the spectrum you can have say a Powerwall system wired by a electrician and with all work signed off by a city inspector. On the other end you have something like this which could possibly be safe if properly deployed, but might not be considered so legally.