[ 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
olluz
Starting out
Posts: 48
Joined: Sun Feb 06, 2011 7:16 pm

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

Post by olluz »

I'm not sure what I'm doing wrong, but after several restarts it looks like this:
hass.png
You do not have the required permissions to view the files attached to this post.
TVS-671 QTS 4.2 beta (2015/07/16)
olluz
Starting out
Posts: 48
Joined: Sun Feb 06, 2011 7:16 pm

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

Post by olluz »

ok, something is odd:
the PID listed in /var/run/homeassistant.pid
is just wrong, a non-existing process id.

That's why the Home-Assistant. sh script will never kill a running hass process.
TVS-671 QTS 4.2 beta (2015/07/16)
olluz
Starting out
Posts: 48
Joined: Sun Feb 06, 2011 7:16 pm

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

Post by olluz »

fix, add the PIDF parameter:
./hass -v --config $QPKG_ROOT/CONFIG_DIR --pid-file $PIDF --daemon &
TVS-671 QTS 4.2 beta (2015/07/16)
User avatar
QNAP_Stephane
Experience counts
Posts: 4802
Joined: Wed Mar 27, 2013 1:00 am

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

Post by QNAP_Stephane »

olluz wrote: Wed Apr 21, 2021 4:33 pm fix, add the PIDF parameter:
./hass -v --config $QPKG_ROOT/CONFIG_DIR --pid-file $PIDF --daemon &
will be apllied on next release .. thanks
---------------------------------------------------------------------------------------------------------------------------

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
oyvindo
Experience counts
Posts: 1399
Joined: Tue May 19, 2009 2:08 am
Location: Norway, Oslo

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

Post by oyvindo »

The release number in the headline of this post is 0.109.6
What is the current release version of the Home Assistant in this QKPG ?
ImageImageImage
olluz
Starting out
Posts: 48
Joined: Sun Feb 06, 2011 7:16 pm

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

Post by olluz »

current release version is Home Assistant 2021.4.6

Thanks!
TVS-671 QTS 4.2 beta (2015/07/16)
olluz
Starting out
Posts: 48
Joined: Sun Feb 06, 2011 7:16 pm

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

Post by olluz »

so Stephane's version will automatically update itself to the latest release
TVS-671 QTS 4.2 beta (2015/07/16)
User avatar
oyvindo
Experience counts
Posts: 1399
Joined: Tue May 19, 2009 2:08 am
Location: Norway, Oslo

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

Post by oyvindo »

Thanks for the answer. 👍
ImageImageImage
User avatar
QNAP_Stephane
Experience counts
Posts: 4802
Joined: Wed Mar 27, 2013 1:00 am

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

Post by QNAP_Stephane »

was a pain in a... to compile it but finally here is coming

new 2021.5.5 ... Apache80 required as dependency (to make it lighter )
new compilation from scratch inside python virtualenv

first install can be long depending processor / bandwidth to dowload latest modules

ARMV7 not yet available encounter some bugs

error message in Event log concerning Zero config can be ignored
---------------------------------------------------------------------------------------------------------------------------

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

----------------------------------------------------------------------------------------------------------------------------
blindspot
First post
Posts: 1
Joined: Tue Jan 31, 2017 7:21 pm

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

Post by blindspot »

Thanks for your amazing work Stephane. I'm getting notices from Home Assistant that my current version of Python won't be supported.

"Support for the running Python version 3.8.5 is deprecated and will be removed in Home Assistant 2022.1. Please upgrade Python to 3.9.0 or higher."

I don't quite understand how its put together but my qnap doesn't have the option of upgrading Python.

Would appreciate any help or guidance.
User avatar
QNAP_Stephane
Experience counts
Posts: 4802
Joined: Wed Mar 27, 2013 1:00 am

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

Post by QNAP_Stephane »

i cant update Python 3.8.0 in Apache80 without breaking many thing

will be embedded withing Apache81 once php 8.1 will be out
---------------------------------------------------------------------------------------------------------------------------

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

----------------------------------------------------------------------------------------------------------------------------
mogodon
Know my way around
Posts: 112
Joined: Sun Jan 09, 2011 10:41 pm

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

Post by mogodon »

Hi @QNAP_Stephane, there is a new version out today, 2021.12. I believe this is the last one that will be able to run without at least Python 3.9.*

https://community.home-assistant.io/t/2 ... 365680/194

Could you update the package if you have time?

Thanks

*Python 3.9 will be required from (next) release slated for 2022.02
TS-453d
QTS 5.0.1.2277 build 20230112

TS-869 Pro
QTS 4.3.4.2242 build 20221124
mogodon
Know my way around
Posts: 112
Joined: Sun Jan 09, 2011 10:41 pm

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

Post by mogodon »

Just noticed that you have released, "Home Assistant (Apache81)".
https://www.qnapclub.eu/en/qpkg/1222

Is this still the 2021.11 version, but moved to Python 3.9x?

Presumably the dependency is:
https://www.qnapclub.eu/en/qpkg/1216
TS-453d
QTS 5.0.1.2277 build 20230112

TS-869 Pro
QTS 4.3.4.2242 build 20221124
mogodon
Know my way around
Posts: 112
Joined: Sun Jan 09, 2011 10:41 pm

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

Post by mogodon »

My Home Assistant (Apache80) updated last night by itself to 2021.12.
TS-453d
QTS 5.0.1.2277 build 20230112

TS-869 Pro
QTS 4.3.4.2242 build 20221124
User avatar
nickiman
Know my way around
Posts: 217
Joined: Thu Nov 13, 2014 11:15 pm
Location: Madrid, Spain

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

Post by nickiman »

Hi all, I´m new in this of Home Automation...

Just a question to all that use this package... Has the supervisor included on it?
Or you solve it having it in another way...?

Keep waiting your comments.
TS-453 Pro - FW: QTS 5.1.4.2596
6Tb WD Red WD6002FFWX (x4) with RAID 5
Post Reply

Return to “Community Apps”