can a sleeping mac wake itself up?
I've got homebridge running on a mac mini. I can successfully get that mac to sleep (not shutdown) with the shutdown command 'sudo pmset sleepnow'. 

Once it is asleep, the caffeinate command doesn't seem to work to wake it up. Since the homebridge is running on that computer, and that computer is now asleep, I suppose it's not entirely surprising it doesn't work, but I was wondering if there is any work around?