Not a programmer, but I need some help please. I am willing to try different codes, just to make this work. Your help and time are highly appreciated.
This will be to execute a button press on a coffee machine. I have already connected a relay (external 5v) to D7 and it turns the coffee machine on. Currently I am doing this with Tinker, but I need it to be totally manageable via Alexa/Google home.
I need to turn Photon pin D7 on (high) for 5 seconds and turn it off (low) again. Wait 10 minutes and turn in on for 5 seconds and off again. (The button is a push to make - turn machine on and push again to turn it off. The relay does this just fine, but as I have it now, it is manual and bounded to Tinker)
Can anyone please help me with code like this, it should not be that complicated for coders like yourself?
Also, I need to be able to publish this to Samsung Smartthings, so this whole process can be activated via Alexa/Google home.
Thanks for your help.