Any simple way to change the KHW on the “Things” screen to Amps or Wattage?
Sure, see this line in the code…
// This tile is not displayed on the tile screen for this device but rather in the Things list.
valueTile(“list-energy”, “device.energy”) {
state “default”, label:’${currentValue} kWh’, icon: "st.Lighting.light14"
Change device.energy to .power or .current and the kWh to W or A or spell it out if you wish.
Save in web, refresh in app.
-Dillon
Am I the only one that has to divide the reading (other than volts) by two to get the correct amounts??? For example, the modified DH I use has
def divFactor=2 . . . . case 2: //Watts previousValue = device.currentValue("power") ?: cmd.scaledPreviousMeterValue ?: 0 map.value = Math.round(cmd.scaledMeterValue / divFactor) log.trace "Total Watts: ${cmd.scaledMeterValue/ divFactor}" break;
Thank you very much!
Hi,
I installed my new HEM gen5 device some days ago. It paired up just fine using the Aeon HEMv2+ Device. I changed it to the Gen 5 code since I saw some reports that the v2+ code did not work.
Strangely enough I am not getting any data send through (not even in the API logs). I have moved around the clamps and tried re-adding the device with no result.
NEW INFO: I added the device without having a Device handeler installed (it was picking up on the V2+ version). Once added, i changed it to the GEN 5 code and it seems to be working ok now.
I can now just not make changes to the app configuration. It is giving me an error “Error refreshing page” Any thoughts on this?
Thanks!
KO
I changed the preferences section to fix the configuration page error. I believe the range specifier syntax was the problem.
preferences {
input("kWhCost", "string",
title: "Electric Bill Cost Per KWh (dollars)",
description: "Electric Bill Cost Per KWh (dollars)",
defaultValue: "0.19514" as String,
required: false,
displayDuringSetup: true)
input("monitorInterval1", "integer",
title: "Voltage and Energy Report Interval (s)",
description: "Voltage and Energy Report Interval (s)",
defaultValue: 60,
range: "1..3600",
required: false,
displayDuringSetup: true)
input("monitorInterval2", "integer",
title: "Current Report Interval (s)",
description: "Current Report Interval (s)",
defaultValue: 30,
range: "1..3600",
required: false,
displayDuringSetup: true)
input("monitorInterval3", "integer",
title: "Power Report Interval (s)",
description: "Power Report Interval (s)",
defaultValue: 6,
range: "1..3600",
required: false,
displayDuringSetup: true)
}
That worked. Thanks!
Pardon my questions, I’m a bit perplexed.
I want to buy and install the gen 5 HEM, so I looked at the product on Amazon. There it shows an image of the device with two clamps and no other wires. Then, in various places I have read that the gen5 device requires a connection to the electrical circuit (no where does it say it has batteries). So I read the instructions on the AEON website, and got even more confused because their description of the device does not seem at all like the image shown?
Can someone help me with these questions please?
- Does the unit use batteries or is it hardwired to the electrical panel somehow?
- Seeing two clamps, I would suppose one clamp for each side of the 220v (USA) power coming into the panel?
- Any installation “gotchas”?
Thanks so very much !
Shawn
@ShawnInPaso, I just installed one of these and at first I was intimidated by the scope of work but once I started, it was a piece of cake. The Aeon Labs ZW095-A Gen5 came with a standard 110 outlet plug which is stupid to me because who has an outlet by the breaker panel to plug that in so here is what I did.
-
cut the 110 standard plug off the sensor: I added solder to the tips of the cable so I would be able to create a solid connection to the breaker or the common block.
-
Turn off the main breaker: Don’t touch the terminal of incoming power cables because those are still Live
-
identify which cable is suppose to be terminated to the common block and (power) breaker
-
I used a black pen to mark the cables, also mark the white blocks on the ZW095. I couldn’t see the arrows on the block so I, took a black marker and colored the arrow so I could see them.
-
I selected a 15 Amp breaker and connected the power side cable of the ZW095 to the breaker, then add the common cable to the common block.
-
Turn the main back on to test and that is it for connecting it to the breaker panel. Now mounting the things was a different story. PM me and I can send you pics of my setup.
@sensesay4junk, that is extremely useful info, facts I could not glean from the “instructions”. Thanks so much for taking the time to reply with a terrific “how to”. With this new knowledge, I now feel comfortable ordering the ZW095.
Gotta laugh at the standard plug on the thing, ha!
I think I’ll take you up on the kind offer for the photo too, PM heading your way.
Very uch appreciated,
Shawn
Oops, foot in mouth…LOL I don’t know if that is a typical install… I don’t like to be around power so the less, I have to touch the better off I am.
@cdikland Wow, that’s quite a setup you have there. Too bad most homes don’t have a panel as nice as your for HA. Nicely done!
I, like Sense, dont like being around power either. The initial install was done by a licensed electrician. The photos were taken several days later when it was apparent that the reading were double what they should be. Aeon Labs Support wanted pictures of my setup to confirm it was hooked up properly. It was. Just removing the secondary panel cover (the first panel is just a door) was very scary. A screw fell and got stuck in between several wires. Advise to myself and anyone else: Hire a pro. This stuff is waaaaay too dangerous.
Good advise @cdikland . Did you ever find out why the reading was double?
No I did not. Aeon Labs support thought a FW upgrade might fix it but I already am on the latest. To fix the problem I modified the Device Handle and divided all amp/watts values by 2. I am off less than 0.1kWh/month which is about a $0.18/month error at worst I can live with that
That’s good to know CD. When I get mine installed I’ll be sure to check the output for accuracy.
As a follow-up to my original posting about installing the Aeon Labs / Aeotec home energy monitor, here is an update. Maybe someone searching for related info will discover this post and be able to avoid the same errors I made.
Today I learned a valuable lesson, something that should be an obvious step that I failed to take before purchasing the HEM. I did not look at the internal aspects of my electrical panel. Consequently, as I rolled up my sleeves to install it today, I realized upon inspection that there is no way to install the HEM because of my panel configuration.
For starters, I am amazed that my panel passed any kind of inspection when my house was built in 2002. The wiring behind the panel is atrocious. Then contrary to about every photo and diagram on the web, my panel takes the main lines directly from the meter to a set of main breakers (i.e. there are no “big” cables attached to the top or bottom of the panel as commonly shown). Further, the main lines run underneath many (many, many) other wires. Finally, the main lines are covered by a plastic safety cover of sorts which is affixed to the main breakers leaving no space to hook the HEM clamps even if the lines were visible. Sigh.
In summary:
- If buying a home, always look under the electrical panel face plate, there could be a huge fire hazard under there!
- If buying a HEM, look under the electrical panel face plate, it just may not be doable.
Cheers,
Shawn
Did you take a look at the panel directly under your meter? Your mains are probably under there. Be careful though! Those lines are always hot and energized. Sometimes best to leave it to an electrician.