I use a 20 line Python script to convert Outlook .ics calendars into billable hour count. It looks for a company name (the client) and calculates start and end time. All it needs now is to fill a .pdf invoice template and I can get rid of HR :D
Ask HN: What do you automate in your life and work?
101–110 of 200 posts
Re: Ask HN: What do you automate in your life and work?
#102Re: Ask HN: What do you automate in your life and work?
#103- 6:30am to 7:00am during weekdays, the bedroom and living room lights fade on slowly, emulating sunrise. They switch off automatically when I leave home for work on a morning.
- 45 minutes before sunset, the living room lights fade on to full brightness over a 30 minute period. The bedroom lights do the same, but to a dimmer setting.
- At 10:30pm, the bedroom lights fade themselves to a brighter but warmer relaxing light setting, in preparation for going to bed.
- If I'm not home when 11:00pm comes around, based on the location of my phone, the lights will all switch themselves off again.
- The hallway lights turn themselves using a motion sensor on if motion is detected and the ambient light level is low enough - they come on fairly bright during evening hours, but the dimmest possible night light setting after 11pm and through the night. After a minute or two of detecting no motion, they switch themselves off again.
Re: Ask HN: What do you automate in your life and work?
#104Interfaces with themoviedb.org for plot summary, cast and crew info and such. Interfaces with Google Calendar for writing entries for each movie I'm tracking.
The code is available although a bit rough. https://github.com/evmcl/movieschedule
Re: Ask HN: What do you automate in your life and work?
#105Naturally I called it Pocket Lint.
Re: Ask HN: What do you automate in your life and work?
#106Pauses the music player when I walk away and starts again when I return.
More details here: https://www.michevan.id.au/posts/are-you-there/
Re: Ask HN: What do you automate in your life and work?
#107Shopping for groceries. I made a website which lets my wife and I pick recipes and any "one off" items we need for the week. The code figures out which ingredients it should buy (preferring organic / sale items) and then calls the "APIs" of our local grocery store's website to make the purchase. We then just have to pick up the pre-packed groceries on our way home from work. It costs $5 for the packing service, but i…
Also how do you deal with the membership and payment process?
Re: Ask HN: What do you automate in your life and work?
#108That is to say, every night my computers and phone will lock me out[0] at a set time. Then in the morning I have to log 30 minutes of exercise (tracked by my heartrate on fitbit) to unlock internet access.
I also have certain time-wasting sites like Reddit and Netflix locked out until I complete a sufficiently difficult problem on leetcode, projecteuler, or wechall
---
I was just finding it hard to keep myself going to bed at a decent hour when I have no constraints like a 9-5 job and to keep an exercise routine going. So this automation has helped me.
[0] My computers are basically totally locked, my phone keeps the phone, messaging, camera, and skype accessible
Re: Ask HN: What do you automate in your life and work?
#109Lots of home automation fun with Home Assistant ( https://www.home-assistant.io ) * Self-hosted security system that e-mails me when triggered. It arms when everyone disconnects from the wifi and disarms when anyone in the home reconnects to wifi. Totally passive. Also arms at night when the kitchen lights have been out for 5 minutes after a certain time and disarms when motion patterns that can only be someone wakin…
Wow that is really impressive. Home assistant is something I’ve been meaning to get in to for a while, but the amount of time it seems like it would take to set all that up and maintain it seems daunting. Sounds fun though!
I used Home Assistant to graph my pool temp, and control my pump so that I made most use out of our solar heaters.
Re: Ask HN: What do you automate in your life and work?
#110I'm a terrible morning person and I noticed that I need much longer to get up and dressed and everything than it reasonably should take. On the order of "taking 1 hour to do stuff that can be done in 15 minutes". I seem to have ADHD (disclaimer: not formally diagnosed, just going off of symptom lists and descriptions from other people), and that in combination with morning drowsiness seems to make me really ineffective at this point.
So I wrote down a list of all the things that I need to do in the morning, together with an upper estimate of how long this is going to take. Think something like this:
{ "tasks": [
{ "label": "Make the bed", "duration": "60s" },
{ "label": "Morning wash", "duration": "3m" },
{ "label": "Get dressed", "duration": "2m" },
...
]}
I built an application for my desktop PC that just runs down this playbook and always shows the current task, together with a timer for the current task as well as the overall playbook, in comically large fonts to fill the screen: PREPARE BREAKFAST
Current: 04:45/05:00
Total: 16:45/59:30
There is no "Pause" button, only "Skip" for when a task is shorted than the alloted time. Also, the application can beep to signal "3-2-1-Over" at the end of each task, and each task can have a configurable beeping interval. The whole point of the system is to be breathing down my neck to stop me from procrastinating, and it works perfectly in that regard.Since starting with this tool a few weeks ago, my morning routine has gotten a bit shorter, but I also get more stuff done at the same time. I have a slot for meditation, so I'm now doing that semi-regularly in the morning. (I still skip it too often. Maybe I should make that task unskippable.) I have a slot for preparing a packed lunch, so I don't have to eat out as much and save some money in the process. With the time saved, I've switched my commute from tram to walking. I'm still tweaking the playbook here and there, but it already feels great to arrive at work in the morning knowing that I've already done several positive things for my well-being, rather than the bare minimum as it used to be.