new productivity/homeassistant [hass: #fin]

classic Classic list List threaded Threaded
2 messages Options
Reply | Threaded
Open this post in threaded view
|

new productivity/homeassistant [hass: #fin]

Joerg Jung
Hi,

finally, please find attached a port for homeassistant.

   $ cat pkg/DESCR
   Home Assistant is an open-source home automation platform running on Python 3.
   Track and control all devices at home and automate control.

   If you plan to use components, please make sure that you have all necessary
   dependencies installed.

This port depends on several further new ports and requires various port
updates, I all sent earlier to the list.  I believe some of them should
go into a bulk build (any volunteers?) like the py-requests or
py-sqlalchemy update to make sure they don't break anything.

After starting hass daemon via rcctl(8) one can point browser to the web
frontend, which listens by default on http://localhost:8123.

The port has RUN_DEPENDS only for the very basic default (minus cloud
and TTS) components.  Before enabling and using further components, you
*need* to (port and) install the required dependencies.  For components,
please see: https://home-assistant.io/components/
For details on dependencies, please see:
https://github.com/home-assistant/home-assistant/blob/dev/requirements_all.txt

I'm not sure about the '.*' in the pexp in hass.rc script, but it works
for me.  Hints if this can be done better are welcome (maybe?
'pythonMODPY_BIN_SUFFIX:').  Also portcheck is complaining about 1
line(s) longer than 80 chars in pkg/hass.rc, I'm not sure how to fix
that either, I believe backslash makes things more unread-able here.

Tests are not enabled as they need gazillions of further new ports and
updates.

Please test and provide feedback and comments!

Thanks,
Regards,
Joerg


Index: infrastructure/db/user.list
===================================================================
RCS file: /cvs/ports/infrastructure/db/user.list,v
retrieving revision 1.301
diff -u -p -r1.301 user.list
--- infrastructure/db/user.list 10 Jan 2018 16:20:58 -0000 1.301
+++ infrastructure/db/user.list 16 Jan 2018 19:37:02 -0000
@@ -308,3 +308,4 @@ id  user group port options
 797 _influx _influx databases/influxdb
 798 _grafana _grafana sysutils/grafana
 799 _prometheus _prometheus sysutils/prometheus
+800 _hass _hass productivity/homeassistant

homeassistant.tar.gz (22K) Download Attachment
Reply | Threaded
Open this post in threaded view
|

Re: new productivity/homeassistant [hass: #fin]

Joerg Jung
On Wed, Jan 17, 2018 at 12:23:16AM +0100, Joerg Jung wrote:

> Hi,
>
> finally, please find attached a port for homeassistant.
>
>    $ cat pkg/DESCR
>    Home Assistant is an open-source home automation platform running on Python 3.
>    Track and control all devices at home and automate control.
>
>    If you plan to use components, please make sure that you have all necessary
>    dependencies installed.
>
> This port depends on several further new ports and requires various port
> updates, I all sent earlier to the list.  I believe some of them should
> go into a bulk build (any volunteers?) like the py-requests or
> py-sqlalchemy update to make sure they don't break anything.
>
> After starting hass daemon via rcctl(8) one can point browser to the web
> frontend, which listens by default on http://localhost:8123.
>
> The port has RUN_DEPENDS only for the very basic default (minus cloud
> and TTS) components.  Before enabling and using further components, you
> *need* to (port and) install the required dependencies.  For components,
> please see: https://home-assistant.io/components/
> For details on dependencies, please see:
> https://github.com/home-assistant/home-assistant/blob/dev/requirements_all.txt
>
> I'm not sure about the '.*' in the pexp in hass.rc script, but it works
> for me.  Hints if this can be done better are welcome (maybe?
> 'pythonMODPY_BIN_SUFFIX:').  Also portcheck is complaining about 1
> line(s) longer than 80 chars in pkg/hass.rc, I'm not sure how to fix
> that either, I believe backslash makes things more unread-able here.
>
> Tests are not enabled as they need gazillions of further new ports and
> updates.
Newer tarball attached which drops py3-typing dependency and runs
with/needs latest yarl, aiohttp, and multidict sent earlier.
 

> Please test and provide feedback and comments!
>
> Thanks,
> Regards,
> Joerg
>
>
> Index: infrastructure/db/user.list
> ===================================================================
> RCS file: /cvs/ports/infrastructure/db/user.list,v
> retrieving revision 1.301
> diff -u -p -r1.301 user.list
> --- infrastructure/db/user.list 10 Jan 2018 16:20:58 -0000 1.301
> +++ infrastructure/db/user.list 16 Jan 2018 19:37:02 -0000
> @@ -308,3 +308,4 @@ id  user group port options
>  797 _influx _influx databases/influxdb
>  798 _grafana _grafana sysutils/grafana
>  799 _prometheus _prometheus sysutils/prometheus
> +800 _hass _hass productivity/homeassistant


homeassistant.tar.gz (22K) Download Attachment