For a similar use case I ended up with a Lenovo "nano" desktop. The IoT models are designed to be run continuously and, uh, it runs Windows too which I guess is a bonus. $300+ on sale.
I am not concerned about the effort of installing Ubuntu. I prefer to not pay the extra money for Windows, however little it might be. I already have other Windows computers.