2 ms·
The main thing that prevents me from DIY IoT is worry about fire hazard. Is there a guide out there for picking right components (e.g. are Sonoff devices solid
by TeMPOraL 6y ago
The main thing that prevents me from DIY IoT is worry about fire hazard. Is there a guide out there for picking right components (e.g. are Sonoff devices solid enough) and assembling them in a way they could be safely plugged to mains, or used to switch mains power? Alternatively, are there guides on how to build battery-powered IoT? I'd be fine powering stuff around home from rechargable AAs if I had a clue on how to build IoT devices like that (IANAEE).
- peckrob 6y agoYeah, I would not suggest DIY'ing anything that's directly connected to mains power unless you are super sure you know what you are doing. That's a really good way to cause you problems with your homeowner's insurance if you have a fire and it could be against your local building codes. That said, there are devices out there that can be used on mains power that are UL certified. I have a ton of Z-Wave [0] switches and relays for various things all talking to Home Assistant. Z-Wave is an open [1] (or soon to be open) mesh networking communications protocol that is pretty widely used and supported, so you're not locked into a single vendor. For low-power stuff, I'm a bit more willing to experiment, but not on mains power. But I am also not an EE. :P [0] https://en.wikipedia.org/wiki/Z-Wave https://en.wikipedia.org/wiki/Z-Wave [1] https://www.theverge.com/2019/12/19/21029661/zwave-open-standard-radios-smart-home-multiple-vendors-silicon-labs https://www.theverge.com/2019/12/19/21029661/zwave-open-stan...
- lostlogin 6y agoSo far my chips are all sensors powered off USB. Adding relays is next level and I haven't done that. I've relied on smart plugs that are wall-wart style. However I want to refill the boiler automatically on an old La Cimbali Junior and when I find an ultrasound sensor that will penetrate my espresso machine's boiler and detect a low water level (risking element burn out) I likely will though. I've tried a Hall sensor and one ultrasound sensor and neither work. I think I need an ultrasound sensor designed for fuel tanks or similar.
- Mister_Snuggles 6y agoA quick look at the manual suggests that there's a light that tells you when it needs to be filled with water. It might be easier to just trace that back and piggy back off of whatever sensor it already has. It may be too small for an ultrasonic sensor to work well. The ultrasonic sensors I've used are all basically blind to anything closer than 5-10cm.
- lostlogin 6y agoThis is a really good suggestion - my trust in that light is currently zero as I can’t get it to trigger reliably. Solving that issue is a rather more obvious way forward. Wood, trees etc.
- Mister_Snuggles 6y agoIf your goal is just to fill the reservoir automatically from a plumbed-in water source, without monitoring/logging water levels, a small float valve like this[0] might be a good answer too. I don't know how big the reservoir in your machine is, nor do I know if this particular valve is food-safe. You should definitely fix that light though. That sensor may also be part of a safety cutoff to prevent burning out the element. [0] https://www.amazon.ca/Kerick-Valve-MA252-Float-Adjustable/dp/B0077RAX4W https://www.amazon.ca/Kerick-Valve-MA252-Float-Adjustable/dp... This was from a quick search, I know nothing about this particular valve.
- lostlogin 6y agoThanks. I’m going to get that light fixed and I think it is the best way of monitoring the water level. The hard part with checking the water level is that the boiler is pressurised and very hot, which is going to be hard in any sensor.
- jon-wood 6y agoYou probably don’t need an ultrasound sensor or anything fancy for detecting water levels. Get a couple of strips of conductive metal which isn’t going to rust, then stick them down either side of the water tank, and finally hook the top of those strips into an ESP8266 or similar. When water level is above the required point the water will complete the circuit, and when it drops below the circuit will be broken.
- Mister_Snuggles 6y agoFor powering my ESP32/ESP8266 stuff, I use "trustworthy" USB power supplies (e.g., stuff from a brick-and-mortar store, or leftover iPhone adapters, not random Aliexpress adapters) and use short USB cables to connect them. Costco usually has some kind of appropriate adapter for a reasonable price. For controlling 110V loads, I've found that the Ikea TRÅDFRI outlets work well. If you stay within the TRÅDFRI ecosystem, you need a "steering device" such as a switch or remote to pair them to the gateway, but if you're willing to step outside that ecosystem Zigbee adapters like the ConBee II can talk to the outlets directly (I'm in the process of migrating my Ikea gear to this). The Home Assistant TRÅDFRI component works well.
- StavrosK 6y agoI use USB chargers/hubs for anything I build myself, and Sonoff plugs (even better if they're the kind you don't need to splice into wires) for anything that needs to control mains. This approach has worked excellently so far. Hit me up if you need any advice!