I found some time to take a look at this. Currently, this is implemented the same way as in OH1 - ie the reset can be attached to an item. I’m wondering though if this is the best approach - in my opinion this is an ‘admin’ function that you probably don’t want to be available to normal users. Most admin functions are generally being made available through the admin configuration interfaces (like PaperUI or HABmin). I wonder if this isn’t a more consistent approach, but I welcome anyones thoughts…
Hmm… I tried to use “meter_reset” as channel “name” but I got an error in the log (from the Z-Wvae binding) saying something along the lines of “unknown command”.
I strongly vote for having this as a “normal” channel that can be used on sitemaps, in rules, etc.
Since the internal meter in the device clearly cannot count “forever” and needs to be reset sooner or later, there could be a use case for having automatic reset (after storing the meter reading) at some kind of periodicity, e.g. every 24 hours, every week, every month, etc.
I have a feeling we are not on the same page; I only want (or wish I should say, :-)) to have the binding support the “meter_reset” command so that I am able to use this from a rule (or sitemap) in openHAB. I do not expect (or wish for) the binding to do any kind of automatic reset. This type of logic/action, I agree, should be handled by the automation system.
I had a look at the data base (my first look, so I am not confident that I completely understand what I am looking at) and I could not find any reference to the command class “reset meter” being supported for the Fibaro FGWP101.
I have another device (Aeon Labs DSB28 Home Energy Meter G2) where the command class “Reset Meter” is indeed listed in the data base.
Is it simply a matter of updating the database for the FGWP101 to make this work, or is it more involved? In the former case, how do I go about making this happen?
I need to double check that this channel works in the binding - I’ll do that in the next day or so. Once the channel is working, then you only need to update the database to add the channel. To do this, you need an account, and I need to give you write access, then you need to add the extra channel to the meter command class.
How long should I wait for you to process an XML uploaded to updated the DB? I uploaded an XML for the HSM400, and clicked on the “Request Review” button on 2016-09-05, and I have seen no update yet, is there something else I need to do, if I am looking to have updates processed? I don’t want to be a PITA!!!
That said, if you have time tonight could you look at my “issue”, too???
I was hoping for the “COLOR” and “NOTIFICATION” command classes to be added. I know the “COLOR” class is now listed in the xml, don’t remember if the “NOTIFICATION” is.
I also remember reading a little bit ago that “NOTIFICATION” class is on the verge