Do you want it to run 24/7? You could splice it to a wall adapter: https://www.amazon.com/dp/B072JM6SWT/ref=cm_sw_r_cp_apa_i_R1LzDbD6178RZ
Otherwise there are raspberry pi solutions that are more difficult but give you more control over variables.