My (outdated) Quick Start for Home Assistant Core on FreeNAS 11.2

There is one thing I forgot to mention. Hopefully it does not cause you to much trouble getting started.

This only applies to the initial USB firmware flash.

USB devices are not supported with ESPHome

There is currently no USB detection for device flashing on FreeNAS . You can create, compile and download the initial firmware using ESPHome on FreeNAS. You will need to use esphomeflasher on a seperate computer for the initial flash . After the initial flash and your device is connected to your network, you will be able to manage and flash future firmwares using the ESPHome OTA process.

Oh man, good tip. I could have wasted hours working this out. Thanks.

Hello Troy,
I have successfully installed HA in a FreeNAS 11.3 jail and thank you for your great work.
When I try to install Mosquito and Tasmoadmin, I get a failure message, ā€™ /mnt/Vol2/iocage/.plugins/github_com_freenas_iocage-ix-plugins_git/dhcp=on.jsonā€™ was not found. I have copied and pasted many times and the error message is the same. Is it because IX Systems removed the plugins? If so, is there a way to fix this?
Kind regards, Frank

@Tromperie

Donā€™t worry, itā€™s just a little different on FreeNAS 11.3. The plugin listed under the 11.2 guide wonā€™t work.

Give these a try instead.

Thanks Troy,
They all worked. Much appreciated.

Frank

1 Like

I am getting : No such file or directory after command

wget -O /usr/local/ect/rc.d/esphome https://raw.githubusercontent.com/tprelog/iocage-homeassistant/11.3-RELEASE/overlay/usr/local/etc/rc.d/esphome
ll /usr/local/ect/rc.d/
-rwxr-xr-x  1 root  wheel  3607 Jan 13 14:08 appdaemon*
-rwxr-xr-x  1 root  wheel  3771 Jan 13 14:08 configurator*
-r-xr-xr-x  1 root  wheel   689 Jan  9 05:56 git_daemon*
-rwxr-xr-x  1 root  wheel  4706 Jan 13 14:08 homeassistant*

I try to change 11.3 to 11.2 same error. Will this only work on 11.3 ?

ughā€¦ I backwards lettersā€¦ Try this

wget -O /usr/local/etc/rc.d/esphome https://raw.githubusercontent.com/tprelog/iocage-homeassistant/11.3-RELEASE/overlay/usr/local/etc/rc.d/esphome

But also something is going with github. I havenā€™t been able to access my account all day.

That will not work. This is only in the 11.3-RELEASE branch. You can still install it in your 11.2 jail but you can only download it from the 11.3 link.

Ah thank you that worked

Update February 3 2020

The original post has been updated for FreeNAS 11.3

  • This update is now using the 11.3-RELEASE
  • This should also work on FreeNAS 11.2 must be U7 or later

Changing the Home Assistant Brand

The purpose here is only to explain how this thread fits into the scheme of things depending on where in time it relates to Changing the Home Assistant Brand

Finding a place in time

A = Home Assistant
B = Hass.io
C = Home Assistant Core

Forever in time

  • The following statement is always TRUE

From the beginning of time until January 29 2020

A = A
B = B
  • During this time the following statement was TRUE
- This will install Home Assistant in a python virtualenv
- This does not use Docker
- This is not Hass.io

From January 30 2020 until the end of time

A = C
B = A
  • During this time the following statement is TRUE
- This will install Home Assistant Core in a python virtualenv
- This does not use Docker
- This is not Home Assistant

The quest to to get my documents updated has been a slow moving because of a few things. Iā€™ve had some new ideas about this quick start guide regarding what I want to include and how to include it.

First off, let me say that I am not trying to reinvent the wheel or develope some kind of hassio knock-off here. Simply put I have always tried to keep my own notes as I follow through guides on the internet. I donā€™t think Iā€™m providing anything ground breaking or writing any new information. It should be more accurate to say this is collection other information, from around web, put together with a focus of using FreeNAS and Home Assistant Core. Iā€™m just sharing my notes here. Because this seems helpful to share this with others, it motivates me to keep my notes updated and continue to share them with the community.



I also have this quick start post in the FreeNAS resources, but that version needs some serious love ā€“ Truth be told, I wanted to learn about markdown already to make post better looking in this forum and just to use for text files on GitHub. The FreeNAS forum does not directly use markdown different so I can not just copy and paste the same guide to three different places. I need a better way to maintain this, right now information is spread to 3 locationsā€¦

Enter Squirrels 40812 and 40813

I have just discovered GitHub Pages.
jekyll ā€“ Because I canā€™t leave well enough alone.

So rather than constantly updating things in multiple locations, Iā€™m going to try moving everything to my GitHub Pages this will, eventually, be the place to find any updated information or steps to this guide

Itā€™s almost gonna seem like I actually know what Iā€™m doing ā€“ Weā€™ll call the whole thing HassBSD. It will be like some kind of mutant love child from that crazy night Hassbian and Hassio got drunk then had a three-way with FreeNAS :rofl: :rofl:


And last thing about ESPHOME

I am going to remove ESPHome the from the Home Assistant Core FreeNAS plugin. I do not want to keep adding additional services to this jail unless there is a good reason to do so. Donā€™t worry, ESPHome isnā€™t going away, Iā€™m just moving out on itā€™s own. It is now a separate FreeNAS plugin. Iā€™ve already submitted a pull request to ix-system so it can be included on the community plugin page.

If your on FreeNAS 11.3 and want to test this now, you can install it from the FreeNAS console

iocage fetch -P esphome -g https://github.com/tprelog/freenas-plugin-index.git

On second thoughtā€¦

I was just going to remove the outdated 11.2 guide and keep updating this original post for 11.3

Now after some suggestion, I have to agree that is probably better to just move on to a new thread.

Simply put there are, as of today 228 post with an estimated read time of around 70 minutes. Coming to this thread on FreeNAS 11.3, I think will just have too much outdated information to get through before reach anything current. Itā€™s already a PIA to search through for answers. Plus I think I should consider the name change after the re-brand ā€“ second thought, Iā€™m thinking itā€™s probably not the best idea to have the first 200+ referring to something that used to be one thingā€¦ but it is now something else.



The FreeNAS 11.3 release is so close in time to the Home Assistant rebrandā€¦
Iā€™m just gonna start out fresh with Home Assistant Core and FreeNAS 11.3

New Branding = Home Assistant Core = FreeNAS 11.3 = New Thread Here