Drying machine #40
Replies: 12 comments
-
Hey @rogodra, I added basic support for dryers in #8, based on the API response you posted. I was only able to test this in unit tests, so please upgrade to the latest version in HACS and let me know how it works. Also, I don't really know what the different number values mean in the response, so feel free to open a PR with better parsing if you know more about each value. You can see the current parsing here: https://github.com/ofalvai/home-assistant-candy/blob/main/custom_components/candy/client/model.py#L120 |
Beta Was this translation helpful? Give feedback.
-
Hi, thanks for your work! This integration saved me a lot of time. I've recently bought a tumble dryer and added it to ha with the latest version without problem. I will keep testing it trying to identify those values. If I get something I'll try to create a PR. |
Beta Was this translation helpful? Give feedback.
-
Hi, I've found a couple of missing parameters and have them working on my local installation. I will add them to a PR but its my first home assistant custom_component coding so i need a hand. How can i run the tests? Is it neccesary to install the full dev env of home assistant or can i install some dependencies and run them? I've found a couple of templates that install a requirements.txt in order to test but i dont see the same structure here. Thanks and sorry if im asking something stupid 😅 |
Beta Was this translation helpful? Give feedback.
-
@thorin8k if you only want to run the unit tests, you need to install some packages from If you want to load the whole component into Home Assistant though, then the best idea is to set up the full dev env. |
Beta Was this translation helpful? Give feedback.
-
FYI @terminet85 extended the tumble dryer support in #22. I'll keep this issue open for further discussion and improvements. |
Beta Was this translation helpful? Give feedback.
-
Thanks! i was working on very similar things so i will merge those changes and see if something can be reused. |
Beta Was this translation helpful? Give feedback.
-
I cannot full understand meaning of DryingManagerLevel and DryLev. Do you have more knowledge about it, @thorin8k ? I keep to test and investigate... Dry levels
|
Beta Was this translation helpful? Give feedback.
-
I am trying to identify the same. I keep testing while using the dryer but i think i will try to open the apk and see if there is something that can guide us. I'll keep you posted if i find something. |
Beta Was this translation helpful? Give feedback.
-
I've just created a PR with some little improvements i've been testing at home (#29). I'm still searching in the simply-fi app code but i think the DryLevel works as folowing:
It's a theory because i wasn't able to test it. In the PR i have created a specific sensor to track DryingManagerLevel so i will trace the value changes of it and see. Let me know if you want me to send you the simply-fi app decompiled code. (its a little mess but understandable) |
Beta Was this translation helpful? Give feedback.
-
Thanks @thorin8k for the improvements! I'll leave the PR open while you test the changes in practice, let me know about the results! |
Beta Was this translation helpful? Give feedback.
-
Thanks for your effort, but doesn't sounds so good. I'm expect that DryingManagerLevel and DryLev are at the same number when cycle is finished. But it isn't. DryingManagerLevel is always +1 from DryLev... and I dunno why. Will be better to wait further investigations prior to make a PR with a new sensor... my two cents |
Beta Was this translation helpful? Give feedback.
-
Keep some reverse. Looking apk:
So is correct. DryLev keeps the selected dry program and can be from 1 to 4. |
Beta Was this translation helpful? Give feedback.
-
Hello,
I have a Candy Simply-fi dryer, but the integration fails.: "Error communicating with API: KeyError('statusLavatrice')"
The start of the chain is different, change statusLavatrice to statusTD. As well as other parameters, I can collaborate with tests.
I attach the extracted data with ./simplyfi IP KEY read
{
"statusTD":
{
"StatoWiFi":"1",
"StatoTD":"1",
"CodiceErrore":"0",
"Pr":"1",
"PrPh":"0",
"RemTime":"150",
"DryLev":"2",
"Time":"0",
"Rapido":"0",
"Opt1":"1",
"Opt2":"1",
"Opt3":"0",
"Opt4":"0",
"Opt5":"0",
"Opt6":"0",
"Opt7":"0",
"Opt8":"0",
"Refresh":"0",
"CleanFilter":"0",
"WaterTankFull":"0",
"DryingManagerLevel":"1",
"DelVal":"0",
"DoorState":"1",
"RecipeId":"NULL",
"CheckUpState":"0"
}
}
Thanks!
Beta Was this translation helpful? Give feedback.
All reactions