Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Update sinric.ino #20

Open
wants to merge 1 commit into
base: master
Choose a base branch
from
Open

Conversation

pprotschka
Copy link

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.

added basic http get ON/OFF functionallity
just type http://yourip/on.html to turn on switch (replace on with off to turn off)

 http://yourip/status.html simply responds a 1 or 0 for switch status.

char packetBuffer[UDP_TX_PACKET_MAX_SIZE]; //buffer to hold incoming packet,

String serial;
String persistent_uuid;
String device_name;

const int relayPin = D1;
const int relayPin = LED_BUILTIN;
Copy link
Owner

@kakopappa kakopappa Mar 20, 2017

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks for your work.

Should be D1 ?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants