Giter Site home page Giter Site logo

yagodnik / yandexhomewidgets Goto Github PK

View Code? Open in Web Editor NEW
2.0 1.0 1.0 44 MB

Приложение, позволяющие управлять устройствами умного дома Яндекс с компьютера с помощью виджетов, расположенных на панели задач

Home Page: https://yagodnik.github.io/YandexHomeWidgets/

License: GNU General Public License v3.0

QMake 2.45% C++ 50.30% QML 42.28% C 0.31% HTML 2.42% Batchfile 0.74% JavaScript 1.51%
yandex yandex-smart-home yandex-smart-home-lamp home qt smart smart-home widgets yandex-iot

yandexhomewidgets's Introduction

Yandex Home Widgets

Yandex Home Widgets - приложение, позволяющие управлять устройствами умного дома Яндекс с компьютера с помощью виджетов, расположенных на панели задач
Демо: https://www.youtube.com/watch?v=p_cD33zuICs

Установка

Скачать установщик можно вот тут (Для Windows):

P.S. А если вы хотите версию под MacOS вам нужно всего лишь любезно отдать мне свой мак

Сборка

Для сборки необходимо создать веб-приложение в https://oauth.yandex.ru/, при его создании необходимо разрешить приложению доступ к API Яндекс ID (портрету и имени пользователя), а так же выдать разрешение на управление Яндекс Умный Дом.
В графе Redirect URI укажите http://127.0.0.1:1337, этот адрес будет использовать Qt OAuth для авторизации пользователей.

Создаём файл secrets.json в /assets/ и заполняем его следующим образом:

{
    "client_id": "<Ваш client id>",
    "client_secret": "<Ваш client secret>"
}

Далее идёт стандратный процесс сборки, за исключением того, что необходимо скопировать библиотеки libcrypto-1_1-x64.dll и libssl-1_1-x64.dll в папку сборки проекта.

Флаги

  1. -allow-several-instances Отключает проверку на единственность исполняемого файла
  2. -disable-updates Отключает проверку на обновления (Стоит включить, если хотите что-то дополнить, иначе в папку сборки закачается много лишнего) (на данный момент бесполезна)
  3. -no-autostart Отключает добавление приложения в автозапуск (указывать при первом старте, если хотите отключить эту фичу)

Поддерживаемые устройства

На данный момент поддерживается только лампочка и розетка

Контакты

Если хотите связаться со мной пишите на почту: [email protected]

yandexhomewidgets's People

Contributors

yagodnik avatar

Stargazers

Дмитрий Артёменко avatar  avatar

Watchers

 avatar

Forkers

costa2tap

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.