2023-11-05
Home Assistant Installation & Setups

Fully functional HA mainly comes into two forms: flashable supervised .iso images, and virtual machines (not docker container).

Remember to create backup of HA after successful initialization. You can create an iso for the entire disk or just using backup utility builtin.

Supervisor need to be updated before other components. It is also the troublemaker. Set auto update of supervisor to false by:

1
2
ha supervisor options --auto-update=false

Since its heavy reliance on docker and github, one need to use OpenClash along with OpenWrt flashed in one dedicated router like NanoPi R2S to smooth the installation process.

Use video capture card and OBS studio to observe the RPI terminal. Attach to keyboard to type commands.

ha banner sometimes resolves issues.

To prevent addon installation limits, you can enter debug mode, edit the following file /mnt/data/supervisor/jobs.json into:

1
2
3
4
5
6
{
"ignore_conditions": [
"healthy"
]
}

Some files like /etc/docker/daemon.json, /etc/hosts cannot be changed after boot. You can change them before boot using card reader.

Read More

2023-01-05
Install Neo4J As Systemd Service

save this under /lib/systemd/system/neo4j.service

1
2
3
4
5
6
7
8
9
10
11
[Unit]
Description=Neo4j Graph Database
Documentation=http://docs.neo4j.org
[Service]
Type=simple
ExecStart=/usr/bin/neo4j console
ExecStop=/usr/bin/neo4j stop
Restart=on-failure
[Install]
WantedBy=multi-user.target

Read More