Home Assistant Core -- TrueNAS CORE Community Plugin

Hi @angyp74

FFmpeg should already be installed. I have recently added some new packages to the plugin manifest. Please try updating the plugin first from the FN ui, then again check for FFmpeg before you proceed.

For any system packages you want to install you can just use pkg install PACKAGE_NAME

iocage console homeassistant
# Press `0` to exit the menu`
pkg install ffmpeg

Let’s try to install this manually.

iocage console homeassistant
# Press `0` to exit the menu`
su - hass

 ## If there are errors here, please provide the entire output
 source /srv/homeassistant/bin/activate
 pip3 install --upgrade wheel
 pip3 install --upgrade bomradarloop==0.1.4
 deactivate && exit

## If installed without error, try config check again
service homeassistant check_config
## If that worked, you can restart HA with
service homeassistant restart

Hi, Troy Thanks for your response.

I gave the bomradarloop install and got and got the following. Now thinking about it a bit more I actually followed your freenas 11.2 guide to set this up but have since upgraded to 11.3. Maybe I should just reinstall using your community plugin and migrate configs. I also upgraded the homeassistant jail to 11.3 using the “iocage upgrade -r 11.3-RELEASE homeassistant” this looks like it messed up my pkg versions so ffmpeg won’t install either.

root@homeassistant:~ # su - hass
[hass@homeassistant ~]$ source /srv/homeassistant/bin/activate
(homeassistant) [hass@homeassistant ~]$ pip3 install --upgrade wheel
Collecting wheel
  Using cached wheel-0.34.2-py2.py3-none-any.whl (26 kB)
Installing collected packages: wheel
  Attempting uninstall: wheel
    Found existing installation: wheel 0.33.6
    Uninstalling wheel-0.33.6:
      Successfully uninstalled wheel-0.33.6
Successfully installed wheel-0.34.2
(homeassistant) [hass@homeassistant ~]$ pip3 install --upgrade bomradarloop==0.1.4
Collecting bomradarloop==0.1.4
  Using cached bomradarloop-0.1.4-py3-none-any.whl (8.8 kB)
Collecting Pillow
  Using cached Pillow-7.1.2.tar.gz (38.9 MB)
Requirement already satisfied, skipping upgrade: requests in /srv/homeassistant/lib/python3.7/site-packages (from                                             bomradarloop==0.1.4) (2.23.0)
Requirement already satisfied, skipping upgrade: urllib3!=1.25.0,!=1.25.1,<1.26,>=1.21.1 in /srv/homeassistant/li                                            b/python3.7/site-packages (from requests->bomradarloop==0.1.4) (1.25.9)
Requirement already satisfied, skipping upgrade: idna<3,>=2.5 in /srv/homeassistant/lib/python3.7/site-packages (                                            from requests->bomradarloop==0.1.4) (2.8)
Requirement already satisfied, skipping upgrade: certifi>=2017.4.17 in /srv/homeassistant/lib/python3.7/site-pack                                            ages (from requests->bomradarloop==0.1.4) (2020.4.5.1)
Requirement already satisfied, skipping upgrade: chardet<4,>=3.0.2 in /srv/homeassistant/lib/python3.7/site-packa                                            ges (from requests->bomradarloop==0.1.4) (3.0.4)
Building wheels for collected packages: Pillow
  Building wheel for Pillow (setup.py) ... error
  ERROR: Command errored out with exit status 1:
   command: /srv/homeassistant/bin/python3.7 -u -c 'import sys, setuptools, tokenize; sys.argv[0] = '"'"'/tmp/pip                                            -install-yb75oapt/Pillow/setup.py'"'"'; __file__='"'"'/tmp/pip-install-yb75oapt/Pillow/setup.py'"'"';f=getattr(to                                            kenize, '"'"'open'"'"', open)(__file__);code=f.read().replace('"'"'\r\n'"'"', '"'"'\n'"'"');f.close();exec(compil                                            e(code, __file__, '"'"'exec'"'"'))' bdist_wheel -d /tmp/pip-wheel-fiukk7ob
       cwd: /tmp/pip-install-yb75oapt/Pillow/
  Complete output (172 lines):
  running bdist_wheel
  running build
  running build_py
  creating build
  creating build/lib.freebsd-11.3-RELEASE-p7-amd64-3.7
  creating build/lib.freebsd-11.3-RELEASE-p7-amd64-3.7/PIL
  copying src/PIL/ImageFilter.py -> build/lib.freebsd-11.3-RELEASE-p7-amd64-3.7/PIL
  copying src/PIL/ImageDraw.py -> build/lib.freebsd-11.3-RELEASE-p7-amd64-3.7/PIL
  copying src/PIL/ImageFile.py -> build/lib.freebsd-11.3-RELEASE-p7-amd64-3.7/PIL
  copying src/PIL/ImagePath.py -> build/lib.freebsd-11.3-RELEASE-p7-amd64-3.7/PIL
  copying src/PIL/XpmImagePlugin.py -> build/lib.freebsd-11.3-RELEASE-p7-amd64-3.7/PIL
  copying src/PIL/features.py -> build/lib.freebsd-11.3-RELEASE-p7-amd64-3.7/PIL
  copying src/PIL/ExifTags.py -> build/lib.freebsd-11.3-RELEASE-p7-amd64-3.7/PIL
  copying src/PIL/ImageQt.py -> build/lib.freebsd-11.3-RELEASE-p7-amd64-3.7/PIL
  copying src/PIL/DcxImagePlugin.py -> build/lib.freebsd-11.3-RELEASE-p7-amd64-3.7/PIL
  copying src/PIL/FontFile.py -> build/lib.freebsd-11.3-RELEASE-p7-amd64-3.7/PIL
  copying src/PIL/_binary.py -> build/lib.freebsd-11.3-RELEASE-p7-amd64-3.7/PIL
  copying src/PIL/PixarImagePlugin.py -> build/lib.freebsd-11.3-RELEASE-p7-amd64-3.7/PIL
  copying src/PIL/CurImagePlugin.py -> build/lib.freebsd-11.3-RELEASE-p7-amd64-3.7/PIL
  copying src/PIL/TiffTags.py -> build/lib.freebsd-11.3-RELEASE-p7-amd64-3.7/PIL
  copying src/PIL/Jpeg2KImagePlugin.py -> build/lib.freebsd-11.3-RELEASE-p7-amd64-3.7/PIL
  copying src/PIL/TarIO.py -> build/lib.freebsd-11.3-RELEASE-p7-amd64-3.7/PIL
  copying src/PIL/ImagePalette.py -> build/lib.freebsd-11.3-RELEASE-p7-amd64-3.7/PIL
  copying src/PIL/MicImagePlugin.py -> build/lib.freebsd-11.3-RELEASE-p7-amd64-3.7/PIL
  copying src/PIL/SpiderImagePlugin.py -> build/lib.freebsd-11.3-RELEASE-p7-amd64-3.7/PIL
  copying src/PIL/PdfParser.py -> build/lib.freebsd-11.3-RELEASE-p7-amd64-3.7/PIL
  copying src/PIL/ImageFont.py -> build/lib.freebsd-11.3-RELEASE-p7-amd64-3.7/PIL
  copying src/PIL/Hdf5StubImagePlugin.py -> build/lib.freebsd-11.3-RELEASE-p7-amd64-3.7/PIL
  copying src/PIL/SunImagePlugin.py -> build/lib.freebsd-11.3-RELEASE-p7-amd64-3.7/PIL
  copying src/PIL/ImageChops.py -> build/lib.freebsd-11.3-RELEASE-p7-amd64-3.7/PIL
  copying src/PIL/ImageGrab.py -> build/lib.freebsd-11.3-RELEASE-p7-amd64-3.7/PIL
  copying src/PIL/WalImageFile.py -> build/lib.freebsd-11.3-RELEASE-p7-amd64-3.7/PIL
  copying src/PIL/_tkinter_finder.py -> build/lib.freebsd-11.3-RELEASE-p7-amd64-3.7/PIL
  copying src/PIL/SgiImagePlugin.py -> build/lib.freebsd-11.3-RELEASE-p7-amd64-3.7/PIL
  copying src/PIL/FtexImagePlugin.py -> build/lib.freebsd-11.3-RELEASE-p7-amd64-3.7/PIL
  copying src/PIL/WmfImagePlugin.py -> build/lib.freebsd-11.3-RELEASE-p7-amd64-3.7/PIL
  copying src/PIL/ImageTk.py -> build/lib.freebsd-11.3-RELEASE-p7-amd64-3.7/PIL
  copying src/PIL/__main__.py -> build/lib.freebsd-11.3-RELEASE-p7-amd64-3.7/PIL
  copying src/PIL/BlpImagePlugin.py -> build/lib.freebsd-11.3-RELEASE-p7-amd64-3.7/PIL
  copying src/PIL/ImageMode.py -> build/lib.freebsd-11.3-RELEASE-p7-amd64-3.7/PIL
  copying src/PIL/McIdasImagePlugin.py -> build/lib.freebsd-11.3-RELEASE-p7-amd64-3.7/PIL
  copying src/PIL/GimpGradientFile.py -> build/lib.freebsd-11.3-RELEASE-p7-amd64-3.7/PIL
  copying src/PIL/TiffImagePlugin.py -> build/lib.freebsd-11.3-RELEASE-p7-amd64-3.7/PIL
  copying src/PIL/EpsImagePlugin.py -> build/lib.freebsd-11.3-RELEASE-p7-amd64-3.7/PIL
  copying src/PIL/XbmImagePlugin.py -> build/lib.freebsd-11.3-RELEASE-p7-amd64-3.7/PIL
  copying src/PIL/WebPImagePlugin.py -> build/lib.freebsd-11.3-RELEASE-p7-amd64-3.7/PIL
  copying src/PIL/BmpImagePlugin.py -> build/lib.freebsd-11.3-RELEASE-p7-amd64-3.7/PIL
  copying src/PIL/ImageStat.py -> build/lib.freebsd-11.3-RELEASE-p7-amd64-3.7/PIL
  copying src/PIL/GdImageFile.py -> build/lib.freebsd-11.3-RELEASE-p7-amd64-3.7/PIL
  copying src/PIL/XVThumbImagePlugin.py -> build/lib.freebsd-11.3-RELEASE-p7-amd64-3.7/PIL
  copying src/PIL/IptcImagePlugin.py -> build/lib.freebsd-11.3-RELEASE-p7-amd64-3.7/PIL
  copying src/PIL/ImImagePlugin.py -> build/lib.freebsd-11.3-RELEASE-p7-amd64-3.7/PIL
  copying src/PIL/ImageWin.py -> build/lib.freebsd-11.3-RELEASE-p7-amd64-3.7/PIL
  copying src/PIL/PalmImagePlugin.py -> build/lib.freebsd-11.3-RELEASE-p7-amd64-3.7/PIL
  copying src/PIL/ImageEnhance.py -> build/lib.freebsd-11.3-RELEASE-p7-amd64-3.7/PIL
  copying src/PIL/MpoImagePlugin.py -> build/lib.freebsd-11.3-RELEASE-p7-amd64-3.7/PIL
  copying src/PIL/IcnsImagePlugin.py -> build/lib.freebsd-11.3-RELEASE-p7-amd64-3.7/PIL
  copying src/PIL/_version.py -> build/lib.freebsd-11.3-RELEASE-p7-amd64-3.7/PIL
  copying src/PIL/ImageTransform.py -> build/lib.freebsd-11.3-RELEASE-p7-amd64-3.7/PIL
  copying src/PIL/JpegImagePlugin.py -> build/lib.freebsd-11.3-RELEASE-p7-amd64-3.7/PIL
  copying src/PIL/ImageOps.py -> build/lib.freebsd-11.3-RELEASE-p7-amd64-3.7/PIL
  copying src/PIL/GifImagePlugin.py -> build/lib.freebsd-11.3-RELEASE-p7-amd64-3.7/PIL
  copying src/PIL/GbrImagePlugin.py -> build/lib.freebsd-11.3-RELEASE-p7-amd64-3.7/PIL
  copying src/PIL/PdfImagePlugin.py -> build/lib.freebsd-11.3-RELEASE-p7-amd64-3.7/PIL
  copying src/PIL/IcoImagePlugin.py -> build/lib.freebsd-11.3-RELEASE-p7-amd64-3.7/PIL
  copying src/PIL/ImageSequence.py -> build/lib.freebsd-11.3-RELEASE-p7-amd64-3.7/PIL
  copying src/PIL/PcfFontFile.py -> build/lib.freebsd-11.3-RELEASE-p7-amd64-3.7/PIL
  copying src/PIL/ImageMath.py -> build/lib.freebsd-11.3-RELEASE-p7-amd64-3.7/PIL
  copying src/PIL/MspImagePlugin.py -> build/lib.freebsd-11.3-RELEASE-p7-amd64-3.7/PIL
  copying src/PIL/GribStubImagePlugin.py -> build/lib.freebsd-11.3-RELEASE-p7-amd64-3.7/PIL
  copying src/PIL/BufrStubImagePlugin.py -> build/lib.freebsd-11.3-RELEASE-p7-amd64-3.7/PIL
  copying src/PIL/ImageShow.py -> build/lib.freebsd-11.3-RELEASE-p7-amd64-3.7/PIL
  copying src/PIL/PcxImagePlugin.py -> build/lib.freebsd-11.3-RELEASE-p7-amd64-3.7/PIL
  copying src/PIL/__init__.py -> build/lib.freebsd-11.3-RELEASE-p7-amd64-3.7/PIL
  copying src/PIL/FliImagePlugin.py -> build/lib.freebsd-11.3-RELEASE-p7-amd64-3.7/PIL
  copying src/PIL/TgaImagePlugin.py -> build/lib.freebsd-11.3-RELEASE-p7-amd64-3.7/PIL
  copying src/PIL/PcdImagePlugin.py -> build/lib.freebsd-11.3-RELEASE-p7-amd64-3.7/PIL
  copying src/PIL/PngImagePlugin.py -> build/lib.freebsd-11.3-RELEASE-p7-amd64-3.7/PIL
  copying src/PIL/BdfFontFile.py -> build/lib.freebsd-11.3-RELEASE-p7-amd64-3.7/PIL
  copying src/PIL/ImageMorph.py -> build/lib.freebsd-11.3-RELEASE-p7-amd64-3.7/PIL
  copying src/PIL/DdsImagePlugin.py -> build/lib.freebsd-11.3-RELEASE-p7-amd64-3.7/PIL
  copying src/PIL/ContainerIO.py -> build/lib.freebsd-11.3-RELEASE-p7-amd64-3.7/PIL
  copying src/PIL/FpxImagePlugin.py -> build/lib.freebsd-11.3-RELEASE-p7-amd64-3.7/PIL
  copying src/PIL/GimpPaletteFile.py -> build/lib.freebsd-11.3-RELEASE-p7-amd64-3.7/PIL
  copying src/PIL/PSDraw.py -> build/lib.freebsd-11.3-RELEASE-p7-amd64-3.7/PIL
  copying src/PIL/ImageCms.py -> build/lib.freebsd-11.3-RELEASE-p7-amd64-3.7/PIL
  copying src/PIL/JpegPresets.py -> build/lib.freebsd-11.3-RELEASE-p7-amd64-3.7/PIL
  copying src/PIL/PsdImagePlugin.py -> build/lib.freebsd-11.3-RELEASE-p7-amd64-3.7/PIL
  copying src/PIL/FitsStubImagePlugin.py -> build/lib.freebsd-11.3-RELEASE-p7-amd64-3.7/PIL
  copying src/PIL/ImageColor.py -> build/lib.freebsd-11.3-RELEASE-p7-amd64-3.7/PIL
  copying src/PIL/PaletteFile.py -> build/lib.freebsd-11.3-RELEASE-p7-amd64-3.7/PIL
  copying src/PIL/ImtImagePlugin.py -> build/lib.freebsd-11.3-RELEASE-p7-amd64-3.7/PIL
  copying src/PIL/ImageDraw2.py -> build/lib.freebsd-11.3-RELEASE-p7-amd64-3.7/PIL
  copying src/PIL/PpmImagePlugin.py -> build/lib.freebsd-11.3-RELEASE-p7-amd64-3.7/PIL
  copying src/PIL/_util.py -> build/lib.freebsd-11.3-RELEASE-p7-amd64-3.7/PIL
  copying src/PIL/Image.py -> build/lib.freebsd-11.3-RELEASE-p7-amd64-3.7/PIL
  copying src/PIL/PyAccess.py -> build/lib.freebsd-11.3-RELEASE-p7-amd64-3.7/PIL
  copying src/PIL/MpegImagePlugin.py -> build/lib.freebsd-11.3-RELEASE-p7-amd64-3.7/PIL
  running egg_info
  writing src/Pillow.egg-info/PKG-INFO
  writing dependency_links to src/Pillow.egg-info/dependency_links.txt
  writing top-level names to src/Pillow.egg-info/top_level.txt
  reading manifest file 'src/Pillow.egg-info/SOURCES.txt'
  reading manifest template 'MANIFEST.in'
  warning: no files found matching '*.c'
  warning: no files found matching '*.h'
  warning: no files found matching '*.sh'
  warning: no previously-included files found matching '.appveyor.yml'
  warning: no previously-included files found matching '.coveragerc'
  warning: no previously-included files found matching '.editorconfig'
  warning: no previously-included files found matching '.readthedocs.yml'
  warning: no previously-included files found matching 'azure-pipelines.yml'
  warning: no previously-included files found matching 'codecov.yml'
  warning: no previously-included files matching '.git*' found anywhere in distribution
  warning: no previously-included files matching '*.pyc' found anywhere in distribution
  warning: no previously-included files matching '*.so' found anywhere in distribution
  no previously-included directories found matching '.azure-pipelines'
  no previously-included directories found matching '.ci'
  writing manifest file 'src/Pillow.egg-info/SOURCES.txt'
  running build_ext


  The headers or library files could not be found for jpeg,
  a required dependency when compiling Pillow from source.

  Please see the install instructions at:
     https://pillow.readthedocs.io/en/latest/installation.html

  Traceback (most recent call last):
    File "/tmp/pip-install-yb75oapt/Pillow/setup.py", line 899, in <module>
      zip_safe=not (debug_build() or PLATFORM_MINGW),
    File "/srv/homeassistant/lib/python3.7/site-packages/setuptools/__init__.py", line 145, in setup
      return distutils.core.setup(**attrs)
    File "/usr/local/lib/python3.7/distutils/core.py", line 148, in setup
      dist.run_commands()
    File "/usr/local/lib/python3.7/distutils/dist.py", line 966, in run_commands
      self.run_command(cmd)
    File "/usr/local/lib/python3.7/distutils/dist.py", line 985, in run_command
      cmd_obj.run()
    File "/srv/homeassistant/lib/python3.7/site-packages/wheel/bdist_wheel.py", line 223, in run
      self.run_command('build')
    File "/usr/local/lib/python3.7/distutils/cmd.py", line 313, in run_command
      self.distribution.run_command(command)
    File "/usr/local/lib/python3.7/distutils/dist.py", line 985, in run_command
      cmd_obj.run()
    File "/usr/local/lib/python3.7/distutils/command/build.py", line 135, in run
      self.run_command(cmd_name)
    File "/usr/local/lib/python3.7/distutils/cmd.py", line 313, in run_command
      self.distribution.run_command(command)
    File "/usr/local/lib/python3.7/distutils/dist.py", line 985, in run_command
      cmd_obj.run()
    File "/usr/local/lib/python3.7/distutils/command/build_ext.py", line 339, in run
      self.build_extensions()
    File "/tmp/pip-install-yb75oapt/Pillow/setup.py", line 694, in build_extensions
      raise RequiredDependencyException(f)
  __main__.RequiredDependencyException: jpeg

  During handling of the above exception, another exception occurred:

  Traceback (most recent call last):
    File "<string>", line 1, in <module>
    File "/tmp/pip-install-yb75oapt/Pillow/setup.py", line 914, in <module>
      raise RequiredDependencyException(msg)
  __main__.RequiredDependencyException:

  The headers or library files could not be found for jpeg,
  a required dependency when compiling Pillow from source.

  Please see the install instructions at:
     https://pillow.readthedocs.io/en/latest/installation.html


  ----------------------------------------
  ERROR: Failed building wheel for Pillow
  Running setup.py clean for Pillow
Failed to build Pillow
Installing collected packages: Pillow, bomradarloop
    Running setup.py install for Pillow ... error
    ERROR: Command errored out with exit status 1:
     command: /srv/homeassistant/bin/python3.7 -u -c 'import sys, setuptools, tokenize; sys.argv[0] = '"'"'/tmp/p                                            ip-install-yb75oapt/Pillow/setup.py'"'"'; __file__='"'"'/tmp/pip-install-yb75oapt/Pillow/setup.py'"'"';f=getattr(                                            tokenize, '"'"'open'"'"', open)(__file__);code=f.read().replace('"'"'\r\n'"'"', '"'"'\n'"'"');f.close();exec(comp                                            ile(code, __file__, '"'"'exec'"'"'))' install --record /tmp/pip-record-5uqv_foh/install-record.txt --single-versi                                            on-externally-managed --compile --install-headers /srv/homeassistant/include/site/python3.7/Pillow
         cwd: /tmp/pip-install-yb75oapt/Pillow/
    Complete output (174 lines):
    running install
    running build
    running build_py
    creating build
    creating build/lib.freebsd-11.3-RELEASE-p7-amd64-3.7
    creating build/lib.freebsd-11.3-RELEASE-p7-amd64-3.7/PIL
    copying src/PIL/ImageFilter.py -> build/lib.freebsd-11.3-RELEASE-p7-amd64-3.7/PIL
    copying src/PIL/ImageDraw.py -> build/lib.freebsd-11.3-RELEASE-p7-amd64-3.7/PIL
    copying src/PIL/ImageFile.py -> build/lib.freebsd-11.3-RELEASE-p7-amd64-3.7/PIL
    copying src/PIL/ImagePath.py -> build/lib.freebsd-11.3-RELEASE-p7-amd64-3.7/PIL
    copying src/PIL/XpmImagePlugin.py -> build/lib.freebsd-11.3-RELEASE-p7-amd64-3.7/PIL
    copying src/PIL/features.py -> build/lib.freebsd-11.3-RELEASE-p7-amd64-3.7/PIL
    copying src/PIL/ExifTags.py -> build/lib.freebsd-11.3-RELEASE-p7-amd64-3.7/PIL
    copying src/PIL/ImageQt.py -> build/lib.freebsd-11.3-RELEASE-p7-amd64-3.7/PIL
    copying src/PIL/DcxImagePlugin.py -> build/lib.freebsd-11.3-RELEASE-p7-amd64-3.7/PIL
    copying src/PIL/FontFile.py -> build/lib.freebsd-11.3-RELEASE-p7-amd64-3.7/PIL
    copying src/PIL/_binary.py -> build/lib.freebsd-11.3-RELEASE-p7-amd64-3.7/PIL
    copying src/PIL/PixarImagePlugin.py -> build/lib.freebsd-11.3-RELEASE-p7-amd64-3.7/PIL
    copying src/PIL/CurImagePlugin.py -> build/lib.freebsd-11.3-RELEASE-p7-amd64-3.7/PIL
    copying src/PIL/TiffTags.py -> build/lib.freebsd-11.3-RELEASE-p7-amd64-3.7/PIL
    copying src/PIL/Jpeg2KImagePlugin.py -> build/lib.freebsd-11.3-RELEASE-p7-amd64-3.7/PIL
    copying src/PIL/TarIO.py -> build/lib.freebsd-11.3-RELEASE-p7-amd64-3.7/PIL
    copying src/PIL/ImagePalette.py -> build/lib.freebsd-11.3-RELEASE-p7-amd64-3.7/PIL
    copying src/PIL/MicImagePlugin.py -> build/lib.freebsd-11.3-RELEASE-p7-amd64-3.7/PIL
    copying src/PIL/SpiderImagePlugin.py -> build/lib.freebsd-11.3-RELEASE-p7-amd64-3.7/PIL
    copying src/PIL/PdfParser.py -> build/lib.freebsd-11.3-RELEASE-p7-amd64-3.7/PIL
    copying src/PIL/ImageFont.py -> build/lib.freebsd-11.3-RELEASE-p7-amd64-3.7/PIL
    copying src/PIL/Hdf5StubImagePlugin.py -> build/lib.freebsd-11.3-RELEASE-p7-amd64-3.7/PIL
    copying src/PIL/SunImagePlugin.py -> build/lib.freebsd-11.3-RELEASE-p7-amd64-3.7/PIL
    copying src/PIL/ImageChops.py -> build/lib.freebsd-11.3-RELEASE-p7-amd64-3.7/PIL
    copying src/PIL/ImageGrab.py -> build/lib.freebsd-11.3-RELEASE-p7-amd64-3.7/PIL
    copying src/PIL/WalImageFile.py -> build/lib.freebsd-11.3-RELEASE-p7-amd64-3.7/PIL
    copying src/PIL/_tkinter_finder.py -> build/lib.freebsd-11.3-RELEASE-p7-amd64-3.7/PIL
    copying src/PIL/SgiImagePlugin.py -> build/lib.freebsd-11.3-RELEASE-p7-amd64-3.7/PIL
    copying src/PIL/FtexImagePlugin.py -> build/lib.freebsd-11.3-RELEASE-p7-amd64-3.7/PIL
    copying src/PIL/WmfImagePlugin.py -> build/lib.freebsd-11.3-RELEASE-p7-amd64-3.7/PIL
    copying src/PIL/ImageTk.py -> build/lib.freebsd-11.3-RELEASE-p7-amd64-3.7/PIL
    copying src/PIL/__main__.py -> build/lib.freebsd-11.3-RELEASE-p7-amd64-3.7/PIL
    copying src/PIL/BlpImagePlugin.py -> build/lib.freebsd-11.3-RELEASE-p7-amd64-3.7/PIL
    copying src/PIL/ImageMode.py -> build/lib.freebsd-11.3-RELEASE-p7-amd64-3.7/PIL
    copying src/PIL/McIdasImagePlugin.py -> build/lib.freebsd-11.3-RELEASE-p7-amd64-3.7/PIL
    copying src/PIL/GimpGradientFile.py -> build/lib.freebsd-11.3-RELEASE-p7-amd64-3.7/PIL
    copying src/PIL/TiffImagePlugin.py -> build/lib.freebsd-11.3-RELEASE-p7-amd64-3.7/PIL
    copying src/PIL/EpsImagePlugin.py -> build/lib.freebsd-11.3-RELEASE-p7-amd64-3.7/PIL
    copying src/PIL/XbmImagePlugin.py -> build/lib.freebsd-11.3-RELEASE-p7-amd64-3.7/PIL
    copying src/PIL/WebPImagePlugin.py -> build/lib.freebsd-11.3-RELEASE-p7-amd64-3.7/PIL
    copying src/PIL/BmpImagePlugin.py -> build/lib.freebsd-11.3-RELEASE-p7-amd64-3.7/PIL
    copying src/PIL/ImageStat.py -> build/lib.freebsd-11.3-RELEASE-p7-amd64-3.7/PIL
    copying src/PIL/GdImageFile.py -> build/lib.freebsd-11.3-RELEASE-p7-amd64-3.7/PIL
    copying src/PIL/XVThumbImagePlugin.py -> build/lib.freebsd-11.3-RELEASE-p7-amd64-3.7/PIL
    copying src/PIL/IptcImagePlugin.py -> build/lib.freebsd-11.3-RELEASE-p7-amd64-3.7/PIL
    copying src/PIL/ImImagePlugin.py -> build/lib.freebsd-11.3-RELEASE-p7-amd64-3.7/PIL
    copying src/PIL/ImageWin.py -> build/lib.freebsd-11.3-RELEASE-p7-amd64-3.7/PIL
    copying src/PIL/PalmImagePlugin.py -> build/lib.freebsd-11.3-RELEASE-p7-amd64-3.7/PIL
    copying src/PIL/ImageEnhance.py -> build/lib.freebsd-11.3-RELEASE-p7-amd64-3.7/PIL
    copying src/PIL/MpoImagePlugin.py -> build/lib.freebsd-11.3-RELEASE-p7-amd64-3.7/PIL
    copying src/PIL/IcnsImagePlugin.py -> build/lib.freebsd-11.3-RELEASE-p7-amd64-3.7/PIL
    copying src/PIL/_version.py -> build/lib.freebsd-11.3-RELEASE-p7-amd64-3.7/PIL
    copying src/PIL/ImageTransform.py -> build/lib.freebsd-11.3-RELEASE-p7-amd64-3.7/PIL
    copying src/PIL/JpegImagePlugin.py -> build/lib.freebsd-11.3-RELEASE-p7-amd64-3.7/PIL
    copying src/PIL/ImageOps.py -> build/lib.freebsd-11.3-RELEASE-p7-amd64-3.7/PIL
    copying src/PIL/GifImagePlugin.py -> build/lib.freebsd-11.3-RELEASE-p7-amd64-3.7/PIL
    copying src/PIL/GbrImagePlugin.py -> build/lib.freebsd-11.3-RELEASE-p7-amd64-3.7/PIL
    copying src/PIL/PdfImagePlugin.py -> build/lib.freebsd-11.3-RELEASE-p7-amd64-3.7/PIL
    copying src/PIL/IcoImagePlugin.py -> build/lib.freebsd-11.3-RELEASE-p7-amd64-3.7/PIL
    copying src/PIL/ImageSequence.py -> build/lib.freebsd-11.3-RELEASE-p7-amd64-3.7/PIL
    copying src/PIL/PcfFontFile.py -> build/lib.freebsd-11.3-RELEASE-p7-amd64-3.7/PIL
    copying src/PIL/ImageMath.py -> build/lib.freebsd-11.3-RELEASE-p7-amd64-3.7/PIL
    copying src/PIL/MspImagePlugin.py -> build/lib.freebsd-11.3-RELEASE-p7-amd64-3.7/PIL
    copying src/PIL/GribStubImagePlugin.py -> build/lib.freebsd-11.3-RELEASE-p7-amd64-3.7/PIL
    copying src/PIL/BufrStubImagePlugin.py -> build/lib.freebsd-11.3-RELEASE-p7-amd64-3.7/PIL
    copying src/PIL/ImageShow.py -> build/lib.freebsd-11.3-RELEASE-p7-amd64-3.7/PIL
    copying src/PIL/PcxImagePlugin.py -> build/lib.freebsd-11.3-RELEASE-p7-amd64-3.7/PIL
    copying src/PIL/__init__.py -> build/lib.freebsd-11.3-RELEASE-p7-amd64-3.7/PIL
    copying src/PIL/FliImagePlugin.py -> build/lib.freebsd-11.3-RELEASE-p7-amd64-3.7/PIL
    copying src/PIL/TgaImagePlugin.py -> build/lib.freebsd-11.3-RELEASE-p7-amd64-3.7/PIL
    copying src/PIL/PcdImagePlugin.py -> build/lib.freebsd-11.3-RELEASE-p7-amd64-3.7/PIL
    copying src/PIL/PngImagePlugin.py -> build/lib.freebsd-11.3-RELEASE-p7-amd64-3.7/PIL
    copying src/PIL/BdfFontFile.py -> build/lib.freebsd-11.3-RELEASE-p7-amd64-3.7/PIL
    copying src/PIL/ImageMorph.py -> build/lib.freebsd-11.3-RELEASE-p7-amd64-3.7/PIL
    copying src/PIL/DdsImagePlugin.py -> build/lib.freebsd-11.3-RELEASE-p7-amd64-3.7/PIL
    copying src/PIL/ContainerIO.py -> build/lib.freebsd-11.3-RELEASE-p7-amd64-3.7/PIL
    copying src/PIL/FpxImagePlugin.py -> build/lib.freebsd-11.3-RELEASE-p7-amd64-3.7/PIL
    copying src/PIL/GimpPaletteFile.py -> build/lib.freebsd-11.3-RELEASE-p7-amd64-3.7/PIL
    copying src/PIL/PSDraw.py -> build/lib.freebsd-11.3-RELEASE-p7-amd64-3.7/PIL
    copying src/PIL/ImageCms.py -> build/lib.freebsd-11.3-RELEASE-p7-amd64-3.7/PIL
    copying src/PIL/JpegPresets.py -> build/lib.freebsd-11.3-RELEASE-p7-amd64-3.7/PIL
    copying src/PIL/PsdImagePlugin.py -> build/lib.freebsd-11.3-RELEASE-p7-amd64-3.7/PIL
    copying src/PIL/FitsStubImagePlugin.py -> build/lib.freebsd-11.3-RELEASE-p7-amd64-3.7/PIL
    copying src/PIL/ImageColor.py -> build/lib.freebsd-11.3-RELEASE-p7-amd64-3.7/PIL
    copying src/PIL/PaletteFile.py -> build/lib.freebsd-11.3-RELEASE-p7-amd64-3.7/PIL
    copying src/PIL/ImtImagePlugin.py -> build/lib.freebsd-11.3-RELEASE-p7-amd64-3.7/PIL
    copying src/PIL/ImageDraw2.py -> build/lib.freebsd-11.3-RELEASE-p7-amd64-3.7/PIL
    copying src/PIL/PpmImagePlugin.py -> build/lib.freebsd-11.3-RELEASE-p7-amd64-3.7/PIL
    copying src/PIL/_util.py -> build/lib.freebsd-11.3-RELEASE-p7-amd64-3.7/PIL
    copying src/PIL/Image.py -> build/lib.freebsd-11.3-RELEASE-p7-amd64-3.7/PIL
    copying src/PIL/PyAccess.py -> build/lib.freebsd-11.3-RELEASE-p7-amd64-3.7/PIL
    copying src/PIL/MpegImagePlugin.py -> build/lib.freebsd-11.3-RELEASE-p7-amd64-3.7/PIL
    running egg_info
    writing src/Pillow.egg-info/PKG-INFO
    writing dependency_links to src/Pillow.egg-info/dependency_links.txt
    writing top-level names to src/Pillow.egg-info/top_level.txt
    reading manifest file 'src/Pillow.egg-info/SOURCES.txt'
    reading manifest template 'MANIFEST.in'
    warning: no files found matching '*.c'
    warning: no files found matching '*.h'
    warning: no files found matching '*.sh'
    warning: no previously-included files found matching '.appveyor.yml'
    warning: no previously-included files found matching '.coveragerc'
    warning: no previously-included files found matching '.editorconfig'
    warning: no previously-included files found matching '.readthedocs.yml'
    warning: no previously-included files found matching 'azure-pipelines.yml'
    warning: no previously-included files found matching 'codecov.yml'
    warning: no previously-included files matching '.git*' found anywhere in distribution
    warning: no previously-included files matching '*.pyc' found anywhere in distribution
    warning: no previously-included files matching '*.so' found anywhere in distribution
    no previously-included directories found matching '.azure-pipelines'
    no previously-included directories found matching '.ci'
    writing manifest file 'src/Pillow.egg-info/SOURCES.txt'
    running build_ext


    The headers or library files could not be found for jpeg,
    a required dependency when compiling Pillow from source.

    Please see the install instructions at:
       https://pillow.readthedocs.io/en/latest/installation.html

    Traceback (most recent call last):
      File "/tmp/pip-install-yb75oapt/Pillow/setup.py", line 899, in <module>
        zip_safe=not (debug_build() or PLATFORM_MINGW),
      File "/srv/homeassistant/lib/python3.7/site-packages/setuptools/__init__.py", line 145, in setup
        return distutils.core.setup(**attrs)
      File "/usr/local/lib/python3.7/distutils/core.py", line 148, in setup
        dist.run_commands()
      File "/usr/local/lib/python3.7/distutils/dist.py", line 966, in run_commands
        self.run_command(cmd)
      File "/usr/local/lib/python3.7/distutils/dist.py", line 985, in run_command
        cmd_obj.run()
      File "/srv/homeassistant/lib/python3.7/site-packages/setuptools/command/install.py", line 61, in run
        return orig.install.run(self)
      File "/usr/local/lib/python3.7/distutils/command/install.py", line 545, in run
        self.run_command('build')
      File "/usr/local/lib/python3.7/distutils/cmd.py", line 313, in run_command
        self.distribution.run_command(command)
      File "/usr/local/lib/python3.7/distutils/dist.py", line 985, in run_command
        cmd_obj.run()
      File "/usr/local/lib/python3.7/distutils/command/build.py", line 135, in run
        self.run_command(cmd_name)
      File "/usr/local/lib/python3.7/distutils/cmd.py", line 313, in run_command
        self.distribution.run_command(command)
      File "/usr/local/lib/python3.7/distutils/dist.py", line 985, in run_command
        cmd_obj.run()
      File "/usr/local/lib/python3.7/distutils/command/build_ext.py", line 339, in run
        self.build_extensions()
      File "/tmp/pip-install-yb75oapt/Pillow/setup.py", line 694, in build_extensions
        raise RequiredDependencyException(f)
    __main__.RequiredDependencyException: jpeg

    During handling of the above exception, another exception occurred:

    Traceback (most recent call last):
      File "<string>", line 1, in <module>
      File "/tmp/pip-install-yb75oapt/Pillow/setup.py", line 914, in <module>
        raise RequiredDependencyException(msg)
    __main__.RequiredDependencyException:

    The headers or library files could not be found for jpeg,
    a required dependency when compiling Pillow from source.

    Please see the install instructions at:
       https://pillow.readthedocs.io/en/latest/installation.html


    ----------------------------------------
ERROR: Command errored out with exit status 1: /srv/homeassistant/bin/python3.7 -u -c 'import sys, setuptools, to                                            kenize; sys.argv[0] = '"'"'/tmp/pip-install-yb75oapt/Pillow/setup.py'"'"'; __file__='"'"'/tmp/pip-install-yb75oap                                            t/Pillow/setup.py'"'"';f=getattr(tokenize, '"'"'open'"'"', open)(__file__);code=f.read().replace('"'"'\r\n'"'"',                                             '"'"'\n'"'"');f.close();exec(compile(code, __file__, '"'"'exec'"'"'))' install --record /tmp/pip-record-5uqv_foh/                                            install-record.txt --single-version-externally-managed --compile --install-headers /srv/homeassistant/include/sit                                            e/python3.7/Pillow Check the logs for full command output.

root@homeassistant:~ # pkg install ffmpeg
Updating FreeBSD repository catalogue...
[homeassistant] Fetching meta.txz: 100%    916 B   0.9kB/s    00:01
pkg: repository meta /var/db/pkg/FreeBSD.meta has wrong version 2
repository FreeBSD has no meta file, using default settings
[homeassistant] Fetching packagesite.txz: 100%    6 MiB   1.1MB/s    00:06
pkg: repository meta /var/db/pkg/FreeBSD.meta has wrong version 2
pkg: Repository FreeBSD load error: meta cannot be loaded No error: 0
Unable to open created repository FreeBSD
Unable to update repository FreeBSD
Error updating repositories!

I would think a fresh install / migrate config will be quicker than trying to fix the existing jail.

Also the 11.3 plugin is slightly improved from the 11.2 version ( you would not get these changes by upgrading the release )

Wow, can’t believe it, After I sorted out the pkg version stuff I was able to get FFmpeg installed. So I thought I would try your instructions on radarloop and this time it worked? Thanks a heap. I will look at upgrading soon but.

root@homeassistant:~ # su - hass
[hass@homeassistant ~]$ source /srv/homeassistant/bin/activate
(homeassistant) [hass@homeassistant ~]$ pip3 install --upgrade wheel
Requirement already up-to-date: wheel in /srv/homeassistant/lib/python3.7/site-packages (0.34.2)
(homeassistant) [hass@homeassistant ~]$ pip3 install --upgrade bomradarloop==0.1.4
Collecting bomradarloop==0.1.4
  Using cached bomradarloop-0.1.4-py3-none-any.whl (8.8 kB)
Collecting Pillow
  Using cached Pillow-7.1.2.tar.gz (38.9 MB)
Requirement already satisfied, skipping upgrade: requests in /srv/homeassistant/lib/python3.7/site-packages (from bomradarloop==0.1.4) (2.23.0)
Requirement already satisfied, skipping upgrade: idna<3,>=2.5 in /srv/homeassistant/lib/python3.7/site-packages (from requests->bomradarloop==0.1.4) (2.8)
Requirement already satisfied, skipping upgrade: urllib3!=1.25.0,!=1.25.1,<1.26,>=1.21.1 in /srv/homeassistant/lib/python3.7/site-packages (from requests->bomradarloop==0.1.4) (1.25.9)
Requirement already satisfied, skipping upgrade: chardet<4,>=3.0.2 in /srv/homeassistant/lib/python3.7/site-packages (from requests->bomradarloop==0.1.4) (3.0.4)
Requirement already satisfied, skipping upgrade: certifi>=2017.4.17 in /srv/homeassistant/lib/python3.7/site-packages (from requests->bomradarloop==0.1.4) (2020.4.5.1)
Building wheels for collected packages: Pillow
  Building wheel for Pillow (setup.py) ... done
  Created wheel for Pillow: filename=Pillow-7.1.2-cp37-cp37m-freebsd_11_3_RELEASE_p7_amd64.whl size=524722 sha256=6351f02109988bc472e70acf2773be977af4d14a19a70a6855d7a9649ef46b0a
  Stored in directory: /home/hass/.cache/pip/wheels/cf/32/de/5148f306c80538c3a88a3c2dece714317dbf484b8fa7bf2916
Successfully built Pillow
Installing collected packages: Pillow, bomradarloop
Successfully installed Pillow-7.1.2 bomradarloop-0.1.4
(homeassistant) [hass@homeassistant ~]$ deactivate && exit
logout

I think I finally figured this out – turns out to be some needed options for persistence in the mosquitto.conf

Mosquitto, by default on FreeBSD, runs as user nobody - I could not get this working as user nobody so I created a new, non-root user mosquitto to run the broker.
I also created a directory and set permissions ( this will be location for mosquitto.db )

iocage console mosquitto

# Add non-root user
pw adduser -u 1883 -n mosquitto -w no

# Create directory and set permissions
mkdir /var/db/mosquitto
chown mosquitto:mosquitto /var/db/mosquitto

Finally added the options for persistence to /usr/local/etc/mosquitto/mosquitto.conf

updated example for mosquitto.conf

pid_file /var/run/mosquitto.pid
user mosquitto
port 1883
cafile /usr/local/share/certs/ca-root-nss.crt

persistence true
persistence_file mosquitto.db
persistence_location /var/db/mosquitto/

# Uncomment to require username/password access to the broker
#password_file /usr/local/etc/mosquitto/pwfile
#allow_anonymous false

# Attention – Z-Wave is going to break on FreeNAS!

Well sort of… If you are using a USB Z-Wave stick, with USB pass through to the Home Assistant plugin/jail please be aware of these upcoming changes! This will directly affect us - Bitter / Sweet

There is currently no plan to deprecate the existing Z-Wave integration. But the hope is that the new integration, in the future, will offer a simpler, more stable and more feature-rich experience than the current Z-Wave integration.

I am open to the possibility of creating a separate FreeNAS plugin for ozwdaemon (aka qt-openzwave) in the future, but as of now, it seems far out reach to accomplish this myself.

I’m not sure the exact HA version when the current Z-Wave integration will be replaced but I suggested you begin to prepare now. If you want to use the new OpenZ-Wave Beta, you will need to move your USB Z-Wave to a secondary device that is able to run docker.

I’m using raspbian-lite on a RPI 3 B+ with docker, to run ozwdaemon. I’m powering the PI with POE, so basically, it has just become a simple Z-Wave hub that can be placed in a better location for my Z-Wave network, away from my FreeNAS server in the basement.

Of course, I took some notes :wink: – If you’re like me and have never used docker, I’ll have a little “Quick Start” you can follow to set up a PI for running ozwdaemon.

Hi Troy, thanks so much for all you’ve done.

I just finished installing HA on FreeNAS 11.3 using your plugin and it worked great! I followed your steps on getting my Z-Wave USB Stick attached though and just keep striking out. One issue I noticed is that I used your suggested dataset 99, and when I tell the jail to use that dataset it works just fine but as soon as the jail actually starts it switches to dataset 5… So I went through and switched the script from 99 to 5 to see if that would work, still no luck. I’m trying to enter the path to my Z-Wave USB in my HA system, that’s where I’m stuck. Any suggestions?

On this note of yours, are you using your Pi as a gateway for MQTT? This is actually the first solution I had tried last week without success. I ran HA in an Ubuntu Server VM and then had my Z-Wave USB on my Pi gateway and it actually “worked” and I could get my devices into my HA configuration. The problem that I was running into is that most of my devices are dimmers, and even though HA could see them they just wouldn’t function. Is this the system you’re running?

Thanks!

Hello @8three

FN auto-generates these ( starting at 5 ) with some voodoo in the middle-ware, I just picked 99 because it seems unlikely FN would use it.

For what you’re seeing, there is an open issue in iocage

There’s a couple ways around this but as usual, require using the console

If you just need to restart the jail, use a -s soft restart

$ sudo iocage restart -s homeassistant
Soft restarting homeassistant (homeassistant)

Otherwise you need to use a three step process

$ sudo iocage stop homeassistant
Password:
* Stopping homeassistant
  + Executing prestop OK
  + Stopping services OK
  + Tearing down VNET OK
  + Removing devfs_ruleset: 99 OK
  + Removing jail process OK
  + Executing poststop OK

## re-enable the rulseset on FreeNAS
$ sudo ./zwave-ruleset.sh 

$ sudo iocage start homeassistant
No default gateway found for ipv6.
* Starting homeassistant
  + Started OK
  + Using devfs_ruleset: 99
  + Configuring VNET OK
  + Using IP options: vnet
  + Starting services OK
  + Executing poststart OK
  + DHCP Address: 10.10.20.25/24

Best thing is, just try to avoid restarting the entire jail - Restarting the HA service will work just fine – My HA jail only gets restarted when I reboot my FreeNAS – and that only happens during a FN update. – Anyways this is not gonna be an issue when Z-Wave is no longer a direct integration with Home Assistant.


I’m using the Mosquitto FN plugin…
Right now, the PI is only running a single docker container with qt-openzwave

I have only used the current built in Z-Wave integration ( and built in zha for ZigBee ). – I have never used a mqtt bridge to anything… In fact, before this upcoming change, I only relied on Home Assistant Core for all critical functions in my home. ( Sure, I already used mqtt, but not for anything critical )

I have moved to UI configuration for Z-Wave – but I still need this entry in my configuration.yaml for my dimmers to work correctly

zwave:
  device_config_domain:
    light:
      refresh_value: true
      delay: 2

Edit:
Just to clarify about Z-Wave and MQTT – The upcoming switch to using ozwdaemon ( aka qt-openzave ) for Z-Wave, will require a using MQTT… Still ozwdaemon is something new, it is not the existing Z-Wave2Mqtt

Thanks so much for the reply!

Before I start the troubleshooting process with your suggestions, would you suggest I find a way to make my MQTT gateway work with my dimmers (on my VM) before trying to get my Z-Wave USB Stick working in the actual FreeNAS install since it sounds like this is going away anyway? My gateway is running Z-Wave2MQTT

The trouble I was running into with my VM install of HA is that I installed with Docker which I believe uses Hass.io and it seems to be tough to get under the hood and play around with the configuration.yaml file. I have the file editor installed but when I view the configuration.yaml file it doesn’t show anything about the devices that I can go in and manually edit. Maybe I’ll have to play around with this more…

I’d love to try the entry you used to get your dimmers working, maybe that would work for my setup as well!

Don’t worry, configuring HA is not considered “under the hood” - If you have file editor - For a simple test, you can just add the entry I shared to the bottom of your configuration.yaml

Just tried adding your entry to the bottom of the configuration.yaml, still no luck getting my devices working. They all still show, but when I toggle the switch to turn a light on it hangs in the on position for about a second then goes back to off (the light never actually turns on at all). Physically turning on a switch doesn’t change anything in my HA interface. I’ve tried tweaking a number of settings in the MQTT gateway, and nothing I do fixes anything.

Even though this seems the “better” route because of the changes to Z-Wave coming in FreeNAS, I can’t for the life of me figure how to get this working! I’ve spent hours searching around the internet for different settings and examples but can’t seem to find the right one yet…

Yes exactly how it works for me too – except in my case the light is actually changing state – After the delay:2 seconds - HA finally toggles to the correct state – I had to use a as much as delay:5 with some gen1 GE dimmers – with updated switches, I have been able to reduce the delay

You bring up a good point – I am not sure how this will work for me in the future either – I have not tested any dimmers with ozwdaemon, only a spare switch I have laying around

Interesting. I’ve been messing with it for the past hour or so (both my VM instance of HA and the MQTT gateway) and nothing seems to work. Maybe I’ll just rebuild the gateway and start over, and remove all devices from HA and start over there as well. It’s getting quite frustrating trying to get this all to work, was expecting some issues but this has been quite a roadblock for me!

I came along looking for some more help, as updating my Home Assistant jail broke things again, and noticed that Troy had turned the previous installation into a community plugin. I hadn’t used a plugin since 9.3.1 and after some bad experiences trying to update them, learnt enough to create most things as manual jails.

I never got into creating Python environments though, but knowing how well things worked with Troys previous instructions, and the great support he’s provided getting things working, thought I’d give the plugin a spin. Nice and easy to set-up and I’ve been meaning to start again with Home Assistant as my configuration was a mess.

Thanks for all of your efforts Troy and keep up the great work. It’s much appreciated.

1 Like

@troy, Thank you so much for this awesome work you do. Your tenacity to continue putting out these walk thru’s is super beneficial. The “Not all hero’s don’t wear capes” quote comes to mind.

My question is around the USB Zwave controllers. I upgrade my Freenas 9.10.2 instance recently to 11.3. I ended up just building a brand new Home Assistant instance, but I can’t seem to see my Aeotec Z-Stick Gen5 via a ‘usbconfig’ command. I did follow your guide above around implementing the rules for the jail, but some of your previous guides included installing drivers. Can you comment if I need to install special drivers for Freenas 11.3 for the Aeotec Z-Stick Gen5?

Thanks in advance to anyone who can help!

1 Like

Hi @CypSteel

All of my recent guides ( and the plugin ) should install everything you need. There are a few exceptions but mostly, I include all dependencies now by default.

The devfs_ruleset should be all you need… There is a bug in iocage to be aware though. If you restart or stop the jail, it will remove the custom ruleset – It’s annoying – If you stop the jail – you’ll need to run the ruleset script again before you restart it – There is more about this a few posts up.

I can say though, if the Aeotec Z-Stick Gen5 is available inside the jail, it will show up as a /dev/cuaU* device. You can use a simple ls /dev to check for the Z-Stick.

 ls /dev | grep cua
root@homeassistant:~ # ls /dev | grep cua
cuaU0
cuaU0.init
cuaU0.lock
1 Like

Thank you once again.

Many thanks for your plug-in. I have tried it, and I am glad to say it works, except for the Homekit integration, see this issue on GH. I think it is because /usr/bin/openssl is a much older version, and installing the newer from ports requires a change to the PATH: it looks like HA is taking it from /usr/bin, as per the system-wide path order. Looking at your rc.d/homeassistant script I saw that sh is used to run hass so I created /home/hass/.profile containing a re-ordered path. This made the error about the missing ChaCha algorithm go away, but I am afraid Homekit still does not work for me: the iOS Home app still returns Couldn't add Home Assistant Bridge error, but this time I do not see anything in the HA log. Indeed, HA thinks it has paired, but on restart it goes back to wanting to pair-up. Do you have any pointers how to debug that?

On another note, I was wondering to what extent I could customise a jail created using your plug-in and not lose those customisations upon update. In my other jails I like to have my standard ssh, zsh+oh-my-zsh set-up and a few other bits and bobs. From what I have seen in other FreeNAS plugins they can take a rough approach to updates, effectively deleting prior configs. Do you have any feelings about that?

Finally…I also use ZWave, though it runs on a remote Pi, over socat/ser2net. I’d rather keep the Pi light-weight and keep all real processing on the FreeBSD server. I hope you figure something out before the big change comes. :slight_smile:

Many thanks again for your valuable time.

Hi @Rafal

You are correct about the issue with openssl version and Home Kit. Sorry, I do not own any Apple or Home Kit devices to help trouble shoot a work around or solution. If anyone figures this out, I will include the required changes to the plugin. – At very worst case, this will finally be resolved in TrueNAS 12 since we will finally have an updated base.

That is just the way the “plugin update” works – rather than simple update, all non-base packages are removed, then reinstalled according to what is included in the manifest. The configuration files should not be removed during this process. Normally this means anything not included in the manifest would be removed with every update… In this plugin however, I have included a step that should automagically reinstall anything you have installed outside of the included packages in manifest.

Mostly this plugin is about providing an easy install and some scripts for convenience. This is not intended to be a managed system that does everything for you – With this in mind, I see no reason to prevent you from adding your own bits and bobs. - I would only caution that you mind these files included in the overlay – These files are always replaced when running a “plugin update” so any manual edits will be lost.

I’ve already got a PI setup with a single docker container to run qt-openwave. When HA 0.110 is released, I’m going to start using the new OpenZWave Beta integration

I’m glad I was wrong about the current Z-Wave integration being removed.

This is mentioned in the 0.110 release blog

There is currently no plan to deprecate the existing Z-Wave integration. But the hope is that the new integration, in the future, will offer a simpler, more stable and more feature-rich experience than the current Z-Wave integration.

It’s too late for me though. I already drank some of that sweet, new integration cool-aid. There’s no turning back now