Hue switches as webhook trigger

Hi,

I’ve got ifttt setup to be able to turn my lights on and off from blynk/arduino. However the buttons don’t tally with if the lights are on or off as a light switch has been pressed. I’m looking for a way when a light switch/or a bulb comes on a webhook is sent/triggered. I can only see how to do it the other way round. Am I missing something? Happy to incorporate a different app or system to make it work.