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

Build an adapter to demo the relay - box, Mains plug & socket, maybe 5V power supply, ESP8266 Relay #97

Open
Tracked by #99 ...
mitra42 opened this issue Dec 21, 2024 · 4 comments
Milestone

Comments

@mitra42
Copy link
Owner

mitra42 commented Dec 21, 2024

No description provided.

@jksemple
Copy link
Contributor

Check out SONOFF switches: https://itead.cc/product/sonoff-basicr2/
These comprise an ESP8266 with a 10A mains relay and power supply. They can be reprogrammed as a normal ESP8266 using Arduino IDE or VSCode/PlatformIO. I use them to operate my pond pump, patio lights and a flood light from my MQTT home network.
They are available very cheaply from AliExpress.

@mitra42
Copy link
Owner Author

mitra42 commented Dec 29, 2024

Did you find programming them easily ? I checked them out a while ago, memory not certain but I seem to remember it involved quite a process to setup a programmer of some kind ?

@jksemple
Copy link
Contributor

You need to solder a 0.1" header to the sonoff board so you can connect a standard FTDI programmer but once you've burned in an OTA bootstrap that way you can flash new firmware over OTA. It's basically no different to programming a bare esp8266.

@mitra42
Copy link
Owner Author

mitra42 commented Dec 30, 2024

Maybe that was the point - need to get a FTDI programmer etc and will have to look at the soldering process, as that would need to be done in-country (will also be needed on the ESP8266/ESP32 boards and shields). Its about the right price point though.

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