I'm hoping for some help..
I need a set a GPIO pin high for 1 second, then low, triggered by a payload "1".
Subsequent payload "1"s should have no effect until a payload "0" is received which then enables the next "1" to trigger the pin once more. Basically it is a one-shot trigger reset by a "0"
I've searched everywhere but found nothing quite like that. Unfortunately my JSON skills are not so good.. I'm still learning