kakopappa / arduino-esp8266-alexa-wemo-switch

Amazon Alexa + WeMos switch made with Arduino D1 Mini
https://sinric.pro
MIT License
281 stars 249 forks source link

Update sinric.ino #20

Open pprotschka opened 7 years ago

pprotschka commented 7 years ago

added basic http get ON/OFF functionality for use with home automation such as EG or Openhab.

just type http://yourIP/on.html in your fav browser to turn on switch (replace on with off to turn off) http://yourip/status.html simply responds a 1 or 0 for switch status.