Live data from Hacker News

Ask HN: What are the things that you have automated in your personal life?

news.ycombinator.com

51–60 of 749 posts

Re: Ask HN: What are the things that you have automated in your personal life?

#51

The lights in the most reasonably trafficked areas of my apartment are automated. The kitchen and bathroom mainly. If I'm in the kitchen I'm actively cooking or using the sink and pacing around, so the motion sensor keeps the lights on. After 1 minute of no motion, they turn off. Important to set timers though as the lights are no longer a reminder if something is in the oven or on the stovetop. For the bathroom, I h…

We have some battery-powered motion-detector LED lights about 1ft from the ground in our bathroom and hallway.

Makes walking around late at night less painful. (Children's toys end up everywhere!)

Re: Ask HN: What are the things that you have automated in your personal life?

#52

The most useful thing I have is a little script that logs into my bank, downloads a CSV and sends me the latest transaction via email daily. Saves me time to login to online banking, and also serves as a useful way to search for previous transactions inside my mailbox from time to time. Besides that I use Home Assistant[0] with a few simple automations. For example, when the lights are on in the bathroom, and it's af…

For your banking script, are you able to use an API with a limited access token? Or does it use your normal credentials. I don't save my various banking credentials anywhere, not even 1password, as they're so sensitive, curious how you do this.

Your banking password isn't that sensitive, because banks are used by regular people who don't have any conception of good security practices. The worst case scenario of your bank login credentials leaking are really not that bad.

Your personal email account is probably a million times more sensitive. It contains enough personal information to get your identity stolen a thousand times over, and once your email has been compromised there is no way to ascertain the damage.

Re: Ask HN: What are the things that you have automated in your personal life?

#55

The most useful thing I have is a little script that logs into my bank, downloads a CSV and sends me the latest transaction via email daily. Saves me time to login to online banking, and also serves as a useful way to search for previous transactions inside my mailbox from time to time. Besides that I use Home Assistant[0] with a few simple automations. For example, when the lights are on in the bathroom, and it's af…

> a little script that logs into my bank I've wanted to do something like this for so long but it just seems so painful. How do you do this with just a little script when there's so much Javascript involved in the page, as well as random interjections like random extra security verification steps? Do you have a particularly scrape-friendly bank?

Try to watch network requests in developer console of your browser. Sometimes there's a simple REST interface behind that JavaScript and all you need is to login and issue one request. Extra security verification steps probably won't let you do that, though, if implemented correctly.

Re: Ask HN: What are the things that you have automated in your personal life?

#56

The most useful thing I have is a little script that logs into my bank, downloads a CSV and sends me the latest transaction via email daily. Saves me time to login to online banking, and also serves as a useful way to search for previous transactions inside my mailbox from time to time. Besides that I use Home Assistant[0] with a few simple automations. For example, when the lights are on in the bathroom, and it's af…

For your banking script, are you able to use an API with a limited access token? Or does it use your normal credentials. I don't save my various banking credentials anywhere, not even 1password, as they're so sensitive, curious how you do this.

I don't hear often about banks providing API access. Only big companies on special contracts may get something like that, but it is usually very limited - talking from my personal experience, but what I learnt from the internet - it's the same everywhere.

But... In Europe thanks to just another EU laws we should have every bank offering an API access for everyone starting from September 2018 IIRC. That would help a lot with automation, I hope generating few api keys with different access permissions would be possible with that.

Re: Ask HN: What are the things that you have automated in your personal life?

#58
post #44

Parsing my monthly credit card bill (PDF), categorizing, and displaying statistics.

Ooh, I've been looking for something like this. Could I ask how you parse your bills? Did you just hack together your own script or did you find a parser online? I tried doing this several times but it seems rather painful to get right since the formats can differ and since copying text from PDFs can sometimes ignore the table layouts and whatnot.

The poor person’s solution would be mint.com... though the security model there is dubious.

Re: Ask HN: What are the things that you have automated in your personal life?

#59
I once made an automatic humidifier controller (aka a humidistat). It consisted a remote-controlled outlet, a RF circuit, a temperature/humidity sensor, a humidifier, a screen, and a AVR microcontroller. The AVR microcontroller is programmed to loop, sleep, and read the measurements from the sensor periodically. If the humidity is below my threshold, it fires up the RF transmitter and switch on the outlet hence the humidifier connected, vice verse.

The remote-controlled outlet is a commercial off-the-shelf product for ordinary consumers. I reverse-engineered the 433 MHz signal using a RTL-SDR receiver and some widely-available programs. Using this outlet instead of making a circuit by myself allowed me to bypass the regulatory issues, as the outlet itself is already UL-certificated - no physical modification at all, if the outlet blew up anyway, I'm not liable for the damages at school.

A simple little thing, but extremely useful. It did a good job for maintaining a prefect humidity in my dorm room and made us survived the dry winter (RH 10 days of battery life, and fit on a single breadboard. All I need to do is refill the humidifier with water every morning.

The only trap is the unreliability of the humidity sensor, because humidity measurement is inherently hard. >15 USD sensors are reliable, don't attempt the project with cheaper ones, as the only humidity-sensing element they use is a resistor and it was completely unreliable. It was pretty frustrating and lots of fruitless debugging involved because of the crap sensor initially.

Re: Ask HN: What are the things that you have automated in your personal life?

#60

Earlier quoted context omitted.

Ooh, I've been looking for something like this. Could I ask how you parse your bills? Did you just hack together your own script or did you find a parser online? I tried doing this several times but it seems rather painful to get right since the formats can differ and since copying text from PDFs can sometimes ignore the table layouts and whatnot.

The poor person’s solution would be mint.com... though the security model there is dubious.

I've tried Mint... aside from the security I neither trust its privacy model nor did I see it working very well either.
Post reply on HN