Comments (13)
@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.
@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.
@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.
You should be able to do this by editing configuration files in /share/zigbee2mqtt directly.
from hassio-zigbee2mqtt.
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.
@ryanbeaton we’ll update the docs with this information. Thanks for sharing
Sent with GitHawk
from hassio-zigbee2mqtt.
@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.
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.
I believe you will always have the unknown values until next poll, triggered from the device itself.
from hassio-zigbee2mqtt.
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.
Awesome, thanks for reporting back
from hassio-zigbee2mqtt.
Thanks for confirming, that’s good to know!
from hassio-zigbee2mqtt.
Koenkk/zigbee2mqtt#139 (comment)
from hassio-zigbee2mqtt.
Related Issues (20)
- Feature - unsupported devices wizard/report tool HOT 4
- Can't remove deprecated options from configuration HOT 10
- OSRAM AC03648 randomly loosing connection
- Switching from Z-Stack 3.0.x to 1.2 returns error "Backup is only supported for Z-Stack 3" and zigbee2mqtt doesn't start HOT 2
- [supervisor.addons.validate] Add-on config 'auto_uart' is deprecated, use 'uart' HOT 22
- Syntax error when adding new device HOT 2
- Socat unable to create Serial Device in /dev HOT 4
- Addon will not start with shae.sh RPi4 HASS HOT 1
- friendly_name shoud atleast be 1 char long HOT 7
- Ignore serial: section in configuration.yaml HOT 4
- Zigbee2MQTT:error HOT 3
- Template variable warning: 'dict object' has no attribute 'operation_mode'
- Archive this repository HOT 4
- 502 Bad Gateway HOT 2
- 502 bad gateway with zigbee CC2652R stick HOT 10
- Ikea Tradfri GU10 bulb issue TRADFRIbulbGU10WS345lm HOT 5
- 502: Bad gateway on new install with Con Bee 2 as addon to HA placed on VM HOT 5
- Sonoff Zigbee 3.0 USB Dongle Plus - is it bricked?
- ENOENT: no such file or directory, open '/config/zigbee2mqtt/secret.yaml'
- Error: unknown resource type "addons"
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from hassio-zigbee2mqtt.