6 ms·
Displaying my washing machine's remaining time with curl, jq, and pizauth
- brokenmachine 4y agoWow, this is the most convoluted and overengineered way I've seen of setting a timer. It even involves a third-party server and email registration. Bravo!
- wpietri 4y agoI am plotting a worse one. I have plenty of old phones sitting around, and the laundry in my apartment building has machines with weirdly inconsistent timing. I want to write a small mobile app that will transmit accelerometer data to my home Prometheus/Grafana setup so that I can put the phone on top of the machine and monitor for the end of the cycle.
- atoav 4y agoMaybe ir would be simpler to get one of those smart energy monitoring plugs and plug the machine in there. When it is done power use should drop significantly.
- selcuka 4y agoExcellent idea. It should be possible to configure something like Home Assistant to send a notification when the power usage goes up, and then down. This should also work for the dryer.
- Rebelgecko 4y agoI'm not sure if there's smart plugs that reliably/safely work with dryers (edit: electric dryers, that is)
- Toutouxc 4y agoMy Aqara smart plug says it can handle 2300 W, which should be okay for the kind of dryers sold in Europe (apparently the new ones are mostly sub 1000 W).
- kevviiinn 4y agoIn the US electric dryers run on 240v which has a different plug. Not sure how they are in the EU but it's something to consider when looking for one of those plug monitors
- Toutouxc 4y agoThat’s easy, the whole Europe is 230 V at 50 Hz and basically the same plug (except I think Switzerland and the UK).
- selcuka 4y agoI'm in AU, certified smart plugs are 240V/10A. Dryers don't need a special outlet.
- nbar1 4y agoI had a configuration exactly like this via HomeAssistant. Set the trigger when the power output spiked above X and sent a notification when it eventually dipped back below X for Y amount of time. Unfortunately I could not find a plug suitable for the dryer, but for the washer it was great. I eventually decided to decommission the majority of my smart home accessories and HomeAssistant entirely.
- wpietri 4y agoIt's not my washer and dryer or my electrical outlet.
- brokenmachine 4y agoIMO anything that needs a signup to a web service that you don't control is worse. Personally, I'd use an esp8266 or esp32 for that. I'd also try to find a better way of sensing whether it's running/finished, by connecting directly to the power led (you can also siphon power to run the microcontroller from the washing machine itself), or measure power usage at the plug.
- wpietri 4y agoIt being the apartment building's laundry machines, I think my landlord would have something to say about me opening them up and connecting to the LEDs.
- rezonant 4y agoLoad sensors in modern washers (and moisture sensors in modern dryers) mean that the timer is an estimate. But still, a timer with a reasonable buffer on it is fine. Just less nerdy.
- kbar13 4y agoi'm jealous that their washing machine has an API. I just used a 15A rated smart switch that has an espressif chip under the hood and flashed it so it tells me when the washing machine stops pulling current - that means it's done!
- zxexz 4y agoYour solution seems way more palatable to me. I refuse to use these third-party centralized services or hook up my appliances to the internet. Right now I just set an alarm on my phones for when I estimate it will be done, and snooze it a couple times to be safe (and lazy).
- charleslmunger 4y agoThis is absolutely the way to do it for washers and non-electric dryers. I configured my automation to notify me when both the washer and dryer are idle.
- Gigachad 4y agoPersonally I just use siri on my watch to set a timer.
- SoftTalker 4y agoI stick my head in the laundry room door and look/listen if the machine is still running.
- 4y ago
- taspeotis 4y agoDid they display it again or something? https://news.ycombinator.com/item?id=35536202 https://news.ycombinator.com/item?id=35536202
- zhte415 4y agoDesigners of a device with a glass door that needs manual loading and unloading, and that in the event of an error alerts someone nearby for manual intervention: > Instead of some buttons or dials on the front that people know how to use, an LED display (or dial), even a timer function the LED/dial could show, why don't we connect it to the internet and provide an API?
- expertentipp 4y ago[flagged]
- Fell 4y ago> A couple of months ago our washing machine produced a considerable quantity of smoke when I opened its door, which I interpreted as a suggestion that a replacement was needed. I just want to point out that what was actually needed was a repair. We're all so conditioned to think broken things must be replaced, it's easy to forget you should at least consider a repair first.
- nextlevelwizard 4y agoAgain it depends. If it is real old machine repair probably isn't cost effective and even if the cost wasn't much, how long until next part breaks? Plus you probably get new features out of your newer machine. Of course if your washer is only couple years old repairing is the way to go.
- expertentipp 4y agoIn case one has full time job, the time and money to disassemble, investigate, diagnose, order parts and fix an appliance is comparable with simply purchasing a new one. Make them take away the old one and blame the environmental disaster on plastic straws and cutlery. Producers will dismiss any requests with "hire an authorized technician co come over onsite" so fixing will also increase your adrenaline level. Luckily you found some blueprints on the internet! oh bummer... they're in Cyrilic and French...
- seanmcdirmid 4y agoToday they’ll be in Chinese. In China, you might actually have a chance of cost effective repair, except the units they generally sell there are so cheap that replace is still more economical.
- kevviiinn 4y agoThird party appliance repair people/services do exist
- expertentipp 4y agoIn most locations I lived in these repair places ranged from "they are the same clueless as me" to pure scam. One week and 60 EUR to learn what's wrong with this thing? By then I'll be using a new one and will not have to take half day off.
- guilbep 4y agoSide note and nothing to do with that. But does anyone knows why some washing machines timer are way way out ? meaning 1 minute washing machine is equivalent to 1:30mn real time ? Okay nevermind: I should have google in english first :p `Washing machine timers are sometimes in conflict with high-efficiency features like load sensing, which attempts to gauge the size of the load and only use as much water as needed to finish the cycle. That measurement may ultimately affect how much time the cycle needs, making the timer overly optimistic. ` https://reviewed.usatoday.com/laundry/features/why-the-timer-on-your-washing-machine-is-wrong https://reviewed.usatoday.com/laundry/features/why-the-timer... https://www.mentalfloss.com/article/646586/why-washing-machine-timers-get-it-wrong#:~:text=Washing%20machine%20timers%20are%20sometimes,making%20the%20timer%20overly%20optimistic https://www.mentalfloss.com/article/646586/why-washing-machi....
- rezonant 4y agoYeah the same is even more true of modern dryers, which have moisture sensors.
- fmiras 4y agoI think you should connect all your kitchen if you can xD
- throwawayapples 4y agoIf you are a Luddite like me, an old-school Speed Queen (yeah, same brand as in the laundromat) with mechanical switches will almost never break.
- PaulHoule 4y agoFriends don’t let friends program in bash.
- jaredhallen 4y agoI wrote a CSV parsing script in bash recently. Boy was that a mistake. It works, though.
- dfinninger 4y agoI have one too. Although it loads it into SQLite, so I’m kind of cheating. :)
- deleted 4y ago[deleted]
- 4ggr0 4y agoWhy? I use bash when I think that Python is overkill, and I actually like it. I spend half of my workday in a CLI anyways.
- stn_za 4y agoSays every js hipster who will forever lack the power of shell ;)
- ilyt 4y agoSysadmin here, with vehement hate for JS: Just use fucking Python, hell even fucking Perl, bash is a disease of the mind; every time I try to debug some complex legacy bash script I start thinking JS might not be so bad of a language and no language should make you think that.
- stn_za 4y agoI do use python, when bash doesn't make sense. Perhaps in this case dealing with API's Python was the better choice...but, the parent comment just blanket bashed Bash, and so did you. ;) I have no issue with bash, it's simple to use even for complex scripts.
- cafard 4y agoWe have a Miele washing machine. Among its features is a readout that shows cycle, step in cycle, and time remaining in cycle. Do the new ones lack this feature?
- paradox460 4y agoNo, they display that nicely, and their mobile app pushes cycle finished alerts to phones pretty reliably. We never use the buzzer on our washer or dryer
- cstrahan 4y agoAnswering a slightly different question than the one you’re explicitly asking: I think then utility of this setup is being notified while you’re away from your machine. I often leave clothes in the wash for 24 hours (or longer), and then they get all gross and I have to wash them again; this happens because I can’t hear the chime from my office, and with the way my brain works, I won’t think about it again until much later. I could set an alarm on my phone every time, but… that would require that I remember to do that. I would love a way to either send a push notification to my phone, or have an audible house-wide chime, or something along those lines :)