Live data from Hacker News

DIY IoT Fan

mulliken.net

11–20 of 32 posts

Re: DIY IoT Fan

#11
post #8

I recently came across this neat button pusher IoT gadget (used it to control the boiler in our rented accommodation): https://www.switch-bot.com/products/switchbot-bot A less intrusive and safer alternative for those not quite comfortable with mains diy.

I installed an IoT IR blaster, since our air conditioners and ceiling lights all have IR remotes. Works fine, and if it stops working it doesn't matter since we didn't actually replace anything and lose any existing functionality.

Re: DIY IoT Fan

#12
This is a nice hack, but I'm always very wary of playing with large voltages because it's too easy for things to go wrong. Instead, for controlling mains devices, I recommend a Sonoff S20:

https://esphome.io/devices/sonoff_s20.html

I usually flash ESPurna onto it (Tasmota and ESPhome are also good choices), it's very easy to do and it's extremely reliable and hopefully has a lower chance of fire than anything I'd make.

Re: DIY IoT Fan

#13
post #12

This is a nice hack, but I'm always very wary of playing with large voltages because it's too easy for things to go wrong. Instead, for controlling mains devices, I recommend a Sonoff S20: https://esphome.io/devices/sonoff_s20.html I usually flash ESPurna onto it (Tasmota and ESPhome are also good choices), it's very easy to do and it's extremely reliable and hopefully has a lower chance of fire than anything I'd mak…

But that just gives you on/off controls and maybe energy consumption, doesn't it? It won't let you play with the fan speed, which is probably something I'd want first and foremost.

I've used some TP-Link's equivalent up until the point when TP-Link decided to effectively brick it for me by disallowing control via local network because "security". I'm very concerned about someone on my WiFi turning on my kettle and boiling me some water. :)

Re: DIY IoT Fan

#14
post #12

This is a nice hack, but I'm always very wary of playing with large voltages because it's too easy for things to go wrong. Instead, for controlling mains devices, I recommend a Sonoff S20: https://esphome.io/devices/sonoff_s20.html I usually flash ESPurna onto it (Tasmota and ESPhome are also good choices), it's very easy to do and it's extremely reliable and hopefully has a lower chance of fire than anything I'd mak…

The issue here is that these fancy tower fans don't have a mechanical on/off switch. So just switching the mains voltage does exactly crap.

...well not crap, mine beeps a few times when the power turns on =)

The ESP32 fiddling is required to fake button presses on the touch sensitive buttons to make it actually start.

Re: DIY IoT Fan

#16
post #12

This is a nice hack, but I'm always very wary of playing with large voltages because it's too easy for things to go wrong. Instead, for controlling mains devices, I recommend a Sonoff S20: https://esphome.io/devices/sonoff_s20.html I usually flash ESPurna onto it (Tasmota and ESPhome are also good choices), it's very easy to do and it's extremely reliable and hopefully has a lower chance of fire than anything I'd mak…

OP uses an off the shelf USB 'wall wart' for power, everything else is <= the 5v that that provides. It's not really any more involved/risky/'playing with large voltages' than say changing the plug on a power cable, or using one of the terminal-block-style Sonoff devices.

Re: DIY IoT Fan

#18
post #10
post #9

For those less keen on mains voltage - some wifi smart plugs can be flash with tasmota without opening them. Tricky but is you need a fan that powers on when it gets juice. Something that requires a button press won’t work

A neat trick: there is almost always enough AC on the neutral, even when the line is off to run some very low power MCU, or even do some LED blinks.

Between neutral & earth? That's surely going to depend on the topology of your earthing system [0] - TN-C will be so low impedance you won't get much through your deliberate load at all, more with TN-C-S, but most luck with TN-S where neutral already has a long cable run full of impedance before it joins back up with earth, and you can add a small enough load that that path gets a non-negligible share of the current.

[0] - https://en.wikipedia.org/wiki/Earthing_system#IEC_terminolog...

Re: DIY IoT Fan

#19
post #18
post #10

Earlier quoted context omitted.

A neat trick: there is almost always enough AC on the neutral, even when the line is off to run some very low power MCU, or even do some LED blinks.

Between neutral & earth? That's surely going to depend on the topology of your earthing system [0] - TN-C will be so low impedance you won't get much through your deliberate load at all, more with TN-C-S, but most luck with TN-S where neutral already has a long cable run full of impedance before it joins back up with earth, and you can add a small enough load that that path gets a non-negligible share of the current.…

Even device's own ground plane some times works. Though, it's near impossible to do with isolated power supplies. Modern ULP MCUs are incredibly power efficient, and can run for a day on a power of a single LED blink.

Anything wireless is still out of the question unless real ground is there though. Without ground, a dedicated power harvesting circuit would certainly provide more power.

We experimented with harvesting, with 10cm antennas, it's just enough to do a single beep once 20-30 minutes using specialised ULP UHF radios, or RX for a few seconds once a minute.

Post reply on HN