From abd78fd8d474b8649f96e0f6acd5901fae19dc7b Mon Sep 17 00:00:00 2001 From: Emeric Date: Thu, 18 Oct 2018 13:47:03 +0200 Subject: [PATCH] Update media player frontier (#6921) --- .../media_player.frontier_silicon.markdown | 25 +++++++++++++------ 1 file changed, 18 insertions(+), 7 deletions(-) diff --git a/source/_components/media_player.frontier_silicon.markdown b/source/_components/media_player.frontier_silicon.markdown index c7887e9c8b7..9ab51e42d40 100644 --- a/source/_components/media_player.frontier_silicon.markdown +++ b/source/_components/media_player.frontier_silicon.markdown @@ -37,11 +37,23 @@ media_player: host: IP_ADDRESS ``` -Configuration variables: - -- **host** (*Required*): The host name or the IP address of the device. Defaults to 192.168.1.11. -- **port** (*Optional*): The port number. Defaults to 80. -- **password** (*Optional*): PIN code of the Internet Radio. Defaults to 1234. +{% configuration %} +host: + description: The host name or the IP address of the device. + required: true + default: 192.168.1.11 + type: string +port: + description: The port number of the device. + required: false + default: 80 + type: integer +password: + description: PIN code of the Internet Radio. + required: false + default: 1234 + type: string +{% endconfiguration %} Some models use a separate port (2244) for API access, this can be verified by visiting http://[host]:[port]/device. @@ -80,7 +92,7 @@ is based on [tiwillam]'s fsapi project. Special thanks to both developers, this ## Notes and Limitations

-The Frontier Silicon API does not provide a multi-user environment. There is always a single user (session) controlling a device, which means that once Home Assistant connects to a device all other sessions will be invalidated. This renders the usage of [UNDOK] almost impossible, as the Home Assistant component polls the device state every 30 seconds or issues a command by creating a new session. +The Frontier Silicon API does not provide a multi-user environment. There is always a single user (session) controlling a device, which means that once Home Assistant connects to a device all other sessions will be invalidated. This renders the usage of [UNDOK] almost impossible, as the Home Assistant component polls the device state every 30 seconds or issues a command by creating a new session. *If you want to prevent Home Assistant to auto connect to your device, simply change the PIN code of the device to something else than: 1234*

@@ -94,4 +106,3 @@ The Frontier Silicon API does not provide a multi-user environment. There is alw [UNDOK]: http://www.frontier-silicon.com/undok [flammy]: https://github.com/flammy/fsapi/ [tiwillam]: https://github.com/tiwilliam/fsapi -