1.0.2 • Published 2 years ago
homebridge-yandex v1.0.2
Warning
Plugin is in BETA, so it can contain bugs
Homebridge Yandex
Homebridge plugin for Yandex Home
Installation
NPM
npm i homebridge-yandexBuild yourself
Install dependencies
npm installBuild Plugin
npm run buildLink To Homebridge
npm linkStart Homebridge
homebridge -D
Setup
- Create app in Yandex API at https://oauth.yandex.ru/client/new
- Enter any name
- Select platform
Web services(first) - Select all data with IoT (
iot:view,iot:control)
- 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>" } } - Set redirect URL to:
http://<server ip>:6767/auth/callback - 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_khsv(currently works so-so)rgbscene
"devices.capabilities.range":brightnesschannelhumidityopentemperaturevolume
"devices.capabilities.mode":cleanup_modecoffee_modedishwashingfan_speedheatinput_sourceprogramswingtea_modethermostatwork_speed
"devices.capabilities.toggle":backlightcontrols_lockedionizationkeep_warmmuteoscillationpause
"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