Search | Running | Sailfish OS | All Posts | About Me

Installing Domoticz as a FreeBSD Jail on TrueNAS

December 29, 2024 — Nico Cartron

The Basics

  • follow the instructions here
  • install those additional packages:
    • lua54
    • cereal

when launching Domoticz, I got a 400 Bad Request when connecting on http://domoticz:8080

that's because Domoticz couldn't find the root folder.

Following the excellent Domoticz article about command line parameters, all I had to do was specify the root folder:

-wwwroot <path to Domoticz' WWW>

so in the startup script:

command="bin/${name} -wwwroot /home/domoticz/domoticz/www"

What's missing

I'm using a Zigbee USB key, as well as an RFXcom (also connected via USB).
I haven't figured out yet how to make Domoticz see them from the jail, even though there are some threads here or here discussing it.

This is not super high on my priority list, but I'd like to move my Domoticz instance off the Raspberry Pi it's currently running on, to a FreeBSD Jail: I recently had to reinstall Raspberry Pi OS (Debian) and Domoticz on a new SD Card, and restore a backup, as the SD Card decided to die all of a sudden...


Tags: Automation, FreeBSD


I don't have any commenting system, but email me (nicolas at ncartron dot org) your comments!
If you like my work, you can buy me a coffee!