J'ai récemment apporté un certain nombre d'améliorations à mon instance d'assistant à domicile et je voulais documenter ce qu'elles étaient
Ajouter ZigBee au menu de la barre latérale
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 avait la plupart des informations dont j'avais besoin. I adjusted the 1 ligne nécessaire, 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 |
Basculer la base de données vers 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 bon guide par 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 guide par 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 |
Nous avons trouvé cet utile? S'il vous plaît ne laissez-nous savoir en laissant tomber un commentaire ci-dessous. Si vous souhaitez vous abonner s'il vous plaît utiliser le lien d'abonnement dans le menu en haut à droite. Vous pouvez également partager avec vos amis en utilisant les liens sociaux ci-dessous. À votre santé.
Laisser un commentaire