ILIFE V3x vacuum cleaner integration

Hi guys,

I’m trying to figure out if it is possible to integrate ILIFE V3x vacuum cleaner.

The vacuum has wifi connection and can be controlled via: https://play.google.com/store/apps/details?id=com.ilife.home.global

But I cant find any integrations for ILIFE and actually no info about integrating via wifi with HA.

Has anyone tried to do that?

2 Likes

I too have been looking into integrating this vacuum in homeassistant, integration in google home works well for now but I would love to add the status of the vacuum as well as some activation switches to enable te vacuum in my dashboards.

I’m going to see if maybe iLife can help me a bit further maybe they have some future integration planned for HA. Will update soon

I have some progress here. I’ve managed to connect the vacuum cleaner via mitmproxy and decrypt the communication with the cloud. It turend out that a MQTT protocol is used. After some DNS modifications I even managed to forward the traffic to my Mosquitto broker. And now the fun part begins: I have to discover the protocol of content of MQTT messages. The vaccum cleaner subscribes only to one topic:

/sys/[productKey]/[deviceName]/thing/event/+/post_reply

but I think the communications goes through messages like:

/sys/[productKey]/[deviceName]/thing/model/up_raw�…�…H…�

The API used is partially described here: Device properties, events, and services but not completely, e.g. the vaccum cleaner sends such message every 10 seconds:

/sys/[productKey]/[deviceName]/thing/lan/prefix/get{“id”:“30”,“version”:“1.0”,“params”:“{}”,“method”:“thing.lan.prefix.get”}

the cloud replies with:

/sys/[productKey]/[deviceName]/thing/lan/prefix/get_reply {[some data here]}

and I do not yet know howto answer (especially as it does not subscribe to /sys/[productKey]/[deviceName]/thing/lan/prefix/get_reply topic)

So if anyone has experience with Alibabacloud every help would be appreciated.