YandexStation Binding

YandexStation Binding allows you to control music player of the Yandex device, send voice commands and text-to-speech phrases to the device throught unofficial Local API

Changelog

Version 4.0.4-2

  • fix auth header / исправлена ошибка авторизации при получении локального токена (яндекс что-то изменил 22-23 сентября)

Version 4.0.4-1

  • ping every minute to prevent disconnection / пингуем яндекс станцию каждую минуту, чтобы не было дисконнекта / @Pshatsillo
  • get device ip address and token during thing initialization / получаем ip адрес станции и токен при инициализации thing
Old versions for OH 3.x

Version 0.6

  • coverURI has ‘https://’ now
  • change volume channel to Dimmer and control volume from 0 to 10 with step 1

Version 0.5

  • added russian localization

Version 0.4

  • fix NPE when receive empty track id
  • added ability to select voice from list in rule action ‘say text’
  • added new thing actions (player control, volume control)

Version 0.3

  • added Rule Actions:
    • sayText with parameters (whisper, voice, prevent listen)
    • VoiceCommand
  • fix NPE when playerState is null

Version 0.2

  • added things actions to use in rules:

    • sayText
    • voiceCommand
  • fix websocket error 1006 - Invalid BigDecimal Value

Version 0.1

  • initial release

Resources

Download jar:
https://github.com/d51x/org.openhab.binding.yandexstation/releases/download/4.0.4-2/org.openhab.binding.yandexstation-4.0.4-2.jar

Source code:

3 Likes

В новой стабильной версии 4.0.1 не инициализируется биндинг :frowning:

In the new stable version 4.0.1 , binding is not initialized :frowning:

Version 4.0.4-1

  • собрано под OH 4.x, на OH 3.x может не запуститься, используйте предыдущие версии, под OH 3.x больше сборок не будет
  • ping every minute to prevent disconnection / пингуем яндекс станцию каждую минуту, чтобы не было дисконнекта / @Pshatsillo
  • get device ip address and token during thing initialization / получаем ip адрес станции и токен при инициализации thing

Version 4.0.4-2

  • fix auth header / исправлена ошибка авторизации при получении локального токена (яндекс что-то изменил 22-23 сентября)

Вчера утром еще работало, но сегодня перестало. Яндекс изменил проверку хедера авторизации в запросах