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

Moderator: Lillian.W@AST

User avatar
father.mande
Posts: 1817
youtube meble na wymiar Warszawa
Joined: Sat Sep 12, 2015 2:55 am
Location: La Rochelle (France)

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

Post 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 14242 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.
Last edited by father.mande on Mon Oct 24, 2016 4:33 pm, edited 2 times in total.
AS6602T / AS5202T /AS5002T / AS1002T / FS6706T
Matt.Steeljaw
Posts: 35
Joined: Mon Oct 14, 2013 6:59 pm

Re: [APKG Home Assistant 0.30.02] for x86_64

Post by Matt.Steeljaw »

Thank you very much! :D
damien599901
Posts: 575
Joined: Mon Dec 30, 2013 2:53 am

Re: [APKG Home Assistant 0.30.02] for x86_64

Post by damien599901 »

wooo !
Father_Mande = the "home automation" man (after Domoticz)
thank you so much for the community :shock:
Storage: AS7004T & AS5002T
Network: FREEBOX REVOLUTION V6
Laptop: Apple MACBOOK Pro OS X El Capitan & Windows 10
Media Player: ASUSTOR NAS with Kodi 16 Beta & HD_Engine 1 (thanks Fathe_Mande)
Portable: iPhone 6S Plus, iPad Mini 2 & iPad Air
Matt.Steeljaw
Posts: 35
Joined: Mon Oct 14, 2013 6:59 pm

Re: [APKG Home Assistant 0.30.02] for x86_64

Post 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?
User avatar
father.mande
Posts: 1817
Joined: Sat Sep 12, 2015 2:55 am
Location: La Rochelle (France)

Re: [APKG Home Assistant 0.30.02] for x86_64

Post 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 ...
AS6602T / AS5202T /AS5002T / AS1002T / FS6706T
Matt.Steeljaw
Posts: 35
Joined: Mon Oct 14, 2013 6:59 pm

Re: [APKG Home Assistant 0.30.02] for x86_64

Post 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
User avatar
father.mande
Posts: 1817
Joined: Sat Sep 12, 2015 2:55 am
Location: La Rochelle (France)

Re: [APKG Home Assistant 0.30.02] for x86_64

Post 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.
AS6602T / AS5202T /AS5002T / AS1002T / FS6706T
Matt.Steeljaw
Posts: 35
Joined: Mon Oct 14, 2013 6:59 pm

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

Post 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?
User avatar
father.mande
Posts: 1817
Joined: Sat Sep 12, 2015 2:55 am
Location: La Rochelle (France)

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

Post 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 ...
AS6602T / AS5202T /AS5002T / AS1002T / FS6706T
sys
Posts: 188
Joined: Thu Jun 14, 2012 8:13 pm

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

Post by sys »

Really cool!!!
Post Reply

Return to “Home_assistant”