Software engineer (video games). Likes dogs, DJing + EDM, running, electronics and loud bangs in Reservoir.

  • 0 Posts
  • 98 Comments
Joined 2 years ago
cake
Cake day: June 11th, 2023

help-circle



  • Best place to start would be to look at the thermostat hardware you’ve currently got, and start searching online if anyone has integrated it into Home Assistant.

    I’ve lived at a few houses now with Home Assistant. In all of them I was able to integrate my HVAC and automate it, but some brands and hardware are definitely easier than others.

    I think the most extreme of them required a custom esphome device connected to its PCB to talk to Home Assistant, and another required me to write my own custom component.

    Hardware and brands make a huge difference, but sometimes you’re stuck with what you’ve got.





  • Just to play devil’s advocate, why do you want to automate your lighting? I’d consider myself an advanced HA user (been using it since 2019 and have coded several custom integrations and built custom hardware) and never bothered with automating my home lighting. I’m always walking past the light switch as I enter or exit a room anyway, so it’s not a big inconvenience.

    The real wins I’ve gotten from HA are smarter home security (door locks/sensors/cameras etc), climate control, energy management, garden irrigation, and remote control of “dumb” devices like my garage door and motorised front gate.

    Edit: thanks for the insights all! Seems having kids and older houses are common reasons for automating lighting.










  • I’m no expert but just helping you kick the tires a little bit - for the audio outs, are you thinking of just running speaker wire from an amp in the server closet to the ceiling of all of the audio out locations?

    For what it’s worth, I’ve dabbled with wifi/Bluetooth speakers and while they generally work well, there always seems to be some software update or connectivity dropouts enough that I’d much prefer a wired system to eliminate over-the-air issues for a long-term robust solution.




  • Never say never! I worked on the original Dead Space (2008). There’s a minigame in chapter 4 where you have to defend the ship’s hull from incoming asteroids by shooting them with a cannon. On completion of the challenge, there’s some explanation as to why the cannon’s auto-targetting system is back online and you can leave the minigame and the cannon automatically continues shooting asteroids as you wander off. While I was rummaging around the code for this, I stumbled across a quadratic formula implementation. On closer inspection I discovered that some smart cookie had actually implemented the cannon’s auto-targetting system for real! It actually tracked each asteroid’s velocity and speed and aimed ahead of the target to hit it with its slow-moving projectiles. I just assumed the whole thing would be playing a canned animation faking the cannon shooting at the asteroids. My hat goes off to the programmer that decided to solve that problem - it’s one of the very few times I’ve ever seen the quadratic formula used in gamedev!