this post was submitted on 21 Apr 2024
59 points (92.8% liked)

homeassistant

11878 readers
1 users here now

Home Assistant is open source home automation that puts local control and privacy first. Powered by a worldwide community of tinkerers and DIY enthusiasts. Perfect to run on a Raspberry Pi or a local server. Available for free at home-assistant.io

founded 2 years ago
MODERATORS
 

So last week I had a Proxmox fuckup and lost everything. I learnt the hard way what living without backups is like and I don't recommend it.

Silver lining is that I don't have to tidy up all those old automations and entities anymore.

Anyway it made me realise what I'd miss if I didn't have them, because I didn't have them.

I've been really really tired this week. I get up at 5am and start work at 6, and while I don't like it, I usually cope with it better than most and have comments about how "It's too early for you." But not this week.

I've put it down to losing my connection between my alarm clock and HA. I use SleepAsAndroid and have done for a long time. Back when I started it was because it connected to Tasker, but over the years I've moved to HA and still use it.

SleepAsAndroid with Tasker was done with web hooks but I use the MQTT integration with HA. This means it's connected when I'm home but not in network when I'm away, so it can't fire the messages, which is what you want.

Previously I used Node Red to set up this automation but I haven't reinstalled it yet, I'm seeing if I can do it all on HA, then it's one less thing and I can automate in the app.

I spent a while this morning trying to figure out how to reintegrate it with HA and struggled, but eventually I found an integration in HACS which meant I just had to change my device identifier in the alarm app by adding /MyName to the end of the SleepAsAndroid topic so it reads SleepAsAndroid/MyName, add the HACS integration and then add it again in the Integrations pane, with MyName plumbed in.

Then I added a blueprint from the add ons page and left the house to go on a day trip.

In and amongst the day trip I've been making my automation on the HA app via the blueprint, and have come home, loaded a bowl and set my alarm for 1 minute time, then smoke the bowl and wait...

Success!

Hopefully I'll have more energy this week when I wake up to my lights turning on, instead of complete darkness and a strange noise.

Now what would you miss that isn't obvious (like motion activated lights)?

you are viewing a single comment's thread
view the rest of the comments
[–] [email protected] 2 points 7 months ago (1 children)

Proxmox Backup Server is fucking awesome, BTW. There's also a good Proxmox integration in HACS for automations and alerts.

[–] [email protected] 1 points 7 months ago (1 children)

There's also a good Proxmox integration in HACS for automations and alerts.

Huh I'm gonna have to find that!

I was thinking recently that I should look into WOL for my containers to save power, and maybe throwing a smart plug on my Proxmox PC to monitor power only (turn switching off)

[–] [email protected] 1 points 7 months ago

Not sure if you mean WoL for the VMs or the proxmox node. I do the latter on my backup node so I can do HA failover without running it all the time. I have the PBS box wake it periodically to take a replication from the primary, and then shut it down, and wake it up if the primary stops responding so it can do the HA thing. The PBS box also acts as a quorum device.