Тёмный

How To Monitor Your Washing Machine in Home Assistant 

Smart Home Junkie
Подписаться 58 тыс.
Просмотров 31 тыс.
50% 1

If you have a washing machine that is not smart and it is in your attic or laundry room, then it is sometimes difficult to see whether it is ready yet. In this Home Assistant tutorial, I'll show you how to make your "dumb" washing machine a little smarter in an easy way. And as a bonus, you get a super fancy dashboard to monitor your washing machine as well! Let's do this!
⭐ You can download the code that I created for this video at: ko-fi.com/s/97649b156b ⭐
Note: The code was free at the time when I created the video. I had to change the conditions a couple of months later to make sure that I can pay for my groceries. This channel is not a hobby anymore.
Links referred to in this video:
* How to use Trigger ID's: • How to use Trigger IDs...
* How to install HACS in Home Assistant: • Install HACS in Home A...
Blog version: www.smarthomejunkie.net/how-t...
⭐⭐⭐
* Join this channel to get access to perks: 📺 / smarthomejunkie
* Please consider becoming my patron 🏅 at / smarthomejunkie
* Or please support me by buying me a ☕ at ko-fi.com/smarthomejunkie/
⭐⭐⭐
My Devices: github.com/smarthomejunkie/My...
Instagram: / smarthomejunkie
Twitter: / smarth0mejunkie
Facebook: / smarthomejunkie
TikTok: / smarthomejunkie
Discord: / discord
Music by:
* 2TECH-AUDIO: 2tech-audio.bandcamp.com/
00:00:00 Introduction
00:01:16 Step 1: Connect the Power Plug
00:02:58 Step 2: Create Automation that sends a message when the washing machine is ready
00:05:22 Step 3: Make a Washing Machine Dashboard
00:06:18 Creating the Helpers
00:08:33 Creating the template sensor to see the remaining washing time
00:10:19 Adjust the automation so that our dashboard will be filled with data.
00:12:59 Step 4: The Dashboard
#homeassistant #smartlaundry #washingmachine #washing #smartplug #powermetering #energy #smarthome #homeautomation

Хобби

Опубликовано:

 

4 июл 2024

Поделиться:

Ссылка:

Скачать:

Готовим ссылку...

Добавить в:

Мой плейлист
Посмотреть позже
Комментарии : 228   
@SmartHomeJunkie
@SmartHomeJunkie Год назад
For what other exciting automations do you use smart plugs with power metering? Let me know in the comments!
@PietjeNL
@PietjeNL Год назад
Same, but then for the coffee. And if working from home (using dock) then the lights change color for 5 seconds.
@SmartHomeJunkie
@SmartHomeJunkie Год назад
@@PietjeNL Nice!!!
@RobvanKoningsbruggen
@RobvanKoningsbruggen Год назад
I meter almost all electic devices like: heatpump, waterheater, washingmachine, dryer, refigirator, freezer, office and multi media equipment, heating for my car (gets cold in Norway). Lights are measured via powercalc, small stuff like usb power plugs have to be put in powercalc
@jordyzwaneveld2089
@jordyzwaneveld2089 Год назад
I used one for my projector to see if it's on or not so I can turn it off when we leave the home or turn it on when I ask for it with a broadlink RM, I use also one for my airconditioning to make it smart with temperature sensor to put it on and off based on timers and room temperature.
@craigmcfarlane5686
@craigmcfarlane5686 Год назад
Very similar to the washing machine automation but knowing when the dehumidifier is full. When it's full the power drops right down.
@BallsworthBallsbury
@BallsworthBallsbury Год назад
Thanks for all the help you've provided me! This video especially was timely, as I'm migrating from SmartThings this week and wasn't sure how to port my WebCore based laundry notifications to Home Assistant.
@sevagjb
@sevagjb Год назад
From 2 days I make something similar to this automation in my 3D printer but your way much more clean and clear thanks Ed 👌🏻
@EsotericArctos
@EsotericArctos Год назад
I use a vibration sensor and an energy monitoring plug on my washing machine. It's been pretty good to have an announcement to say it is done. Saved me from having to wash more than once :)
@joecb4401
@joecb4401 Год назад
That's amazing, thank you for sharing your experience with us. I now must go watch more of your videos.
@SmartHomeJunkie
@SmartHomeJunkie Год назад
Enjoy!
@franckfetzer136
@franckfetzer136 Год назад
Thank you. This video is great on many aspects and the coding is neat. I learned a lot. Please keep up the good work !
@SmartHomeJunkie
@SmartHomeJunkie Год назад
Thank you for your support!!!
@hansdewael3976
@hansdewael3976 Год назад
Hello, another great video. I’m using the same automation for some time now. Use it for the washing-machine and the tumble-dryer but also to controle the frezer and a pump in the cellar(to keep it dry). If the pump stops using power for more than 24 hours I get a message. Same for the freezer if it lozes power for longer than 30 minutes I get a message. All in combination with custom button-cards, they change color and or start flashing. I like the start/stop montoring. Think I’m going to use that.
@SGHassMan
@SGHassMan 2 месяца назад
2:00 It is important. Thank you very much!
@clairerovic
@clairerovic Год назад
Looking forward to trying this. Thanks 👍
@mareckorlicki6334
@mareckorlicki6334 6 месяцев назад
Hi, I got this working properly now A couple of capitalization errors was all. All good now may adapt this to the Dishwasher. Thanks again for the great info
@markjhorsley
@markjhorsley Год назад
This is so good! Can’t wait to try
@garnetbailey6005
@garnetbailey6005 Год назад
Awesome video, thankyou! I also use smart plug to turn on and monitor all my tool battery chargers. Shuts them all off when done and notifies me the batteries are charged. I have 3 different chargers connected to the plug. Also it's inside a cupboard with a zigbee mag switch so I get reminded if I haven't opened the door and removed the batteries.
@grahamshaw5531
@grahamshaw5531 Год назад
Have just bought a smart plug. so will give this a go next week, Thanks
@grahamshaw5531
@grahamshaw5531 Год назад
Got it working, sort of. it took over 3 hours before a message arrived on my phone.
@Freddystapersma69
@Freddystapersma69 Год назад
your vlog colors are so much better now!!
@SmartHomeJunkie
@SmartHomeJunkie Год назад
Yeah, I got a color grading coach this week! One of my viewers helped me a lot with it! That helped so much.
@nadjinadj9041
@nadjinadj9041 Год назад
thanks, downloaded, all works!
@Ard1400
@Ard1400 Год назад
Super bedankt. Heel leuk, ga ik binnenkort is instellen. Top!
@alohava
@alohava Год назад
Thank you! I am about to start this. I also will add a motion sensor in my laundry room. If no motion has been sensed for 10 minutes after the washer is finished, it will send another notification to remind me!
@SmartHomeJunkie
@SmartHomeJunkie Год назад
Nice!
@daleholden
@daleholden Год назад
Another great video well done. And I would love to see a video on how you make the dashboard. You could also add within this automation the number of tablets left And send another message when the level gets below say 10
@JimfromIndy
@JimfromIndy Год назад
Thanks!
@limp15000
@limp15000 Год назад
Thanks Ed, really like the washing machine dashboard. Will add it this evening. Already had a washing notification sent to…. Me 😅
@SmartHomeJunkie
@SmartHomeJunkie Год назад
Haha! Great!
@Badg0r
@Badg0r Год назад
Hi Ed! I've donated 2 euros since you've made a better version of this than I've created in the past. The donation was made without an account, after that I've downloaded it with an account. The 2 euro is well earned. Hopefully the volume of downloads and the sales conversion will support you in the future.
@SmartHomeJunkie
@SmartHomeJunkie Год назад
Thank you for your support Bart! This really helps to keep creating these tutorials for all of you. 🙏🏻🙏🏻🙏🏻
@riesmoos
@riesmoos Год назад
Big thumbs up !!
@mikegodin23
@mikegodin23 Год назад
Excelente. Obrigado.
@bartfranken5425
@bartfranken5425 Год назад
Thnx for the video. It really inspired me. I might have an upgrade to avoid the coding in the template.yaml. I've created an extra Timer helper for the "expectedTimeLeft". In the automation you can use a service timer.start and use that numer as the duration as it seems to handle the "input_numer.washing_expected_runtime" just fine. I think this is a bit cleaner instead of continues calculation of the "expectedTimeLeft". What are you're thoughts?
@SmartHomeJunkie
@SmartHomeJunkie Год назад
Great idea!
@florianvieten7225
@florianvieten7225 Год назад
Hey man Thanks for this awesome How To Video. I love it! But as an HomeAssistant newby, I am very, very interested in how you created the dashboard.
@SmartHomeJunkie
@SmartHomeJunkie Год назад
I used mushroom cards for it.
@francoispitre181
@francoispitre181 8 месяцев назад
👍 Perfect with Sonoff S31 smart plug , only glitch Washer Started Time is in 24h format and Washing Ended in 12hr format ?
@tempdemp1622
@tempdemp1622 Год назад
Great Video ... Is it possible to have a UI with button /custom button with a fan turning when the washing machine is running ?
@SmartHomeJunkie
@SmartHomeJunkie Год назад
Yes it is. You can use the custom button card for it I think.
@nicnicol6664
@nicnicol6664 Год назад
Another great tutorial! left out the expected time as not required I’m getting false “washing complete” messages whenever I reboot HA (obviously it takes longer than 3 min so HA thinks my washer has been below 3W for 3 min) Going to time my reboot time and adjust the automation to suit. Or maybe I should add a condition to ignore if rebooted - that’ll take some learning but worth it.
@TheVampyrebe
@TheVampyrebe 7 месяцев назад
I have the exact same false washing complete. May I ask how you solve it ? Thanks !
@joostlinnemann
@joostlinnemann 6 месяцев назад
New to HA, migrating from HomeSeer. In HomeSeer, I solved this by setting a variable to True when washing started. The washing complete routine would check for low power and that the Variable was True. Only then would it conclude that washing was indeed finished. The action would then notify and set the variable to False.
@RobvanKoningsbruggen
@RobvanKoningsbruggen Год назад
This will be a nice extension to my washing machine entity, love the estimated time left trick. Do you know of a way to show only the time on the cards for Start, Stop and Estimated End Time ?
@SmartHomeJunkie
@SmartHomeJunkie Год назад
Yes. I will add it to the download file.
@SmartHomeJunkie
@SmartHomeJunkie Год назад
Aaaaaand done...
@MrKlawUK
@MrKlawUK Год назад
is it possible to display the kwh used for the wash once it has finished? I use the power graphs and can do estimates using day history but it would be good to have it in this location
@SmartHomeJunkie
@SmartHomeJunkie Год назад
Yes, I think you can. Store the starting KWh for your smart plug in a helper when the washing machine starts and store the ending KWh in another helper when the washing machine stopped. Create a template sensor (or a helper) that calculates the difference when the washing machine stopped and show that in your dashboard.
@FabioScafa
@FabioScafa 4 месяца назад
Thanks
@SmartHomeJunkie
@SmartHomeJunkie 4 месяца назад
Thank you so much for taking the time to watch and comment!
@neilos2085
@neilos2085 Год назад
Great video, thanks. I wish you would combine your music to these videos too, so many guitars in the background
@craigmcfarlane5686
@craigmcfarlane5686 Год назад
Could you also add a Node Red automation? Thank you for a fantastic video
@SmartHomeJunkie
@SmartHomeJunkie Год назад
Sorry, I do not do Node Red. Node Red is not needed imho.
@robinpillekers4871
@robinpillekers4871 Год назад
Hi, I did donate the 2$ ;-) Good explanation and video .Have still some issues but will figure that out. PS: I noticed that my home Assist will have many errors if you look in systeem and then in de onging log fils. Do you have a tip for that? Seems to be a bit unstable after installing serveral plugins etc. I do make many backups but still it is hard to go back because in the meantime I installed other things too so what do you advise on that?
@SmartHomeJunkie
@SmartHomeJunkie Год назад
Hi Robin, thank you for your support. 🙏🏻. When ever I see errors in my log I try to go through them one by one to solve them. That might be a tedious process though.
@Tntdruid
@Tntdruid Год назад
Very nice, I will pay some when I download it 👍
@SmartHomeJunkie
@SmartHomeJunkie Год назад
Thank you for your support! This really helps. 🙏
@Tntdruid
@Tntdruid Год назад
@@SmartHomeJunkie The copy & past of the card code does not work. getting some errors.
@SmartHomeJunkie
@SmartHomeJunkie Год назад
@@Tntdruid I uploaded a new version which is a bit more clear in what you have to do to get it to work. Also changed the code a bit to make it easier to copy and paste.
@Tntdruid
@Tntdruid Год назад
@@SmartHomeJunkie new code works, thanks again 👍😀
@koolkiwikat
@koolkiwikat 11 месяцев назад
I grabbed the code from the store, is there a formula/code to calculate KWh's? my meter doesnt have this built in
@mareckorlicki6334
@mareckorlicki6334 6 месяцев назад
great video I have a couple of problems with the dashboard the washing machine start shows the date but the time at 00:00 and the stop card does not appear at all Probably not calculating time ?? I had another problem as my smart plug does not show energy (KWH) but I resolved this with the help of another helper (Riemann Sum Integral) I downloaded your code too and donated 3.00
@sebastianschneider4345
@sebastianschneider4345 Год назад
"you made a mashine to wash a monitor??" ... Welcome to my brain, lady's and gentlemen!
@fredhau1256
@fredhau1256 Год назад
Great work SHJ, but quick question please: the "washing stopped" time in the panel requires formatting as for me it is not the same as for "washing started" (properly displayed in my local date/time format). Likely coming from : secondary: '{{ states(''input_datetime.washing_stopped'') }}' which requires proper formatting, using local_timestamp or likes? Any comment appreciated as regards coding for this. Many thanks, Fred
@SmartHomeJunkie
@SmartHomeJunkie Год назад
You can download the code for the dashboard here: ko-fi.com/s/97649b156b
@Klaus-macht-Bilder_de
@Klaus-macht-Bilder_de Год назад
Thank you for the good explenation. Some other RU-vidrs have proposed to add a door opening sensor to the door to prevent to forget the wet cloths in the machine - this might be a good add on to your dashboard. On my machine at the end of each program is a mode called in German "Knitterschutz" which ir running for quite a time and prevents my automations so far to detect the end the real washing program - if you have any ideas for that they are vey welcome ;-)
@JasperJanssen
@JasperJanssen Год назад
Is Knitter a wrinkle? My dryer does wrinkle prevention but the washer doesn’t.
@MrKlawUK
@MrKlawUK Год назад
our tumble dryer does that - its ‘finished’ but still tumbles at a low heat. I think you could manually monitor the energy used (give it some error % too) and set a similar ‘washing finished’ based on that higher trigger watts. And perhaps add a timer that sends a reminder ‘hey its finished but you’re wasting energy’ if its been in that ‘finished but using energy’ mode for 30 minutes or so?
@familjenlindh
@familjenlindh Год назад
Thanks for a great video! I have a wish for one more feature. I would like to have a "Utility meter" where you can see the cost for the electricity for the last wash when it is done. I have a supplier that charges a different price every hour and therefore need to use a sensor "sensor.price" to calculate the cost. I've searched all over the internet, but haven't been able to figure out how to solve this, but I'm pretty sure you can figure it out!
@stueff
@stueff Год назад
I guess this is the video you are looking for ;-) ru-vid.com/video/%D0%B2%D0%B8%D0%B4%D0%B5%D0%BE-NFJ510uhswY.html
@jdb6284
@jdb6284 Год назад
Hi Ed, Could you explain how you have created the total number of lights on at the top of your homepage at @3:08 please?
@SmartHomeJunkie
@SmartHomeJunkie Год назад
You can view that in one of my other videos. I believe it's this one: Templates and Custom Sensors in Home Assistant - How To TUTORIAL ru-vid.com/video/%D0%B2%D0%B8%D0%B4%D0%B5%D0%BE-cdz32TLu_gw.html
@TheDanielsherer
@TheDanielsherer 4 месяца назад
Hey, both on Amazon and Shelly's website, they say the "plug s" is only good to 1800w. Is the higher number you cite something that's set in software? Or, is it possible that they have created a new version that's only safe to the lower wattage?
@SmartHomeJunkie
@SmartHomeJunkie 4 месяца назад
The Shelly PLUG S can handle up to 2500Watt. I've set it to 2300 for safety.
@DaveMenkehorst
@DaveMenkehorst Год назад
My washing machine is changing from 0 to 3 watts multiple times during the wash. This way the washing started trigger id goes of at multiple times. Do you have tips for that? Also my Washing Expected Runtime sensor is displayed a a number and not a time/date.
@SmartHomeJunkie
@SmartHomeJunkie Год назад
Maybe you can use a delay in checking for the low value. For instance if wattage
@sazma
@sazma Год назад
Thanks for the great video! You say several times that the code download is free, but it doesn't appear that it is as there's a minimum price. Is that intentional?
@devpipe
@devpipe Месяц назад
That's right, it says: Please enter at least €3
@MarkusThomaen
@MarkusThomaen Год назад
Hello, Thank you for this great work and for sharing. I have a question. I have 4 devices that I want to monitor like this. 2 washing machines and 2 dryers. Do I have to create this individually for each machine? So for each machine the 4 helpers and the automations? I use Gosund SP1 with Tasmota. Greetings from NRW sends Markus
@SmartHomeJunkie
@SmartHomeJunkie Год назад
Hi Markus, yes, I think so, otherwise it's not possible to run then simultaneously.
@MarkusThomaen
@MarkusThomaen Год назад
@@SmartHomeJunkie okay thanks for your answer. then I'll see if I can convert it for my devices. 😉👍 I already have a great basic framework from you.
@MarkusThomaen
@MarkusThomaen Год назад
@@SmartHomeJunkie I have one more question. can I change the device_id? Or where does this id come from? 🤔
@SmartHomeJunkie
@SmartHomeJunkie Год назад
@@MarkusThomaen The ID is determined by HA as soon as you select the device in the automation.
@MarkusThomaen
@MarkusThomaen Год назад
@@SmartHomeJunkie ahh okay thanx. then I'll try to adjust that.
@SVRockChalk
@SVRockChalk 3 месяца назад
I have the WHEN the AND IF the THEN DO, how do i get the ELES section in the automation window? Thx Dave
@SmartHomeJunkie
@SmartHomeJunkie 3 месяца назад
Use the new building blocks in Automations.
@paolorandazzo.
@paolorandazzo. Год назад
Fantastic video, i have a question tho... Whenever the washing is done and i dont take it out, the washer goes in standby mode, wich stay active, consuming 0.5W. The automation sees that and send me a notification even when the notification was already sent.
@SmartHomeJunkie
@SmartHomeJunkie Год назад
Hi, and thanks! It might be that the power value fluctuates and that is why it triggers again.
@paolorandazzo.
@paolorandazzo. Год назад
@@SmartHomeJunkie any solution to that?
@SmartHomeJunkie
@SmartHomeJunkie Год назад
@@paolorandazzo. Monitor the power usage and adapt the automation threshold and wait time to get it to work perfectly.
@paolorandazzo.
@paolorandazzo. Год назад
@@SmartHomeJunkie Thank you very Much!!
@hardtop66
@hardtop66 Год назад
Do you have a tip as to where I might go wrong? It all works BUT the input number for estimated time keeps increasing and thereby re-triggering the notification.
@SmartHomeJunkie
@SmartHomeJunkie Год назад
No idea really. 🤷‍♂
@peledudok
@peledudok Год назад
i use for metering washmachine the shelly 1pm
@Joseph-ko2kl
@Joseph-ko2kl Год назад
Great work-Thaks. I would like to see ahow-to on using the state-switch card!
@SmartHomeJunkie
@SmartHomeJunkie Год назад
Will do!
@Joseph-ko2kl
@Joseph-ko2kl Год назад
@@SmartHomeJunkie When you were running through the the 1st helper you say it is a TIME helper, When I try and set that up I do not get any option to add a entity? my last entry is unit is measure? What did I miss, just curious. I have a similar washing machine automation but use a dropdown helper that has the options off/waiting/running/finished and I use that for the dashboard.
@SmartHomeJunkie
@SmartHomeJunkie Год назад
@@Joseph-ko2kl No, it's a number helper that stores the timestamp. Also a good idea those states!
@Joseph-ko2kl
@Joseph-ko2kl Год назад
@@SmartHomeJunkie Thanks. I stole it from someone else, LOL I am not smart enough to figure it out! Sorry I see I typed it wrong, I did mean Number not time. but again I do not get the same options?
@SmartHomeJunkie
@SmartHomeJunkie Год назад
@@Joseph-ko2kl that's weird. They should be there. Is advanced mode set in your account settings. Might be that this is the reason. Not sure though.
@joshnlevinson
@joshnlevinson Год назад
For the template sensor, how did you generate the unique id?
@SmartHomeJunkie
@SmartHomeJunkie Год назад
Right click on your mouse and select create unique id
@joshnlevinson
@joshnlevinson Год назад
@@SmartHomeJunkie Derp. Thanks!
@gurkanyesilgun
@gurkanyesilgun Год назад
Hello, thanks for the great video. False positives occur when Home Assistant is restarted. In fact, I am getting notifications even though the machine is not running. Do you have any suggestions to avoid this?
@SmartHomeJunkie
@SmartHomeJunkie Год назад
I didn't experience these false positives for a long time, but I had one or two last week as well. Not sure how they are triggered and it's difficult to tackle because they do not always occur on a restart of Home Assistant. I will investigate this!
@gurkanyesilgun
@gurkanyesilgun Год назад
@@SmartHomeJunkie Thank you very much for your attention to this issue. Waiting for more great videos 🥰
@SmartHomeJunkie
@SmartHomeJunkie Год назад
@@gurkanyesilgun I already looked into it, but I don't understand yet why this happens. It's a peculiar issue.
@gurkanyesilgun
@gurkanyesilgun Год назад
@@SmartHomeJunkie ❤
@basval540
@basval540 Год назад
@@SmartHomeJunkie Hi Ed, i have the exact same experience when rebooting HA. I think it's logical because the trigger (xx minutes power xx watts) is then running again and when the washingmachine is off it will always trigger the automation because when its off it uses less then xx watts so 3 minutes (in my case 10) aftere restarting HA my automation is always triggerd
@manfredzimmer1199
@manfredzimmer1199 Год назад
👍
@kevin4rsl
@kevin4rsl Год назад
Hello. I have a small issue. I have my washing machine set to announce via alexa when the power usage drops below a certain amount. However everytime I restart home assistant alexa announces that the machine is finished washing. How can i resolve this?
@cbcdesign001
@cbcdesign001 11 месяцев назад
His automation is flawed, I had exactly the same issue as you if the plug became unavailable for even a couple of seconds. I have a threshold helper (binary sensor) to alter the state of a custom card (icon changes color) on my dash if the machine (dryer in my case) is running or not, based on the current rising above 50W turns sensor to on. It does not appear to switch on if the plug becomes unavailable and should not switch on if starting HASS. You could try making a similar helper then using that (with your own value) to trigger your automation based on that sensor changing from on to off for more than 3 minutes.
@cinnay2
@cinnay2 Год назад
Great video, unfortunately I have the problem that my machine drops to 1-2 watts in the meantime. it restarts the timer every time. Do you have an idea?
@SmartHomeJunkie
@SmartHomeJunkie Год назад
What's the watt value when it is on standby? You can send a message if it is around that value for 5 minutes for example.
@cinnay2
@cinnay2 Год назад
@@SmartHomeJunkie in standby it dont Displays any Watts
@SmartHomeJunkie
@SmartHomeJunkie Год назад
@@cinnay2 I would say that you can then check if the power value is 0 Watt for 5 minutes, then send a message.
@cinnay2
@cinnay2 Год назад
@@SmartHomeJunkie yes but the Problem is every time the Watts Drops under 3 the washing Machine start time chances
@SmartHomeJunkie
@SmartHomeJunkie Год назад
@@cinnay2 I guess you have to trigger the start time at a lower value just above 0. It's experimenting until it works for your specific washing machine.
@nathanross3303
@nathanross3303 7 месяцев назад
Dryer suggestions??
@SmartHomeJunkie
@SmartHomeJunkie 7 месяцев назад
That should work the same way.
@MrExCat
@MrExCat Год назад
First of all, I want to congratulate you on the video, you gave very useful ideas. I downloaded the script, but I got stuck at the dashboard. I tried to add the cards manually, but I only managed to add the first two, from there I don't know how to proceed, because it won't accept it when saving :(
@SmartHomeJunkie
@SmartHomeJunkie Год назад
If you cannot save the card, it's probably because there is an indentation error.
@MrExCat
@MrExCat Год назад
@@SmartHomeJunkie In the meantime, I realized that I'm the stupid one, because it also says that the problem is with the state-switch integration, but I don't understand why. I installed it from HACS, but it still doesn't work.
@SmartHomeJunkie
@SmartHomeJunkie Год назад
@@MrExCat Maybe the installation went wrong. This sometimes happens. If you go to the state switch integration in HACS, you can click on the three dots in the right upper corner and try Redownload. I fixed some issues in the past using this approach.
@MrExCat
@MrExCat Год назад
@@SmartHomeJunkie Sorry, I have one more question. There is a washing_machine_expected_time_left sensor in the template. Where should this be created? Because I couldn't find any information about it in the video. (or I was just careless :( )
@joshnlevinson
@joshnlevinson Год назад
I used your code for the dashboard card that shows the time the last wash stopped, and it always shows some erroneous time (not sure if it's a coincidence, but it always shows some xx:11 as the time). When I look at the actual helper data, it has recorded the correct stop time. Also, when instead of your code for a mushroom template card, I just use a simple mushroom entity card (as you do for the time the washing started), it shows the correct finish time. A. Can you please confirm that there are no errors in your code for the washing stopped time card? B. Can you explain why you used the mushroom template card for washing stopped time instead of just using an entity card? I feel like I'm missing / not understanding something. Thanks!
@SmartHomeJunkie
@SmartHomeJunkie Год назад
The code is not wrong. Not sure why it shows the wrong time format on your side. I use the template card because I use a custom:state-switch card there so that the washing time ended card is not shown as long as the washing machine is still running.
@joshnlevinson
@joshnlevinson Год назад
@@SmartHomeJunkie I did a bunch of research to try to find out what was wrong, and just couldn't figure it out for the life of me. I finally realized you do in fact have an error in the code for "Manual card 3". The lower case %m you use to represent the minutes should be an uppercase %M. Lower case m is for month, and that seemed to be throwing an error into the mix. I changed it to uppercase and it works perfectly now. I also did some experimentation and determined that you don't need to use a template card in order to use the state switch card... you could also just use an entity card with the state switch card. Just wanted to share this info in case it's helpful for others.
@SmartHomeJunkie
@SmartHomeJunkie Год назад
@@joshnlevinson Thank you for this addition. The code on Ko-Fi is exactly the same as how I have this on my setup and that works. Other people confirmed this too, so I'm still not sure why you get different results.
@SmartHomeJunkie
@SmartHomeJunkie Год назад
I saw that you added a message with a link, but these are getting filtered out by RU-vid, so it's not visible here. The code that I used is: {{ as_timestamp(states('input_datetime.washing_stopped')) | timestamp_custom('%B %d, %Y at %-I:%m %p')}}
@joshnlevinson
@joshnlevinson Год назад
@@SmartHomeJunkie yeah, I figured that was what happened. I couldn't be bothered to re-write the message. But the gist of it was that I found a list of all available timestamp_custom attributes, and it was clearly consistent with what I was experiencing (ie lower case %m giving the month in numeric value, and uppercase %M giving the minutes). Also, note that you did use uppercase %M in other parts of your dashboard code. So I'm actually surprised it's working okay for you and others in the case of the time when the wash finished 😂
@howardbaizer8143
@howardbaizer8143 Год назад
Can anyone recommend a US smart plug that can handle the power load of a washing machine?
@DougLight
@DougLight Год назад
I use a Sonoff S31 (WiFi) plug flashed with Tasmota to pass status via MQTT to Home Assistant for my automation. The S31 is rated at 15A which matches the max load used for my washer circuit. Do not use the "S31 lite" version of the plug.
@SVRockChalk
@SVRockChalk 3 месяца назад
Working on custom cards in the Dashboard. I'm getting this error" Configuration errors detected: Custom element not found: state-switch"
@SmartHomeJunkie
@SmartHomeJunkie 3 месяца назад
You need to install the state-switch card using HACS.
@koenboom9959
@koenboom9959 Год назад
Hi, I can't figure out how to download the code via the link. There is no code visible and I don't see any button? Tutorial is great though! I only miss the explanation how to do that realtime time left card?
@SmartHomeJunkie
@SmartHomeJunkie Год назад
The code can be downloaded against a small fee nowadays at this page: ko-fi.com/s/97649b156b
@koenboom9959
@koenboom9959 Год назад
@@SmartHomeJunkie i just paid. I would have expected an email, but I didn't received anything yet. Should I have more patience, or did something went wrong? I see what went wrong: i paid with ideal but was not lead back to the download screen. I tried again with Paypal which worked perfectly. I was sent to the download screen and was able to download the zip
@koenboom9959
@koenboom9959 Год назад
I have one additional question: why use {% set in the first line and why {%- set in the other lines for the template code?
@SmartHomeJunkie
@SmartHomeJunkie Год назад
@@koenboom9959 Unfortunately there are some issues with iDEAL I believe. I cannot really fix that because Ko-Fi handles that.
@SmartHomeJunkie
@SmartHomeJunkie Год назад
@@koenboom9959 Is just a way to keep code together in the Developer Tools while testing. Nothing to worry about.
@junkins
@junkins Год назад
This works great but every time I restart HA, it will also send the notifications. Is there anyway to stop that?
@SmartHomeJunkie
@SmartHomeJunkie Год назад
Not sure why you get the behavior. I do not get a message if HA restarts. 🤷🏼
@junkins
@junkins Год назад
@@SmartHomeJunkie I'll have to do some troubleshooting, very weird.
@ericnieuwbeerta6091
@ericnieuwbeerta6091 Год назад
One more question the time format is wrong I see it correct in "washing started 28 October 2022 at 20:27" but on "washing ended 2022-10-29 07:04:39"?
@SmartHomeJunkie
@SmartHomeJunkie Год назад
Indeed. please use the following code for Washing Ended: {{ as_timestamp(states('input_datetime.washing_stopped')) | timestamp_custom('%B %d, %Y at %-I:%m %p')}}
@ericnieuwbeerta6091
@ericnieuwbeerta6091 Год назад
@@SmartHomeJunkie I am not sure were te change this? in template or visual or automation?
@SmartHomeJunkie
@SmartHomeJunkie Год назад
@@ericnieuwbeerta6091 In the dashboard.
@ericnieuwbeerta6091
@ericnieuwbeerta6091 Год назад
@@SmartHomeJunkie ??? type: custom:state-switch entity: template template: >- {% if as_timestamp(states('input_datetime.washing_stopped')) > as_timestamp(states('input_datetime.washing_started')) %} true {% else %} false {% endif %} states: 'true': type: custom:mushroom-template-card primary: Washing Ended secondary: '{{ states(''input_datetime.washing_stopped'') }}' icon: mdi:clock icon_color: blue layout: vertical fill_container: true
@SmartHomeJunkie
@SmartHomeJunkie Год назад
@@ericnieuwbeerta6091 Yes, replace the washing_stopped code with the code that I provided up here. You can also try to contact me on Discord if you need help.
@RobertWebbe
@RobertWebbe Год назад
Ed, the video is not consistent: - At 10:40 your Actions is "Notifictions: Send a notification via mobile_app_iphone". - Then you add a Trigger. - And at 11:16 your Actions is not the same anymore, now I see "Perform an action if: Washing Started (or else!)". Then I get an error in my head...
@SmartHomeJunkie
@SmartHomeJunkie Год назад
I don't see how it's not consistent. I built everything up gradually. First a simple example and then a bit more complex with the if then example.
@renebakker591
@renebakker591 Год назад
I've had this for quite some time. Also have a message here in Node-red to my Google Homes and Whatsapp
@a.dekater7534
@a.dekater7534 Год назад
Bedankt voor deze, ik heb het script gedownload dus een donatie gedaan. Krijg het nog niet helemaal aan de praat. Binnenkort nog eens naar kijken.
@SmartHomeJunkie
@SmartHomeJunkie Год назад
Thanks for your support!
@grzehooo88
@grzehooo88 Год назад
If you want to be honest please mention in videos that the code is free to download only for a limited period of time after releasing the video.
@SmartHomeJunkie
@SmartHomeJunkie Год назад
It was free at the time, but I had to change the conditions a couple of months later to make sure that I could pay for my bills. This channel is not a hobby anymore. I also mention it in the description.
@TTMaster002
@TTMaster002 Год назад
Can't download free code. Why do you say that if it's not true?
@SmartHomeJunkie
@SmartHomeJunkie Год назад
I understand your question, and decided to change the conditions after an introduction phase in a later stage. Sorry, downloading is not free anymore.
@geraldjohn47
@geraldjohn47 Год назад
I just joined today. At the beginning, I could login but when I restarted my tablet, I couldn't login
@SmartHomeJunkie
@SmartHomeJunkie Год назад
Thank you for your support 🙏🏻 Not sure what you mean with l that you can't login though. 🤷🏼
@richardspurdens2378
@richardspurdens2378 3 месяца назад
Hi, thanks for the video and taking the time to produce the code, which I purchased. However I am getting some error codes which I can't seem to sort out what is wrong, any suggestions. Errors below: Error while processing template: Template Error while processing template: Template Error while processing template: Template Error while processing template: Template Error while processing template: Template Thanks R.
@larryjohnson897
@larryjohnson897 Год назад
I did the exact items and edited my sensor name to match. I get errors and it will not work.
@larryjohnson897
@larryjohnson897 Год назад
Helps to set the corect W vs A vs KWH setting for reporting from the plug/sensor. Seems much better now. Thank you.
@larryjohnson897
@larryjohnson897 Год назад
My washing machine fluctuates its power. It will go from 0 to 3..4..5 wats and back to 0 again. The Washing Machine Started keeps getting set. I watched the automation while it was running and it kept triggering the started. It goes to 0 when it needs to add water and such. Or stops the agitation for a few seconds before it switches cycles. Ideas?
@hansdewael3976
@hansdewael3976 Год назад
@@larryjohnson897 Hello, is it possible to use a time trigger or to delay the stop by setting that the power must drop to 0 for 2 or more minutes before its actualy a stop.
@DaveMenkehorst
@DaveMenkehorst Год назад
@@larryjohnson897 Did you find a solution for this?
@larryjohnson897
@larryjohnson897 Год назад
@@DaveMenkehorst I did make the time out longer and it solved the problem. Thanks for checking back up. I am switching plug adapters soon to a wifi one as the zwave keeps disconnecting due to another issue.
@cbcdesign001
@cbcdesign001 11 месяцев назад
If the plug becomes unavailable then becomes available again, it triggers the automation using current threshold value.
@SmartHomeJunkie
@SmartHomeJunkie 11 месяцев назад
You can extend the automation to check if the status became available if you like.
@cbcdesign001
@cbcdesign001 11 месяцев назад
@@SmartHomeJunkie Thanks for the video and the suggestion but I looked into that and could not make it work. I opted for a different approach, created a threshold helper binary sensor (on over 50W) and then use that as the automation notification trigger, i,e goes from on to off for more than 3 minutes. 50W is way below the pump or drum motor consumption and the machine never draws less than 50W for 4 minutes or more unless the cycle has finished so this works really well. My helper is immune to start up or device unavailable errors too.
@SmartHomeJunkie
@SmartHomeJunkie 11 месяцев назад
@@cbcdesign001 sounds like a great solution!
@ericnieuwbeerta6091
@ericnieuwbeerta6091 Год назад
I can not find state -switch integration in HACS
@SmartHomeJunkie
@SmartHomeJunkie Год назад
Should be there: github.com/thomasloven/lovelace-state-switch
@ericnieuwbeerta6091
@ericnieuwbeerta6091 Год назад
Thanks.
@Xpl0jd1
@Xpl0jd1 Год назад
I would want this function, but I don’t have a plug on my washer. The cable is directly connected in the wall socket.😔
@SmartHomeJunkie
@SmartHomeJunkie Год назад
I guess that is not that hard to change?
@Xpl0jd1
@Xpl0jd1 Год назад
@@SmartHomeJunkie you would be correct. But the washer is in the bathroom and I believe we are not allowed to have plugs there in Sweden.
@SmartHomeJunkie
@SmartHomeJunkie Год назад
@@Xpl0jd1 Ah okay. I was not aware of that. That's a pity.
@danielducu
@danielducu Год назад
You could use a vibration sensor from aqara and integrate a similar logic
@SmartHomeJunkie
@SmartHomeJunkie Год назад
@@danielducu That's a clever idea! You will miss some of the dashboard functionalities, but that's a minor thing I guess.
@CosminRotaru
@CosminRotaru Год назад
I don't trust a relay staying on for years... I might try hacking such a smart plug with a bypass on the relay (yes, breaking the remote power control) and just use it for power measurement.
@JohanVromans
@JohanVromans Год назад
Aren't there any decent wifi power monitors that do not switch?
@CosminRotaru
@CosminRotaru Год назад
@@JohanVromans I only know about the ones with clamps, like the Shelly EM. But that doesn't really make sense for monitoring a wall plug..
@rafdijk
@rafdijk 5 месяцев назад
Sorry, but I can't find the 'if' in automation
@SmartHomeJunkie
@SmartHomeJunkie 5 месяцев назад
The automation interface changed so we 2024.2. Look within the building blocks.
@rafdijk
@rafdijk 5 месяцев назад
@@SmartHomeJunkiein building blocks I see only And, Not and Or
@SmartHomeJunkie
@SmartHomeJunkie 4 месяца назад
@@rafdijk In the Then Do section there is If Then when you click on Add Building Block.
@Christiaanammeraal
@Christiaanammeraal 7 месяцев назад
2500 watt isn’t enough for my washer. 😢
@TheDanielsherer
@TheDanielsherer 4 месяца назад
Shelly sells devices that can support higher wattages but some require wiring instead of just "plugging-in". Additionally, there are competitors, including Sonoff, Feit and others that might fit your use case.
@OnkelTora
@OnkelTora Год назад
"Downloading is free"..."Please enter at least €3"... okay...
@SmartHomeJunkie
@SmartHomeJunkie Год назад
I'm sorry, but I had to change the conditions after a while. Did you read the note in the description?
@Videxthebest
@Videxthebest Год назад
If you want to make this you have to pay him beacuse "the video would be too long" to show how he made the dashboard😔
@SmartHomeJunkie
@SmartHomeJunkie Год назад
Any idea how much time it costs to create a video like this? I guess not. Creating the dashboard is really a last simple step in this video that most people can do themselves. The template sensor is the difficult part that is perfectly explained in this video. You can download the code to save yourself time. That has value.
@chunkster29
@chunkster29 Год назад
You say the code is free but wants to charge me €2
@SmartHomeJunkie
@SmartHomeJunkie Год назад
Yes, the conditions have changed over time.
@chunkster29
@chunkster29 Год назад
@@SmartHomeJunkie fair enough was just wondering if some was wrong on my side
@SmartHomeJunkie
@SmartHomeJunkie Год назад
No sorry. See the message in the description as well. I hope you can still get it to work. If not, contact me on Discord.
@hummmingbear
@hummmingbear Год назад
Both washer and dryer are huge inductive loads (The motors). The ratings for Amperage are *not* for inductive loads, but resistive loads. Even a 1-2A inductive load can eventually kill the tiny relays in a small smart plug. These devices will burn out, this is really dangerous, you should pull your video. Don't trust me, search around, many people (including myself) found this out the hard way.
@firstname2072
@firstname2072 Год назад
As an electrical engineer I can tell you that you just spouted absolute rubbish lol
@hummmingbear
@hummmingbear Год назад
@@firstname2072 then you have no idea what you're talking about. The motors produce inductive loads while they spin, you can look up both the inductive rating and resistive rating for these devices, the Shelly's are not rated for the inductive loads that are produced. Look it up and learn something
@hummmingbear
@hummmingbear Год назад
@@firstname2072 here Mr. Smart Electrical Engineer, look at the spec sheet. Shelly is only rated for 8A inductive loads, and the Sonoffs are even lower: www.shelfkey.com/DataSheets/65552888.pdf
@hummmingbear
@hummmingbear Год назад
@@firstname2072 Keep in mind, large inductance motors will consume nearly double the running current during startup. Ie, a 15amp motor may surge 30amps when starting. You generally want a contactor for such loads. Search around and find multiple stories where these are fried when using them for inductive loads. You should know better if you're an "Electrical Engineer" as you state
@firstname2072
@firstname2072 Год назад
@@hummmingbear I'm not disputing a higher inrush current.
@sumnaopraymee1206
@sumnaopraymee1206 Год назад
thanks I tried to follow you but my template is not working Not sure if the unique_id is fixed or not ? - name: "Washing Machine Expected Time Left" unique_id: 1afa107f-e93f-4665-a3f1-25a51c8c4981
@SmartHomeJunkie
@SmartHomeJunkie Год назад
You can use whatever unique-id as long as it's unique in your setup. If you copy the code from the download file it should work. Also, make sure you do not have other template sensors defined in your sensors.yaml or configuration.yaml. They should all be in the templates.yaml if you use a templates.yaml file.
@maromaro503
@maromaro503 Год назад
Thanks!
@px3m
@px3m Год назад
Thanks for the great video! You say several times that the code download is free, but it doesn't appear that it is as there's a minimum price. Is that intentional??
@SmartHomeJunkie
@SmartHomeJunkie Год назад
Yes It is. I explained that in the description.
Далее
Лайфхак с колой не рабочий
00:16
Просмотров 361 тыс.
How to use Trigger IDs in Home Assistant - Tutorial
13:15
Which water gun won??
0:30
Просмотров 76 млн
NEGA XECHKIM LAYK BOSMAYDI
0:14
Просмотров 2,7 млн