Hello,
Thank you for this component @jd89.
I also ran into the same issues already described above but I want to add how I got the localKey and devID.
I knew from the beginning that a rooted phone is needed. I still got my Nexus5 that runs CM15 and it does not have root but the TWRP. So, this is how it also works:
- install and setup the Vacuum in Roborock App.
- once everything works restart into recovery mode. In the
Advanced
menu there is aTerminal
option. - run the Terminal and navigate to
/data/data/com.roborock.smart/files/rr_cache/
- copy the
rr_tuya_xxxx
to in/Downloads/tuya.gzip
- make sure to chmod to 644 because default only the root can read.
- after this you can restart the phone and attach a USB cable to copy the file to the computer and extract the information.
On my side, once I added the HACS to the HA after the Restart there was still not Roborock integration until I added the roborock:
line to configuration.yaml
.
I run the HA as a NUC + UIbuntu + Supervisor + etc so to add the NPM I went through the Portainer Add-on -> Containers -> homeassistant -> console and then ran, as already described:
apk add --update nodejs npm
I do not know the philosophy behind the Custom Components and Add-ons but maybe there is a way to create a whole in one Add-on for the Roborock - Custom Component. I have no idea what I am talking about.
I do have a question. This component only defines an Entity
but no Device
?
At least in my case:
Thank you.