I have a couple Aeotec Smart Switch 6 integrated into HA using SmartThings. I can use the plug fine and turn it off and on but how can I use the power meter as a sensor? I am not seeing the kwh as a sensor, only the plug itself. Do I need yet another integration or do I have to use a different hub to add these to get this to work? Like a zwave usb stick? I’m at a standstill here.
Create a template sensor that extracts the attribute from the entity. Go to Developer Tools -> States and search for the Smart Switch then you see the name of the attribute that contains the power measure.
Well, I may need further help. And that was referring to a donation.
I want to use this to create an automation to send notifications when the dryer is started and stopped. I’m aware of how to create automations but not sure what trigger type this would be best to use.
I do appreciate your help and I am a mouse asking for a cookie here lol.
There are multiple ways to achieve this. Do you only want to show whether the dryer is running or not or also some intermediate steps?
Do you want something like:
If current_power_w > 20 -> dryer is running, else -> dryer is not running
Or do you also need some delay like:
If current_power_w < 20 for 20 minutes -> dryer is finished
My wife simply wants to know when the dryer is finished running so she knows when to get the laundry out. Our dryer is in the basement and we cannot hear the buzzer.
I was just unaware of how to do this without getting multiple notifications that the power is back to idle power level. Maybe a numeric state?
EDIT: It takes about an hour for our dryer to run a course. I’ll be doing this for the washer too if the plug supports them both which I think it does. (15A)
You need to track how the power draw changes during a drying cycle. E.g. the dryer we have draws power during the drying, then the power draw goes to 0, however you can only empty the dryer something like 20 minutes after it stopped drawing power (probably to let the clothes cool down a bit, I don’t know). Some dryers also have multiple steps, they draw power then stop for 5 minutes and then draw power again.
If you simply want a notification when the power draw goes below certain threshold for 10 minutes you can use a trigger like this:
automation:
trigger:
platform: numeric_state
entity_id: sensor.dryer_power_w
below: 20
for:
minutes: 10
action:
your action when the dryer is finished
I went down there to run some testing and the plug powers the washer fine. Even ran it for a while but it will not read the power usage. So I thought it was the plug. Took a different one down there that I already use and it did the same thing. It powers the washer but doesn’t display any power statistics. I’m stumped. Then I thought maybe it’s too much power? Don’t know.