- the if statement does in fact works perfectly.
- the url format is correct.
- i tested it with an ifttt url which does not work.
i think that there is some problem with my code.
ps:- i am not at all good at coding (just an 18 year old)
when i enter the url in the blynk app using the WebHook Widget. it works.
basically this url turns on my Air Conditioner so by using the WebHook widet attached to a virtual pin and using a switch widget attached to the same Pin. i can turn on the ac but in order turn the AC off i need to send another url. which i don’t know how to send using the same swtch when in off position.
similarly i plan to use this approach. to controll by TV’s volume and my KODI’s media controlll using the blynk widgets for the same.
what i want is a sample code that i can enter into the then part of my if statement to send pretty much any url that works when entered into the url Tab of the browser.