I got a Z-wave plus smart outlet from "New One" (model N4003) which when I selected while setting up in Hubitat, it chose the Minoston Mini Power Meter Plug driver. That seemed to work OK at first, but soon I received lots of errors in the log, which eventually caused my Hubitat to hang:
dev:6822022-12-31 08:00:01.154 AMerrorcom.hubitat.app.exception.LimitExceededException: Too many events pending processing for DEVICE true on line 115 (method parse)
dev:6822022-12-31 08:00:01.022 AMerrorcom.hubitat.app.exception.LimitExceededException: Too many events pending processing for DEVICE true on line 115 (method parse)
dev:6822022-12-31 08:00:00.973 AMerrorcom.hubitat.app.exception.LimitExceededException: Too many events pending processing for DEVICE true on line 115 (method parse)
dev:6822022-12-31 08:00:00.954 AMerrorcom.hubitat.app.exception.LimitExceededException: Too many events pending processing for DEVICE true on line 115 (method parse)
dev:6822022-12-31 08:00:00.851 AMerrorcom.hubitat.app.exception.LimitExceededException: Too many events pending processing for DEVICE true on line 115 (method parse)
dev:6822022-12-31 08:00:00.831 AMerrorcom.hubitat.app.exception.LimitExceededException: Too many events pending processing for DEVICE true on line 115 (method parse)
I changed the power reporting interval preference to 10 minutes in the device page, and added it to an action in Rule Machine 5.1 (that has actually never triggered), but otherwise it's not involved in any automation.
I switched it to the Generic Z-wave Outlet, and it works fine, but there is not power monitoring on that driver. Does anyone have a suggestion for a driver that works with this device, and includes power monitoring?
Ran into this in another thread where someone tried my ZEN04 driver on this device and it seemed to work well. You will just to make some simple edits to the code to enable all the power features. I plan to fix this in the future so the power reporting is not hard coded to only work for the ZEN04 and can be used on other devices.
I posted the other thread about the NewOne N4003. I seem to have the same excessive reporting as you're having. Unfortunately, from the data sheet, it insists on reporting every 5 to 50 Watts (settable). I set mine to 50 Watts but it still generates too many reports. The interval setting (10 min seems to only apply if the device hasn't reported for that long. It has no effect on the wattage delta reporting.
Currently, I'm using the built-in Zooz Power Switch which allows you to reset the accumulated values and exposes the various attributes. It doesn't stop the excessive reporting, at least for me.
Edit: I think it defaults to a 5 Watt change so if you put an illegal value it will default to 5 Watts. It won't accept values over 50 Watts, IOW.
So I would be very cautious doing that. You are possibly setting unknown parameters to random values and making it worse. That is why my driver hides all the parameters if it does not know what device it is on.
My ZEN04 driver has a reset command also.
Also on my ZEN04 driver I blocked the "low" values from being set to 0, because they are pretty useless when they all show 0.
I hear what you're saying but I do have the data sheet so I could go and check what's what. That said, the resets are resetting the values and other parameters seems to be reporting as expected so I'm not too worried. Rule 1 If it works don't fix it.
I'm attaching the data sheet from the plug here so you can verify that very information for your driver.
Ok that's helpful, it does look like it should support the command classes for my zwave scanner to pull in and present all the settings [RELEASE] Z-Wave Universal Device Scanner
You really need to stop trying to set parameters using the ZEN15 driver. They are not doing what you think they are doing. Two examples I spot checked:
N4003 LED is parameter 1
Zen15 LED is parameter 27
N4003 Power reporting is parameter 5
ZEN15 power reporting is parameter 151
Luckily due to the very high and odd parameter numbers the ZEN15 uses it is most likely that you have not changed any settings on your device (potentially to very bad settings).
If you want to actually change the Power Reporting on your device you will need to use my ZEN04 driver, the Basic Zwave Tool, or my universal Scanner I linked above.
There are three values you need, the parameter number, size and value
@MajorEvent also since you are using the energy info and resetting, it is important for you to have the "duration" as an attribute? Only way this would be useful is if you wanted to have a rule or something that waited for it to be X days old and then reset it. I am thinking the more logical path would be just to reset on the 1st of each month or something.
I am tracking the duration in my driver but I decided to put as a state variable since I did not think it was useful as an attribute (current state).
I had already used your driver to poke the Wattage delta parameter value so maybe that's why its reporting at that value (50 Watts) since the default is 5 Watts.
The driver I'm using also has a duration value under current states.
I'm basically resetting the same day the power company reads the meter. It's stated on the bill but usually the same day every other month.
Of course, I'll be checking out your driver considering your effort to accommodate our needs.
So far, so good--I'll see if it works better than the built-in driver. I've set the parameters to only update once per 60 minutes, and only after large changes. The other one was way too chatty, I think.