Sure - just use those to leads.
Interesting, how did you determine you were getting double the reading? Using a ‘known’ device and watching it?
Looking at your setup and my box it looks like I just need to connect the clamps to the red and the black wire at the bottom of my box.
Thanks Jimxenus, some basic information about the US setup in that video that I needed
I think looking at my box it should be relatively easy to setup
What if there are 2 fuse boxes one next to the other?
Looking at your picture of your fuse box, your mains look easily accessible. Make sure the clamps go on the right way. I think I remember reading somewhere that there may be directional arrows that follow the flow of electricity, otherwise you may get some negative readings. Once you have it set up, I would recommend using this DTH (Device handler) by @johnconstantelo EDIT: Just discovered that the link to the code is broken in the thread below, do we have an updated link?
Take a look at this, I believe you should still only have two mains coming in, just to two separate boxes:
Yeh I agree now. I think I should be able to isolate my apartment completely also. I believe the main breaker is in the basement in my apartment building.
Thanks for the help
You’re going to need some Z-wave repeaters if it’s too far away from your hub.
Sorry, i meant I will install it within the box I showed you (which is in my apartment) but the meter and I suspect the main breaker is downstairs in the basement. I hope I can isolate my whole apartment with that.
That is correct.
I determined I was getting double readings by turning on one or more devices (i.e. Hair Dryer) with known power draw. In the case of a hair dryer my consumption went up 30amps. Considering it was plugged into a 15 amp circuit without tripping the circuit, the reading obviously was wrong.
Yep, sorry guys. Been doing some clean up on Github. Here’s the updated code:
Awesome thanks Excited to try this out
I got around to installing it this weekend, works a treat! numbers look pretty good too. My house seems to sit around 100-200w when doing nothing, fridge etc etc.
However I cannot seem to get this device to report on an interval or in any kind of sensible fashion. It seems to send an update every 6 minutes! Ideally I would like it to send evey 15-30 seconds. I have tried using the app, updating the firmware to 3.61, performing a reset by commenting out and even excluding and re-including but nothing seems to change.
Also it seems I never get a battery report?
EDIT - I also tried with the latest firmware, which is what it is currently running. Funny the numbers were way out till I did a reset on the latest firmware. This is the battery model… I wonder if that makes a difference to reporting…
Solved my own problem!
Battery means it wakes up every 4 mins at best!
Sure does, and I see you found the tech spec. I have my HEM running on USB power so I can have it report as fast as I want.
yeh seems like it, do you have it plugged into the AC or just a big USB battery?
It also seems like the reports are different when running on the 4 AA batteries also. I think I only ever get the current wattage and not KWH usage. So that counter does not work if it isn’t on constant power I think…
I’m plugged into AC. I put an outlet close by to run the HEM and a Samsung HD Pro camera. The panel is in my garage, so it was super easy to do that.
Correct. It’s by design to preserve batteries if I remember right. There’s another tech spec for the HEM out there somewhere where that info can be found.
ahh interesting. My panel is in my lounge hidden behind a painting, Hmm I might try to run it off a USB battery to see how it fairs.
The KWH is probably the most useful measurement after all.
I suppose I could have an electrician fit a socket in the cabinet but that sounds like a lot of effort right now!
That’s true if you’re comparing your measurements with the power company, but that could also be dependent upon your use case though. I’ve been tracking watts to really understand what I should be looking for in a home generator to support a “normal” day of power usage.
I can’t recommend doing this yourself, so for sure use a pro. I don’t think you’ll be disappointed, and it may not be too expensive.
I noticed when running in battery mode the reports come in as physicalgraph.zwave.commands.sensormultilevelv1.SensorMultilevelReport. I have modified my device type to also process these as they were getting missed from processing otherwise and the display was only updating when ‘refresh’ was pressed.
I just moved your processing out to a different function and called it from within both handlers.
EDIT: Event to be processed:
SensorMultilevelReport(precision: 3, scale: 0, scaledSensorValue: 255.420, sensorType: 4, sensorValue: [0, 3, 229, 188], size: 4)