Hello,
I would like to have a card with the number of cycles an home appliances, like washing machine or dishwashing do and if possible count per week, month year.
I use a smart plug so I know power consumption base on that I would like to enable a counter.
It is just for statistic.
Can someone help me?
Perhaps something simple like a threshold helper to detect when power consumption increases, and an automation to increment counter helpers each time the threshold is crossed?
thanks this evening I’ll try.
I configured the counter, next washing cycle I’ll see if increase.
Do you know how can I count per week and per month?
Is there a risk to loose the counter?
Utility Meter helpers can do this.
It seems doesn’t accept binary sensor as input
Use it with the counter you created.
What I did
do power monitoring on the washing plug
got a door sensor put that on the lid
then played around with the logic
some like
if no power lid closed for 8 min washing done
I found the code on here somewhere and made to fit my needs
just found this
i did this
add my bits to it
added a count to it.
added this automation
if im watch a movie and the washing finishes
- id: 0f4ca2e5-e4ad-42e9-a889-7c880f9efb76
alias: Pause TV washine Machine
description: ''
triggers:
- entity_id: sensor.washing_machine_status
trigger: state
to: Clean
conditions:
- condition: state
entity_id: sensor.tv_status
state: 'ON'
actions:
- action: notify.android_tv_fire_tv
data:
title: Home Assistant
message: '''Washing DONE drying time This morning {{states.sensor.mckillen_s_home_clothes_drying_time_morning.state
}} but This Afternoon {{states.sensor.mckillen_s_home_clothes_drying_time_afternoon.state}}
'''
data:
duration: 12
position: bottom-right
fontsize: medium
transparency: 80%
interrupt: 0
- action: remote.send_command
data:
command: MEDIA_PLAY_PAUSE
target:
entity_id: remote.living_room_tv
initial_state: true