yio-remote / integration.home-assistant Goto Github PK
View Code? Open in Web Editor NEW๐ Home Assistant Integration for YIO
License: GNU General Public License v3.0
๐ Home Assistant Integration for YIO
License: GNU General Public License v3.0
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.
Steps to reproduce the behavior:
I would expect the form with IP, Token etc. to show up.
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.
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
Climate integration shows 0ยฐ when opening the card.
Steps to reproduce the behavior:
Have the correct current temperature
ACTUAL:
when connection gets lost a notification is displayed on the remote top header saying " lost connection"
Solution:
When Remote gets back connection, remove this notification again. Only display it as long as there is no connection.
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"
When SSL is setup on HA, the integration cannot connect to the HA instance.
The integration should be able to connect when SSL is used in HA.
Add a boolean data key that indicates if SSL is used on the HA instance. Based on that repalce ws
with wss
.
Same task as YIO-Remote/remote-software#349
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.
Almost no source file has a license information.
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.
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
*****************************************************************************/
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
*****************************************************************************/
Would love to see the fan entity in home assistant supported so I can operate my ceiling fans.
thanks
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
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.