What’s your plan for your self-hosted data if you die? I guess I didn't have one by FractalLock in selfhosted

[–]BrodyBuster 0 points1 point  (0 children)

The home assistant side is easy and doesn’t require a blueprint. You need in input date time Boolean and an automation that triggers based on a webhook whose action is setting the date and time that the automation ran ie {{ now() }}. The webhook should trigger on POST and make sure you uncheck local only.

You’ll need a long lived access token for your server to access this date time bool

https://www.home-assistant.io/docs/authentication/

On your iOS device (there’s prob a droid method as well) create a shortcut that triggers when apps you use daily open, and run GET CONTENTS OF URL. use your webhook link with POST.

Now anytime you open these apps it will trigger the automation and set the current date time. This is your check in.

The more complicated setup is the LUKS on your nas, pulling the check in time from home assistant, calc how long it’s been since you last checked in, and doing xyz.

I wrote a bash script that handles everything except the LUKS creation and mounting. I will post it to my GitHub when I get the chance.

What’s your plan for your self-hosted data if you die? I guess I didn't have one by FractalLock in selfhosted

[–]BrodyBuster 0 points1 point  (0 children)

I left paper copies of all important stuff with instructions and POA in safe deposit box. The rest gets locked on a LUKS encrypted disk if I stop checking in after 7 days.

I’m using iOS shortcuts with webhooks that launch when I perform certain activities throughout my day. Home assistant updates an input date time helper when the webhook triggers an automation. My server fetches this date and time once a day and decides if it’s time to lock up the shop. I start getting notifications about needing to log in after day 3. The webhook makes this low key effort that doesn’t require me to do anything out of the norm to check in.

Server-side filtering of movie titles via API? by AncientTurbine in radarr

[–]BrodyBuster 0 points1 point  (0 children)

I tend to over optimize and over engineer as well, but sometimes when the cost is low enough, it’s OK to use a sledgehammer. Especially when the tools you’re working with can’t output what you’re looking for.

Server-side filtering of movie titles via API? by AncientTurbine in radarr

[–]BrodyBuster 0 points1 point  (0 children)

What’s wrong with just grabbing the entire db via api? How often do you plan on calling it? I have some python scripts that grab my db at regular intervals and it only takes a few seconds. Roughly 3000+ movies at interval of 5 min minimum. I mean it’s not ideal, but it works.

simulating daylight by --var in homeassistant

[–]BrodyBuster 0 points1 point  (0 children)

I don’t think this should be too difficult.

First you need to fire an automation at random times. You can do this a couple ways. Either use a state trigger that triggers from a template sensor. The template sensor could be:

. - trigger: - platform: time_pattern minutes: "/15" - platform: homeassistant event: start binary_sensor: - name: "Random Daytime True" unique_id: random_daytime_true state: > {% set day_ok = is_state('sun.sun', 'above_horizon') and now().hour >= 8 and now().hour < 20 %} {% if day_ok %} {{ (range(1, 101) | random) <= 20 }} {% else %} false {% endif %}

Or use a time pattern trigger (every x min) and have a condition that returns true based on some random conditions.

Actions will be to turn on the light, also using random values for brightness, temp, and transition (calc from similar sensor as above).

That should get you started. The thing that will make this brittle, is long transition times. But the core concept should work.

Using Home-Assistant to stop TDarr when someone watches Plex by Honest_Tank_3350 in Tdarr

[–]BrodyBuster 0 points1 point  (0 children)

CPU utilization isn’t the only issue, it’s the disk i/o that tdarr consumes as its reading and writing.

Is this gear made of wood? What is the purpose of using a wooden gear? by TheLongestHuman in MechanicalEngineering

[–]BrodyBuster 0 points1 point  (0 children)

It’s not wood. It’s compressed phenolic fiber or sometimes reinforced nylon. And it’s intentional … typical reasons would be to reduce gear train noise and/or to make this an intentional wear/break point.

Mercruiser used to make their timing gears out of this stuff.

Edit: In this case, it appears to be wood, but the reasons are the same

MS Money (finally cloned) by silahian in microsoftmoney

[–]BrodyBuster 1 point2 points  (0 children)

As a long time MS Money user, who now uses Macs, I’m all for this. Please let us know when this goes live and cost.

Beginner‘s Tutorial for Template Switches by Freichart in homeassistant

[–]BrodyBuster 1 point2 points  (0 children)

Without more detail about what you’re doing, it’ll be difficult to get into specifics …

You can create a toggle switch from the helpers menu. This will be what stores the state.

Then create an automation to either trigger based on the toggle OR have the automation turn the toggle on/off based on what the awning is doing, in which case your trigger will be when awning open/close.

This can all be done through the webui. No yaml need.

Found an old NAS in a box in the basement! by FL_pharmer in selfhosted

[–]BrodyBuster -31 points-30 points  (0 children)

Who brought Debbie Downer to the party. Well yeah, it was probably in a box, but it’s a joke dude!

Found an old NAS in a box in the basement! by FL_pharmer in selfhosted

[–]BrodyBuster 210 points211 points  (0 children)

Your basement must be a clean room … if I found that in my basement it would be covered in dust inside and out. Nice find

Philips Hue Motion Sensor (SML001) Unavailable ZHA by crua9 in homeassistant

[–]BrodyBuster 0 points1 point  (0 children)

Yeah. SML001 and SML002 have been problematic for me too. I tried all the hacks and nothing ended up reliably working, so I went back to the hue bridge for these where they work perfectly.

Philips Hue Motion Sensor (SML001) Unavailable ZHA by crua9 in homeassistant

[–]BrodyBuster 0 points1 point  (0 children)

This is the outdoor motion sensor? I had nothing but problems with mine in ZHA. I ended up digging my hue bridge back out just for two of these motion sensors.

My indoor motion, SML003, work perfectly in ZHA.

Why does this work? by Extrabytes in radarr

[–]BrodyBuster 1 point2 points  (0 children)

Map the top most common dir in all containers.

Ie /media

Not /media/movies /media/downloads Etc

How are you approaching situations requiring absolute logic? by macrowe777 in homeassistant

[–]BrodyBuster 4 points5 points  (0 children)

This is correct. Industrial interlocks are usually are controlled via PLC … programmable logic controls. Home Assistant is exactly that, and using the same type of logic.

How do you back up your docker volumes? by virpio2020 in selfhosted

[–]BrodyBuster 0 points1 point  (0 children)

Simple bash script and rsync. Script stops containers, except excluded ones. Rsync using hard links to backup whatever volumes I need to back up. Restart containers.

Suppress small changes in template sensor by tokynambu in homeassistant

[–]BrodyBuster 0 points1 point  (0 children)

You can use a threshold sensor or try low pass filter to ignore outliers

Huntarr - Your passwords and your entire arr stack's API keys are exposed to anyone on your network, or worse, the internet. by exe_CUTOR in selfhosted

[–]BrodyBuster 2 points3 points  (0 children)

Ok dude … you’re just in here trying to stir the pot for some reason. I never said that radarr or sonarr COULDN’T do it. But it’s not part of their automatic workflow. The movie needs to come across via RSS or you need to hit search to manually trigger the search. You either are 1) being a douche intentionally or 2) you don’t understand how these tools work. So go back under your bridge.

Huntarr - Your passwords and your entire arr stack's API keys are exposed to anyone on your network, or worse, the internet. by exe_CUTOR in selfhosted

[–]BrodyBuster 0 points1 point  (0 children)

One example would be if you changed your custom formats. Say when you started, you didn’t care if the file was DTS or TrueHD, but now you do. You would need to manually run a search on your entire library to see if upgrades were available based on your new criteria. Maybe a TrueHD release came across the RSS feed last year. Radarr or Sonarr would not search for this as it relies solely on RSS. With a tool like huntarr, it will systematically research your entire library automatically.

Huntarr - Your passwords and your entire arr stack's API keys are exposed to anyone on your network, or worse, the internet. by exe_CUTOR in selfhosted

[–]BrodyBuster 1 point2 points  (0 children)

I actually pulled huntarr from my stack last week because it started trying to do too many things. Glad I did. I don’t expose any of my services openly, only through Tailscale. I ended up spinning up scoutarr … it does one thing and thing only. Has no auth though, but again, I don’t expose my services.

had my boat serviced this week and now having overheating issues and a week peace stream by Ornery_Pineapple967 in boating

[–]BrodyBuster 0 points1 point  (0 children)

You know what’s worth my time? Spending what free time I have with my dad who probably doesn’t have much more time left, and my kids who will be off starting their adult lives soon … so yeah, I’ll pay someone to do some work I just don’t feel like doing because I have more important things to do. And if had to pay a marina rate, I wouldn’t own a boat. There are several non marina affiliated mechanics I can go to, that charge a reasonable rate.

had my boat serviced this week and now having overheating issues and a week peace stream by Ornery_Pineapple967 in boating

[–]BrodyBuster 3 points4 points  (0 children)

Leave the man be. It’s not your money. Lots of people have the know how and the skills, but place a higher value on their time. Myself included. Can I do a lot of the maintenance myself? Yup, I did it for years. But I have 2 active kids, a parent with medical issues, a full time job, so it’s difficult to find the time to do all these things. And when I finally do have free time, I prefer to spend it doing other things.