Earlier quoted context omitted.
For a cheap and simple hack solution, I would imagine you could just get one of those outlet timers. That's assuming the device uses wall power, defaults to locked when unpowered, and doesn't require any user input to resume function when power cycled. Just set it to power on at 7AM and either set it to power off at the time you usually refill it, or just manually switch it off when filling. Not as much fun as an IoT…
Great idea but unfortunately it is battery operated. I suppose a relay on Vcc might do the trick though!
Just cut off the end of the adapter and wrap the wire around the battery terminals.