If I were you I would want something that can serve eWeLink Cube to Node Red such as an iHost or NS Panel-Pro. Then you could follow the eWeLink guide on how to add the eWeLink Cube Palette to Node Red. Then it’d be easy and most devices can be controlled locally so if the internet breaks it still works.
And did you realise a single switch node can have 2+ outputs? There is a little + icon in the bottom left. I don’t think I’ve gone above 11, but I am sure there is a limit somewhere. Also it’s easier to debug if there is only 1 input to a debug node. That way you can turn it off if it works etc. so don’t restrict the number of debug nodes. You can always turn them off.