Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

I just want an IoT plug so I can switch things off and on. It should expose a tcp port and allow me to send packets to it via wifi with some level of authentication. I don't want any cloud shit with it. Just a simple (okay, it's not actually that simple) device that connects to wifi and lets me throw packets at it to control it.

Without GNU, that's just a fever dream.

Many cancers are survivable these days. I hope he has one of those.



Check out the Sonoff S31: https://sonoff.tech/product/smart-plugs/s31-s31lite/

You get an ESP8266 micro with wifi plus a power supply, relay, momentary button, current and voltage sense, and a couple LEDs all for about $8. Serial debug and flash headers are broken out for easy access on the PCB.

They ship with chinese firmware but the headers and standard hardware make them dead simple to flash with your own firmware, or ESPhome or Tasmota if you prefer.


I have had 4 of these running Tasmota for a couple years now. They have been rock solid.


Boughted! Now to take them apart.


> I just want an IoT plug so I can switch things off and on. It should expose a tcp port and allow me to send packets to it via wifi with some level of authentication. I don't want any cloud shit with it. Just a simple (okay, it's not actually that simple) device that connects to wifi and lets me throw packets at it to control it.

Shelly devices offer a firmware that can be controlled trough a REST API locally. Unfortunately it's still proprietary and not open, but it doesn't require a cloud connection.

Otherwise you can buy a device and replace the firmware, there are number of open alternatives, such as ESP Home, Tasmota, etc.

Or... you can build it yourself. Building a smart plug is an easy task, if you have some practice on electrics. You will likely build a better product in terms of safety and capabilities that one you can buy.


All the tools exist to build your own. For example with a esp32-s3 and a custom pcb at one of the low priced fab houses in China. Sure you have to do it yourself.

The primary reason off the shelve products are cloud etc. is because these companies spent the time and money to do the above and since no on wants to pay 100+ for an iot switch they add cloud garbage etc. These products are now sold to the masses and if you have to support them you need control over them or your costs go through the roof.

I am working on a hardware iot product (no cloud) and I have to tape off the USB service port not because there is anything that could go wrong but because people don't read instructions and think the thing will power over USB when there is a power supply included with a barrel plug...


> For example with a esp32-s3 and a custom pcb at one of the low priced fab houses in China. Sure you have to do it yourself.

Interestingly, even after years of professional hardware engineering, I still feel some hesitation when interfacing with 230V AC.




Consider applying for YC's Fall 2025 batch! Applications are open till Aug 4

Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: