Add scheduler into doorbell python