@abmantis and @valor I have a Whirlpool WTW8127 Washer and WED8127 Dryer. I have minimal coding skills, but do have a lot of free time to run tests and hopefully move this integration forward. How can I get started?!
I have updated the Postman Collection to work properly now. Here is how to run this.
- Under Variables of the Collection, add your username and password
- Run ‘Get AuthToken’
- Run ‘Get Auth Token - Refresh’
- Run ‘Account - getUserDetails’
- Run ‘Account - List appliances’
Running in this order will populate the account id variable, and the SAIDs for the washer and dryer (in my case). Then you can run the ‘Appliance - Washer details’ and ‘Appliance - Dryer details’.
You can import the Collection from this link: here.
Hey all. Great thread! So Ive been through the setup numerous times using HACs install and manual install of https://github.com/jdeath/maytag_dryer_homeassistant and no matter what I do I get Data Update Failed when I add them
Ive made a new Maytag account and even tried using a secondary household account with no luck. Any ideas?
I did try the newer linked https://github.com/mkmer/whirlpool_laundry but the readme is empty and I cant even get it installed. HACs says it is malformed and I did try moving it in manually but I got stuck at trying to run the python script manually on my Pi running home assistant (the code sort of looks like it needs to be run in place)
I am very much still a noob on HA so Im probably missing something obvious. Thanks in advance!
It means something went wrong getting the data. Perhaps there is a field your washer/dryer doesn’t support. Could be a million reasons as the code is pretty crappy! Your login could also be incorrect
If have dryer, go into the sensor.py and comment out lines 165-193 (keep 164)
If have washer, go into sensor.py and comment out lines 362-403 (keep 361)
restart home assistant
That should only get the applienceId. If it doesn’t work, then it is probably a password or applienceID issue. Make sure your password and SAID are in quotes.
Ahhh I see what you are cooking there now. Went through and commented out all the lines which does look like it should just remove those attributes but it breaks them both and they end up now as entity not available.
Triple checked my email as user and PW (changed it again to try). Tried email in caps, email in lowercase, SAIDs, user and email are all in quotes.
This is really weird
Added my configuration.yaml
Even tried moving the SAIDS up to the line. No dice. They were originally on the line below with -
opps. That is because I never initialized them! Instead of commenting out, set them = None instead of the data.get…
I think SAID needs to be on a separate line as stated in the documentation.
then if that works, we can try to figure out what field is causing issues.
BINGO! We have Id’s You would not believe how much time I wasted on this over the weekend. I am in your debt. I’ll add the few items Ill use and play some more with getting it visible and hopefully being able to make an Alexa notification when cycles are done.
Much thanks
Great!
You have two options. Add in the lines you set to = None gradually, until you get one that stops working.
Or you could set the line that says:
self._applianceId = data.get(‘applianceId’)
to
self._applianceId = r.json()
then all the json should be in your attributes. then you can try to figure out what field does not exist. Wish there was an easier way.
The documentation shows how to make a home assistant app notification. Shouldn’t be too hard to make it trigger an alexa one.
I am just fine with trooping through and setting the ones that seem a bit obscure to none and work up/down. I can do just about every combination in far less time than I wasted before posting Really excited. Thanks for the work on this.
Works perfectly. Still havent figured out what signals are angering the works so basically removed all the ones I really dont need to visualize or notify and poof
So nice. Thanks again. Hope this helps future folk as Im sure I wont be the last to have this issue.
I should add support for the region selection (US/EU) to the integration on HA. @jaaem after that, do you want to give a shot at getting the integration updated with washer/dryer and ready on HA?
It would be nice to have the current Whirlpool integration also work for washer/dryers.
@abmantis happy to help with updating the existing whirlpool integration. Let me know what you need me to do!
I think you can start by testing out the current sport for washer/dryer in the library: https://github.com/abmantis/whirlpool-sixth-sense
You can check the README for some basic usage examples, but feel free to PM me if you have some question.
Basic stuff should be there already for washer/dryer, along with push updates from the cloud. If there is already everything you need on the library side, the next step is adding the platforms (sensors, switches, etc) to the Whirlpool integration. I would suggest starting with a sensor platform, and checking the current climate platform on the integration for some inspiration.
I just used https://github.com/mkmer/whirlpool_laundry and it worked great for my Maytag washer and dryer in the US. If I get some time I will make a pull request to make it HACS compatible. The confit flow is so smooth. Thanks!
@dancwilliams : Glad you found this work - it was started from jdeath version, upgraded to have config flow and automatically detect all SAIDs on your account (say “easy config”). It only works in the US.
I’m looking to add this support to abmantis version whirlpool integration where “hopefully” we will have a fully supported built-in solution for all washers/dryers/climate control devices connected to a users account.
Did you get the new version working? Or the old one? I’d love to get this one going as well.
I’ve read a few pages and threads but i can’t figure out how to install it. If it isn’t through HACS, what’s the install process? The readme is pretty empty.
For those of you wanting to know how to do this:
Create a folder within your custom components folder called “whirlpool_laundry” then create a new file for each file (except the readme) in this folder for every file at the github repo. I like clicking the “raw” option on each file in github then just hit ctrl-A to select all and ctrl-c to copy. Then Ctrl - v over on HA to paste the information over to the file you created. make sure the file names are the exact same and that you click save after each and every one. Also make sure you create a subfolder “translations” and do the same for the file contained in there. After that is done i did a reboot then go to integrations add integration search whirlpool add your credentials and presto your done.
Thanks for your explanation. What i ended up doing was going to custom_components and doing a
sudo git clone https://github.com/mkmer/whirlpool_laundry
And it created the folder and the files in one go. So, that was the good part. The bad part is that authentication isn’t working for me yet. I’m trying go figure out what’s wrong with it.