0Rimuovi qualsiasi dispositivo dall'assistente domestico

I’ve now been using home assist­ant for sev­er­al years and most of the early chal­lenges and learn­ing-curves have been over-come. tuttavia, there has been a long-stand­ing issue that is a con­stant frus­tra­tion — remov­ing old devices does­n’t have a stand­ard approach and in some case is impossible from the GUI. C'è un modo però.

dispositivi (and entit­ies) può essere cancellato (or mod­i­fied) the manu­al way dir­ectly from home assist­ant sys­tem files. Alcuni dei file di cui potresti aver bisogno sono chiamati core.device_registry e core.config_entries core.entity_registry. These are loc­ated in \config\.storage\ whcih (as a win­dows user) I access via the “Samba Share” super­visor add-on. If you don’t have super­visor you may need to access these files a dif­fer­ent way.

I used this to remove a dead Drayton Wiser TRV from HA — by delet­ing the whole rel­ev­ant sec­tion from core.device_registry…

"config_entries": [
"connections": [],
"identifiers": [
"manufacturer": "Drayton Wiser",
"model": "iTRV",
"name": "Wiser iTRV-Dead",
"sw_version": "xxxxxxxx",
"entry_type": null,
"id": "xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx",
"via_device_id": null,
"area_id": "xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx",
"name_by_user": "Dead TRV",
"disabled_by": null,
"configuration_url": null

E anche 2 sec­tions (per l' 2 asso­ci­ated entit­ies) da core.entity_registry (I haven’t shown these as they should be obvi­ous — the format is the same as above with the sec­tions enclosed by curly-braces)

Altri usi

Ho anche usato le modifiche a core.config_entries per cambiare il IP indirizzo di un onvif IP cam­era which home assist­ant was refus­ing to con­nect to after the IP cambiato. The same is no doubt pos­sible for oth­er devices.

Inviateci i vostri pensieri commentando qui sotto! Se si desidera iscriversi si prega di utilizzare il link iscriviti sul menu in alto a destra. È inoltre possibile condividere con i tuoi amici usando i link sottostanti sociali. Saluti.

lascia un commento