Giter Club home page Giter Club logo

integration.home-assistant's Introduction

Repo is deprecated

This repo is deprecated as efforts are put into Remote Two and its new software. Find more information about it here: www.yio-remote.com The software made for Remote Two, once released, will be available for the DIY YIO Remote.

There won't be any updates to this repo, but it will stay here on GitHub to be forked and used.


Cross Compile Code Guidelines Build Desktop Apps Config Schema Validation

YIO Remote Software Repository

For details about the YIO Remote Software, please visit our documentation repository which can be found under https://github.com/YIO-Remote/documentation/wiki.

integration.home-assistant's People

Contributors

carp3-noctem avatar kaisten avatar martonborzak avatar mkerix avatar zehnm avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar

integration.home-assistant's Issues

Integrating custom CA`s

Is your feature request related to a problem? Please describe.
currently ssl connections to integrations are only working with official certificates issued by a known CA

Describe the solution you'd like
Either i am able to get my own CA into the truststore or get an option to disable ssl verification.

Additional context
currently failing due to this error:

May 15 10:47:47 YIO-Remote-b827eb79b4c6 app-launch.sh[124]: WARN  homeassistant QAbstractSocket::SocketError(13) "The issuer certificate of a locally looked up certificate could not be found"

HA Scene support

Is your feature request related to a problem? Please describe.

My living room has about 20 hue lights, way too many to control individually. So I use scenes in HA to control them. Currently the HA YIO plugin does not support HA scenes.

Describe the solution you'd like

It would be very nice to have HA Scene support.

Describe alternatives you've considered

Additional context

Add GPL file headers

Same task as YIO-Remote/remote-software#349

Expected Behavior or Design

The YIO Remote software is licensed under GPL v3 or later (see license information in each GitHub repository). This should not just be reflected in the LICENSE.md file but also in every source file.

Current Behavior or Design

Almost no source file has a license information.

Possible Solution

Add the same file header to each and every source file.
The new wifi control source files in feature/322-WiFi_rewrite branch have a file header defined. I suggest using this header as a template. See below in detailed description.

Detailed Description and Additional Information

Suggested license template for new files

I.e. entirely written by one author:

/******************************************************************************
 *
 * Copyright (C) <YEAR(S)> <AUTHOR> <EMAIL>
 *
 * This file is part of the YIO-Remote software project.
 *
 * YIO-Remote software is free software: you can redistribute it and/or modify
 * it under the terms of the GNU General Public License as published by
 * the Free Software Foundation, either version 3 of the License, or
 * (at your option) any later version.
 *
 * YIO-Remote software is distributed in the hope that it will be useful,
 * but WITHOUT ANY WARRANTY; without even the implied warranty of
 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
 * GNU General Public License for more details.
 *
 * You should have received a copy of the GNU General Public License
 * along with YIO-Remote software. If not, see <https://www.gnu.org/licenses/>.
 *
 * SPDX-License-Identifier: GPL-3.0-or-later
 *****************************************************************************/

Suggested license template for derived files

I.e. using code from other GPL v3 compatible sources:

/******************************************************************************
 *
 * Copyright (C) <YEAR(S)> <AUTHOR> <EMAIL>
 *
 * Third party work used:
 *
 * <PROJECT_DESCRIPTION>
 * Copyright (C) <YEAR(S)> <ORIGINAL_AUTHOR> <ORIGINAL_EMAIL>
 * Licensed under <LICENSE>.
 *
 *
 * This file is part of the YIO-Remote software project.
 *
 * YIO-Remote software is free software: you can redistribute it and/or modify
 * it under the terms of the GNU General Public License as published by
 * the Free Software Foundation, either version 3 of the License, or
 * (at your option) any later version.
 *
 * YIO-Remote software is distributed in the hope that it will be useful,
 * but WITHOUT ANY WARRANTY; without even the implied warranty of
 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
 * GNU General Public License for more details.
 *
 * You should have received a copy of the GNU General Public License
 * along with YIO-Remote software. If not, see <https://www.gnu.org/licenses/>.
 *
 * SPDX-License-Identifier: GPL-3.0-or-later
 *****************************************************************************/

Example wifi_wpasupplicant.h

/******************************************************************************
 *
 * Copyright (C) 2019 Markus Zehnder <[email protected]>
 *
 * Third party work used:
 *
 * DigitalRooster - QT/QML internet radio, podcast player and alarmclock.
 * Copyright (C) 2018 Thomas Ruschival <[email protected]>
 * Licensed under GPL 3.0 or later.
 *
 * wpaCute - A graphical wpa_supplicant front end.
 * Copyright (C) 2018 [email protected]
 * Licensed under BSD license.
 *
 *
 * This file is part of the YIO-Remote software project.
 *
 * YIO-Remote software is free software: you can redistribute it and/or modify
 * it under the terms of the GNU General Public License as published by
 * the Free Software Foundation, either version 3 of the License, or
 * (at your option) any later version.
 *
 * YIO-Remote software is distributed in the hope that it will be useful,
 * but WITHOUT ANY WARRANTY; without even the implied warranty of
 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
 * GNU General Public License for more details.
 *
 * You should have received a copy of the GNU General Public License
 * along with YIO-Remote software. If not, see <https://www.gnu.org/licenses/>.
 *
 * SPDX-License-Identifier: GPL-3.0-or-later
 *****************************************************************************/

Support fan entity

Would love to see the fan entity in home assistant supported so I can operate my ceiling fans.

thanks

When SSL is used on HA, cannot connect

Description

When SSL is setup on HA, the integration cannot connect to the HA instance.

Expected behavior

The integration should be able to connect when SSL is used in HA.

  • Version used: v0.3.0
  • Running on:
    • YIO Remote* Operating System and version if not running on YIO Remote:

Additional context

Add a boolean data key that indicates if SSL is used on the HA instance. Based on that repalce ws with wss.

Setup form isn't displayed when adding integrations

Description

When I open the web-configurator and want to add a new integration the setup dialog doesn't show for Home Assistant. This prevents me to setup the integration on the latest versions.

How to Reproduce

Steps to reproduce the behavior:

  1. Go to the web configurator integrations page.
  2. Click on "Add Integration".
  3. Select homeasssistant from the list.
  4. Nothing is rendered.

Expected behavior

I would expect the form with IP, Token etc. to show up.

Your Environment

  • Version used: 0.4.2
  • Running on:
    • YIO Remote
  • Web Configurator: tested on 0.1.4 and 0.1.1

Additional context

The relevant error in the logs seems to appear when the examples of one of the ssl booleans are rendered. undefined refers to the examples property:

TypeError: Cannot read property '0' of undefined

Downgrading to v0.4.1 fixes the issue.

input_boolean entities Support

I control a lot with NodeRed and depending on other events, so i have created several dummy switches, but these are input_boolean switches, would it be possible to include them as entities?
In theory they should work similar to a normal switch
#FeatureRequest

Climate integration shows 0ยฐ when opening the card.

Description

Climate integration shows 0ยฐ when opening the card.

How to Reproduce

Steps to reproduce the behavior:

  1. Add climate from home-assistant
  2. The preview on the page shows the correct current temperature
  3. Open the card. The current temperature is 0ยฐ. When I change the temperature, to eg 1ยฐ, then in HA, the temperature is also 1ยฐ.

Expected behavior

Have the correct current temperature

Your Environment

  • Version used: 0.5.7
  • Running on:
    • YIO Remote
  • Operating System and version if not running on YIO Remote:

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.