I’ve made a number of improvements to my home assistant instance of late and wanted to document what they were
Agregar ZigBee al menú de la barra lateral
I have a ConBee ZigBee USB stick but to view the network I’ve always had to go in via configuration -> integrations. I wanted instead to have a direct link on the main left-hand menu. Un article on DigiBlur tenía la mayor parte de la información que necesitaba. I adjusted the 1 línea necesaria, restarted HA and got the desired menu straight away. Just add the following code to you configuration.yaml
1 2 3 4 5 6 7 8 9 10 | panel_custom: - name: ha_zha_con sidebar_title: ZigBee sidebar_icon: mdi:cog-transfer js_url: /api/hassio/app/entrypoint.js url_path: ‘config/zha/visualization’ embed_iframe: true require_admin: true config: ingress: core_configurator |
Cambiar la base de datos a mariadb
This only switches the history database and has no risk of breaking your HA setup. You may well lose your history though — I wanted to get rid of my 4Gig database so I choose to delete it before restarting so I could start from clean. I followed a buena guía de lkeays on the HA forums. I also wanted to make sure the database didn’t expand out of control again in future so I also tweaked what is kept in the database by following a guia por denilsonsa also on the HA forums. I ended up adding the following to configuration.yaml (note you do also need to add a couple of addons via the supervisor add-on store so do read the guides linked as you need more than just the code below.
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 | recorder: purge_keep_days: 42 db_url: !secret URL_MariaDB_Thing exclude: domains: - device_tracker - media_player - uptime - time_date - worldclock entity_globs: - sensor.clock* - sensor.date* - sensor.glances* - sensor.load_*m - sensor.time* - sensor.uptime* - sensor.wiser* entities: - sensor.home_assistant_v2_db - sensor.memory_free - sensor.memory_use - sensor.memory_use_percent - sensor.processor_use - weather.openweathermap |
Por favor envíenos sus pensamientos al comentar a continuación! Si desea suscribirse por favor utilice el enlace de suscripción en el menú en la parte superior derecha. También puede compartir esto con tus amigos mediante el uso de los enlaces sociales inferiores. Aclamaciones.
Deja una respuesta