[ST Edge] Virtual Energy/Power Meter

can you give me a real example with print that you use on how to use this driver?



@niquini
Create one virtual meter, and enter connected load in Watts. For multiple lights, multiply by amount of bulbs.

Go to Automations tab


And find SmartLightning

Add bew automation

Then mirror smartbulb or dimmer, and save

That’s all.
Now when you change light level or turn light on and off, meter will change load too

Perfect. I will install and test. Thanks for the screenshots and explanation. If you have any doubts, I’ll let you know.

You can also change load with routine. I am using that on my a/c unit with ecobee. If heat is on load is 1115W, and if cooling is on it’s 1875W. No mirror is needed for this one, as there is no dimming, just switching on and off

1 Like

Freaking brilliant! Thank you! Had no idea that was a thing! Works like a charm. I’m using trend setter, so I have all three bulbs in a group, so I just used the Smart Lighting routine on that group.

Just a thought about your AC example, remember that the load isn’t always fixed. Depending on the temperature you have your unit set at, the load might go up or down. So the energy meter for this (as with the lighting as I had to round my load up because you can’t enter decimals) is an approximation.

Either way, this was very appreciated!

My furnace (gas) is single stage, however load is only different when is heating (fan+gas) vs cooling (fan+condenser).
Also if you are not sure what full load is, just get one of those digital plugin meters, and measure connected device(s) once. They are $10-15 on amazon.

Gotcha! Makes sense. I was talking specifically about air conditioning units. Like window units, etc. Thanks again.

1 Like

Sure, but it may cause a problem with existing devices. It would have to be implemented as a new capability, meaning the field would get reinitialized to 0 and you’d have to re-set it for all your devices. Not sure there is another way around that, but I’ll look at it…

1 Like

Following up on your request: it turns out that there is a bug in the platform right now that prevents you from entering or displaying floating point numbers in custom capabilities. I’ve already reported the problem.

If and when this issue gets resolved, I will revisit this.

1 Like

Smart lighting is only available in select regions and is soon to be deprecated

Some options offered in Smartlighting are not available in automations

Will they be included in the future ? No one knows !

Why can’t virtual mirror device, made by @Mariano_Colmenarejo, used?


How do one active the power meter to start counting the wattage?

Make sure the dimmer is > 0 and turn the switch on. You occasionally may also have to do a pull-down to force the app to update the value displayed.

1 Like

It’s working thank you :blush: :pray: :relaxed:

1 Like

All - I have updated the Virtual Energy Meter driver with the following enhancements (as requested by @milandjurovic71):

  • Changed Load field to enable decimal point values

    • Please note that there is a bug in the iOS app that will prevent you from entering decimals; this has been reported to SmartThings. So right now this will only work for Android users.
  • Added new device Setting options to change dashboard display to one of 3 configurations:

    1. Switch (default): state:switch, control: switch
    2. Power Meter: state: Power meter value, control: none
    3. Energy Consumption: state: Total Energy Consumption value, control: none

You will have to create a new device in order to have these changes available.

Updated Driver Version: 2023-01-02T21:29:31.640062959

3 Likes

Thank you Todd. It works great.
It shows everything correctly, even updates consumption live on dashboard. This is more than I have asked for :smiley:
This is how dashboard looks with load and with consumption

When decimal value is entered, it will round up or down on detailView due SmartThings presentation, however it will calculate correctly and shoe load correctly.

2 Likes

I don’t see these settings on IOS. It only shows update frequency.

Update to new driver. Then you can swap out drivers.
You will get this options


You will need to get out of device’s details view, and go back in.
You will need to recreate new meters

I have the latest driver. See below. I am not sure if I am missing a step here.