Author Topic: How do you do a monthly reset on aeon labs energy meter v2?  (Read 838 times)

Offline wezley69

  • Sr. Member
  • ****
  • Posts: 289
  • Karma: +6/-6
How do you do a monthly reset on aeon labs energy meter v2?
« on: November 06, 2016, 05:28:28 pm »
Any assistance is much appreciated!
« Last Edit: November 06, 2016, 05:55:30 pm by wezley69 »

Offline bucko

  • Hero Member
  • *****
  • Posts: 641
  • Karma: +26/-7
Re: How do you do a monthly reset on aeon labs energy meter v2?
« Reply #1 on: November 08, 2016, 12:28:40 am »
Create a scene with luup code.........

-- This scene reset the KWH to 0
-- once reset, no way back!

local meterID = <id>
local kwh = luup.variable_get("urn:micasaverde-com:serviceId:EnergyMetering1", "KWH", meterID)

luup.call_action("urn:micasaverde-com:serviceId:EnergyMetering1", "ResetKWH", {}, meterID)

Vera 3, 40+ Fibaro relays & dimmers, IPUX cams, Elk M1 Gold, M1XEP, M1SP, XVOR, M1RB, Elk124, Monoprice HDMI matrix & 6 zone amp, Denon AVR, Panasonic A8000, BI DV,On Controls