I think I should have explained what Iām trying to do better
What I would like to do is, while the State is finished, but not emptied, turn on a red LED in another room, and have it turn off once it is emptied, Perhaps a custom action alongside the notification reminders would do it (just as the start watchdog and end custom actions work)?
With my limited HA experience, I think that I would be able to use a āStateā for the whole automation, moving from running > stopped > emptied
Where I would do the following during the statesā¦
Stopped (the machine is done running, but I have been lazy and not emptied it yet):
It is hard for me to help when I have no idea on what your power is doing through the cycle. Is your power settings set up correctly? The FAQ shows you how to set this up.
Maybe you can provide a zoom up screen shot of your power cycle graph so I can see what is happening. Also let me know what is going wrong and maybe use the start notify option to first set it up so you know it has triggered it at the start and then you can eliminate if it is the start trigger or the end trigger is the problem. Once you got it working you can disable it if you donāt want the start notification.
One thing I noticed is that you missed entering the 2 number helpers into Power Tracking > Power Tracking - Start Number Helper & Power Tracking - End Number Helper. The FAQ shows you how to set up these number helpers.
Could you please provide us your YAML of the automation? This YAML code are the settings you have selected in the automation so I can help. To do this go into your automation, top right 3 dots, Edit in YAML, copy all the code, come back to the forum and in your reply at the top tool bar click on ā</>ā and paste code in there.
You would still create your number helper then have a custom automation to change it for you.
Create a new custom automation > 3 dots top right > edit in YAML and paste the code below then in the Then do expand it out and in each of the action change it to your energy rate and your number entity ID.
NOTE: It takes the number at the end of the cycle so if it crosses over the cost is not accurate.
alias: Energy Cost
description: Energy Cost During The Day
triggers:
- trigger: time
at: "08:00:00"
id: morning
- trigger: time
at: "15:00:00"
id: afternoon
- trigger: time
at: "21:00:00"
id: evening
actions:
- choose:
- conditions:
- condition: trigger
id: morning
sequence:
- data:
value: 0.2
action: input_number.set_value
target:
entity_id: input_number.electricity_rate
- conditions:
- condition: trigger
id: afternoon
sequence:
- data:
value: 0.35
action: input_number.set_value
target:
entity_id: input_number.electricity_rate
- conditions:
- condition: trigger
id: evening
sequence:
- data:
value: 0.15
action: input_number.set_value
target:
entity_id: input_number.electricity_rate
mode: single
Yes you can, but you would have to do it in the custom actions and record it to a number helper but that will only last for 10 days. You can do other things to record the data into HA but it is quite involved and should proceed with caution.
Regards the image of your notification, I not sure if your asking a question or just showing your notification. Because I donāt know your currency I am not sure if $11.17 is correctā¦ it might be . For me my electricity rate is 35 cents so my number helper must be 0.35 then it would be 0.09 x 0.35 = $0.03.
Wow this is almost exactly what ive been looking for, and now i come cap in hand to see if anyone is able to help me on a journey to extend this blueprint a little.
What Id like to do is have a QR code on the washing machine or dryer that when scanned turns the power socket on and stores the details of the person that scanned it for targetted notifications once complete.
Once complete, grab these details and use them to notify that persons device and media players.
The rationale: I did set up something similar to this, but nowehere near as comprehensive and found that my teenagers didnt seem to mind if the entire house was being reminded over and again that someones laundy was ready to be tended to!
To that end, having a qr code on the machine that turns the socket off and kills the notifications would be in order, I reckon.
Complete newby here - migrating from homekit and loving what HA has done for our smart home so apologise for my pie in the sky hopes but hope someone is able to point me somewhere toward the right path. Cheers.
What you would do is create a simple automation that turn ON the washing machine when you scan the QR code.
Next, create a script that identifies the last device to scan the QR code and sends a notification to that device when your washing is finished. Use this script in the custom end action of your automation. Now, when the automation completes, it will notify the appropriate device.
You can also choose to turn OFF the washing machine within the script or add a separate action in the custom actions section to turn OFF the washing machine.