-
Notifications
You must be signed in to change notification settings - Fork 328
Add Mammotion Yuka mini 600 device type #3523
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Add Mammotion Yuka mini 600 device type #3523
Conversation
for more information, see https://pre-commit.ci
|
Do you have power history for this device when having it connected to smart plug and running for a few charging cycles. |
|
Do you want me to redo measurements of the full cycle from 0 to 100% or just measurements when the robot is plugged in and remains at 100%? |
No you don't have to redo measurements, but I was referring to the HA history. When you still have the smart plug connected to the mower you can maybe share some history stats of several runs from the mover. |
|
Yes, here is what I have: |
|
Hi, |
|
Thanks, these states seem something from your particular integration. Each
So you should have a look into the state of Btw I just worked on adding a sample profile using composite strategy based on your figures. |
|
Oh nice, thanks. I will change it |
|
It's translated in the frontend for you ;-). Could you also create CSV from the raw state values for the lawn_mower entity? edit |
|
hmm that's a pity as there seems only 3 times Because mode only thing we can do is by looking at the previous state. |
|
I also have this sensor, is it possible to use it ? |
|
That sensor looks better, but than I consider it a bug in the integration, as the mower itself should definitely have Can you also share some information about this But the best solution would be the lawn_mower state is fixed in the integration, so I suggest to submit an issue for that in the github tracker for that integration. |
|
I use this custom integration: https://github.com/mikey0000/Mammotion-HA Indeed, I will see if I can make a pull request or just open an issue. |
|
Thanks, I already found the integration and prepared a fix, with #3537.
See the PR for the updated model.json. |
|
Bug in the mammotion integration would be somewhere here: Probably they need to check for charge_state first and when it is higher than 0 return DOCKED early. This is the code for the binary sensor (charging yes/no) |
…n-yuka-mini-600-device-type
|
LGTM! |
|
This doesn't seem to work 😢 |
|
I didn't watch carefully after you made modifications to the profile, but there are a few things not right. See here what changes needed to be done: This matches the profile now I worked out and wrote tests for, as seen here: https://github.com/bramstroker/homeassistant-powercalc/blob/master/tests/testing_config/powercalc/profiles/test/lawn_mower/model.json |
|
The "Francis Power" entity in my screenshot is the one provided by Powercalc. We can see that the power is always 11.8W, while it is 2.15W during mowing and it should also vary during charging. |
|
@trandbert37 Did you see/read my comment? |
|
Oh sorry, it works during charge now. Thanks :) |
|
Ah sorry, I have put in wrong figures in the profile. Could you try editing locally first until the profile works 100% all right. You should be able to edit the file: You can also put the file in custom profile directory.
That should override the downloaded profile. As instructed here: https://docs.powercalc.nl/library/library/#custom-models |
|
Noting this, the Paused status matches the apps behaviour if it is mid mow, the integration exposes two more reliable sensors, charging and Device Position Type (CHARGE_ON) https://developers.home-assistant.io/docs/core/entity/lawn-mower/ explicitly states DOCKED as end of work, |
Thanks @mikey0000, makes sense. I considered it a bug in the integration, but reading the HA docs you are right it explicitely states the mower must be done mowing. |








Device information
https://fr.mammotion.com/products/robot-tondeuse-yuka-mini?variant=50737233035553
Home Assistant Device information
YUKA mini 600 (YUKA mini 600)
par Mammotion
Checklist
Additional info