Giter Club home page Giter Club logo

Comments (13)

danielwelch avatar danielwelch commented on June 15, 2024 2

@ciotlosm I've updated the docs with a section on modifying configuration.yaml with links to the official samba share and SSH add-ons, as well as the community SSH add-on.

from hassio-zigbee2mqtt.

ryanbeaton avatar ryanbeaton commented on June 15, 2024 2

@talondnb Setting retain true worked for me. Restarted hass.io and the values were there. Consumption on the sockets was unknown as I didn’t set them as retained so I know it worked.

@danielwelch no issue, was just giving you understanding what I was up to so you knew use case.

from hassio-zigbee2mqtt.

danielwelch avatar danielwelch commented on June 15, 2024 1

@ryanbeaton Another option that may be more beginner-friendly is using the official samba share add-on, which will let you edit files on your device using the text editor of your choice if uncomfortable on the command line.

I don't see this being exposed in the add-on frontend config any time soon, as the configuration file is dynamically rewritten during the lifetime of the application, whereas the add-on is generally only usable for setting options at startup. See previous (now closed) issues on this repository for similar discussions on handling config. That's not to say that it would be impossible (for ultimate overkill, the add-on could expose a web UI for editing configuration.yaml cleanly and during runtime), just maybe not worth the effort in the near-term when a simple alternative exists by editing a yaml file.

from hassio-zigbee2mqtt.

ciotlosm avatar ciotlosm commented on June 15, 2024

You should be able to do this by editing configuration files in /share/zigbee2mqtt directly.

from hassio-zigbee2mqtt.

ryanbeaton avatar ryanbeaton commented on June 15, 2024

Thank you @ciotlosm
For others reading, if you install the SSH Server add-on you can ssh in to hassio.local, cd to /share/zigbee2mqtt and nano configuration.yaml

@danielwelch do you see this being exposed in the add-on Config box?

from hassio-zigbee2mqtt.

ciotlosm avatar ciotlosm commented on June 15, 2024

@ryanbeaton we’ll update the docs with this information. Thanks for sharing

Sent with GitHawk

from hassio-zigbee2mqtt.

ciotlosm avatar ciotlosm commented on June 15, 2024

@danielwelch I do think we need to add either samba, ssh or sshfs documentation to the addon readme.md to allow people to configure this. I'm currently away and with limited connectivity, but I'll try to add it at the end of the week.

from hassio-zigbee2mqtt.

ryanbeaton avatar ryanbeaton commented on June 15, 2024

Thanks again @ciotlosm and @danielwelch

Sorry I forgot to read the closed issues.

Long time sysadmin here but wanting to run Home Assistant like an appliance, hence hass.io. Just wanted to set retain true on temp and occupancy sensors so I can do a bit of hass.io restarting without seeing “unknown” across the sensors - yes I’m a bit OCD

from hassio-zigbee2mqtt.

talondnb avatar talondnb commented on June 15, 2024

I believe you will always have the unknown values until next poll, triggered from the device itself.

from hassio-zigbee2mqtt.

danielwelch avatar danielwelch commented on June 15, 2024

No worries, I totally agree with your goal for how you want hassio to run and I think anything that can be done to move things toward a “set it and forget it” state is more than worth it. But am I right in saying that this particular problem is a separate issue, like talondb suggests? If so, I’ll close this.

from hassio-zigbee2mqtt.

danielwelch avatar danielwelch commented on June 15, 2024

Awesome, thanks for reporting back

from hassio-zigbee2mqtt.

talondnb avatar talondnb commented on June 15, 2024

Thanks for confirming, that’s good to know!

from hassio-zigbee2mqtt.

ryanbeaton avatar ryanbeaton commented on June 15, 2024

Koenkk/zigbee2mqtt#139 (comment)

from hassio-zigbee2mqtt.

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.