Something I just learned that may help others: Fibaro normally-sleeping devices (at least my two types are The Button, and Keyfob Remote) have two different "wake up" states:
1) "Normal" wakeup: (for The Button, this is 4 presses; for Keyfob Remote this is O and +)
Waking up in this state will respond to Test Connectivity, will accept Settings Parameter changes, polling, and presumably other commands that have been queued.
2) "Controller" wakeup: (for The Button, this is 6 presses; for Keyfob Remote this is O and -, triangle to green, +)
Waking up in this state will Include/Exclude, but also perform an Optimize.
So, make sure you wake it up into the correct state for the command you are trying to do.
I believe (but can't definitively recall) that Rescan and Association query/set need the second wakeup state.
1) "Normal" wakeup: (for The Button, this is 4 presses; for Keyfob Remote this is O and +)
Waking up in this state will respond to Test Connectivity, will accept Settings Parameter changes, polling, and presumably other commands that have been queued.
2) "Controller" wakeup: (for The Button, this is 6 presses; for Keyfob Remote this is O and -, triangle to green, +)
Waking up in this state will Include/Exclude, but also perform an Optimize.
So, make sure you wake it up into the correct state for the command you are trying to do.
I believe (but can't definitively recall) that Rescan and Association query/set need the second wakeup state.