Smart bulb with proximity sensor

some time it work some time not, how to fix it

Hi @anujkumar123929,

You need to add time.sleep(10) in your while loop to control the API hit limits. https://docs.boltiot.com/docs/api-access-rules

Do let me know in case you need further assistance.