I’m planning to build several WiFi connected devices for home automation: an AC remote control and air quality sensors. These devices would send data and be controlled through a local server. I’m considering two approaches: running custom software on a server PC (hardware to be determined) or integrating with Home Assistant’s protocols and purchasing their hardware. Would using Home Assistant be excessive for this use case?

  • hendrik@palaver.p3x.de
    link
    fedilink
    English
    arrow-up
    15
    ·
    edit-2
    8 hours ago

    HA isn’t the only option. I think there’s two other open source smarthome solutions out there(?) And you could probably do with just an MQTT broker and a Python script, or something like that…

    But HA isn’t a bad choice. They’re doing a phenomenal job. And related projects like ESPHome make it really easy to integrate microcontrollers. And if you want to do more smarthome stuff, it has a plethora of features, integrations, an app…

    Extra hardware isn’t absolutely necessary. I have one server at home which does NAS, and I use 4GB of it’s RAM to run a virtual machine with Home Assistant. That’s enough for it, including a bunch of Addons.

  • tofu@lemmy.nocturnal.garden
    link
    fedilink
    English
    arrow-up
    29
    ·
    11 hours ago

    If you aren’t locked in yet, I’d recommend against WiFi devices. Check Zigbee or similar. It won’t clutter your LAN and is independent. You usually need some kind of central station for that but it’s worth it imho.

      • ClownStatue@piefed.social
        link
        fedilink
        English
        arrow-up
        4
        ·
        7 hours ago

        Most wi-fi smart devices use cheap components and will often drop off the network for seemingly no reason. As long as you do some basic planning, Zigbee and Z-Wave are pretty solid. There are some folks here who will say one or both of these technologies are on their way out because Matter & Thread. I’m not sure I agree with them, but even so, HA supports Matter, so… when Thread devices become as ubiquitous as Zigbee & Z-Wave devices, you can replace them as they die.

      • 4am@lemmy.zip
        link
        fedilink
        English
        arrow-up
        3
        ·
        7 hours ago

        Most WiFi devices these days are cloud-based, at least on the American market.

        If you can find a Zigbee or Z-Wave (or the up-and-coming Thread), those only work locally. The only way to get remote control is to expose HomeAssistant (or a similar hub) to the internet - usually using a VPN from your remote devices into your network.

        It’s a bit more upfront work, but no one can track your devices, they’re off grid/much harder to hack remotely, etc.

    • Sibbo@sopuli.xyz
      link
      fedilink
      English
      arrow-up
      6
      ·
      11 hours ago

      ZigBee base stations are like 20€ or so if you get a simple usb dongle

  • AbouBenAdhem@lemmy.world
    link
    fedilink
    English
    arrow-up
    45
    ·
    edit-2
    12 hours ago

    In terms of software, yes. But HA can be run on nearly anything—there’s no need to buy their hardware to use it.

    • i_am_not_a_robot@discuss.tchncs.de
      link
      fedilink
      English
      arrow-up
      13
      ·
      11 hours ago

      Just be careful with SD cards if you’re using SBCs. Home Assistant does a lot of writing and if your SD card can’t handle repeated writes you may suddenly lose everything. Keep backups to another device and have a replacement SD card ready if extended downtime is going to be a problem for you.

      • 4am@lemmy.zip
        link
        fedilink
        English
        arrow-up
        1
        ·
        7 hours ago

        Always run mine in a VM along with everything else, no need for special hardware.

        Get yourself a PoE Zigbee and/or Z-wave receiver and you are good to go, can even live migrate HA if you are fancy

    • roofuskit@lemmy.world
      link
      fedilink
      English
      arrow-up
      11
      ·
      12 hours ago

      Adding to this, I recommend a used mini PC. There’s lots of cheap used office hardware out there on eBay that is more powerful, more serviceable, and more flexible than the hardware they sell or a raspberry pi.

      • dan@upvote.au
        link
        fedilink
        English
        arrow-up
        9
        ·
        12 hours ago

        Companies are throwing away old hardware (like 8th/9th gen Core i5) that’s perfect for running Home Assistant. See if there’s an e-waste recycler near you - they might let you buy an old system for a nominal fee.

      • Goodlucksil@lemmy.dbzer0.com
        link
        fedilink
        English
        arrow-up
        2
        ·
        12 hours ago

        While there are some problems with used minipcs (notably drivers), i don’t think they are relevant if it is only going to be used as a Home Assistant

        • Trilogy3452@lemmy.worldOP
          link
          fedilink
          English
          arrow-up
          2
          ·
          12 hours ago

          That’s a good point. This can help me with things like adding a DNS server (I’m assuming pi-hole can be run standalone on a mini PC)

            • 4am@lemmy.zip
              link
              fedilink
              English
              arrow-up
              1
              ·
              7 hours ago

              Yep! While I didn’t run mine through HA, I much preferred AdGuardHome over PiHole.

          • SeductiveTortoise@piefed.social
            link
            fedilink
            English
            arrow-up
            4
            ·
            10 hours ago

            I bought a used mini PC and then set up Proxmox. This little thing is a lot more capable than the Raspberry I used before and it runs my complete home lab, excluding my NAS.

          • roofuskit@lemmy.world
            link
            fedilink
            English
            arrow-up
            4
            ·
            12 hours ago

            If you’re going to run Home Assistant OS you’d be able to run anything that can run in docker. Some things are available to install directly inside the Home Assistant apps system, otherwise you can install portainer and run any docker capable software.

  • James R Kirk@startrek.website
    link
    fedilink
    English
    arrow-up
    20
    ·
    11 hours ago

    As others have said, you can run Home Assistant on anything if you want to just test it out. Their own hardware is a great choice though.

    But to answer your broader question, yes. Home Assistant is the choice. It works better with literally everything else out there.

    • Trilogy3452@lemmy.worldOP
      link
      fedilink
      English
      arrow-up
      1
      ·
      12 hours ago

      My AC is offline, I was thinking I’d just put an infra red LED on a microcontroller in front of it 😅

      • dan@upvote.au
        link
        fedilink
        English
        arrow-up
        3
        ·
        edit-2
        12 hours ago

        Even if you build your own thing to communicate with the AC, Home Assistant is still useful since it lets you easily automate things and interact with other devices, and you get a bunch of things included (nice UI, storage of historical data, dashboards, etc). You could build your thing as a Home Assistant integration.

      • paf@jlai.lu
        link
        fedilink
        English
        arrow-up
        2
        ·
        11 hours ago

        That might depends on how your AC is working, I recently did the same at my dad’s house and run into issues because the temp control for the unit is reading from the remote. So when I sent infrared command to turn off unit, it worked as expected for some minutes then turned back on because remote sent back command as temp wasn’t meet. Still need to do a lot of testing to find a way to make it work, might need to disable remote and use some temp sensors for the triggering part but not sure how that will work, might need to use some hysterisis friendly climate addon for that…

        • Trilogy3452@lemmy.worldOP
          link
          fedilink
          English
          arrow-up
          1
          ·
          8 hours ago

          That’s interesting, I’ll have to read more about mine. I think I purposefully bought the “dumbest” option but will need to experiment with it just like you did

    • Richard@lemmy.world
      link
      fedilink
      English
      arrow-up
      3
      arrow-down
      1
      ·
      11 hours ago

      There is also OpenHAB, but I think Home Assistant is the more mature one of the two.

    • Trilogy3452@lemmy.worldOP
      link
      fedilink
      English
      arrow-up
      2
      ·
      12 hours ago

      Thanks. I thought the already thought out protocols and configurations would make it easier to program the micro controllers to plug in with that rather than building something on my own

      • sobchak@programming.dev
        link
        fedilink
        English
        arrow-up
        2
        ·
        9 hours ago

        It’s been a while since I messed with home automation, but ESPHome was amazing to program ESP microcontrollers (i.e. you most likely wouldn’t have to write any code). You can use ESPHome devices with both Home Assistant and Openhab (using MQTT, IIRC). The last I checked, it was easier to program your own functionality in OpenHAB than Home Assistant.

  • Shimitar@downonthestreet.eu
    link
    fedilink
    English
    arrow-up
    4
    ·
    12 hours ago

    I would suggest to go with home assistant. I have been running it for couple of years now and I am very happy.

    I would also suggest to purchase a Home Assistant Green. While not needed, you can self install on a Pi or a standard pc, it’s a small price to support the project and the Green is a nice solid and super stable piece of hardware, I am very happy with it after using first an old laptop, and then a Pi. The green is a clear upgrade from both.

  • just_another_person@lemmy.world
    link
    fedilink
    English
    arrow-up
    4
    ·
    12 hours ago

    HA is definitely the largest adopted. OpenHab is probably more geared for developers, but has a more concise and powerful automation system.

    As for hardware to run it on: get a cheap n100 Minipc and be done with it. Uses 6-12W, and it’s going to miles.kore efficient for this use than a regular PC.

  • Decronym@lemmy.decronym.xyzB
    link
    fedilink
    English
    arrow-up
    1
    ·
    edit-2
    3 hours ago

    Acronyms, initialisms, abbreviations, contractions, and other phrases which expand to something larger, that I’ve seen in this thread:

    Fewer Letters More Letters
    DNS Domain Name Service/System
    HA Home Assistant automation software
    ~ High Availability
    MQTT Message Queue Telemetry Transport point-to-point networking
    NAS Network-Attached Storage
    PiHole Network-wide ad-blocker (DNS sinkhole)
    PoE Power over Ethernet
    VPN Virtual Private Network
    Zigbee Wireless mesh network for low-power devices

    [Thread #65 for this comm, first seen 6th Feb 2026, 21:20] [FAQ] [Full list] [Contact] [Source code]