Using HS3 with the 2.18 DeConz gateway (windows). I added an Aqara air quality sensor to the DeConz config a few days ago. This one: https://www.amazon.com/gp/product/B094R8RBWT
Just now I got an error on HS3 telling me there were more than 9000 devices, and everything had slowed to an absolute crawl.
I managed to get the device list to limit showing only things in the 'Not set' room. And in there I found 7689 devices related to that Air Quality device.
I checked the DeConz window and it was not showing anything out of the ordinary in the graph view.
For my sanity's sake, I immediately stopped DeConz and HS3. Backed up everything in the HS3 folders.
I restart DeConz and deleted the air quality device. I don't need it "right now" and would rather not have it freak out the HS3 database again.
I restarted HS3 and changed the database to one from a few days ago, and it safely showed my expected 1200+ devices. So I've got a fallback, though it's missing some events I'd spent some time configuring in the last week.
I have managed to slog back through the logs and I see when the problem started:
It seems to have been trying to do this repeatedly, ever 15 seconds, for the past four days. And in the process it ran amok creating devices in HS3.
Have you seen anything like this happen before? And were would you like me to start, debugging-wise?
Just now I got an error on HS3 telling me there were more than 9000 devices, and everything had slowed to an absolute crawl.
Too many devices, cannot create more than 9000 devices |
I managed to get the device list to limit showing only things in the 'Not set' room. And in there I found 7689 devices related to that Air Quality device.
I checked the DeConz window and it was not showing anything out of the ordinary in the graph view.
For my sanity's sake, I immediately stopped DeConz and HS3. Backed up everything in the HS3 folders.
I restart DeConz and deleted the air quality device. I don't need it "right now" and would rather not have it freak out the HS3 database again.
I restarted HS3 and changed the database to one from a few days ago, and it safely showed my expected 1200+ devices. So I've got a fallback, though it's missing some events I'd spent some time configuring in the last week.
I have managed to slog back through the logs and I see when the problem started:
Oct-22 11:14:45 PM | JowiHue | Issue occurred while creating sensor device, please notify plugin owner with the lines logged here |
Oct-22 11:14:45 PM | JowiHue | Error: (CreateNewDevice)::Error: Requested value 'ZHAAirQuality' was not found. |
Oct-22 11:14:45 PM | JowiHue | Creating device for AirQuality 43 of type ZHAAirQuality |
Oct-22 11:14:45 PM | JowiHue | Creating device for AirQuality 43 of type ZHAAirQuality |
Oct-22 11:14:00 PM | JowiHue | Device found supporting Air quality, plugin does not yet support this...get support on the forum for this? |
Oct-22 11:14:00 PM | JowiHue | sensor type ZHAAirQuality |
Oct-22 11:14:00 PM | JowiHue | tried to create device for sensor AirQuality 43 |
It seems to have been trying to do this repeatedly, ever 15 seconds, for the past four days. And in the process it ran amok creating devices in HS3.
Have you seen anything like this happen before? And were would you like me to start, debugging-wise?
Comment