-
Notifications
You must be signed in to change notification settings - Fork 207
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
Vacuum cleaner #9
Comments
I also hope it :) |
I got a vacuum yesterday that was run off smart life. I got too keen to get this going so I have produced this. Likely have some code thats not needed but it got my vacuum working. Weirdly enough, HA doesnt seem to be doing anything when you call the start and pause services for Vacuums. I don't think their is anything wrong with my implementation as I cant even see the function get called. @tsutsuku. I hope this helps even a little to getting this into this repo :) I will try and clean this up a bit when I have time but it works. :)
|
@frankosborne Thank you for your code. |
@frankosborne vacuum cleaner is supported in v1.3, which released today. |
The Readme is missing the information about these device types |
How can i put this information on my tuya v2? Mine vaccum get just 3 entities..... could you help me? |
@freitas666 this code is in v1.3 and later versions. So what can I help you with? |
Hello @tsutsuku ... well i put my vaccum robot on tuyav2 but for me show just one entity with 3 attributes.... and this code looks like more attritubutes... how can i use this code? |
According to current vacuum code """Flag supported features."""
supports = 0
if DPCODE_PAUSE in self.tuya_device.status:
supports = supports | SUPPORT_PAUSE most vacuums doesnt have that attribute or doesnt report it at all. (checked via virtual devices as well). But paused definitely supported on devices and can be set. Also that status reported in current state via mode status={
'power_go': False,
'mode': 'paused',
'direction_control': 'forward',
'status': 'charge_done',
'electricity_left': 100,
'seek': True,
'suction': 'strong',
'clean_record': '00000000184',
'clean_area': 0,
'clean_time': 0,
'cistern': 'low'
}, can that be changed please to check supported modes and not status, as i strongly believe than that much closer to true/real values/statuses.
If you need more info please let me know. |
@timota Welcome to create a PR, and I will review it. |
i'm not a developer but will try my best. |
This is wonderful, I got my robot vacuum cleaner to work in Home Assistant now, thanks! Is it possible to extend the capabilities of the vacuum seen in the Home Assistant entity somehow? Now I can see only some of them like status, battery, start, stop but from Tuya IoT portal I can see more more parameters that can be set:
Also: The Tuya Smart mobile app is able to show and reset the map where the vacuum has been cleaning and according the API documentation it should be possible to pull and reset the map also (https://developer.tuya.com/en/docs/iot/fsd?id=K9gf487ck1tlo):
Is this possible to integrate this into Home Assistant entity card? |
Is any plans to add support for Vacuum cleaner ?
Thanks
The text was updated successfully, but these errors were encountered: