I never used openhab, but your description makes me think about the way your sensor sleeps.
Are you using sleep or smart sleep?
If you want to achieve what you described you should use the second one, which informs the controller that the node is awake.
Best posts made by DanieleF
-
RE: Receive queued mensajes after sleep