Yes, Hero requires Wi-Fi connection to set up, operate 24/7, and notify you if you do not adhere to your medication schedule.
Check if your Wi-Fi provides 2.4GHz, as Hero does not support 5GHz. Most routers provide both bandwidths, but if yours does not, talk to your internet service provider about obtaining a dual-band router.