[ Home Assistant ] [ 2021.5.5 ] Open-source home automation platform

This is the best place for community developers to publish their genius work. Your Apps enrich the QNAP Turbo NAS.
Post Reply
lowfi
Know my way around
Posts: 112
Joined: Fri Oct 16, 2015 10:49 pm

Re: [ Home Assistant ] [ 0.36.1 ] Open-source home automation platform

Post by lowfi »

Kurisutian
Starting out
Posts: 20
Joined: Sun Feb 25, 2018 3:05 pm

Re: [ Home Assistant ] [ 0.36.1 ] Open-source home automation platform

Post by Kurisutian »

Any news on a possible update?
I'd love to fully run Home-Assist outside container station but currently when installing it, it shows the following error:

Code: Select all

Invalid Config 

The following components and platforms could not be set up:

- discovery
- cloud

Please check your config
So for I'm fairly new to my QNAP system as well as to Home-Assistant so I am stuck at all attempts to fix this. Has anyone else the same problem and was able to fix it? Thanks!
---
QNAP TVS-873-8G
User avatar
Cadster
Starting out
Posts: 40
Joined: Fri Jul 17, 2009 3:52 pm

Re: [ Home Assistant ] [ 0.36.1 ] Open-source home automation platform

Post by Cadster »

I had the same problem with the discovery module in ha.
It uses the same port (3000) as the NFS-service, after i switched it off ( in controlpanel -> network & file services) my problem with discovery was gone.
TS-253A 8Gb
Kurisutian
Starting out
Posts: 20
Joined: Sun Feb 25, 2018 3:05 pm

Re: [ Home Assistant ] [ 0.36.1 ] Open-source home automation platform

Post by Kurisutian »

Thanks for that hint. I just checked it out but it didn't work. I had NFS disabled (although I need it for my current setup) and restarted Home-Assistant but still the same errors occur. Any other ideas? ;)
---
QNAP TVS-873-8G
User avatar
Cadster
Starting out
Posts: 40
Joined: Fri Jul 17, 2009 3:52 pm

Re: [ Home Assistant ] [ 0.36.1 ] Open-source home automation platform

Post by Cadster »

i installed the qpkg and not the docker to be clear.
after that i did a reinstall of netdisco.

Code: Select all

cd /share/CACHEDEV1_DATA/.qpkg/Home-Assistant/bin
./pip3 install netdisco -I
TS-253A 8Gb
Kurisutian
Starting out
Posts: 20
Joined: Sun Feb 25, 2018 3:05 pm

Re: [ Home Assistant ] [ 0.36.1 ] Open-source home automation platform

Post by Kurisutian »

Well, running the command indicates that gcc is unavailable. Do I have to install this as well? Should it be a dependancy for the home-assistant package? I presumed the package was complete so I do not need to install other dependancies manually.

Here is the error I'm getting:

Code: Select all

    gcc -pthread -Wno-unused-result -Wsign-compare -DNDEBUG -g -fwrapv -O3 -Wall -Wstrict-prototypes -O2 -fPIC -I/opt/Home-Assistant/include -I/opt/Home-Assistant/include/ncurses -fPIC -DNETIFACES_VERSION=0.10.6 -I/opt/Home-Assistant/include/python3.6m -c netifaces.c -o build/temp.linux-x86_64-3.6/netifaces.o
    unable to execute 'gcc': No such file or directory
    error: command 'gcc' failed with exit status 1
I wanted to keep things as small as possible that's why I'm asking. I didn't want to add all kind of dev-tools to the NAS. :wink:
---
QNAP TVS-873-8G
User avatar
Cadster
Starting out
Posts: 40
Joined: Fri Jul 17, 2009 3:52 pm

Re: [ Home Assistant ] [ 0.36.1 ] Open-source home automation platform

Post by Cadster »

As Stephane states in the first post netdisco (0.5.5) and netifaces (0.10.4) are included so there should'nt be a need to compile it yourself.
TS-253A 8Gb
Kurisutian
Starting out
Posts: 20
Joined: Sun Feb 25, 2018 3:05 pm

Re: [ Home Assistant ] [ 0.36.1 ] Open-source home automation platform

Post by Kurisutian »

Well, than there must be something else wrong with the package since the error remains and the two extensions (discovery and cloud) are still not available. :?:
---
QNAP TVS-873-8G
User avatar
Trexx
Ask me anything
Posts: 5393
Joined: Sat Oct 01, 2011 7:50 am
Location: Minnesota

Re: [ Home Assistant ] [ 0.36.1 ] Open-source home automation platform

Post by Trexx »

Any chance Stephane of getting this updated to 0.66 release?
Paul

Model: TS-877-1600 FW: 4.5.3.x
QTS (SSD): [RAID-1] 2 x 1TB WD Blue m.2's
Data (HDD): [RAID-5] 6 x 3TB HGST DeskStar
VMs (SSD): [RAID-1] 2 x1TB SK Hynix Gold
Ext. (HDD): TR-004 [Raid-5] 4 x 4TB HGST Ultastor
RAM: Kingston HyperX Fury 64GB DDR4-2666
UPS: CP AVR1350

Model:TVS-673 32GB & TS-228a Offline[/color]
-----------------------------------------------------------------------------------------------------------------------------------------
2018 Plex NAS Compatibility Guide | QNAP Plex FAQ | Moogle's QNAP Faq
User avatar
QNAP_Stephane
Experience counts
Posts: 4802
Joined: Wed Mar 27, 2013 1:00 am

Re: [ Home Assistant ] [ 0.36.1 ] Open-source home automation platform

Post by QNAP_Stephane »

I will put it in my large todo list :))
---------------------------------------------------------------------------------------------------------------------------

Find all QPKG in the MyQnap.org repository https://www.myqnap.org
join our discord server for any inquiry related to qpkg - https://discord.gg/4fPxHSWKQW

----------------------------------------------------------------------------------------------------------------------------
User avatar
Trexx
Ask me anything
Posts: 5393
Joined: Sat Oct 01, 2011 7:50 am
Location: Minnesota

Re: [ Home Assistant ] [ 0.36.1 ] Open-source home automation platform

Post by Trexx »

Understand... a lot of updates to community apps lately. Still waiting on Alfresco update too :) <nudge>
Paul

Model: TS-877-1600 FW: 4.5.3.x
QTS (SSD): [RAID-1] 2 x 1TB WD Blue m.2's
Data (HDD): [RAID-5] 6 x 3TB HGST DeskStar
VMs (SSD): [RAID-1] 2 x1TB SK Hynix Gold
Ext. (HDD): TR-004 [Raid-5] 4 x 4TB HGST Ultastor
RAM: Kingston HyperX Fury 64GB DDR4-2666
UPS: CP AVR1350

Model:TVS-673 32GB & TS-228a Offline[/color]
-----------------------------------------------------------------------------------------------------------------------------------------
2018 Plex NAS Compatibility Guide | QNAP Plex FAQ | Moogle's QNAP Faq
fetjp
Starting out
Posts: 14
Joined: Sun Feb 19, 2017 11:28 pm

Re: [ Home Assistant ] [ 0.36.1 ] Open-source home automation platform

Post by fetjp »

I would also be interested on an updated version of Home Assistant.
User avatar
oyvindo
Experience counts
Posts: 1399
Joined: Tue May 19, 2009 2:08 am
Location: Norway, Oslo

Re: [ Home Assistant ] [ 0.36.1 ] Open-source home automation platform

Post by oyvindo »

This is an excellent contribution Stephane! :-)
Hopefully we can have this as a live and kicking forum thread for exchange of valuable tips and tricks on how to exploit HA. Even though I'll continue to run HA in docker (CS), and I recommend that over a stand-alone QPKG, issues and advises should still be valid on both platforms.
It is well known that HA is among the most versatile Home automation platforms around, but it's also a fact that it can be quite intimidating for beginners with little or no scripting experience. The component library is extensive, but documentation is often scarce and typically assumes that the reader knows everything before he/she starts experimenting.
As for myself, I'm baffled over the fact that no component exist that can produce a simple push-button icon. All I've been able to find are on/off sliders. Perhaps someone has a simple solution for that that doesn't require customization involving both HTML, Yaml and JSON scripting to get it running?
ImageImageImage
Stalksy
Starting out
Posts: 14
Joined: Sat Jun 18, 2011 7:57 pm

Re: [ Home Assistant ] [ 0.36.1 ] Open-source home automation platform

Post by Stalksy »

Can this version of Home Automation support Tuya lamps?

I think this is one:
https://github.com/clach04/python-tuya
User avatar
Skeptical.me
Easy as a breeze
Posts: 428
Joined: Sun Jun 05, 2016 8:58 am
Location: Australia

Re: [ Home Assistant ] [ 0.36.1 ] Open-source home automation platform

Post by Skeptical.me »

Hi,

I haven't used terminal ssh on the qnap for awhile, however, the path to the ,yaml directory is

Home Assistant
0.69.1

Path to configuration.yaml: /share/CE_CACHEDEV1_DATA/.qpkg/Home-Assistant/CONFIG_DIR

But I can't remember how to edit the configuration.yaml, whats the command?
QNAP TS-253Be 2 x WD Red 6TB RAID1, & 1 x WD Ext. 6TB, QTS: 4.5.3.1670

Plex, Radar, Sonarr, Lidarr, NZBGet, NZBHydra 2, Container Station
Post Reply

Return to “Community Apps”