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

Multiple relays #1

Open
bajki opened this issue Sep 5, 2020 · 5 comments
Open

Multiple relays #1

bajki opened this issue Sep 5, 2020 · 5 comments

Comments

@bajki
Copy link

bajki commented Sep 5, 2020

Hi can it be done to add multiple relays

@pulsartronic
Copy link
Owner

pulsartronic commented Sep 5, 2020

@bajki Yep, it is the idea, take a look at ESP8266Relays.cpp

@bajki
Copy link
Author

bajki commented Sep 8, 2020

Nice. it works like a charm.

One more question,
it would be nice if it has client like vue so it can be wrapped in electron or cordova and run it on pc/phone.

@pulsartronic
Copy link
Owner

pulsartronic commented Oct 10, 2020

@bajki it actually has a client ... you can play with a demo here
http://pulsartronic.com/section/ESP8266RelaysApp/index.html

That's a demo ... and here is the actual client
http://pulsartronic.com/section/ESP8266RelaysApp/app.html

Use it from http, not https because, though it is possible, the esp8266 is not configured to use it now ...

Here is a tutorial, https://www.hackster.io/pulsartronic/programmable-wifi-digital-relay-switch-esp8266-app-code-6b5bf8

@bajki
Copy link
Author

bajki commented Oct 24, 2020

Can this be converted for ESP32?

@pulsartronic
Copy link
Owner

@bajki sure ... I never tried ... it shouldn't be difficult ... you would have to change references to ESP8266, for instance ESP8266WebServer and so on ...

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

No branches or pull requests

2 participants