ha-sox
                                
                                
                                
                                    ha-sox copied to clipboard
                            
                            
                            
                        A Home Assistant integration to turn your vacuum into an audio player.
SoX component for Home Assistant
A Home Assistant integration to turn your vacuum into an audio player.
Installation
- Install firmware for your Xiaomi (Roborock) vacuum - use pre-build firmware or build it yourself with 
--enable-sound-serveroption. - Install the integration to Home Assistant: use HACS or copy the contents of 
custom_components/sox/to<your config dir>/custom_components/sox/. 
Configuration
- Add the following lines to your Home Assistant's 
configuration.yamlfile: 
media_player:
  - platform: sox
    name: sox
    host: <server hostname or IP address>
    port: 7777
- Restart Home Assistant
 
Configuration Options
- 
name: (string) (Optional)
This is the name you would like to give to SoX media player.
Default value:
sox - 
host: (string) (Required)
This is the hostname, domain name or IP address of your vacuum.
 - 
port: (string) (Optional)
This is the port that the SoX player on your vacuum can be reached at.
Default value:
7777