4 ms·
My washing machine stopped beeping when it was finished. I realised I could program an ESP32 with an accelerometer which detects when the washing machine was on
by spuz 4y ago
My washing machine stopped beeping when it was finished. I realised I could program an ESP32 with an accelerometer which detects when the washing machine was on, then wait a bit before waking up and sending a notification to my phone.
I wrote up my process here but since then I've made some improvements so that logic for the trigger for detecting when the machine is on actually happens on the accelerometer itself. I also rewrote the code for the ESP32 in micropython which has been a lot easier to manage than C.
https://www.instructables.com/Washing-Machine-Notification-Sensor/ https://www.instructables.com/Washing-Machine-Notification-S...
The whole process taught me a ton about programming micro-processors, the I2C protocol and even using a logic analyser to debug issues at the line logic level.
- anonymous344 4y agothe blynk api push notification link is broken, did you install some app in your phone?
- spuz 4y agoMy latest version uses a Telegram bot but a better solution would probably be to use Pushover or the newly released Ntfy.sh https://pushover.net/ https://pushover.net/ https://news.ycombinator.com/item?id=33517944 https://news.ycombinator.com/item?id=33517944