I have connected the LED bulb using a relay to the bolt module as shown in the figure:
The task to be done:
Turning ON LED and turning OFF LED using google assistant.
I have referred to a document from https://docs.boltiot.com/docs
then I have used this command to turn off LED through google assistant
turning on LED using google assistant (command)
I used these URLs to sync the bolt device with IFTTT.
Till this everything was all right. But, when I started operating this project.
I get into trouble, when the STATE in the URL is LOW, then the light is turned ON.
The STATE in the URL is HIGH, then the light is turned OFF.
my question is:
Why this is operating in the reverse direction?