I made a new integration for viewing the map from Tuya robot vacuums.
I have only tested it with the Lefant M1 vacuum, so help testing it out will be greatly appreciated.
Hi, is this supposed to work with Lidar devices only, or would âmotion basedâ maps be exposed with the same Tuya API? (Eufy G30 Edge user here).
Thanks!
Each type of robot vacuum handles map data differently, so Iâm not sure if gyroscope based robot vacuums would work with the API currently used. However, I do plan to add support for them as a short-medium term goal.
Will this work with the local tuya integrations? Iâm having issues with the Tuya Developer IOT Core license expiring, so I no longer see the map image in home assistant.
Youâre able to renew your license for free for up to 6 months at a time I believe. I donât support local connectivity yet because of the unique and complicated way map data is transferred/stored, however it is in my queue.
Looks like an interesting integration. I have just tried to add a Lubluelu vacuum but get âAn unknown errorâ occured when trying to configure the integration- any advice?
Tested and working with lubluelu SL60D - might want to update your compatibility list on Github - I donât have an account to post.
For anyone else who is totally in the dark with the Tuya IoT platform etc. This is what I did.
1- Install the Tuya Integration in HA (via HACS) and get it working - simple - uses same credentials as you use to log into the Smart Life App. Now the vac works in HA and you can add a card, with the custom Vacuum card (again , from HACS).
2- create an account on https://platform.tuya.com/
3 - click cloud, then create a cloud project, making sure your chosen server region matches the one you set up your Smart Life App with. Accept defaults for everything else apart from a name for your project.
4 - Devices, Link App Account, then follow the instructions (open teh app, Me, settings, hti the bar code scan icon top right). Your vac will be added as a device.
5 - whilst still in your Project go to the Service API Tab and âGo to Authoriseâ and add âSweeping Robot Open Serviceâ - this was crucial.
6 - in HA HACS install this Tuya Vacuum Maps" add on, restart as usual.
7 - in Devices add the integration for this card, and you then get the credentials asked for from Tuya platform in your cloud project tab - 2 from one tab, one from the device tab.
8 - finally, in your custom vacuum card, under optional âvacuum cameraâ select the new camera called âvacuum cameraâ or similar and bingo! your large robo vac graphic will be replaced with your room map.
Hello. The API for managing robot vacuum cleaners is not present in the âstandardâ list. To make it all work you need to go here:
At this point, in the âAuthorized Projectsâ tab click on the âAdd Authorizationâ button and connect the project created previously. At this point in the âMy Subscriptionsâ tab you will find the new API called âSweeping Robot Open Serviceâ and you can finally configure the integration in HA.
Did that, same nonetype error. Prior to adding âSweeping Robotâ I just got the first error. After adding I got the 2nd error instead. My Tuya API logs show success on their end.
Error occurred while validating: Request failed, unknown error: {'code': 28841101, 'msg': 'No permissions. This API is not subscribed.', 'success': False, 't': REDACTED, 'tid': 'REDACTED'}
Error occurred while validating: 'NoneType' object is not subscriptable
Iâm trying to get this to work with my new b0bsweep vacuum. I supply the required items in the setup and receive an âUnknown Errorâ message. I check the logs and I see:
This error originated from a custom integration.
Logger: custom_components.tuya_vacuum_maps.config_flow
Source: custom_components/tuya_vacuum_maps/config_flow.py:68
integration: Tuya Vacuum Maps (documentation, issues)
First occurred: 2:20:16 PM (3 occurrences)
Last logged: 2:29:20 PM
Error occurred while validating: Request failed, unknown error: {âcodeâ: 28841101, âmsgâ: âNo permissions. This API is not subscribed.â, âsuccessâ: False, âtâ: 1760552416435, âtidâ: â9963503aa9f311f0a48d8207bb2252caâ}
Error occurred while validating: âNoneTypeâ object is not subscriptable
I have ensured that the âSweeping Robot Open Serviceâ API has been authorized:
Did anyone that reported the uknown error issue find a solution? I am seeing the same problem having tried to configure the integration with a Airrobo P20 vac.
Exact error
This error originated from a custom integration.
Logger: custom_components.tuya_vacuum_maps.config_flow
Source: custom_components/tuya_vacuum_maps/config_flow.py:68
integration: Tuya Vacuum Maps (documentation, issues)
First occurred: 2 January 2026 at 21:35:00 (3 occurrences)
Last logged: 07:13:36
Error occurred while validating: âNoneTypeâ object is not subscriptable
I have checked, and the Sweeping Robot Open Service API is configured in the Tuya Cloud App