Hello
I have a problem, it does not work until the end, the card does not work, the buttons and the selection of rooms, which may be caused by I did according to the instructions
Friends! How to “geolocate” the vacuum cleaner in the form of a list if the coordinates of the rooms are known?
For example, if the robot is in zone [11111, 22222, 33333, 4444, 1] while cleaning, the message “Bedroom” is returned, [55555, 66666, 77777, 88888, 1] - “Living room”, etc.?
Im using black theme (custom) so the font color is changed to white as default.
If you use the standard theme it is black default.
You would have to add (color: white;) to your style…
Thank You @Hellcube
i noticed it after a while a changed color to white. But im strugling still with fan speed button and brushes % values. To be sure, You are using code that You posted here, You have styj02ym and You are using this GitHub - nqkdev/home-assistant-vacuum-styj02ym code to connect to it (maybe You fored it and changed something, or used from another source)? Because i dont know where I have error with that:(
Once again thank You for help.
@Hellcube
I have Xiaomi Vacuum Mop Pro / STYJ02YM i used your code and it looks amazing.
But I have problem with using “Choose room option” neverthless what I choose it starts cleaning whole flat. If i go to Configuration->Scripts and run single script It goes to selected room (had to test some numbers to get correct rooms but now it’s ok)
Also I am not sure but looks like 1,2,3 icons do nothing.
Edit: Ok I have managed this problem (propably wrong YAML formatting - no errors but problems).
Now it works
Did an upgrade of Valetudo to latest version 2021.02.0 on my 1st Gen vacuum and many things related to showing map were not working anymore and required many changes in HA configuration. I spent a lot of time on this, so sharing result to save some time for others.
I managed to get vacuum card working again plus I now have zone cleanup I always wanted.
On vacuum setup Valetudo MQTT settings with “Homeassistant Map Hack” turned off.
In HA config add MQTT vacuum:
vacuum:
- platform: mqtt
name: "Servantess"
schema: state
supported_features:
- start
- pause
- stop
- return_home
- battery
- status
- locate
- clean_spot
- fan_speed
- send_command
command_topic: "vacuum/servantess/command"
state_topic: "vacuum/servantess/state"
send_command_topic: "vacuum/servantess/custom_command"
set_fan_speed_topic: "vacuum/servantess/set_fan_speed"
fan_speed_list:
- min
- medium
- high
- max
Install ICantBelieveItsNotValetudo HA addon and configure accordingly. This addon will generate map image received from vacuum on map_data MQTT topic and publish it on map topic for your camera.
I’ll also try combining this card with the interactive map one (Xiaomi Vacuum Interactive Map Card): That combination of both would be the definitive card for vacuums.
BTW since you own a xiaomi STYJ02YM did you find the service call necessary to automatically repeat the vacuum cycle once it finishes?