Page 1 of 2

[APKG Home Assistant 0.30.02] for x86_64 (Z-wave support)

Posted: Tue Oct 18, 2016 4:00 pm
by father.mande
Hi,

I am please to provide for tester (I don't know exactly how to use it) Home Assistant 0.30.2 ( https://home-assistant.io/ )

Require Python3.5 APKG (it's a Python3 application + some compiled modules) : http://forum.asustor.com/viewtopic.php?f=42&t=8322

To don't do as other integrator ... I don't integrate Python (another time) in the APKG ... so to don't destroy or change the Python 3.5 delivery I use a virtualenv (now pyvenv)
... so all is restricted in this virtualenv (NB this virtualenv work only on Asustor with Python3.5 package)
So the package have a small size ... :lol:

This version is x86_64 (for some extensions outside Python language : cython to generate the library for Z_wave support)
hass-enable.png
hass-enable.png (4.91 KiB) Viewed 14264 times
[Name]
HomeAutomation (apkg : hass)

[Version]
0.30.02.Z
... same as 0.30.02 + modules compiled to use Z-Wave gadgets
... if you don't use Z-Wave ... you can keep the previous
... next update will be only with added Z-Wave modules

0.30.02

[Prerequisite]
Python3.5

[Usage]
Log in the interface using the icon on A.D.M. desktop
use "EZ-Router" to open it from external ... but protect it with a hard password BEFORE

For the rest ... No idea ...

[Download]

APKG : https://www.father-mande.ovh/A/apkg/has ... x86-64.apk

APKG with Z-Wave support : https://www.father-mande.ovh/A/apkg/has ... x86-64.apk

Have fun.
Philippe.

Re: [APKG Home Assistant 0.30.02] for x86_64

Posted: Tue Oct 18, 2016 5:45 pm
by Matt.Steeljaw
Thank you very much! :D

Re: [APKG Home Assistant 0.30.02] for x86_64

Posted: Wed Oct 19, 2016 1:08 am
by damien599901
wooo !
Father_Mande = the "home automation" man (after Domoticz)
thank you so much for the community :shock:

Re: [APKG Home Assistant 0.30.02] for x86_64

Posted: Sun Oct 23, 2016 6:19 pm
by Matt.Steeljaw
Hi!

I'm trying to compile the z-wave library.

I get an libudev not found error when using this command: PYTHON_EXEC=$(which python3) make build

i installed make and gcc via the opkg entware.

Does anyone know what i've missed?

Re: [APKG Home Assistant 0.30.02] for x86_64

Posted: Sun Oct 23, 2016 11:46 pm
by father.mande
Hi,
Matt.Steeljaw wrote:Hi!
I'm trying to compile the z-wave library.
I get an libudev not found error when using this command: PYTHON_EXEC=$(which python3) make build
i installed make and gcc via the opkg entware.
Does anyone know what i've missed?
Due to limitation in term of libraries sources and development headers ... it's not easy to compile on the NAS itself natively ...
So the best solution is to use an Ubuntu 14.04 system (nearest of NAS libraries level) and match Asustor structure
... so after you have only to check the missing libraries (ldd) then copy in private library the missing or outdated libraries. After it's just a unique line in the shell to add this library folder in the search Path.

To simplify this exchange and stay on the Asustor NAS ... I will build all in a chroot (in fact a LXC but I can't deliver LXC for the moment due to (non blocking by annoying) incorrect module in the kernel ...

To multiply the difficulty ... you have also to port Python 3.5.2 to use the virtualenv use for hass ...

BUT also ... due to the fact that I'm tired right now ... I put on line the first version with only cypthon and not the full Z-wave library ...

Please can you test this version (normally with the full Z-wave lib and other stuff added with it ... ) do an update it's enough ... or save your .homeassitant folder in case (in the /usr/local/AppCentral/hass folder (in case of error during the update to keep your own environment ... ))

I can't test I don't have any z-wave gadget ...

https://www.father-mande.ovh/A/apkg/has ... x86-64.apk

sorry for the inconvenience ...

Philippe.
NB if it's works I change the link in the announcement post ...

Re: [APKG Home Assistant 0.30.02] for x86_64

Posted: Mon Oct 24, 2016 2:18 am
by Matt.Steeljaw
Hi!

Ah, i see.
That sounds a little to complicated for me, :lol:

I've tried the new apk but unfortunately i get the same error.

16-10-23 19:00:29 homeassistant.components.zwave: You are missing required dependency Python Open Z-Wave. Please follow instructions at: https://home-assistant.io/components/zwave/
16-10-23 19:00:29 homeassistant.bootstrap: component zwave failed to initialize

Thank you very much for fast answer and for helping.

EDIT: Sry, I've got it to work, never tried to restart the NAS. but after a restart it worked and the sensors was discovered.. :D :D

Re: [APKG Home Assistant 0.30.02] for x86_64

Posted: Mon Oct 24, 2016 4:33 pm
by father.mande
Hi,

Following tests done by Matt.Steeljaw (thanks to him)

added in first post download link of

APKG Home Assistant 0.3.02.Z with modules compiled for x86_64 (64 bits) models for Z-Wave gadgets ...

Philippe.

Re: [APKG Home Assistant 0.30.02] for x86_64 (Z-wave support)

Posted: Mon Nov 07, 2016 5:22 pm
by Matt.Steeljaw
Hi!

There's a new verision out now and i want to upgrade. https://home-assistant.io/getting-start ... -assistant

Is there a special way to update the software for asustor?

Re: [APKG Home Assistant 0.30.02] for x86_64 (Z-wave support)

Posted: Mon Nov 07, 2016 7:17 pm
by father.mande
Ji,
Matt.Steeljaw wrote:Hi!
There's a new verision out now and i want to upgrade. https://home-assistant.io/getting-start ... -assistant
Is there a special way to update the software for asustor?
please disable (stop) first hass if they run , and be sure that Python3.5 is enable
save the actual flder (serv) in /usr/local/AppCentral/hass using tar or any tools preserving link , owner and access right
... it's only in case of ...

Connect you as admin/ your password
... jump phase 3 (admin is the user for Home Assistant in Asustor)
... go to /usr/local/AppCentral/hass

... use phase 5
... source serv/bin/activate
... you are now in the virtual env

... use phase 6

I have not tested this (sorry I am really busy), please return result here ...

in case of problem ... you have the previous (serv) folder ... so you can restore it ...
Philippe.
N.B. for openzwave it's a little more complex ... due to the lack of dev. tools in A.D.M.
N.B. 2 I don't know if it's possible to change the version in App. Center without reinstalling ... so ... only you must know that the update exist ...

Re: [APKG Home Assistant 0.30.02] for x86_64 (Z-wave support)

Posted: Tue Nov 08, 2016 7:30 pm
by sys
Really cool!!!