Home Assistant Xiaomi Gateway Radio
This is a custom component to play/stop the Network radio in a Xiaomi Gateway
this plays the last played station on the gateway
follow this to get custom radios in the gateway -> http://ximiraga.ru
Follow only one of these installation methods.
Installation and tracking with HACS:
-
You can install this custom component by adding this repository (https://github.com/h4v1nfun/xiaomi_miio_gateway) to HACS in the settings menu of HACS first. You will find the custom component in the integration menu afterwards, look for 'Xiaomi Mi Gateway Radio Media Player'.
-
Set the configuration.yaml
Manual installation:
-
Copy xiaomi_gateway_radio into custom_components
-
Set the configuration.yaml
configuration.yaml example
media_player:
- platform: xiaomi_gateway_radio
host: <ip of gateway>
token: <gateway token>
token is obtained the same way as explained here -> https://www.home-assistant.io/components/vacuum.xiaomi_miio/#retrieving-the-access-token
Contributors: