Finally after many hours I managed to install the integration of RFXCOM RFXtrx. I have enabled auto add. A number of devices and entities have been added automatically.
I am running into 2 problems with this.
Numerous RM174RF Smoke Detector were added which are not in my home. Possibly from the vicinity of my home.
I have several switches from klikaan-klikuit As soon as I press the remote the switch should be added. This has been successful for some.
With some I see that when pressing the remote control the entities in the icon of the integration screen are incremented. I see some and some not in develepertools->states.
1.Is there a way to remove all Smoke detectors at once?
Hi, I have the exact same issue with numerous RM174RF sensors added to Home Assistant (via RFXtrx integration) - we’re talking hundreds of Smoke Detector devices, consisting of more than 2000 entities. And no, I do not live in a huge palace
Is there an easy way to mass-delete these devices without clicking each one in turn?
Nope… numerous posts with same amount or people asking for this… only (!) switch on auto–add when you really want to add
Only solution so far: re-install if the number of items is too much…much easier than removing 1-by-1
Try opening the device and check if they are (in)active
Exception in </config/pyscript/test2.py> line 1: async function deleteDevices(RM174RF Smoke Detector) { ^ SyntaxError: invalid syntax (test2.py, line 1)
I don’t know how you can run this script, what do you ment with a browser’s developer tool? Please can you help me how to solve my problem?
Hi @Jojotjo, this is Javascript code, not Python. It can be executed in web browsers using their developer tools’ console, which is accessible by pressing F12 in Firefox and Chrome.
}
await deleteDevices(“RM174RF”);
VM768:10 Uncaught ReferenceError: model_to_delete is not defined
at :9:39
at async deleteDevices (:6:5)
at async :23:1
(anonymous) @ VM768:9
async function deleteDevices(RM174RF Smoke Detector 16eff4:32) {
let hass = document.querySelector(“home-assistant”).hass;
let message = { type: “config/device_registry/list” };
let count = 0;