Glad it worked out for you!
Ethernet is always the best option, but I think that powerline adapters are always a better option than wifi where possible.
I run a Unifi camera off powerline adapters in a bit of a janky setup going from a shed, through 2 extensions into the house, through to another shed and another extension into my server rack where the other end is picked up and plugs into the switch. The camera has been faultless!