Added editable per-device "too many events" alert threshold.
Is it possible to set this threshold from the driver? The AlertMe / Iris V1 devices (particularly the SmartPlugs) are very chatty and need this bumping up to 500 to avoid generating false positive alerts.
There is an endpoint to set ALL devices higher, would that work?
But I am surprised you are seeing that those limits are too low, I have quite a few Iris V1 sensors (none of their smart plugs though) and I don't see that behavior.
Yes, that would be a big help seeing as I've got a hub dedicated to AlertMe gear. Could you point me in the right direction?
It's really the smart plugs that love to chat - or at least the SPG100 and SPG900 models here in the UK. They send so much information, which is one of the reasons I think they're great, but it has led to alerts like this before.
Once I accidentally turned info, debug and trace logging on for all of them when I was developing the driver. The hub... well, it didn't like it!
They do have a quiet mode, but sadly it's so quiet they won't even report on or off any more, so it's effectively useless.
Obviously it's not a high-priority thing, but it seems that a driver author would have a good idea of the normal rate of events from a device. Therefore it would be nice to be able to set that rate upon driver configuration, rather than bother the user unnecessarily with warnings and then expect them to do it manually for each device.
I have a vibration sensor on my whole house generator.
When the gen runs, it reports axis changes constantly, which really taxes the logging.
The generator's weekly exercise is not a big deal, but when the power goes out for a day/days, this can be a headache. Do I just turn off text logging?