Giter VIP home page Giter VIP logo

home-assistant.io's Introduction

Discord License: CC BY-NC-SA 4.0

Deploys by netlify

Home Assistant website

This is the source for the Home-Assistant.io website.

Setup

Setting up to contribute to documentation and the process for submitting pull requests is explained in the developer documentation.

Site preview

In order to make the preview available on http://127.0.0.1:4000, use the following bundler command:

bundle exec rake preview

If the preview is not running on your local machine, pass the IP of the target machine from where it should be served as a parameter, i.e. to access on http://192.168.0.123:4000:

bundle exec rake preview[192.168.0.123]

Speeding up site generation

Every release we post long changelogs to the website. This slows down generation of the website significantly! We include some tools to temporarily exclude the blog posts that you're not working on out of the way.

bundle exec rake isolate[filename-of-blogpost]

When you're done working on the site, run the following command to move the posts back again:

bundle exec rake integrate

home-assistant.io's People

Contributors

adrianmihalko avatar allenporter avatar arsaboo avatar bachya avatar balloob avatar bdraco avatar bramkragten avatar c0ffeeca7 avatar cogneato avatar cyberjunky avatar danielhiversen avatar dannytsang avatar dependabot[bot] avatar dubhad avatar emontnemery avatar fabaff avatar fhemberger avatar frenck avatar gjohansson-st avatar iantrich avatar imathis avatar jbouwh avatar klaasnicolaas avatar ludeeus avatar pvizeli avatar raman325 avatar robbiet480 avatar seanpm5 avatar starkillerog avatar wrt54g avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

home-assistant.io's Issues

Scene links don't work anymore

Just found out the links in the docs to the scene component don't work anymore.
This is obvious as the old scene has moved to scene.home-assistant.
What should we do ? Revert to the old scene or update the links ?

raspberry pi arduino home assistant

hi everyone,
so I am trying to connect my raspberry pi in which I installed homeassistant with arduino uno using esp 8266.
the basics are that the raspberry pi will act as a server to send and recieve data from all the arduino
in this case , the arduino is connected with the sensors (light, humidity, temperature)
the problem I am facing is that i can't make a configuration file that seems to be able to handle all of this
any suggestions or solutions please ?

Install failed

C:\Users\fredr>py -m homeassistant --open-ui
Traceback (most recent call last):
File "", line 1, in
File "C:\Users\fredr\AppData\Local\Programs\Python\Python35\lib\multiprocessing\spawn.py", line 106, in spawn_main
exitcode = _main(fd)
File "C:\Users\fredr\AppData\Local\Programs\Python\Python35\lib\multiprocessing\spawn.py", line 116, in _main
self = pickle.load(from_parent)
AttributeError: Can't get attribute 'setup_and_run_hass' on <module 'main' (built-in)>

Refactor component page

The new layout for the component page has helped a lot in making it more clear how the components work. I am however afraid that in the long run even this will turn into chaos. I think we should consider:

  • Splitting component page into three pages:
    • Devices (ie. Hue, MQTT, PushBullet)
    • Automation & Organization (ie. Automation, Scheduler, Group)
    • Functionality (ie. Logbook, Discovery)
  • Allow search/filter for device page (example we can use, example how it should look)

GeoFancy Howto blog post?

Can we get some more info about the geofancy? I tried to install it, but didn't know where to start?
(The iOs-app, register on geofancy.com etc)

Thanks!!

ecobee won't install

I don't have a PIN and it isn't generating one for me.

Here is the error I get:

16-04-22 02:59:48 homeassistant.bootstrap: Error during setup of component ecobee
Traceback (most recent call last):
  File "/usr/local/lib/python3.4/dist-packages/homeassistant/bootstrap.py", line 158, in _setup_component
    if not component.setup(hass, config):
  File "/usr/local/lib/python3.4/dist-packages/homeassistant/components/ecobee.py", line 130, in setup
    NETWORK = EcobeeData(hass.config.path(ECOBEE_CONFIG_FILE))
  File "/usr/local/lib/python3.4/dist-packages/homeassistant/components/ecobee.py", line 99, in __init__
    self.ecobee = Ecobee(config_file)
  File "/home/pi/.homeassistant/deps/pyecobee/__init__.py", line 53, in __init__
    self.request_pin()
  File "/home/pi/.homeassistant/deps/pyecobee/__init__.py", line 64, in request_pin
    self.authorization_code = request.json()['code']
KeyError: 'code'

History graph not loading

I have problem with showing history on some sensors, HA and server is running for 9 days without reset of hass service, when I click on some of the sensors, it will not load the history graph. most of sensors are now not showing history, just 2 of 12 shows history on tab. I did not find anything special in log files, after restarting the hass service it is working normally for a few days again.
image
there is a piece of logs after clicking on sensor

16-03-10 11:44:20 homeassistant.components.http: "GET /states HTTP/1.1" 200 -
16-03-10 11:44:22 homeassistant.components.http: "GET /static/favicon-192x192.png HTTP/1.1" 200 -
16-03-10 11:44:22 homeassistant.components.http: "GET /static/frontend-a4d021cb50ed079fcfda7369ed2f0d4a.html HTTP/1.1" 200 -
-------------------------------------------------------------------------------------------------------------2016/03/10 11:44:23-------------------------------------------------------------------------------------------------------------
16-03-10 11:44:29 homeassistant.components.http: "GET /api/bootstrap HTTP/1.1" 200 -
16-03-10 11:44:29 homeassistant.components.http: "GET /static/favicon.ico HTTP/1.1" 200 -
16-03-10 11:44:29 homeassistant.components.http: "GET /static/mdi-2f4adc5d3ad6d2f73bf69ed29b7594fd.html HTTP/1.1" 200 -
16-03-10 11:44:30 homeassistant.core: Bus:Handling <Event state_changed[L]: new_state=<state sensor.cpu_use=41; friendly_name=CPU Use, unit_of_measurement=%, icon=mdi:memory @ 11:44:30 10-03-2016>, entity_id=sensor.cpu_use, old_state=<st
ate sensor.cpu_use=30; friendly_name=CPU Use, unit_of_measurement=%, icon=mdi:memory @ 11:44:01 10-03-2016>>
16-03-10 11:44:30 requests.packages.urllib3.connectionpool: Starting new HTTPS connection (1): api.forecast.io
16-03-10 11:44:30 homeassistant.components.http: "GET /api/stream?api_password=*******&restrict=state_changed,component_loaded,service_registered HTTP/1.1" 200 -
16-03-10 11:44:30 homeassistant.core: Bus:Handling <Event state_changed[L]: new_state=<state sensor.since_last_boot=9 days, 18:01:01.922193; friendly_name=Since Last Boot, icon=mdi:clock @ 11:44:30 10-03-2016>, entity_id=sensor.since_las
t_boot, old_state=<state sensor.since_last_boot=9 days, 18:00:32.355433; friendly_name=Since Last Boot, icon=mdi:clock @ 11:44:01 10-03-2016>>
16-03-10 11:44:32 homeassistant.core: Bus:Handling <Event state_changed[L]: new_state=<state sun.sun=above_horizon; friendly_name=Sun, next_setting=16:45:01 10-03-2016, next_rising=05:07:17 11-03-2016, elevation=37.12 @ 06:09:23 10-03-20
16>, entity_id=sun.sun, old_state=<state sun.sun=above_horizon; friendly_name=Sun, next_setting=16:45:01 10-03-2016, next_rising=05:07:17 11-03-2016, elevation=37.11 @ 06:09:23 10-03-2016>>

Re-organisation of the installation section

It seems that sooner or later we need additional guides about the installation. I think that at least a Windows section is needed. I started to write installation guides for Fedora, CentOS (because there is Firewalld and Systemd which needs special attention) and using a Cubieboard. Ok, right now it's more a transformation of my notes.

Do you guys think it worth to expand the installation section from the current state to cover more ground? Or should those guides be posted on the blog to keep the installation section clean?

Feature Request: Save and Restore States

I would find it useful to be able to save the state of the lights, do something (like FLASH/Blink/Party mode) them and then restore them to the previous state. Similar to the functionality of the scene but more isolated so I could use it in scripts or automations. Not sure if this is a niche thing for me or if others would find it useful.

I am specifically thinking about it with the recent addition of IFTTT support. I want to use triggers on IFTTT and lights as the notifier on HA but need to be able to somehow set them BACK to whatever they were before sending the flash alert.

Example: Flash a light (or THE ENTIRE HOUSE) when
any IFTTT notification comes in (Mail, Tweet, Meeting, etc...)
Eventually when a VOIP call comes in.
Alarm/timer ends on Amazon Echo
z-Wave Doorbell rings, Mailbox Opens, Pool gate opens.

All of these things require a way to save the current state and then restore them. I tried to use scene but the flash:long service can't be included in the scene. (I guess it's not a state).

So the easy way might be to just add flash to scenes but a more broader solution might be to create a separate save/restore function.

Thoughts?

Netatmo Feature Request

Hello, I think that Netatmo would make a great addition to this controller. Netatmo have an API and I've seen it implemented quite well in things like ImperiHome for android.

Suggestion: User Automations

This and this made me think of a suggestion for the site. An automation showcase. Some of the hardest parts of automation are just coming up with an idea. I would love to see a place that has other automations that people have made. Not sure how this would be laid out or contributed but I think it would help give people a roadmap of where to take their homes in terms of automation/scheduling. Everyone has different equipment of course but I know I would find it useful. I think one of the key things with IFTTT is the collection of recipes that they have and can be shared.

It's just an inkling of an idea but here are some of the things I think of when thinking about this :

Maybe the last item is the way to go (Github Wiki) so that it could be organically grown by the user community. (and probably the quickest to implement)

Bottom line: I would love to see how other people use Home-Assistant to give me ideas on how I can extend it's use in my own home. Due to it's name, it's super hard to google how people do it and the Mailing list and Chat aren't good places for historical information/ideas.

Better (Python) API documentation with examples

Using the Python API wrapper, I'd like to turn a switch on. How do I do that?
I read the REST API documentation, I guess I have to call a service, I tried in the developer view, I can only turn on all switches. Looking at the source code did not really help me, so I think the API examples page should be extended.

Error in the description aREST binary sensor

# Example configuration.yaml entry
sensor:
  platform: arest
  resource: http://IP_ADDRESS
  name: Office Switch
  pin: 8

must be so:

# Example configuration.yaml entry
binary_sensor:
  platform: arest
  resource: http://IP_ADDRESS
  name: Office Switch
  pin: 8

Clarify PC instructions

Sorry, NOOB question as I'm a hardware guy. Under the PC section, I've installed Python using these instructions and when I run pip3 install fabric3 that seems to be installed but then where do I run the git command from as I'm not sure what 'Clone the repository' means? I'm assuming I'm going to end up with a directory off C: called fabric-home-assistant but I'm not sure how to get to that step.

N.B My Python 3.5 instance is installed under C:\Python35-64.

Demo

History shows
Invalid data at row #7: start(Thu Aug 06 2015 17:02:21 GMT+0200 (CEST)) &gt; end(Thu Aug 06 2015 16:42:22 GMT+0200 (CEST)).

Recommend virtualenv?

Hi.
When I first installed HA according to the instructions, it didn't work and I had to use sudo.
I've since learned from the Gitter chat that it's "highly recommended" to use a Python virtual environment, and I uninstalled HA and then reinstalled with virtualenv and it worked without sudo. Nice.

Can I suggest that someone more experienced with HA and virtualenv than me update the installation docs to make this recommendation (before the installation commands)?

Thanks!

Location of hass script

My install put the hass script into /usr/local/bin/ rather than /usr/bin/.

Suggest add an instruction to check location of hass with;

whereis hass

HomeBridge blog post

@maddox added support for Home Assistant to HomeBridge. We need a blog post to educate people of this feature.

We can start the blog post with a link to the HomeBridge getting started guide. They know better how to set it up then we ever will.

Next we should include a Home Assistant config (@maddox?, @CCOSTAN?).

If I recall correctly, @maddox added support for showing certain devices as switches/lights in Siri. Anyone has more info on this and how can it be used with HomeBridge?

We might want to include a cool example how to use Siri to use a command line switch to execute commands?

Just updated

Don't really care for the additional banner as it serves no purpose. Yes, it auto hides after you scroll but takes up valuable real estate on a phone.

Can we remove it?

Vera Controller URL Possibly Incorrect

I was working through the Vera controller setup, and I noticed the provided URI in this documentation may be out of date, or that it might be there is a different URL for the Vera plus. I have a Vera Plus, and the URI to access it locally on my system is http://192.168.1.158/cmh, whereas the documentation show it as http://192.168.1.161:3480/

Can anyone confirm whether this documentation is up to date or needs that URL rewritten? I don't mind updating the docs, but I would hope that I am not missing something (maybe another Vera controller uses a different URI?)

If I try to use specified URI with Vera plus, I will get a barrage of issues:

ERROR:homeassistant.components.vera:Error communicating with Vera API
Traceback (most recent call last):
  File "/Users/KeithOMB/.pyenv/versions/3.4.4/lib/python3.4/site-packages/requests/packages/urllib3/connection.py", line 142, in _new_conn
    (self.host, self.port), self.timeout, **extra_kw)
  File "/Users/KeithOMB/.pyenv/versions/3.4.4/lib/python3.4/site-packages/requests/packages/urllib3/util/connection.py", line 91, in create_connection
    raise err
  File "/Users/KeithOMB/.pyenv/versions/3.4.4/lib/python3.4/site-packages/requests/packages/urllib3/util/connection.py", line 81, in create_connection
    sock.connect(sa)
ConnectionRefusedError: [Errno 61] Connection refused

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/Users/KeithOMB/.pyenv/versions/3.4.4/lib/python3.4/site-packages/requests/packages/urllib3/connectionpool.py", line 578, in urlopen
    chunked=chunked)
  File "/Users/KeithOMB/.pyenv/versions/3.4.4/lib/python3.4/site-packages/requests/packages/urllib3/connectionpool.py", line 362, in _make_request
    conn.request(method, url, **httplib_request_kw)
  File "/Users/KeithOMB/.pyenv/versions/3.4.4/lib/python3.4/http/client.py", line 1137, in request
    self._send_request(method, url, body, headers)
  File "/Users/KeithOMB/.pyenv/versions/3.4.4/lib/python3.4/http/client.py", line 1182, in _send_request
    self.endheaders(body)
  File "/Users/KeithOMB/.pyenv/versions/3.4.4/lib/python3.4/http/client.py", line 1133, in endheaders
    self._send_output(message_body)
  File "/Users/KeithOMB/.pyenv/versions/3.4.4/lib/python3.4/http/client.py", line 963, in _send_output
    self.send(msg)
  File "/Users/KeithOMB/.pyenv/versions/3.4.4/lib/python3.4/http/client.py", line 898, in send
    self.connect()
  File "/Users/KeithOMB/.pyenv/versions/3.4.4/lib/python3.4/site-packages/requests/packages/urllib3/connection.py", line 167, in connect
    conn = self._new_conn()
  File "/Users/KeithOMB/.pyenv/versions/3.4.4/lib/python3.4/site-packages/requests/packages/urllib3/connection.py", line 151, in _new_conn
    self, "Failed to establish a new connection: %s" % e)
requests.packages.urllib3.exceptions.NewConnectionError: <requests.packages.urllib3.connection.HTTPConnection object at 0x10f00d438>: Failed to establish a new connection: [Errno 61] Connection refused

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/Users/KeithOMB/.pyenv/versions/3.4.4/lib/python3.4/site-packages/requests/adapters.py", line 403, in send
    timeout=timeout
  File "/Users/KeithOMB/.pyenv/versions/3.4.4/lib/python3.4/site-packages/requests/packages/urllib3/connectionpool.py", line 623, in urlopen
    _stacktrace=sys.exc_info()[2])
  File "/Users/KeithOMB/.pyenv/versions/3.4.4/lib/python3.4/site-packages/requests/packages/urllib3/util/retry.py", line 281, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
requests.packages.urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='192.168.1.161', port=3480): Max retries exceeded with url: //data_request?id=sdata (Caused by NewConnectionError('<requests.packages.urllib3.connection.HTTPConnection object at 0x10f00d438>: Failed to establish a new connection: [Errno 61] Connection refused',))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/Users/KeithOMB/.pyenv/versions/3.4.4/lib/python3.4/site-packages/homeassistant/components/vera.py", line 68, in setup
    list(DEVICE_CATEGORIES.keys()))
  File "/Users/KeithOMB/.homeassistant/deps/pyvera/__init__.py", line 88, in get_devices
    self.get_simple_devices_info()
  File "/Users/KeithOMB/.homeassistant/deps/pyvera/__init__.py", line 63, in get_simple_devices_info
    j = requests.get(simple_request_url).json()
  File "/Users/KeithOMB/.pyenv/versions/3.4.4/lib/python3.4/site-packages/requests/api.py", line 71, in get
    return request('get', url, params=params, **kwargs)
  File "/Users/KeithOMB/.pyenv/versions/3.4.4/lib/python3.4/site-packages/requests/api.py", line 57, in request
    return session.request(method=method, url=url, **kwargs)
  File "/Users/KeithOMB/.pyenv/versions/3.4.4/lib/python3.4/site-packages/requests/sessions.py", line 475, in request
    resp = self.send(prep, **send_kwargs)
  File "/Users/KeithOMB/.pyenv/versions/3.4.4/lib/python3.4/site-packages/requests/sessions.py", line 585, in send
    r = adapter.send(request, **kwargs)
  File "/Users/KeithOMB/.pyenv/versions/3.4.4/lib/python3.4/site-packages/requests/adapters.py", line 467, in send
    raise ConnectionError(e, request=request)
requests.exceptions.ConnectionError: HTTPConnectionPool(host='192.168.1.161', port=3480): Max retries exceeded with url: //data_request?id=sdata (Caused by NewConnectionError('<requests.packages.urllib3.connection.HTTPConnection object at 0x10f00d438>: Failed to establish a new connection: [Errno 61] Connection refused',))
ERROR:homeassistant.bootstrap:component vera failed to initialize

Which appears to say that it could not connect to Vera or initialize. I do get other errors when using the /cmh URI but I believe that issue would be for another repo, not the .io website.

Add a "cookbook"

It would be great if there was an automation cookbook on the website where users can show their automations.
I feel a lot of stuff is not so much about the technical stuff as it is about the creativity.
Looking at other peoples' automations can inspire others!

-- I have a simple automation that i really like:

  1. I listen to music on my PC using VLC.
  2. I watch shows / movies on my TV using Kodi.
  3. When Kodi changes to the playing state, vlc is muted via a commandline switch that uses curl to set the volume to 0.

Two branches

Starting the next release of Home Assistant I am going to change our website development process. Until now we only had a master branch that held the latest working copy of the website. The problem with this approach is that if we had to do a release because of a new blog post or an important doc bug fix, we are pushing out new documentation too.

Starting the next release there will be two branches:

  • master which will be the website for the current version of HA
  • next which will be the website for the next version of HA.

HA does not update the HMI

HA is up and running on my Win10 PC and is showing the HMI in Windows iExplorer.
I am having another HA instance in a Chrome
Uploading home-assistant.zip…

browser on my Android Tablet 5.0.2

It seems like HA was able to pull data from the ISY, I can see switches and light. For some reason I can not see all of my switches, some are missing.
Anyway, the HMI does not automatically update when

  1. switching ON/OFF the light on the actual switch (please note, MobiLinc is updating immediately)
  2. switching ON/OFF the light on MobiLinc

HA is updating its HMI only, when switching on/off from the other HA instance.

I am using the following HW/SW version
ISY994i with firmware 4.3.26
Win10, Python 3.5.1
HA 0.12.0
MobiLinc 2.0.7

Below the log file after I have ended HA from the command line with CTRL-C

16-01-30 23:03:08 homeassistant.bootstrap: Not initializing discovery because could not install dependency netdisco==0.5.2
16-01-30 23:23:07 homeassistant.core: BusHandler:Exception doing job
Traceback (most recent call last):
  File "c:\users\generalf\appdata\local\programs\python\python35-32\lib\site-packages\homeassistant\core.py", line 826, in job_handler
    func(arg)
  File "c:\users\generalf\appdata\local\programs\python\python35-32\lib\site-packages\homeassistant\core.py", line 299, in onetime_listener
    listener(event)
  File "c:\users\generalf\appdata\local\programs\python\python35-32\lib\site-packages\homeassistant\components\isy994.py", line 99, in stop
    ISY.auto_update = False
  File "C:\Users\generalf\AppData\Roaming\.homeassistant\lib\PyISY\ISY.py", line 122, in auto_update
    self._events.running = val
  File "C:\Users\generalf\AppData\Roaming\.homeassistant\lib\PyISY\Events\events.py", line 114, in running
    self.unsubscribe()
  File "C:\Users\generalf\AppData\Roaming\.homeassistant\lib\PyISY\Events\events.py", line 171, in unsubscribe
    msg = self._mkmsg(strings.unsub_msg)
  File "C:\Users\generalf\AppData\Roaming\.homeassistant\lib\PyISY\Events\events.py", line 50, in _mkmsg
    body = body.format(**self.data)
KeyError: 'sid'

Blog post announcing IFTTT

The 0.7.2. release is out but not announced yet, as I want the announcement on the blog to be full of examples how to get started with IFTTT.

Examples how other services have announced it:

I've already made a graphic that we can use in our blog. This will also show up in the previews on FB/Twitter etc.

ifttt

fire-tv module: ImportError: No module named 'cStringIO'

root@homeassistant:~# firetv-server 192.168.14.43:5555
Traceback (most recent call last):
  File "/usr/local/bin/firetv-server", line 7, in <module>
    from firetv.__main__ import main
  File "/usr/local/lib/python3.4/dist-packages/firetv/__init__.py", line 11, in <module>
    from adb import adb_commands
  File "/usr/local/lib/python3.4/dist-packages/adb/adb_commands.py", line 25, in <module>
    import cStringIO
ImportError: No module named 'cStringIO'

i did it like the wiki said.
have a debian jessie running.

root@homeassistant:~# python -V
Python 2.7.9

how to solve this python3/2 issue?
thanks for help!

edit: i looked here:
https://github.com/happyleavesaoc/python-firetv

but there is no hint for a noob like me how to pinn it to python 2...

Problem with Open Zwave Control Panel config on the all-in-one install

I've had a hell of a time getting Home Assistant installed with Zwave, so I tried to use the All-In-One installer. I ran into an issue that I was able to fix for myself, but wanted to raise it here so it could hopefully be addressed for everyone.

This is on a fresh Jessie Lite Raspberry Pi.

The install seemed to go without a hitch, and I could load up the HA web interface. However, when I tried to start the Open Zwave control panel (as per the instructions), it complained about a missing config file:

pi@HAL:/srv/hass/src/open-zwave-control-panel $ sudo ./ozwcp -p 8888 2016-05-27 08:27:23.265 Error, Cannot find a path to the configuration files at ./config/. Exiting... 2016-05-27 08:27:23.275 Error, Exception: Options.cpp:91 - 1 - Cannot Find Configuration Files Error: Options.cpp:91 - Cannot Find Configuration Files

I noticed that "config" was a simlink pointing to a path that didn't exist:

config -> /srv/hass/hass_venv/lib/python3.4/site-packages/libopenzwave-0.3.1-py3.4-linux-armv7l.egg/config

A little exploring revealed that what did exist was:

/srv/hass/hass_venv/lib/python3.4/site-packages/libopenzwave-0.3.1-py3.4-linux-armv**6**l.egg/config

Changed the symlink, everything worked fine. Not sure why it was originally the first link, but wanted to share in case it's a bug.

Error after update

After upgrade, upon running $hass --open-ui
I get...

INFO:homeassistant.core:Timer:starting
INFO:netdisco.service:Scanning
Exception in thread WSGI-server:
Traceback (most recent call last):
File "/usr/lib/python3.4/threading.py", line 920, in _bootstrap_inner
self.run()
File "/usr/lib/python3.4/threading.py", line 868, in run
self._target(_self._args, *_self._kwargs)
File "/usr/local/lib/python3.4/dist-packages/homeassistant/components/http.py", line 286, in start
from eventlet import wsgi
File "/home/steve/.homeassistant/deps/eventlet/init.py", line 10, in
from eventlet import convenience
File "/home/steve/.homeassistant/deps/eventlet/convenience.py", line 6, in
from eventlet.green import socket
File "/home/steve/.homeassistant/deps/eventlet/green/socket.py", line 17, in
from eventlet.support import greendns
File "/home/steve/.homeassistant/deps/eventlet/support/greendns.py", line 54, in
socket=_socket_nodns)
File "/home/steve/.homeassistant/deps/eventlet/patcher.py", line 119, in import_patched
*additional_modules + tuple(kw_additional_modules.items()))
File "/home/steve/.homeassistant/deps/eventlet/patcher.py", line 93, in inject
module = import(module_name, {}, {}, module_name.split('.')[:-1])
File "/usr/local/lib/python3.4/dist-packages/dns/resolver.py", line 31, in
import dns.flags
File "/usr/local/lib/python3.4/dist-packages/dns/flags.py", line 51, in
_by_value = dict([(y, x) for x, y in _by_text.iteritems()])
AttributeError: 'dict' object has no attribute 'iteritems'

Created new window in existing browser session...
(The browser gives ERR_CONNECTION_REFUSED)

Launch Home Assistant on Boot

This comment refers to the systemd subpage of https://home-assistant.io/getting-started/autostart.html

There is one dash missing in the Reload system-d, it should be:

sudo systemctl –-system daemon-reload

Further, did the ExecStart command "hass" lead to the follwing error on my raspberry pi 2 with raspbian jessie:

Oct 25 07:41:47 raspberrypi systemd[1]: [/lib/systemd/system/home-assistant.service:7] Executable path is not absolute...: hass
Oct 25 07:41:47 raspberrypi systemd[1]: home-assistant.service lacks ExecStart setting. Refusing.

It worked after changing it to the absolute path:

/usr/local/bin/hass

To use the configuration of the user pi (and not root), I had to add the following line in the service section of the home-assistant.service file:

User=pi

User automation cookbook

Automation component documentation will be revamped and put front and center in the getting started. I want to include a cookbook with awesome recipes for people to easily copy-paste-adjust. Please post your real life examples here and get some good ones!

For each automation you post, include a title and an optional description if a complex setup. It is okay to include configuration for scripts and scenes too.

I am looking for simple and complex examples!

Example:

Turn on the living room lights 45 minutes before sunset if anyone home

automation:
  trigger:
    platform: sun
    event: sunset
    offset: "-00:45:00"
  condition:
    platform: state
    entity_id: group.all_devices
    state: home
  action:
    service: homeassistant.turn_on
    entity_id: group.living_room_lights

Relay Actuator Configuration

Dear Gentlemen,
HA detects MySensors RelayActuator running on an Arduino Uno. I need to add a switch to HA front end to control it. Please help me. Thank you.

Wink status not updating

Just wondering if anyone has any issues with Wink status for switches/lights not updating in Home Assistant since a week ago? I tried a new refreshed API key and still not seeing status. I can control devices, but no status.

Better automation component documentation

The automation component is now the preferred way to do automations in Home Assistant. It has a lot of options. The current documentation should be put more in front of users (explicit part of the getting started?) and it should be cleaned up.

  • Add examples for event trigger
  • Add examples for if conditions
  • More usage examples
  • Mention logbook shows when automation is being triggered
  • More prominently integrated into getting started
  • Remove scheduler component documentation (it will be removed)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.