Just out of curiosity @joelw135 what are for the 4 HEM v1 you have set up to monitor?
From left to right:
- Main 2 phase breaker
- Washing Machine and Blower Motor for HVAC
- Refrigerator and Dishwasher
- AC Compressor (Outside House)
Is there one for measuring the clamps independently and battery reporting?
I wish there was but the device type posted doesnāt work for me. I have an iPhone and the tiles donāt populate. Also when it didnāt work, and I went back to my old DH it left erroneous entries in the device type I am using. It was a nightmare. I had to exclude and reinstall all HEMs. I was hoping one of our experienced code writers would take on the dual reading clamps.
Any chance we could get definitions for the HEM attributes?
I still have no idea what powerOne and energyOne are - for example. Comments in the code would be great.
And what I really wish I had is the Aeon technical documentation for the v1.
Debugging my HEM is no fun when I donāt know the specsā¦
Thanks!
All spec docs for Gen 1/2 and 5/6 devices:
The next time I make a significant change to the code Iāll add a comment next to the attributes.
Ask and ye shall receive!
Thank you so much - I thought I had searched everywhere for those docs.
I only found the v2 onesā¦
For computing power, the HEM v1 has to be configured to 120 volts (US) or 240 volts (eu).
This is set by Parameter 1. The device driver never seems to set that parameter; does it default to
one or the other?
Is there a better topic for technical questions?
Thanks!
It defaults to the factory default, which is 120. If the parameter isnāt defined/used in the DH, the factory default value is used.
This is the perfect topic for these questions.
Does anyone know if you power cycle the HEM does it lose itās data and reset to zero? If so, does putting batteries in it before unplugging stop that?
I need to redo some cabling and was curious.
Thanks.
Lost power here a couple of weeks ago and no loss of data. Have one on my Hot Tub but there are batteries in it.
Changes:
02-11-2017 : For the battery version, put battery info and icon in the main tile instead of a separate tile. For both the battery and no-battery version, cleaned up code some more and added some comments for what certain attributes do.
Please note: The icon to the left of the min/max row for some reason just will not show up properly on Android devices. Unfortunately, thereās not much I can do about that.
No-battery version:
Battery version:
Thanks again for the update and hard work. I know it isnāt your code, but everytime I try the DH for reading separately it screws up your DH. It leaves huge amount of garbage.
For me those two tiles on the left next to min/max and reset have either been blank, a SmartThings icon and now blank again with this update.
You must be using an Android device? The differences on how STās mobile app works between iOS and Android drive me nuts some days (most actually).
Sorry, I should have said. I use an iPhone.
Now thatās interesting. What happens if you tap on either the Recently or SmartApps tab, and then go back to the Right Now tab? Do they show up, flash and disappear, or one show up and the other doesnāt?
Going to Recently or SmartApps tab and back does not seem to change anything.
Note, when I did have the SmartThings logo icon show up in a previous release it was in just the lower tile.
Correct, the previous version had that icon, and all I did for this version is use a different icon, which makes this even more frustrating. I honestly donāt know why that happens.
Itās no big deal and does not affect the functionality.
Thanks for your work on this DH anyway!