I apologise now but this might be a long post , I really could do with some advice, in particular which installation method i should use .
I currently use openhab but long story short , even though they consider themselves a stable platform I havent found this to be the case.
Anyway I have about 10 sonoff T1’s flashed with tasmota and I have currently a MySensors serial gateway on a raspberry pi on which openhab currently runs, the gateway receives temp sensors messages from 3 temp sensors, this is then sent via mqtt to 2 connected thermostats I built here and I have a simple presence detection that receives mqtt messages from the router when a device is present .
I did try and install Hass.io yesterday and successfully installed the duckdns addon and opened port 8123 to the device all encrypted with let’s encrypt for obvious security. A ssh addon and the mqtt mosquitto addon , I then updated all my sonoff’s to version 6.4.1 as recommended in the tasmota wiki here ( which has some connection issues but that is related to the sonoff firmware I think https://github.com/arendst/Sonoff-Tasmota/issues/5335 )
I automatically discovered the sonoffs and assigned them space on the Lovelace UI, before I stopped to think that because Hass.io runs on hassOS the mySensors serial gateway might not work on the pi anymore .
I need advice on whats best , I do like the frontend elements of hass.io and the ease of use but is it possible to setup a mySensors gateway ? does it work with a serial gateway if plugged into the USB instead of on the Gpio’s?
On the other side of the coin would Hassbian be better as its similar to how openhabian worked with a Linux distro and home assistant running on the distro. I’m sure keeping the gateway plugged into the Gpio’s would work then but I would lose a lot of the ease of use and the frontend elements which is nice but obviously not a necessity.
I know that there are scripts with Hassbian to install some of the elements I’ve mentioned (mosquitto and duckdns) and I know I can add the front end configurator editor to Hassbian also .
also on the subject of mqtt is there a guide on how to send and receive messages, in openhab I use to
have this do this :
you can also publish MQTT topics from the service console or in automations and scripts.
also here for more information:
but just as a word of advice don’t use the embedded broker. But since you already have experience with mqtt then you like;y already have a broker so that won’t be an issue.
If you have any other more specific questions then feel free to ask.
Since doing a bit more research I think Hassbian might be the option for me especially as it’s more familiar(openhabian) although I will have to find a good backup option similar to hass.io snapshots.
This is good to know. This makes the scales tip more in hassbian’s favour
Thanks for the example
This helps me understand it’s format
Yeah I read that some where, fortunately I prefer mosquitto as my broker which works well and I’ve had no problems with it .
Can you explain upgrading Hassbian a bit , I know the scripts provided update hassbian, does this update home assistant and Hassbian leaving me to update the Host Os or does it just update hassbian ? Or all 3?
Does the duckdns script work in a similar way to how the add-on works for hass.io ? Does it take care of the let’s encrypt part as well ?
I just need to get the MySensors part and the presence detection setup sorted and I’ll be back on track
I’m quite excited to get my home automation started on home assistant , just needs a native Android app and I’m set
There are currently two Android apps being actively developed. I’ve only tried one of them and, for my purposes, it’s still in beta (correctly renders about 80% of my Lovelace UI and 2% of the predecessor to Lovelace). Nevertheless, it’s evolving rapidly and it may suits your needs.
the naming causes some unfortunate confusion especially since there is another standalone OS way of installing Home Assistant (commonly shortened to “HA”).
Hassbian is nothing more than a Raspbian OS with the script to install HA in a python virtual environment at initial boot.
Once it installs HA then it’s literally exactly like any other Linux distro based on Debian.
The update script just makes it “easier” to update your HA. I personally never used any of the scripts available in HA. I honestly don’t even know what most of them are. I just used the CLI over SSH since it was just four commands. And the update only updates the files in the virtual environment. The base OS isn’t touched.
As far as backups are concerned… While it’s not as convenient as the automated backup of a hassio snapshot I never felt that the way I did it was unduly burdensome.
My backup regimen was before every major update to HA or if my configuration changed significantly I would shut down my RPi HA server and pop the SD card into my PC and make a full image. In between as I made minor changes I would just make a backup (using WinSCP) of all the files in my configuration folder. In HA on a RPi that folder is located at /home/homeassistant/.homeassistant/.
There are ways to set up your RPi for automatic backups but the way I did it worked so I never felt the need to do anything differently.
And lastly, there doesn’t really NEED to be a native Android app. The common way to use it on android is to navigate to your IP/Port in chrome and then just make that as a standalone page on your home screen. Works great.
Thanks everyone for your advice, I think your right the naming causes a confusion with regards to what is home assistant and what is hassbian …etc .
Having a native app will be awesome when it is stable .
I currently have this set up through firefox it is good but it leaves the page open in my browser, which isn’t a huge inconvenience but it is nice to close the app and it’s done .
I’ve seen that home assistant can be installed in docker and that a lot of people like this setup . I’ve not had much experience with docker maybe this is an option for the future once I’m up and running and understand home assistant better .
Out of interest how do most of you incorporate notifications to your phone