This may be a little different, and Home Assistant may not even be the best tool, but hopefully y’all can help me move in the right direction. I have one of these:
Mounted at the top of that pole will be seven IP cameras, PA speakers, and LED flood lights. Inside the box, I’m mounting a Raspberry PI 4 8GB. My original plan was to run the VMS server (NX Witness) and Home Assistant on that PI.
The plan is to use Home Assistant to run this MQTT relay controller and run some additional I/O on the PI. For example, I have a wireless remote/relay to trigger pins on the PI to enable/disable an alarm.
The VMS has a built in web browser and can display a webpage on the screen with video feeds. My plan was to make a simple Home Assistant dashboard that could flip the relays on and off so I can remote control the tower over LTE. What I did not realize is that Home Assistant is its own OS, requiring it to take over the whole Pi or be run in a VM.
So now I’m trying to figure out the best way to do this. Can the Pi handle running a VMS and Home Assistant in a VM? The VMS server shouldn’t be too terribly taxing, as it is just copying the streams to an SSD and providing remote access. It’s my understanding that the client does most of the heavy lifting. I’ve seen a demo of it using only 40% CPU on a Pi4.
Is there software better suited to talk to the MQTT relay controller? I’m not much of a programmer, so I’m trying to not reinvent the wheel here.
Thanks for any advice/ideas!