I think there is some bug in bolt api regarding digital read. SO I need to confirm it. I have done these 2 steps: ( not revealing my bolt credentials )
STEP 1 : Turning on LED using api ( https://cloud.boltiot.com/remote/44b2de6b-7e68-40e7-a27f-814b58afe008/digitalWrite?pin=0&state=HIGH&deviceName=BOLT13819450 )
STEP 2 : Reading status of same pin using digital read api (https://cloud.boltiot.com/remote/44b2de6b-7e68-40e7-a27f-814b58afe008/digitalRead?pin=0&deviceName=BOLT13819450)
Device Behavior: In step 1 device successfully turned on led. In step 2 it gave value of pin. But abnormal thing was that LED turned off in step 2. Why is it so ? I gave digital read command just to know the state of pin whether it is on or off. But why did led turned off ? I was making a project for home in which I faced this problem.
My Device Specification - Hardware Version: 2
Device is working fine. There is no damage.
Please let me know regarding this. Why this is happening or what can I do to remove this problem or is it a bug. Attaching link of video regarding the same…