Hacker News new | ask | show | jobs
by tzs 1806 days ago
For just turning something on or off I've been happy with the "IoT Relay" from Digital Loggers [1][2][3]. It is essentially a power strip with 4 outlets and a control connection. The control connection can take either a DC signal from 3-60 V or an AC signal from 12-120 V.

One of the outlets is always on, and the other three are controlled by the control signal. Two of those are normally off and turn on when the control signal is present, and the third is normally on and turns off when the control signal is present.

I'm using it to control a space heater with a Raspberry Pi. The GPIO pins on most microcontrollers commonly used in DIY projects will work directly to control the relay.

[1] https://dlidirect.com/products/iot-power-relay

[2] https://www.sparkfun.com/products/14236

[3] https://www.amazon.com/Iot-Relay-Enclosed-High-Power-Raspber...

1 comments

I'm looking for something similar: a power strip with all the outlets individually switchable. At least 4. So like a mix between that and a Sonoff S20.

Having three instead of four switchable outlets, and different "normally on" and "normally off" setting threw me off a bit.