TE
TechEcho
Home24h TopNewestBestAskShowJobs
GitHubTwitter
Home

TechEcho

A tech news platform built with Next.js, providing global tech news and discussions.

GitHubTwitter

Home

HomeNewestBestAskShowJobs

Resources

HackerNews APIOriginal HackerNewsNext.js

© 2025 TechEcho. All rights reserved.

ESP8266 DIY Smart Socket (2017)

41 pointsby stacktrustover 1 year ago

6 comments

croteover 1 year ago
I like the enthusiasm, but you REALLY shouldn&#x27;t be DIYing this. This project is almost certainly violating half a dozen safety standards which exist for a very good reason.<p>Don&#x27;t toy around with mains voltage - <i>especially</i> when an off-the-shelf solution is widely available for <i>less</i> money. A Sonoff smart socket is only $15, and you can even flash your own firmware on its ESP8266. All of the benefits, none of the &quot;accidentally setting the house on fire&quot; or &quot;giving yourself a fatal shock&quot;!
评论 #39248760 未加载
评论 #39249493 未加载
评论 #39248450 未加载
评论 #39249348 未加载
评论 #39249730 未加载
评论 #39248914 未加载
评论 #39248797 未加载
djaychelaover 1 year ago
2a relay does not look like a good idea unless the socket is marked appropriately and fused to suit as well.<p>Mains electricity is ubiquitous so we tend to think it&#x27;s safe. It really isn&#x27;t, and electrocution and fire are both real hazards, only uncommon due to good safety standards.
评论 #39248800 未加载
评论 #39248836 未加载
Liftyeeover 1 year ago
If the pins of the relay were insulated with heat-shrink and everything soldered + mounted nicely, this project would be more passable. In its current state it honestly seems like a fire hazard.
timonokoover 1 year ago
Maintaining 40+ smart sockets was getting truly messy. Mostly I needed master switch to turn them all off. So eventually this evolved into this here touch-button master switch, with PIR-sensor for detecting sleep or absence (or death). <a href="https:&#x2F;&#x2F;github.com&#x2F;timonoko&#x2F;Hipaisunappaimisto">https:&#x2F;&#x2F;github.com&#x2F;timonoko&#x2F;Hipaisunappaimisto</a>
评论 #39249402 未加载
tapatioover 1 year ago
No pull down resistor on the relay? Hmm.
评论 #39278965 未加载
muragekibichoover 1 year ago
I thought this was a web socket. Then I clicked the link and saw it&#x27;s a wall plug! Lol
评论 #39249356 未加载