New Hass.io images, based on HassOS


#84

Are you doing a configuration check before rebooting? How are you rebooting.


#85

How I access to boot partition?
We want to add gpio.
My problem:
2018-07-13 21:18:55 ERROR (SyncWorker_9) [homeassistant.components.sensor.onewire] No onewire sensor found. Check if dtoverlay=w1-gpio is in your /boot/config.txt. Check the mount_dir parameter if it’s defined


#86

DuckDNS with Ngnix not working
I’m running the DuckDNS and Nginx addons together, and I’m no longer able to connect through to HA from the DuckDNS domain. My configs were recreated from a snapshot when I migrated to HassOS so there shouldn’t have been an issue there. Since then I’ve deleted and re-added both of them but still no luck. Is there anything additional I need to do to integrate with the new security features in HassOS?

Thanks,


#87

OK for some reason, with both a SD and the USB-SSD, I eventually end up loading the Hassio instance from the SSD, so all good.


#88

HassOS? How did you get it to work?


#89

Honnestly I don’t really know.

Here’s what I did:

  • I had a working (SD-less) Hassio install runing from my 32GB USB-SSD
  • I flashed HassOS over the USB-SSD, plugged it back --> didn’t boot at all (no IP assigned)
  • I fiddled (loaded raspbian, checked the USB-boot flag is properly set)
  • Retried the USB-SSD --> still didn’t boot
  • I decided to take my loss and wait for someone much more skilled to solve it… flashed hassos on a 4GB SD card, and booted. it worked
  • restored my snapshot, logged in by SSH, ran df -h. Surprise! it’s actually running from the USB-SSD (I forgot to unplug it)

#90

If you unplug the SD-Card and reboot does it boot and work?


#91

Nope, doesn’t work without the SD. It did with HassIO.

I need the SD in, and then it boots and seems to switch properly on the USB-SSD.


#92

Yes so it’s still booting from the SD-Card. I suspect it’s running fully off the SD-Card. The USB seems to only be used to transfer files from the docs.

What happens if you do remove the USB and re-boot the Pi? I bet everything still works.


#93

I can confirm this a bit later but it seems to be eating the disk space of the SSD (went from 2.3GB used to 2.7 after a few hours of logging on MariaDB). I’ll try what you say though.


#94

Well if it is writing to SSD that would be good news… makes the SD-Card like a read only ROM… if the yaml files are there as well anyway…


#95

I get the same problem, so it’s not just you. I haven’t raised an issue yet though, simply because I was just doing it for playing with.

(VirtualBox 5.1 in my case)


#96

I’m brand new to this. But I setup a few switches and are playing around currently. My last setup the SD card crashed and I didn’t have a backup. So what I’ve learned Im starting brand new again. All I did was copy the few lines at the bottom and move them up to organize. Then to test I rebooted. When I refresh the screen it defaults back to setup then can’t connect. Then setup then can’t connect in a continuous loop. I’m setting this up exactly like I did before.

The only one I’m touching is the config.yaml file right now.

(I just tried going back to resinos 1.3 and it’s working perfectly)


#97

Isn’t working


#98

I’ve installed the new hassos on a pi3b+. Everything is working perfectly apart from videos from my two ffmpeg cameras.

I just get a title bar for them and no image.

Anyone else having problems with ffmpeg?

Cheers

Will


#99

Trying to restart/rebuild my system from the ground up today, figured I’d go with the new 64-bit image… got it up and running fine but once I performed DuckDNS setup using this written guide as help: https://www.juanmtech.com/hassio-duckdns-add-on-set-up/ I’m getting no UI at all now. Can’t even access via https://local_ip:8123 getting a “Corrupted Content Error” when I try to reach the UI via the local IP. I can see the config files via Samba Share and have a bunch of errors. When I performed the initial DuckDNS setup inside the UI the log there said everything worked fine. Here’s the HA log I’m getting after rebooting and updating my configuration.yaml with the info mentioned in step 3 of the guide:

2018-07-14 23:23:44 WARNING (MainThread) [homeassistant.setup] Setup of config is taking over 10 seconds.
2018-07-14 23:23:57 ERROR (MainThread) [homeassistant.core] Error doing job: SSL handshake failed
Traceback (most recent call last):
  File "uvloop/sslproto.pyx", line 593, in uvloop.loop.SSLProtocol._on_handshake_complete
  File "uvloop/sslproto.pyx", line 171, in uvloop.loop._SSLPipe.feed_ssldata
  File "/usr/lib/python3.6/ssl.py", line 689, in do_handshake
    self._sslobj.do_handshake()
ssl.SSLError: [SSL: HTTP_REQUEST] http request (_ssl.c:777)
2018-07-14 23:23:57 ERROR (MainThread) [homeassistant.core] Error doing job: SSL error errno:1 reason: HTTP_REQUEST
Traceback (most recent call last):
  File "uvloop/sslproto.pyx", line 497, in uvloop.loop.SSLProtocol.data_received
  File "uvloop/sslproto.pyx", line 204, in uvloop.loop._SSLPipe.feed_ssldata
  File "uvloop/sslproto.pyx", line 171, in uvloop.loop._SSLPipe.feed_ssldata
  File "/usr/lib/python3.6/ssl.py", line 689, in do_handshake
    self._sslobj.do_handshake()
ssl.SSLError: [SSL: HTTP_REQUEST] http request (_ssl.c:777)
2018-07-14 23:23:58 ERROR (zeroconf-Engine) [homeassistant.core] Error doing job: Task was destroyed but it is pending!
2018-07-14 23:24:10 ERROR (MainThread) [homeassistant.components.device_tracker] Unable to load /config/known_devices.yaml: Config file not found: /config/known_devices.yaml
2018-07-14 23:24:18 ERROR (MainThread) [homeassistant.core] Error doing job: SSL handshake failed
Traceback (most recent call last):
  File "uvloop/sslproto.pyx", line 593, in uvloop.loop.SSLProtocol._on_handshake_complete
  File "uvloop/sslproto.pyx", line 171, in uvloop.loop._SSLPipe.feed_ssldata
  File "/usr/lib/python3.6/ssl.py", line 689, in do_handshake
    self._sslobj.do_handshake()
ssl.SSLError: [SSL: HTTP_REQUEST] http request (_ssl.c:777)
2018-07-14 23:24:18 ERROR (MainThread) [homeassistant.core] Error doing job: SSL error errno:1 reason: HTTP_REQUEST
Traceback (most recent call last):
  File "uvloop/sslproto.pyx", line 497, in uvloop.loop.SSLProtocol.data_received
  File "uvloop/sslproto.pyx", line 204, in uvloop.loop._SSLPipe.feed_ssldata
  File "uvloop/sslproto.pyx", line 171, in uvloop.loop._SSLPipe.feed_ssldata
  File "/usr/lib/python3.6/ssl.py", line 689, in do_handshake
    self._sslobj.do_handshake()
ssl.SSLError: [SSL: HTTP_REQUEST] http request (_ssl.c:777)
2018-07-14 23:24:18 ERROR (SyncWorker_13) [homeassistant.core] Error doing job: Task was destroyed but it is pending!
2018-07-14 23:24:48 ERROR (MainThread) [homeassistant.core] Error doing job: SSL handshake failed
Traceback (most recent call last):
  File "uvloop/sslproto.pyx", line 593, in uvloop.loop.SSLProtocol._on_handshake_complete
  File "uvloop/sslproto.pyx", line 171, in uvloop.loop._SSLPipe.feed_ssldata
  File "/usr/lib/python3.6/ssl.py", line 689, in do_handshake
    self._sslobj.do_handshake()
ssl.SSLError: [SSL: HTTP_REQUEST] http request (_ssl.c:777)
2018-07-14 23:24:48 ERROR (MainThread) [homeassistant.core] Error doing job: SSL error errno:1 reason: HTTP_REQUEST
Traceback (most recent call last):
  File "uvloop/sslproto.pyx", line 497, in uvloop.loop.SSLProtocol.data_received
  File "uvloop/sslproto.pyx", line 204, in uvloop.loop._SSLPipe.feed_ssldata
  File "uvloop/sslproto.pyx", line 171, in uvloop.loop._SSLPipe.feed_ssldata
  File "/usr/lib/python3.6/ssl.py", line 689, in do_handshake
    self._sslobj.do_handshake()
ssl.SSLError: [SSL: HTTP_REQUEST] http request (_ssl.c:777)
2018-07-14 23:25:49 ERROR (MainThread) [homeassistant.core] Error doing job: SSL error errno:1 reason: SSLV3_ALERT_BAD_CERTIFICATE
Traceback (most recent call last):
  File "uvloop/sslproto.pyx", line 497, in uvloop.loop.SSLProtocol.data_received
  File "uvloop/sslproto.pyx", line 204, in uvloop.loop._SSLPipe.feed_ssldata
  File "uvloop/sslproto.pyx", line 182, in uvloop.loop._SSLPipe.feed_ssldata
  File "/usr/lib/python3.6/ssl.py", line 633, in read
    v = self._sslobj.read(len)
ssl.SSLError: [SSL: SSLV3_ALERT_BAD_CERTIFICATE] sslv3 alert bad certificate (_ssl.c:2217)
2018-07-14 23:25:50 ERROR (MainThread) [homeassistant.core] Error doing job: SSL error errno:1 reason: SSLV3_ALERT_BAD_CERTIFICATE
Traceback (most recent call last):
  File "uvloop/sslproto.pyx", line 497, in uvloop.loop.SSLProtocol.data_received
  File "uvloop/sslproto.pyx", line 204, in uvloop.loop._SSLPipe.feed_ssldata
  File "uvloop/sslproto.pyx", line 182, in uvloop.loop._SSLPipe.feed_ssldata
  File "/usr/lib/python3.6/ssl.py", line 633, in read
    v = self._sslobj.read(len)
ssl.SSLError: [SSL: SSLV3_ALERT_BAD_CERTIFICATE] sslv3 alert bad certificate (_ssl.c:2217)

#100

Please give us a nuc image!

//Regards


#101

I’ve just managed to get this running using the DuckDNS and Nginx addons and if you follow that route you’ll end up with a HA that can be accessed both externally and with a local IP address, and it’s a much simpler process to set up. For some reason after the update to HassOS i had to remove both of those addons, restart, then add them back in again.

Just remember that if you go with Nginx, you’ll need to have a single port forwarding rule that maps port 443 to port 443 on the IP address of your HassOS server (say your Raspberry Pi).


#102

Thanks, I actually just barely realized what I was doing wrong so PSA to anyone looking to “restart” like I did… need to use a new DuckDNS account to get a new Token, I was getting tons of errors because I was using the same token as my previous install, once I setup a new DuckDNS everything works fine. I will need to do some reading up on the Nginx after I get come of my basic functions re-built.


#103

Please read the thread