mejifair
(Erik)
February 24, 2019, 2:09pm
1
Mods please delete if cross posting is an issue, but I don’t think the WebCoRE community gets as many visits as this one.
I posted this: https://community.webcore.co/t/home-energy-monitor-calendar-kwh-reset/11378
Can anyone provide assistance? Does it look like I created the piston correctly if I want to reset the kWH at the beginning of every month?
mejifair
(Erik)
February 24, 2019, 4:35pm
3
Thanks!
Do you know, by chance, if the “resetmeter” action is correct versus simply “reset”? Is there a way for me to test it running “in production” where it actually executes so I can see if it resets the meter versus simply running the piston to make sure there are no errors?
Thank you!
EDIT - tag @ClassicGOD if there is any direction per the DTH that you wrote.
rontalley
(Ron Talley)
February 24, 2019, 5:03pm
4
Just create a “Do” Piston with a command to test it. A “Do” Piston only has an Action Block. You can run it by pressing Test.
While the webcore forum understandably doesn’t get as many visits as this one, it gets more visits from the webcore experts, so you are still best off posting questions of this type there.
1 Like
Terminal
(Mike)
February 24, 2019, 6:23pm
6
Not sure if this helps, but I have a V2 and use my own smartapp to reset the meter on the on 28th of each month. I use a reset()
jtfisher
(John Fischer)
September 26, 2019, 8:50pm
7
This one works to reset my KWH every night at 12am for the Gen5 Device handler for HEM
Gen5 Device Handler Im using
Aeon HEM Gen5 (zw095-a).groovy
/*
* Aeon HEM Gen5(zwave plus)
*
* Copyright 2016 Dillon A. Miller
*
* v0.8 of Aeon HEM Gen5(zwave plus) code, released 04/15/2016 for Aeotec Model zw095-a
* This Gen5 device handler is not backward compatible with the Aeon V1 or V2 device. If your model number is not zw095-a, don't use it.
*
* Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except
* in compliance with the License. You may obtain a copy of the License at:
This file has been truncated. show original
Simple Webcore Code
RottenMutt
(Eric Anderson)
April 9, 2021, 5:20pm
8
it is “reset” for me. i needed this piston as all buttons are gone in new ST app.