HTML help for Latching relay - function

I believe that this will work and I found it here. The JSON response looks correct but will have to wait until Thursday to test it out.

"https://api.particle.io/v1/devices/DEVICE/relay?access_token=TOKEN" method="POST"

Tell your device what to do!

 <input type="radio" name="arg" value="on">Turn the relay on.

 <input type="radio" name="arg" value="off">Turn the relay off.


 <input type="submit" value="Enter!">
1 Like