npm package discovery and stats viewer.

Discover Tips

  • General search

    [free text search, go nuts!]

  • Package details

    pkg:[package-name]

  • User packages

    @[username]

Sponsor

Optimize Toolset

I’ve always been into building performant and accessible sites, but lately I’ve been taking it extremely seriously. So much so that I’ve been building a tool to help me optimize and monitor the sites that I build to make sure that I’m making an attempt to offer the best experience to those who visit them. If you’re into performant, accessible and SEO friendly sites, you might like it too! You can check it out at Optimize Toolset.

About

Hi, 👋, I’m Ryan Hefner  and I built this site for me, and you! The goal of this site was to provide an easy way for me to check the stats on my npm packages, both for prioritizing issues and updates, and to give me a little kick in the pants to keep up on stuff.

As I was building it, I realized that I was actually using the tool to build the tool, and figured I might as well put this out there and hopefully others will find it to be a fast and useful way to search and browse npm packages as I have.

If you’re interested in other things I’m working on, follow me on Twitter or check out the open source projects I’ve been publishing on GitHub.

I am also working on a Twitter bot for this site to tweet the most popular, newest, random packages from npm. Please follow that account now and it will start sending out packages soon–ish.

Open Software & Tools

This site wouldn’t be possible without the immense generosity and tireless efforts from the people who make contributions to the world and share their work via open source initiatives. Thank you 🙏

© 2024 – Pkg Stats / Ryan Hefner

homebridge-g-on-alice

v0.2.0

Published

Yandex Alice Voice Assistant plugin for Homebridge. Developed by G-On

Downloads

66

Readme

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, Thermostat and others.
  • 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 (on/off, brightness, color change and color temperature for white light)
  • Support for Switches and outlets (on/off)
  • Support for Thermostats (target heating cooling ctate, target and current temperature, target and current humidity),
  • Support for Heater/Cooler (on/off, target heating cooling ctate, current temperature, rotation speed)
  • Support for Humidifier Dehumidifier (on/off, current humidity, relative humidity dehumidifier or humidifier threshold (only one is available), rotation speed)
  • Support for Air Purifier (on/off, rotation speed)
  • Support for Door, Window, Window Covering (open/close, target position)
  • Support for Garage Door Opener, Lock Mechanism (open/close)
  • Support for Buttons (single, double, long press)
  • Support for Sensors: Temperature, Humidity, Light, Carbon Dioxide (level and status low battery)
  • Support for Air Quality Sensor (PM10 Density, PM2.5 Density, VOC Density, status low battery)
  • Support for Binary Sensors: Contact, Leak, Motion, Occupancy, Smoke (level and status low battery)
  • Support for Fan (on/off, rotation speed)
  • Support for Valve, Faucet (on/off)
  • Support for Televisions, Television Speakers, Speakers (on/off, play/pause, mute, volume)
  • 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
  • Color light bulbs and white light bulbs with color temperature adjustment
  • Thermostat
  • Heater/Cooler
  • Humidifiers
  • Air Purifiers
  • Doors, windows, curtains
  • Buttons
  • Televisions, Speakers

Unsupported device types

  • Camera's
  • Eve devices
  • Security Systems
  • Some audio and playback systems

Alice Voice Commands

Light bulbs / Switches / Dimmer Switches

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

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

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

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

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

Thermostat's and Heater / Cooler's

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

Installation of homebridge-g-on-alice

  • If you are looking for a basic setup to get this plugin up and running check out this guide (https://homebridge.g-on.io/setup).

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

  • username - Login created for the skill linking website https://homebridge.g-on.io/
  • password - Login created for the skill linking website https://homebridge.g-on.io/

Optional parameters

  • pin - If you had changed your homebridge pin from the default of "pin": "031-45-154" ie
  • Notifies the smart home platform about the changed state of the devices
"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