tprelog
Patron
- Joined
- Mar 2, 2016
- Messages
- 297
Well, life got in the way and I completely forget about this until @duffel99 opened an issue on GitHub.
The good news is, we managed to get the ESPHome plugin working again (at least for now)
TLDR
The main problem is that ESPHome relies on platformio to compile firmware for the ESP devices. For this to work in our jails, platformio downloads certain libraries made for FreeBSD however updated version are no longer provided.
Code:
PackageManager: Installing toolchain-xtensa @ ~2.40802.191122 Error: Could not find a version that satisfies the requirement '~2.40802.191122' for your system 'freebsd_amd64'
Code:
Tool Manager: Installing platformio/toolchain-xtensa32 @ ~2.50200 Error: Could not find the package with 'platformio/toolchain-xtensa32 @ ~2.50200.0' requirements for your system 'freebsd_amd64'
If anyone is actually familiar with FreeBSD (beyond using jails on TrueNAS CORE) or maybe just building software from source in general, it may be possible to compile these missing toolchains yourself. I think most people using this plugin (myself included) will find it is easiest to just run ESPHome on something else.
Saving the ESPHome config
Don't worry, at least you'll be able to save your config
The directory (inside the jail) that you'll need to back-up is
/var/db/esphome
- You can also find this directory from your TrueNAS host -- For example, if the name of your ZPOOL is tank
and the JAIL_NAME is esphome
, the path would be /mnt/tank/iocage/jails/esphome/root/var/db/esphome
Copy everything inside this directory to a new location before you destroy the plugin's jail.
Last edited: