GithubHelp home page GithubHelp logo

skazi / homebridge-g-on-alice Goto Github PK

View Code? Open in Web Editor NEW

This project forked from g-on-dev/homebridge-g-on-alice

0.0 1.0 0.0 16 KB

Enable Yandex Alice to control your HomeBridge connected devices.

JavaScript 100.00%

homebridge-g-on-alice's Introduction

homebridge-g-on-alice

Enable Yandex Alice access and control your homebridge controlled devices and accessories. Supports Alice on Smartphone, PC, Yandex Station and other Yandex devices.

Features

  • Supports one HomeBridge, running on the same host as this plugin
  • Supports the following HomeKit accessory types: Lightbulb, Outlet, Switch, Fan and Thermostat.
  • This plugin does not have any devices or accessories that are visible from Homekit, and does not need to be added on the Home app.

Supported devices

  • Support for Light Bulbs, Switches and outlets
  • Support for Thermostats
  • Support for Color Light Bulbs and Colour Temperature of white Light bulbs (not yet)
  • Support for Fans (not tested yet)
  • Support for Garage Doors
  • Support up to 100 accessories

Alice device names are the same as the homebridge device names.

This only supports accessories connected via a homebridge plugin, any 'Homekit' accessories are not supported.

HomeKit/Homebridge Devices supported

Native Support

  • Lightbulbs, outlets and switches
  • Dimmable lightbulbs, outlets and switches
  • Colour lightbulbs (not yet)
  • Thermostat
  • Heater/Cooler

Unsupported device types

  • Camera's
  • Eve devices
  • Security Systems
  • Audio and playback systems

Alice Voice Commands

Light bulbs / Switches / Dimmer Switches

  • Алиса, включи device

  • Алиса, выключи device

  • Алиса, установи яркость device на минимум

  • Алиса, прибавь яркость device

Thermostat's and Heater / Cooler's

  • Алиса, установи температуру device на 20 градусов.
  • Алиса, переведи device в режим охлаждения/нагрева.

Installation of homebridge-g-on-alice

Install Plugin

  1. The setup of homebridge-g-on-alice is similar to other plugins, except it doesn't have any devices in the Home app.
sudo npm install -g git+https://github.com/G-On-dev/homebridge-g-on-alice.git

Create homebridge-g-on-alice account

  1. An account to link your Yandex Alice to HomeBridge needs to created on this website https://homebridge.g-on.io/. This account will be used when you enable the home skill in the Yandex App on your mobile, and in the configuration of the plugin in homebridge.

HomeBridge-g-on-alice plugin configuration

  1. Add the plugin to your config.json. The login and password in the config.json, are the credentials you created earlier for the https://homebridge.g-on.io/ website. This only needs to be completed for one instance of homebridge in your environment, it will discover the accessories connected to your other homebridges automatically.
"platforms": [
  {
    "platform": "G-On Alice",
    "name": "G-On Alice",
    "username": "....",
    "password": "...."
  }
],

Required parameters

Optional parameters

  • pin - If you had changed your homebridge pin from the default of "pin": "031-45-154" ie
"platforms": [
  {
    "platform": "G-On Alice",
    "name": "G-On Alice",
    "username": "....",
    "password": "....",
    "pin": "031-45-155"
  }
],
  • debug - This enables debug logging mode, can be used instead of the command line option ( DEBUG=* homebridge )
"platforms": [
  {
    "platform": "G-On Alice",
    "name": "G-On Alice",
    "username": "....",
    "password": "....",
    "debug": true
  }
],

Initial Testing and confirming configuration

  1. Start homebridge in DEBUG mode, to ensure configuration of homebridge-g-on-alice is correct. This will need to be executed with your implementations configuration options and as the same user as you are running homebridge. If you are homebridge with an autostart script ie systemd, you will need to stop the autostart temporarily.

ie

DEBUG=g-on-alice* homebridge -I
  1. Please ensure that homebridge starts without errors.

Enable Homebridge smarthome skill and link accounts

  1. In your Yandex app on your phone, please go to "Devices", press "Add device" and search for the "G-On Homebridge" skill, and enable the skill. You will need to Enable and link the skill to the account you created earlier on https://homebridge.g-on.io/

Discover Devices

  1. At this point you are ready to have Yandex Alice discover devices. Do it using the phone. You should see some information about the discovery in the log files.

In the event you have errors, or no devices returned please review your config.

  1. Installation is now complete, good luck and enjoy.

Credits

This particular implementation is forked from original homebridge-alexa plugin. https://github.com/NorthernMan54/homebridge-alexa

This implementation of Alice plugin would have been impossible without them.

  • NorthernMan54 - for the actual implementation of the homebridge-alexa plugin

homebridge-g-on-alice's People

Contributors

skazi avatar

Watchers

 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.