About two years (maybe 3…), I purchased a Hubitat unit and connected some Led lights, nothing fancy, just for outdoors (turn on at night and off at day). It worked, but it was unable to maintain time when there was a power outage, and sometimes it worked, some days they did not come on or off. The developers in that forum said that the device was not actually able to sync or maintain time, which was very strange since it is the most basic function automation is supposed to be able to do (dates and times…).
I finally unplugged it after it lost some settings and not sure if I received a faulty unit, but my adventure was over quickly in less than a month since I wanted something more configurable and less buggy. I decided that eventually as I want something open source that I can potentially fix, and the community can create things around it.
I then installed OpenHab on a mini PC that is very under powered, Intel Atom and 2 GB ram but has Windows 10 running. It’s horribly slow but works for running a single thing. I used this before to watch Netflix and YouTube in Full HD, and it worked fine for that and casual browsing. It has Bluetooth, Wi-Fi, and is the smallest computer I ever had (fits in your hand). No fans, tiny power consumption.
I completely forgot it was installed and never ventured into it anymore since I decided I first wanted to get a proper setup with cameras and Zigbee devices. What is the point of HA if I have almost nothing to automated…
This month I decided to deploy a permanent solution and purchased several Zigbee devices, cameras, and other things like cables and stuff I will need around the house, including another PC to run BlueIris for cameras (this one more powered, i5 to stream at least 4-5 cameras), some irrigation automation (for a future project) and I purchased a Sonoff Dongle for Zigbee. I decided I will only use Zigbee and not Z-Wave.
Today, when I reset and cleaned all the windows’ installation on that old MiniPC for my surprise to make room just to run HA, I found out you can’t actually run Home Assistant directly on Windows. I realized this mistake after this was installed in a centralized location (no monitor, keyboard) since I can just remotely manage it with Windows Pro build in Remote Desktop. I know for a fact this system can run Linux since I had others before, but it’s messy (drivers) and losing the WinPro license is rather sad since that alone costs more than the computer.
Using virtualization in this garbage mini PC is out of the question since it hardly runs a browser properly. I have some ram sticks around, and I could increase its memory to 16 GB, but even then, that processor cannot run Hyper-V, or the Windows Linux subsystem or docker. I’m not even going to bother to try Virtualbox because I know already it’s going to be horribly slow. This MiniPC since they have no fan seems to work fine as long as you don’t max out the CPU all the time and they overheat. OpenHab and other services did run fine for months without issues in the background.
I wanted to avoid at all costs installing Home Assistant on the main PC I purchased as a mini server for the cameras, since it is located in another place which would be very far away from the devices. I intended to put the Zigbee Dongle on the MiniPC which is more in the central of the house on the second floor.
I read that most people install a MQTT broker and if memory serves me correct, this means it can run in a separate device from HA. And on the Zigbee Sonoff Dongle Amazon product page it says you can run it either on Home Assistant or using Zigbee2MQTT, this seems to require Mosquito.
Could this potentially work or I’m missing something? (sorry for the questions, new to everything here…)
Here is my idea:
-
Run HA on the more powered system that will run the camera recording, probably Hyper-V (not ideal. I could then move this VM to another permanent system without losing all my configuration, I guess. I just don’t want to waste time having to reconfigure and reinstall everything in the future, since I read it’s a pain to sync all your Zigbee devices again once they are installed.
-
This would run the Mosquito or MQTT server, I assume. Not sure, feel free to correct me.
-
Install the Zigbee Dongle on the crappy Mini PC. (not even sure if it will work on Windows but I think so after reading the docs for Mosquito they have a window executable) and then connected all devices to that system that communicate on the same local network with HA.
Could this work, or I just need to forget the idea and get a new device to run the dongle together with Home Assistant?
I’m not even sure if this works, if it is ideal, in terms of latency. I don’t mind a device taking 2–3 seconds to respond, but if this not a normal setup or recommended, I would love to know that in advance. Note that I have never used HA, or Mosquito or any of those pieces of software. I don’t need help to install them or configure them, either. I’m fine with reading and playing with the documentation. I’m just some basic advice on what should run where and if this can, of course, be all interconnected to work together in a stable way or its better just to run everything locally for performance reasons.