I got a Dreametech L10s Ultra yesterday and was very impressed! It's quite capable and has a lot of nice features.
I tried it out on day 1 using the Dreametech app and I didn't upgrade the firmware on the L10s Ultra in case I want to switch to Valetudo some day. But now that I know how to use it and I'm sure it's working fine, I want to integrate it with Home Assistant. There's a Xiaomi Mii integration and a Dreame Vacuum HACS integration. Configuring either one of them seems to require an account on Xiaomi Mi Cloud.
I installed the Xiaomi Home app on my Android and connected my L10s Ultra to it - so the L10s is now controllable via the Xiaomi Home app. Then I set up an account on Xiaomi Mi Cloud, but the cloud account says I have no devices. I can't find a way to tell the Xiaomi Home app to inform Xiaomi Mi Cloud that I have a device.
Does anyone have any suggestions either how to get my L10s to appear in Xiaomi Mi Cloud, or to integrate it with Home Assistant another way (other than Valetudo - I want to do that, but it's beyond my skillset right now)?
Thanks for any tips or guidance.
Iirc Xiaomi has different data centers, like eu, cn, us. You have to pick the correct one when setting up the HA integration of your choice. Hope that helps
They do, and I chose "us" because I'm in the "US" country in the "us" data server. But maybe that's not what I need to select?
Seems about right. I honestly don't remember how I did it and now I switched to Valetudo.. I found this link in my notes, may it helps https://community.home-assistant.io/t/missing-robot-model-dreame-z10-pro-laser-vacuum-cleaner-in-xiaomi-integration/423558
This seems to be a step in the right direction, I installed the Xiaomi Miot Auto integration and during configuration it found my L10s Ultra! However, it failed to add the it as a device due to this error:
So I found an explanation that there are sometimes problems discovering devices across subnets, and my L10s is in a different subnet than my Home Assistant. This seems odd to me, though, because Xiaomi Miot Auto saw my L10s and even knew it's IP address - but perhaps that's TCP and the problem is that UDP can't cross subnets? The article says there are 2 ways to possibly overcome the cross-subnet issue: put the devices on the same subnet (currently not an option for me), and "configure IP masquearding on the outgoing routing interface for the subnet where the MI device resides." With GPT's help, I tried to add IP Masquerading (which I guess is just NAT), but it's not working. I'm pretty confident I did it wrong. Can anyone help me configure my pfsense so that my L10s on one subnet can be discovered by Xiaomi Miot Auto on the other subnet?
Networking stuff was my first thought, too, when starting to read your log. Unfortunately i can't help you with that (my HA is in host mode as are all the IoT-devices), but I think I can explain why it was able to get the IP: It received it via the API from Xiaomi. Good luck figuring out the networking :/
Thanks, I'll take a look.