Aeon HEM reset meter readings?

Sorry if this is a very basic question but how do you reset the accumulated Kwh readings for Aeon HEM 2 probe unit. I installed the meter a week or so ago and it seems to be working OK but I cant find anything in the Vera3 interface to do this. Can someone point me in the right direction? Thanks!

  1. Create a new scene (using Automation >> New Scene).
  2. Select the Advanced Tab.
  3. Select your HEM in the Pick a device drop-down list and click Add.
  4. In the new drop-down list that appears, select “Reset KWH”.
  5. Save the scene.
  6. Run the scene.

Brian

Thanks for the help!

Tom

This has been bugging me as well! Thanks BrianLBeaton!

When the subject is active, does anyone knows a good way of saving the monthly KWh amount in dataMine? With the instruction above I can reset the KWh each month automatically, but how do I save the value for each month if I want to compare it to my electricity bill later?

Thanks for the simple solution!!! I have been trying, with no success, all the luup code examples that others have posted.

[quote=“BrianLBeaton, post:2, topic:177855”]1. Create a new scene (using Automation >> New Scene).
2. Select the Advanced Tab.
3. Select your HEM in the Pick a device drop-down list and click Add.
4. In the new drop-down list that appears, select “Reset KWH”.
5. Save the scene.
6. Run the scene.[/quote]

Thank you - this worked great!!!

Any idea how to do a simple scene type reset with the UI7?

I’m running UI7 and I followed BrianLBeaton instructions. My scene is set to run on schedule (00:01 on the first of every month).

I know that this forum hasn’t been updated for a while but I thought it would be necessary for those that purchased Aeon HEM Gen2 devices to have the latest method for reseting your kWh readings as it is slightly different than the previous procedure;

Reset kWh To reset kWh, you'll need to create a scene to do so, you can set it to reset every month or based on how you want to do this:

This is the LUUP code that you need to reset kWh to 0:

local meterID = 278 local kwh = luup.variable_get("urn:micasaverde-com:serviceId:EnergyMetering1", "KWH", meterID) luup.call_action("urn:micasaverde-com:serviceId:EnergyMetering1", "ResetKWH", {}, meterID)

The number [glow=red,2,300]278[/glow] (contain within local meterID) needs to be changed to reflect the same device # as your total reading node.

Follow the steps below to add this:

  1. Click on the arrow next to the main node of the HEM unit (this is the one with the highest WATT and kWh readings and/or Parent device)
  2. Click on “Advanced”
  3. Look with in the “Prams” tab at the top for “device #XXX” (in large font) as this is needed for the luup code above this is shown as “device #[glow=red,2,300]278[/glow]”, mark down the 3 digit number (it should be located at the top of the advanced tab screen). Once captured exit the device
  4. Now click on “Scenes” located on the left
  5. Click on “Add Scene”
  6. Assuming that you want this to reset on a monthly basis, click on “Schedule” then select Monthly and the day of the month that you want this scene to reset your kWh readings.
  7. click on the arrow next to “Next Step”
  8. click on the arrow next to “Next Step” you should be on Step 3 now
  9. Click on the arrow next to “Execute the LUUP code” which is directly under “Also, execute the following Luup code:”
  10. Copy and paste the code above
  11. Edit 278 to be the same number that you found in (Step 3)
  12. Then click on “Save lua”
  13. Name your Scene (located at the bottom) then click on Finish.

You should test your scene to determine if it resets your kWh readings to 0.

Thanks! Any idea if there is a way to send the current data as a notification prior to deleting it?