1.0.2 • Published 8 months ago

homebridge-yandex v1.0.2

Weekly downloads
-
License
Apache-2.0
Repository
github
Last release
8 months ago

Warning

Plugin is in BETA, so it can contain bugs

Homebridge Yandex

Homebridge plugin for Yandex Home

Installation

NPM

npm i homebridge-yandex

Build yourself

  1. Install dependencies

    npm install
  2. Build Plugin

    npm run build
  3. Link To Homebridge

    npm link
  4. Start Homebridge

    homebridge -D

Setup

  1. Create app in Yandex API at https://oauth.yandex.ru/client/new
    1. Enter any name
    2. Select platform Web services (first)
    3. Select all data with IoT (iot:view, iot:control)
  2. Set Client ID and Client Secret in config.json:
    {
      "name": "Yandex SmartHome",
      "platform": "HomebridgeYandex",
      "interval": 20000,
      "action_timeout": 1500,
      "client": {
        "id": "<CLIENT ID>",
        "secret": "<CLIENT SECRET>"
      }
    }
  3. Set redirect URL to: http://<server ip>:6767/auth/callback
  4. Then start Homebridge server and go to url and authorize with your YandexID: http://<server ip>:6767/auth

Known issues

  • When light is RGB and saturation capable, and you set white, the light will be dim
  • With Docker doesn't work init devices (???)

Current Support list

Devices:

  • "devices.types.light"
  • "devices.types.socket"
  • "devices.types.switch"
  • "devices.types.thermostat"
  • "devices.types.thermostat.ac"
  • "devices.types.media_device"
  • "devices.types.media_device.tv"
  • "devices.types.media_device.tv_box"
  • "devices.types.media_device.receiver"
  • "devices.types.cooking"
  • "devices.types.cooking.coffee_maker"
  • "devices.types.cooking.kettle"
  • "devices.types.cooking.multicooker"
  • "devices.types.openable"
  • "devices.types.openable.curtain"
  • "devices.types.humidifier"
  • "devices.types.purifier"
  • "devices.types.vacuum_cleaner"
  • "devices.types.washing_machine"
  • "devices.types.dishwasher"
  • "devices.types.iron"
  • "devices.types.sensor"
  • "devices.types.pet_drinking_fountain"
  • "devices.types.pet_feeder"
  • "devices.types.other"

Capabilities:

  • "devices.capabilities.on_off":

    • on
  • "devices.capabilities.color_setting":

    • temperature_k
    • hsv (currently works so-so)
    • rgb
    • scene
  • "devices.capabilities.range":

    • brightness
    • channel
    • humidity
    • open
    • temperature
    • volume
  • "devices.capabilities.mode":

    • cleanup_mode
    • coffee_mode
    • dishwashing
    • fan_speed
    • heat
    • input_source
    • program
    • swing
    • tea_mode
    • thermostat
    • work_speed
  • "devices.capabilities.toggle":

    • backlight
    • controls_locked
    • ionization
    • keep_warm
    • mute
    • oscillation
    • pause
  • "devices.capabilities.video_stream":

    • get_stream

Todo

  • Better OAuth
  • Publish to NPM (BETA)
  • More devices and capabilities
  • Go to 1.0.0
  • Publish to NPM
1.0.2

8 months ago

1.0.0

9 months ago

1.0.0-beta.1

10 months ago

1.0.0-beta.0

1 year ago