In this video we go over the installation of the basic software needed to set up a HomeAssistant/Node-Red home automation system on a linux host.
Here are the systemd unit files used in the video:
/etc/systemd/system/hass.service
[Unit]
Description=Home Assistant Server
After=network.target
[Service]
User=netadmin
Group=users
Type=simple
ExecStart=/usr/bin/hass --config /home/netadmin/.homeasssistant
[Install]
WantedBy=multi-user.target
/etc/systemd/system/nodered.service
[Unit]
Description=Node Red
After=network.target
[Service]
User=netadmin
Group=users
Type=simple
ExecStart=/usr/bin/node-red -s /home/netadmin/.node-red/settings.js -u /home/netadmin/.node-red