iMac randomly wakes up from sleep

Is there anyway to tell what exactly is causing it? I had the problem before with older OS versions, but I found that disabling Bluetooth wakeup fixed it. Now the problem has resurfaced and I've yet to find a cause. Any suggestions?
Is there anyway to tell what exactly is causing it? I had the problem before with older OS versions, but I found that disabling Bluetooth wakeup fixed it. Now the problem has resurfaced and I've yet to find a cause. Any suggestions?
I am having the same problem. What I've found out so far is that when the mac is supposed to turn from sleep mode into hibernation, it wakes up instead. I've also tried to make a new account and tested a bit. I figured out that when I have an Apple ID assigned to the account, it wakes up instead of going into hibernation. When I don't have an Apple ID assigned to the account it sleeps/hibernates as it is supposed to. Does anybody have a suggestion about what to do?

Original thread: https://forums.imore.com/threads/imac-randomly-wakes-up-from-sleep.374079/