7 ms·
Building an Alexa-Powered Electric Blanket
- falcolas 8y agoThat's a lot of work to avoid buying an electric blanket with a timer. I mean, it's cool and all, but I would hope the lessons learned were worth the effort.
- piocho 8y ago> That's a lot of work to avoid buying an electric blanket with a timer. I mean, it's cool and all, but I would hope the lessons learned were worth the effort. Totally agree with you. I guess it is rewarding to make this kind of work with success, moreover if, at the end, it costs less than the original one. I hope the skils u've learnt will be reused in another project, maybe more "elaborated".
- edent 8y agoWhy buy when you can build? :-) But, more seriously, I don't go to bed at the same time every night. I'd be surprised if most people do. I want to pre-heat the bed while I'm on the bus home from a night out.
- snaky 8y agoThe really useful blanket would know exactly when you going to go to the bed every time (analyzing the data from your smartwatch and other gadgets) and prepare accordingly. That's what 'smart things' are about, but that requires slightly more work than coupling the off-the-shelf voice recognition engine with thermostat.
- edent 8y agoThat's impossible. Look at the Nest thermostat - trying to learn when people will be home. It doesn't work beccause most people live messy, noisy lives. Even I don't know when I'm going to bed until just before I do so. I might go upstairs to brush my teeth, but then go back down to play more video games. I might go into the bedroom to pick up a book - doesn't mean I'm going to sleep. The idea of predictive analysis of human behaviour is almost nonsense. Even if it weren't, a quick shout to a robot, or a tap on a button, is quicker and cheaper.
- snaky 8y agoThe fact Amazon cannot be more stupid with its' recommended goods than it is doesn't set the fact you just cannot predict someone would want to buy laser printer cartridge in a month or so after he bought the printer. You will be surprised how repetitive your patterns (like pulse, for example) are and how well they predict will you decide to play the game or to go to the bed. Maybe you just don't analyze these patterns thoroughly enough, so you have an illusion of unpredictability of your decisions. And by the way, smart things aren't there to only predict. If your blanket, and all other devices - including your todo list app - would vote for the bed, especially if they formulate it with carefully crafted suggestive words in sweet voice, you better agree.
- pbhjpbhj 8y agoNot OP but ... If you turn off the downstairs lights && go upstairs && it's after $time ... ? That would work mostly for me, perhaps including the TV and computer being off. That's going to cover 99% accuracy, probably as much as I'd get with a button.
- snaky 8y agoThe smart blanket would predict it much earlier, to have the time to warm it up.
- asavadatti 8y agoI am not sure I understand the benefit of predicting it that early. My electric blanket needs only a few seconds to heat up
- c22 8y agoI haven't set the temperature on my nest thermostats in over a year.
- melling 8y agoyes, it’s quite unreasonable. “The reasonable man adapts himself to the world; the unreasonable one persists in trying to adapt the world to himself. Therefore, all progress depends on the unreasonable man.”
- readams 8y agoElectric blankets don't have timers to turn on. My understanding is that UL won't certify them as it's a perceived fire hazard.
- noobiemcfoob 8y ago"perceived"? It is a fire hazard.
- dzhiurgis 8y agoBut how? To me it sounds like a safety feature.
- falcolas 8y agoFunny, I owned one. Would still use it if our dog hadn't eaten the coils. Most electric blankets have overheat protections built into them these days, reducing the risk of fire hazards. Aaand after some research I don't see it available anymore on Amazon or elsewhere. Interesting.
- mike-cardwell 8y agoMy electric blanket is plugged into a z-wave mains adapter and I have a usb stick (z-stick) in my home server which controls my z-wave devices. I have a small bash script to turn it on/off. It's a bit cold this time of year so I like to have my blanket come on a few times as I wake up to give me a bit of a boost. Here are my cron jobs on my home server: # Weekday morning blanket schedule # 4 min boost before lighting schedule begins 46 7 * * 1-5 blanket on for 4 minutes &>/dev/null # 2 min boost before first smart-watch alarm 58 7 * * 1-5 blanket on for 2 minutes &>/dev/null # 2 min boosts before each subsequent smart-watch alarm 8-38/10 8 * * 1-5 blanket on for 2 minutes &>/dev/null My main bedroom light bulb is z-wave also. I have a similar system to make the light slowly come on in the morning as I wake up. The cron: 50 7 * * 1-5 for n in $(seq 1 99); do light $n; sleep 30; done; sleep 270; for n in $(seq 98 -1 0); do light $n; sleep 2; done I also have OpenHab on my server so I can manually control the blanket and lights from both my Android phone and also my Pebble Watch.
- snaky 8y agoCoupling it with the smart alarm, instead of defining wake time strict would be nice next step.
- mike-cardwell 8y agoThat would be better, but this system works for me pretty well as I try to follow a strict schedule for getting up in the morning on week days. I could however do with hooking it into my calendar so it doesn't run if I have an "Annual Leave" event on that day, or if it's a bank holiday. Just haven't got round to that yet.
- snaky 8y agoAnd it would require a 1000x of the work to couple it, yes. It always amaze me how a couple of shell scripts is almost always is the very sweet spot of any real life automation.
- 8y ago
- k__ 8y agoFunny idea, but I still didn't see any reasonable use-case for Alexa.
- pp19dd 8y agoI didn't either until I tried a few things; got a cube for streaming and it was obviously built-in. With a couple of power controllers ($10) it turned into a few practical things. First, I immediately changed that "Alexa" command into "computer." "Computer, lights" - turns on lamps behind the couch. Better than craning my neck and struggling to find that cheap push-pin switch on a scary fragile glass lamp x 2. "Computer, pause" - when my hands are coated in layers of an escaped burrito and I need few more ice cream scoops of congealed vegetables and cheese in my maw. "Computer, set timer for 20 minutes" - for the bread baking, because I already used both microwave and oven timers for rice and vegetables. "Computer, convert 1 liter to cups" - because imperial units and surprise recipe. "Computer, switch inputs" - when I want to watch cable. Of course, I have to say it four times rapidly because of an awkward Sharp TV. This one is a bonus feature, but I can say "computer" with a fake British accent and it still works.
- k__ 8y agoSeems like many small things that can make life easier. I was always searching for the major killer feature, hehe.
- criddell 8y agoI think that's a fair characterization. There's no single thing that I would be a huge problem if the Echo stopped working, but all of the little things together would add up to a major bummer. For my family, one of the best features is the shopping list via the AnyList skill. We say "echo, add butter to my shopping list" and it gets added to the AnyList app in the correct category. Next time we are at the store, I pull up AnyList and can see my entire shopping list. For a single person, it might not be a big deal, but it's works very well for a family.
- criddell 8y ago
- setquk 8y agoI’m more surprised that people still use electric blankets. Utterly dangerous things. Now you can connect your state of the art 1950s tech to the cloud.
- adrianN 8y agoYeah, I would treat them like a candle. Fine if you're there watching it, but not something to leave alone. Although it's not too hard to build safe electric blankets that shut themselves off when they get too hot, as a consumer you don't really know what's inside.
- pbhjpbhj 8y agoCan you explain the main risks you see? https://www.electricblanketfires.com/electric-blanket-fire-stats/ https://www.electricblanketfires.com/electric-blanket-fire-s... suggests that the primary issue is user error. Are hot water bottles better? What other affordable means are there to easily warm a cold bed?
- setquk 8y agoYes the heating elements are flexible and are easy to damage and they carry current at mains potential. Neither of those outcomes favour failing safe. Even the best quality unheated wires carrying current don't last that long mechanically speaking. Add heat and the decay happens quicker. Humans are pretty good at warming a cold bed. Sucks for the first ten minutes though.
- oulipo 8y agoHi! This is a really cool project! If you care about your privacy in the bedroom, you should take a look at what we are building at https://snips.ai https://snips.ai (disclaimer: I'm a co-founder) We do the first 100% on-device and private-by-design Voice AI platform which you can use for free and run on a Raspberry Pi, to make it possible to use your blanket without sharing your bedtime secrets with Amazon ;)
- oulipo 8y agoIt also works offline, so you can heat your bed even when Amazon servers are not available :)
- jimmaswell 8y agoControlling a heated blanket without an internet connection? The future really is amazing.
- edent 8y agoThanks - glad you enjoyed it. If you have any review units, I'd be happy to have a play and blog my experiences. My contact details are in my profile
- oulipo 8y agoThe platform itself is freely downloadable, and if you want a Raspberry Pi with a microphone to test it easily, you can get one from https://makers.snips.ai https://makers.snips.ai
- 1001101 8y agoI do care about privacy in all rooms, so is it 100% open source? Couldn't tell from the website.
- oulipo 8y agoYes, we are open-sourcing the components over time! We started with open-sourcing the NLU that you can look at on this post: https://medium.com/snips-ai/an-introduction-to-snips-nlu-the-open-source-library-behind-snips-embedded-voice-platform-b12b1a60a41a https://medium.com/snips-ai/an-introduction-to-snips-nlu-the...
- cwt137 8y agoI'm looking for something similar where I can control the temp. (so it heats or cools) a blanket or pad
- lcfcjs2 8y agoElectric Blankets cause cancer, just so you know.
- orthecreedence 8y agoIt's not bad enough Alexa is in your home listening to everything you say? You need to be wrapped in an Alexa-powered blanket? Jesus, how much fucking closer to 1984 can we get? The only difference is we WELCOME these devices into our home, there's not even some totalitarian regime forcing it on us. All so we can get the weather with a voice command (as if looking out the god damn window or flicking on a light switch is some horrible ordeal). What's next, Alexa-powered ASMR...get lulled to sleep as an AI-generated voice whispers to you all the holiday deals you'll have waiting for you when you wake up? I wonder what else it will whisper once you're fast asleep. If you must have the convenience, at least ditch the cloud and run your smart home entirely on your LAN.
- dang 8y agoPlease don't post predictable/indignant rants about someone's whimsical side project. That's against the spirit of this site, despite how you and I dare say most people here feel about IoT and privacy. https://news.ycombinator.com/newsguidelines.html https://news.ycombinator.com/newsguidelines.html
- deleted 8y ago[deleted]
- dreta 8y agoi don't understand why anybody, especially a person with technical knowledge, would purchase and install a device that constantly listens to its surroundings and uploads conversations to the internet it's scary what a third party can do through your smartphone, let alone all the IoT garbage connected to an Echo
- yitchelle 8y agoKinda click bait title. The project actually integrates the smart power plug to Alexa, which the electric blanket is powered from. The electric blanket is used without any changes to it.