Git Product home page Git Product logo

Comments (4)

gcgarner avatar gcgarner commented on May 25, 2024

Regarding #49, because the correct version of hassio works through its own service it is no longer operated through the stack. Be sure to remove the 'hassio' service from your docker-compose.yml file.

I haven't tested adding USB devices on the fixed version. I do think that it's own service should add support for usb.

If you can please install the corrected version and report back on whether the USB works as expected

from iotstack.

lnlp avatar lnlp commented on May 25, 2024

After some further experimenting yesterday, removing the home-assistant docker image (the previous non-hassio version) and pulling a new instance the ttyUSB devices became visible, so got this working with the 'old situation'. Before, I had restarted the stack and rebooted the host several times but that did not help getting the ttyUSB devices available, but pulling a new image did. I cannot explain why that helped.

After that I installed the new hassio via the updated IOTstack menu (and removed the old Home Assistant image).

In a console session to the new hassio "homeassistant" container I can see that /dev/ttyUSB0 and /dev/ttyUSB1 are visible without having to do any additional configuration.

Docker unfortunately does not handle symbolic links to devices (defined using udev rules) so from now I will use /dev/serial/by-id/... to always configure the correct USB/serial device.

Any idea how to restore a Home Assistant configuration in hassio (which does not use IOTstack's ./volumes directory in the host for storing configuration files)?

from iotstack.

gcgarner avatar gcgarner commented on May 25, 2024

In the little testing that is did is did see that the preferred method of doing backups for hassio is to use the built-in system snapshots. That should be stored in ls /usr/share/hassio/backup/.

I want to test making a symbolic link to that directory and possibly the the homeassistant directory as well into the IOTstack/backups directory. That way i could integrate the backups together. If memory serves tar requires additional parameters to follow symbolic links.

Thanks for the heads up on the USB/Serial. This topic is going to come up in the future

from iotstack.

gcgarner avatar gcgarner commented on May 25, 2024

Added hassio backup to todo list

from iotstack.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.