Savings and index fund investing. I have an automatic bank transfer to my broker account every month and then I'm using Interactive Brokers API in a script that buys global equities index ETF.
Probably the one I'm most proud of is my backup system. It includes:
- My web server making automated backups of it's databases. - My computer automatically downloading and cleaning up the backups of my web server's databases. - My other computer making a copy of the important files on my computer (including, of course, website database backups). - My offsite machine making a copy of all of that in another location. At the end of this process: My important personal files are currently stored on five hard drives in two physical locations. All of this happens without me really paying attention to it.
I haven't done much compared to some of the others in this thread, but I've done a few home automation things.
Using Phillips Hue light bulbs with the Hue API, I created a PHP script that automates a number of lights in the house to perform different actions at different times of day.
A light on my nightstand does a slow fade up for easy waking in the morning and then switches itself off about an hour later once my wife and I are long out of bed.
There are also a lights throughout the house that flip on at sunset and then switch off at different times later in the evening, signaling, hey, it's time for bed.
Yes, I could use a smartphone app (or apps) to do similar tasks, but having direct control in script form is so much easier. Changing times or adding a new bulb into the system is just a matter of editing an array in the script. We also have a terrible time with water leaking in the basement. The sump pump we have does push out water fairly well when it runs, but it gets overwhelmed easily. Plus, the float doesn't always work correctly, so water can collect in the pit without the pump switching on like it's supposed to.
So, using a combination of a TP-Link smartplug, a Wireless Tag water sensor, IFTTT and another custom PHP script linking to the TP-Link API, I now have a system that keeps water out permanently.
This particular sump pump has a manual switch that allows it to run, bypassing the float. I leave the switch in the ON position and plug the pump into the TP-Link smartplug. Then I mounted the Wireless Tag water sensor in one of the basement drain pipes.
If the water rises high enough to trigger the sensor, IFTTT triggers the TP-Link plug and the sump pump runs. Once the sensor no longer detects water, IFTTT again sends a signal to trigger the plug so that the pump stops.
Along with this method, using PHP with the TP-Link API, I monitor weatherundergound.com every 20 minutes and if the current conditions show any form of rain, the script switches the pump on, lets it run for 10 minutes and then switches it off. Just long enough to keep the water level from rising too high.
I connected all these water prevention items up a few months ago and haven't had even close to a wet basement since.
(Oh and, why not just get a better, working correctly pump? The pump was apparently put in by the city years ago, long before I moved in, and is a cheap "torpedo cylinder" pump. Our plumber said it would take $thousands to tear up the basement floor to install a correct pump and the pump can't just be replaced because no one makes the type of pump any longer that would fit in the current pit. So going the automation route just set me back about $100.)
Turning on my AC when I leave work.
I recorded the "ON' IR signals for my remote, and hooked up an IR emmitter on the wall opposite the AC. A Tasker profile (useful for automating stuff on android) pings my ras-pi home server whenever I leave work in the evening, which turns on my AC, so I arrive to an already cooled room. I also have a clunky webpage to manually turn it on/off which I use if I'm not going home directly from work.
And then, auto-downloading TV shows/movies via Jackett+Radarr+Sonarr
Comments (731) 147 threads
Earlier comments- My web server making automated backups of it's databases.
- My computer automatically downloading and cleaning up the backups of my web server's databases.
- My other computer making a copy of the important files on my computer (including, of course, website database backups).
- My offsite machine making a copy of all of that in another location.
At the end of this process: My important personal files are currently stored on five hard drives in two physical locations. All of this happens without me really paying attention to it.
Using Phillips Hue light bulbs with the Hue API, I created a PHP script that automates a number of lights in the house to perform different actions at different times of day. A light on my nightstand does a slow fade up for easy waking in the morning and then switches itself off about an hour later once my wife and I are long out of bed. There are also a lights throughout the house that flip on at sunset and then switch off at different times later in the evening, signaling, hey, it's time for bed. Yes, I could use a smartphone app (or apps) to do similar tasks, but having direct control in script form is so much easier. Changing times or adding a new bulb into the system is just a matter of editing an array in the script.
We also have a terrible time with water leaking in the basement. The sump pump we have does push out water fairly well when it runs, but it gets overwhelmed easily. Plus, the float doesn't always work correctly, so water can collect in the pit without the pump switching on like it's supposed to. So, using a combination of a TP-Link smartplug, a Wireless Tag water sensor, IFTTT and another custom PHP script linking to the TP-Link API, I now have a system that keeps water out permanently. This particular sump pump has a manual switch that allows it to run, bypassing the float. I leave the switch in the ON position and plug the pump into the TP-Link smartplug. Then I mounted the Wireless Tag water sensor in one of the basement drain pipes. If the water rises high enough to trigger the sensor, IFTTT triggers the TP-Link plug and the sump pump runs. Once the sensor no longer detects water, IFTTT again sends a signal to trigger the plug so that the pump stops. Along with this method, using PHP with the TP-Link API, I monitor weatherundergound.com every 20 minutes and if the current conditions show any form of rain, the script switches the pump on, lets it run for 10 minutes and then switches it off. Just long enough to keep the water level from rising too high. I connected all these water prevention items up a few months ago and haven't had even close to a wet basement since. (Oh and, why not just get a better, working correctly pump? The pump was apparently put in by the city years ago, long before I moved in, and is a cheap "torpedo cylinder" pump. Our plumber said it would take $thousands to tear up the basement floor to install a correct pump and the pump can't just be replaced because no one makes the type of pump any longer that would fit in the current pit. So going the automation route just set me back about $100.)
And then, auto-downloading TV shows/movies via Jackett+Radarr+Sonarr
All comments shown.
Couldn't load more comments. Check your connection and try again.