Sounds like fun! Might be a good idea to use an SSR instead of a triac? (It's just a triac with some helpful extras and heat sinking). I've been using these AC power modules I found on AliExpress lately for powering embedded devices from AC that have been awesome. They're reasonably small and galvanically isolated.
https://www.aliexpress.com/item/32961741...1802PECzDy
https://www.aliexpress.com/item/32961741...1802PECzDy
Yours truly,
Ayydan
Ayydan