Giter Club home page Giter Club logo

core's Introduction

Home Assistant Chat Status

Open source home automation that puts local control and privacy first. Powered by a worldwide community of tinkerers and DIY enthusiasts. Perfect to run on a Raspberry Pi or a local server.

Check out home-assistant.io for a demo, installation instructions, tutorials and documentation.

screenshot-states

screenshot-integrations

The system is built using a modular approach so support for other devices or actions can be implemented easily. See also the section on architecture and the section on creating your own components.

If you run into issues while using Home Assistant or during development of a component, check the Home Assistant help section of our website for further help and information.

core's People

Contributors

allenporter avatar amelchio avatar bachya avatar balloob avatar bdraco avatar bieniu avatar bramkragten avatar cdce8p avatar danielhiversen avatar dmulcahey avatar emontnemery avatar epenet avatar fabaff avatar frenck avatar gjohansson-st avatar homeassistant avatar janiversen avatar jbouwh avatar jjlawren avatar joostlek avatar kane610 avatar ludeeus avatar martinhjelmare avatar mib1185 avatar pvizeli avatar raman325 avatar scop avatar springstan avatar starkillerog avatar tkdrob 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

core's Issues

New version of Synology package committed to SynoCommunity spksrc

Hi,

I created a package of Home Assistant to run on Synology NASes and submitted a PR at SynoCommunity/spksrc#1773.

The package is not built&published yet, but when it is published (needs to be done by a maintainer of that repository), it might be nice to add to your readme and to the homepage.

It still needs testing since I can't test all modules (I can test only Hue and ChromeCast - these work).

Since it is a beta package, users need to enable the "beta channel" to be able to install it.

Frontend behaviour

Hi,

I remarked two differences of behaviour between the master and the dev branch:

  • in dev, if I click on the toggle button in the states view, it brings up the entity detail card
  • the group of buttons for the developper tools are not in the lower left corner in the dev branch
    screen shot 2015-06-12 at 11 23 36

Br.

Not installing PyISY wheel breaks light and sensor components

With the current master I get runtime errors when PyISY is not available, although PyISY is listed as 'optional' in requirements.txt.

11:33 25-04-15 homeassistant.loader: Error loading homeassistant.components.sensor. Make sure all dependencies are installed
Traceback (most recent call last):
  File "/usr/local/homeassistant/share/homeassistant/homeassistant/loader.py", line 116, in get_component
    module = importlib.import_module(path)
  File "/usr/local/homeassistant/env/lib/python3.4/importlib/__init__.py", line 109, in import_module
    return _bootstrap._gcd_import(name[level:], package, level)
  File "<frozen importlib._bootstrap>", line 2254, in _gcd_import
  File "<frozen importlib._bootstrap>", line 2237, in _find_and_load
  File "<frozen importlib._bootstrap>", line 2226, in _find_and_load_unlocked
  File "<frozen importlib._bootstrap>", line 1200, in _load_unlocked
  File "<frozen importlib._bootstrap>", line 1129, in _exec
  File "<frozen importlib._bootstrap>", line 1471, in exec_module
  File "<frozen importlib._bootstrap>", line 321, in _call_with_frames_removed
  File "/usr/local/homeassistant/share/homeassistant/homeassistant/components/sensor/__init__.py", line 9, in <module>
    from homeassistant.components import wink, zwave, isy994
  File "/usr/local/homeassistant/share/homeassistant/homeassistant/components/isy994.py", line 10, in <module>
    import PyISY
ImportError: No module named 'PyISY'
11:33 25-04-15 homeassistant.loader: Unable to find component sensor
11:33 25-04-15 homeassistant: hass.local_api is deprecated. Use hass.config.api
11:33 25-04-15 homeassistant: hass.local_api is deprecated. Use hass.config.api
11:33 25-04-15 homeassistant.components.recorder: Found unfinished sessions
11:33 25-04-15 homeassistant.loader: Error loading homeassistant.components.light. Make sure all dependencies are installed
Traceback (most recent call last):
  File "/usr/local/homeassistant/share/homeassistant/homeassistant/loader.py", line 116, in get_component
    module = importlib.import_module(path)
  File "/usr/local/homeassistant/env/lib/python3.4/importlib/__init__.py", line 109, in import_module
    return _bootstrap._gcd_import(name[level:], package, level)
  File "<frozen importlib._bootstrap>", line 2254, in _gcd_import
  File "<frozen importlib._bootstrap>", line 2237, in _find_and_load
  File "<frozen importlib._bootstrap>", line 2226, in _find_and_load_unlocked
  File "<frozen importlib._bootstrap>", line 1200, in _load_unlocked
  File "<frozen importlib._bootstrap>", line 1129, in _exec
  File "<frozen importlib._bootstrap>", line 1471, in exec_module
  File "<frozen importlib._bootstrap>", line 321, in _call_with_frames_removed
  File "/usr/local/homeassistant/share/homeassistant/homeassistant/components/light/__init__.py", line 60, in <module>
    from homeassistant.components import group, discovery, wink, isy994
  File "/usr/local/homeassistant/share/homeassistant/homeassistant/components/isy994.py", line 10, in <module>
    import PyISY
ImportError: No module named 'PyISY'
11:33 25-04-15 homeassistant.loader: Unable to find component light

Inconsistent use of time formatting

The format of time is inconsistent in the interface. We use 24 hour style here. I assume this should be configured trough the Timezone parameter in the configuration. This is set to Europe/Brussels.

The sun card:
image
The timeline at the top is displaying correct 24-hour style. The information at the bottom is showing 12-hour style.

Logbook:
image
The time in the logbook is in 12-hour style.

Timeline popover:
image
The timeline itself is displayed fine, but the popup is in 12-hour style again.

Intl not available in safari

Indeed, I got this error message :(

ReferenceError: Can't find variable: Intl

which I think is also the cause for a

TypeError: undefined is not an object (evaluating 'monthElements[this._triggerRange].dataset')

Just got on this googling the problem: openfisca/openfisca-web-site#45

State history bar does not scale properly

The media player card scales well, but the state history element in it does not scale well and causes a horizontal scrollbar. It is fixed at 400px, but since this is a svg I'm not sure whether it can be scaled easily.

image

Improvement points for chromecast integration

I thought it would be good to make a list of where the chromecast integration can be improved, now that the basics work again.

The following come to mind, please add your thoughts.

Additions to the media player card:

  • Current application name
  • Basic buttons for previous/next track, pause/play, stop
  • Volume slider

Pychromecast:

  • Status seems to be always idle (can be seen in the INFO:home assistant:Bus:Handling message, ). What is the difference of this state with the playing state?
    )
  • More pychromecast controllers are needed since not all conform to the media player receiver:
  • DS Photo
  • DS Video
  • DS Audio
  • probably others

Are there any ways to find out the protocol for chromecast apps that have no browser app?

z-wave.me

anybody tried the raspberry pi z-wave extension board - I'm thinking of maybe switching from openhab to home-assistant...

Sensors/Switch component

Hi,
going on with my Netio implementation, I was wondering what was the best way to have a sensor/switch combination: netio4all is a remote controllable socket plug with consumption sensors and com is build upon telnet, so I was thinking about:

  • creating a new component: switch/sensor specific
  • creating a new generic component:
  • creating a kind of object provider, accessible from a switch component and a sensor component
  • using something existing that I missed .. :)

What would be the best action path ?

Error in recorder.py

Hello,

i get an error:

Traceback (most recent call last):
File "/usr/lib/python3.4/socketserver.py", line 609, in process_request_thread
self.finish_request(request, client_address)
File "/usr/lib/python3.4/socketserver.py", line 344, in finish_request
self.RequestHandlerClass(request, client_address, self)
File "/usr/lib/python3.4/socketserver.py", line 665, in init
self.handle()
File "/usr/lib/python3.4/http/server.py", line 398, in handle
self.handle_one_request()
File "/usr/lib/python3.4/http/server.py", line 386, in handle_one_request
method()
File "/home/tv/home-assistant/home-assistant3/home-assistant/homeassistant/components/http/init.py", line 298, in do_GET
self._handle_request('GET')
File "/home/tv/home-assistant/home-assistant3/home-assistant/homeassistant/components/http/init.py", line 282, in _handle_request
handle_request_method(self, path_match, data)
File "/home/tv/home-assistant/home-assistant3/home-assistant/homeassistant/components/history.py", line 128, in _api_history_period
state_changes_during_period(start_time, entity_id=entity_id).values())
File "/home/tv/home-assistant/home-assistant3/home-assistant/homeassistant/components/history.py", line 54, in state_changes_during_period
for state in get_states(start_time):
File "/home/tv/home-assistant/home-assistant3/home-assistant/homeassistant/components/history.py", line 68, in get_states
run = recorder.run_information(point_in_time)
File "/home/tv/home-assistant/home-assistant3/home-assistant/homeassistant/components/recorder.py", line 92, in run_information
return RecorderRun(run) if run else None
File "/home/tv/home-assistant/home-assistant3/home-assistant/homeassistant/components/recorder.py", line 114, in init
self.end = datetime.fromtimestamp(row[2])
TypeError: an integer is required (got type NoneType)

add z-wave config options to example config file

The configuration.yaml.example file is missing any example config for z-wave sticks. It would be nice to include a sensible default config in this file, and perhaps a note about what is needed to enable z-wave-stick support.

device_tracker registering disconnected devices as "Home"

When using a router running OpenWRT, device_tracker registers devices no longer connected to the network as "Home". The ARP table, which is used by home assistant to determine the device states, includes devices which had been connected at some point but are not currently online.

To resolve this issue, it seems that the flags returned in the ARP table for each device should be checked for the value 0x2, which is defined as NUD_REACHABLE in /usr/include/linux/neighbour.h.

ability to configure Z-wave devices via home-assistant

When using the Aeon Multi-Sensor via a Z-Stick 2 USB device, only the motion-detector (reported as the "Sensor" state) state updates regularly -- the other values seem not to be updating at all (HA indicates that the last values were reported more than an hour ago). It would be nice if HA could be used to modify the config settings of the Aeon sensor -- it appears that by default, three of its states (Temperature, Luminance, and Humidity) expect to be polled.

Skipping the password screen (empty password)

I would like to leave the authentication to another part of the stack for my setup, but hass does not seem to support skipping the log-in screen right now. Can such an option be considered?

Persistence in MySQL database?

After searching google, flipping through the docs, and picking through half the source, I wanted to ask if MySQL could be used as a persistence store and how? (Am I misunderstanding? Is there no persistence storage?)

If this hasn't been implemented, could it conceivably be? I can write some python, though my networking strength is questionable on a good day; any notes to work towards that would be helpful.

Nest Platform Error

I'm running the latest version of home-assistant on my rpi. Nest hasn't shown up for a while and I see this error in my log file:
screen shot 2015-06-01 at 2 00 51 pm

My configuration hasn't changed since it last worked but it follows the example from the docs

thermostat:
  platform: nest
  username: email address
  password: mypassword

Control thermostat from web interface

Nice work with the new design for the web interface.

Are you planing to add support for controlling the thermostat from the web interface? Set target temperature and away_mode.

I tried to fix it my self, but I am not familiar with the polymer api, so I have not succeeded so far.

Luci device tracker failed.

Ive been having problems with tracking the 2 phones in the house. Tracker always stops working after a while. Can see from the logs that this is the last entry relating to Luci.

12:55 01-06-15 homeassistant: BusHandler:Exception doing job
Traceback (most recent call last):
 File "homeassistant/../homeassistant/__init__.py", line 315, in job_handler
   func(arg)
 File "homeassistant/../homeassistant/__init__.py", line 189, in time_listener
   action(now)
 File "homeassistant/../homeassistant/components/device_tracker/__init__.py", line 108, in update_device_state
   self.update_devices(now)
 File "homeassistant/../homeassistant/components/device_tracker/__init__.py", line 165, in update_devices
   self.device_scanner.scan_devices())
 File "homeassistant/../homeassistant/components/device_tracker/luci.py", line 102, in scan_devices
   self._update_info()
 File "homeassistant/../homeassistant/util/__init__.py", line 329, in wrapper
   result = method(*args, **kwargs)
 File "homeassistant/../homeassistant/components/device_tracker/luci.py", line 138, in _update_info
   params={'auth': self.token})
 File "homeassistant/../homeassistant/components/device_tracker/luci.py", line 167, in _req_json_rpc
   res = requests.post(url, data=data, timeout=5, **kwargs)
 File "/usr/local/lib/python3.4/site-packages/requests/api.py", line 109, in post
   return request('post', url, data=data, json=json, **kwargs)
 File "/usr/local/lib/python3.4/site-packages/requests/api.py", line 50, in request
   response = session.request(method=method, url=url, **kwargs)
 File "/usr/local/lib/python3.4/site-packages/requests/sessions.py", line 465, in request
   resp = self.send(prep, **send_kwargs)
 File "/usr/local/lib/python3.4/site-packages/requests/sessions.py", line 605, in send
   r.content
 File "/usr/local/lib/python3.4/site-packages/requests/models.py", line 750, in content
   self._content = bytes().join(self.iter_content(CONTENT_CHUNK_SIZE)) or bytes()
 File "/usr/local/lib/python3.4/site-packages/requests/models.py", line 673, in generate
   for chunk in self.raw.stream(chunk_size, decode_content=True):
 File "/usr/local/lib/python3.4/site-packages/requests/packages/urllib3/response.py", line 303, in stream
   for line in self.read_chunked(amt, decode_content=decode_content):
 File "/usr/local/lib/python3.4/site-packages/requests/packages/urllib3/response.py", line 447, in read_chunked
   self._update_chunk_length()
 File "/usr/local/lib/python3.4/site-packages/requests/packages/urllib3/response.py", line 394, in _update_chunk_length
   line = self._fp.fp.readline()
 File "/usr/local/lib/python3.4/socket.py", line 374, in readinto
   return self._sock.recv_into(b)
socket.timeout: timed out

Cannot switch off scene

I defined a scene in my configuration.yaml. I can switch it on, but I can't switch it off (using the frontend).

When I switch it on (using the switch in the frontend), the settings are applied, but the switch immediately slides back to "off". This makes it impossible to switch off a scene from the frontend.

I'm using the following configuration:

scene:
  - name: Evening
    entities:
      light.light_a:
        state: on
        color: [0.5294, 0.4529]
        brightness: 123
      light.light_b:
        state: on
        color: [0.5294, 0.4529]
        brightness: 123
      light.light_c:
        state: on
        color: [0.5294, 0.4529]
        brightness: 123

Unable to change lights color via Web interface

I've just installed Homeassistant, and configured it with Philips Hue support. The lamps show in the Web interface, and I can turn them on or off. However, changing the color XY or the brightness value in the JSON payload via the Web interface has 0 effect.

I can see the icon color changing in the Web interface so it reflects what I changed, but it actually does not make any call via phue.

AttributeError: 'NoneType' object has no attribute 'zone'

Following the Getting Started on an Ubuntu 14.04 VM resulted in the interface loading but it is not accepting a login.

The console shows the following exception:

Traceback (most recent call last):
  File "/usr/lib/python3.4/socketserver.py", line 609, in process_request_thread
    self.finish_request(request, client_address)
  File "/usr/lib/python3.4/socketserver.py", line 344, in finish_request
    self.RequestHandlerClass(request, client_address, self)
  File "/usr/lib/python3.4/socketserver.py", line 665, in __init__
    self.handle()
  File "/usr/lib/python3.4/http/server.py", line 398, in handle
    self.handle_one_request()
  File "/usr/lib/python3.4/http/server.py", line 386, in handle_one_request
    method()
  File "/opt/home-assistant/homeassistant/components/http.py", line 290, in do_GET
    self._handle_request('GET')
  File "/opt/home-assistant/homeassistant/components/http.py", line 274, in _handle_request
    handle_request_method(self, path_match, data)
  File "/opt/home-assistant/homeassistant/components/api.py", line 161, in _handle_get_api_bootstrap
    'config': hass.config.as_dict(),
  File "/opt/home-assistant/homeassistant/__init__.py", line 969, in as_dict
    'time_zone': self.time_zone.zone,
AttributeError: 'NoneType' object has no attribute 'zone'

Is there anything else that is required before this works?
(Also, I had to Google for the default password as it isn't mentioned on the getting started page.)

Instructions don't result in homeassistant listening on any port

Neither of these result in homeassistant listening on port 8123

python3 -m homeassistant
python3 -m homeassistant --config=config

In fact, it isn't seeming to be listening on any port.

(ve)[jeff@omniscience home-assistant] (master)$ ./build_frontend
(ve)[jeff@omniscience home-assistant] (master)$ git status
On branch master
Your branch is up-to-date with 'origin/master'.
Changes not staged for commit:
  (use "git add/rm <file>..." to update what will be committed)
  (use "git checkout -- <file>..." to discard changes in working directory)

    modified:   build_frontend
    deleted:    config/home-assistant.conf.example
    modified:   homeassistant/components/http/frontend.py
    modified:   homeassistant/components/http/www_static/frontend.html

Untracked files:
  (use "git add <file>..." to include in what will be committed)

    ve/

no changes added to commit (use "git add" and/or "git commit -a")
(ve)[jeff@omniscience home-assistant] (master)$ python3 -m homeassistant --config config
INFO:homeassistant.loader:Loaded component demo from homeassistant.components.demo
ERROR:homeassistant.loader:Error loading homeassistant.components.http
Traceback (most recent call last):
  File "/home/jeff/git/home-assistant/homeassistant/loader.py", line 91, in _get_component
    comp = importlib.import_module(module)
  File "/usr/lib64/python3.4/importlib/__init__.py", line 109, in import_module
    return _bootstrap._gcd_import(name[level:], package, level)
  File "<frozen importlib._bootstrap>", line 2254, in _gcd_import
  File "<frozen importlib._bootstrap>", line 2237, in _find_and_load
  File "<frozen importlib._bootstrap>", line 2226, in _find_and_load_unlocked
  File "<frozen importlib._bootstrap>", line 1200, in _load_unlocked
  File "<frozen importlib._bootstrap>", line 1129, in _exec
  File "<frozen importlib._bootstrap>", line 1471, in exec_module
  File "<frozen importlib._bootstrap>", line 321, in _call_with_frames_removed
  File "/home/jeff/git/home-assistant/homeassistant/components/http/__init__.py", line 86, in <module>
    import homeassistant.remote as rem
  File "/home/jeff/git/home-assistant/homeassistant/remote.py", line 18, in <module>
    import requests
ImportError: No module named 'requests'
ERROR:homeassistant.loader:Unable to load component http
INFO:homeassistant.loader:Loaded component group from homeassistant.components.group
INFO:homeassistant.bootstrap:Home Assistant core initialized
INFO:homeassistant:Bus:Handling <Event state_changed[L]: entity_id=a.Demo_Mode, new_state=<state Enabled @ 22:30:15 06-11-2014>>
INFO:homeassistant.loader:Loaded component sun from homeassistant.components.sun
ERROR:homeassistant.components.sun:Error while importing dependency ephem.
Traceback (most recent call last):
  File "/home/jeff/git/home-assistant/homeassistant/components/sun.py", line 66, in setup
    import ephem
ImportError: No module named 'ephem'
INFO:homeassistant:Bus:Handling <Event state_changed[L]: entity_id=light.Bowl, new_state=<state on:xy_color=[0.861, 0.3259], brightness=200 @ 22:30:15 06-11-2014>>
INFO:homeassistant:Bus:Handling <Event state_changed[L]: entity_id=light.Ceiling, new_state=<state on:xy_color=[0.1684, 0.0416], brightness=200 @ 22:30:15 06-11-2014>>
INFO:homeassistant:Bus:Handling <Event state_changed[L]: entity_id=light.TV_Back_light, new_state=<state off @ 22:30:15 06-11-2014>>
INFO:homeassistant:Bus:Handling <Event state_changed[L]: entity_id=light.Bed_light, new_state=<state off @ 22:30:15 06-11-2014>>
INFO:homeassistant:Bus:Handling <Event state_changed[L]: entity_id=group.all_lights, new_state=<state on:entity_id=['light.Bowl', 'light.Ceiling', 'light.TV_Back_light', 'light.Bed_light'], auto=True @ 22:30:15 06-11-2014>>
INFO:homeassistant:Bus:Handling <Event state_changed[L]: entity_id=wemo.AC, new_state=<state on @ 22:30:15 06-11-2014>>
INFO:homeassistant:Bus:Handling <Event state_changed[L]: entity_id=wemo.Christmas_Lights, new_state=<state off @ 22:30:15 06-11-2014>>
INFO:homeassistant:Bus:Handling <Event state_changed[L]: entity_id=group.living_room, new_state=<state on:entity_id=['light.Bowl', 'light.Ceiling', 'light.TV_Back_light', 'wemo.AC'], auto=False @ 22:30:15 06-11-2014>>
ERROR:homeassistant:WorkerPool:All 4 threads are busy and 17 jobs pending
INFO:homeassistant:Bus:Handling <Event state_changed[L]: entity_id=group.bedroom, new_state=<state off:entity_id=['light.Bed_light', 'wemo.Christmas_Lights'], auto=False @ 22:30:15 06-11-2014>>
INFO:homeassistant:Bus:Handling <Event state_changed[L]: entity_id=process.XBMC, new_state=<state on @ 22:30:15 06-11-2014>>
INFO:homeassistant:Bus:Handling <Event state_changed[L]: entity_id=device_tracker.Paulus, new_state=<state home:entity_picture=http://graph.facebook.com/schoutsen/picture @ 22:30:15 06-11-2014>>
ERROR:homeassistant:WorkerPool:All 4 threads are busy and 33 jobs pending
INFO:homeassistant:Bus:Handling <Event state_changed[L]: entity_id=device_tracker.Anne_Therese, new_state=<state not_home:entity_picture=http://graph.facebook.com/anne.t.frederiksen/picture @ 22:30:15 06-11-2014>>
INFO:homeassistant:Bus:Handling <Event state_changed[L]: entity_id=group.all_devices, new_state=<state home:entity_id=['device_tracker.Paulus', 'device_tracker.Anne_Therese'], auto=True @ 22:30:15 06-11-2014>>
INFO:homeassistant:Bus:Handling <Event state_changed[L]: entity_id=chromecast.Living_Rm, new_state=<state Netflix:friendly_name=Living Room @ 22:30:15 06-11-2014>>
INFO:homeassistant.bootstrap:component demo initialized
INFO:homeassistant.bootstrap:component group initialized
INFO:homeassistant:Bus:Handling <Event homeassistant_start[L]>
INFO:homeassistant:Timer:starting
INFO:homeassistant:Bus:Handling <Event time_changed[L]: now=22:30:20 06-11-2014>
^C

Sadly, I can't use the docker container due to docker being broken in Fedora 21 right now. So while it is running, I tried lsof -i tcp:8123 and lsof -p $(pidof python3)

This is with Python 3.4.1 on Fedora 21 (pre-release) x86_64.

FYI: I work on python automation code and django apps for $REAL_JOB and would love to help you improve this software if at all possible. I've got a home Insteon network and have SONOS speakers throughout the house. Once I get this all working, one of the first things I'd like to write is the integration between this and the SONOS xml api

Cannot switch off scene

I defined a scene in my configuration.yaml. I can switch it on, but I can't switch it off (using the frontend).

When I switch it on (using the switch in the frontend), the settings are applied, but the switch immediately slides back to "off". This makes it impossible to switch off a scene from the frontend.

I'm using the following configuration:

scene:
  - name: Evening
    entities:
      light.light_a:
        state: on
        color: [0.5294, 0.4529]
        brightness: 123
      light.light_b:
        state: on
        color: [0.5294, 0.4529]
        brightness: 123
      light.light_c:
        state: on
        color: [0.5294, 0.4529]
        brightness: 123

Refactor time based set_temperature from heat_control

I just realized that the time based target temperature logic in the heat_control platform is misplaced. The heat control platform now does two things:

  • controlling a heater based on a sensor
  • looking at the time to set target temperature.

Setting the target temperature based on the time should either be in a separate component or be integrated with the scheduler. This way it would also work for other thermostats.

CC @Danielhiversen

Device tracker are case sensitive

I just switched from nmap_tracker to netgear, and got duplicated entries for all my devices. The Netgear router outputs devices names and MAC in caps, while nmap outputs them lower-cased. I guess the comparison is made on the MAC address, and should be case insensitive.

Don't allow selections in the UI

Using the user-select: none css options disables the ability to select text in the interface. This is usefull for mobile interfaces since you can often start text selection by tapping and holding on a UI element too long. This breaks the app-like behavior.

Support is available in all recent browsers: http://caniuse.com/#feat=user-select-none Old browsers will just ignore this setting.

Screenshot: No more this!
image

iOS UI issue

Using the latest release from master.

When I launch the web app on iOS 8.3, and click on any component, I am unable to 'get out' or go back to the list. Usually I would click on the darkened part of the page, and the widget would pop away. Not so with the latest build.

Workaround is to reload the page.

WeMo Devices Discovered But Not Appearing

Pretty simple actually, after a fresh install on first run my wemo devices can be seen in the log as discovered but never actually show up in the web frontend. Could this be related to the latest wemo firmware? I fixed this over on ouimeaux...

SSL support

I don't see an option to serve Home Assistant over HTTPS. My server automatically redirects connections from HTTP to HTTPS, so this prevents me from accessing the app.

If this isn't too complicated, I'm happy to give it a try and submit a pull request, but I'll need some guidance about where to look.

Installing python via pyenv fails on Raspberry Pi

the procedure described here (for raspberry pi): https://home-assistant.io/getting-started/

fails as follows:

~ $ pyenv install -v 3.4.2
/tmp/python-build.20150525182409.18440 ~
Downloading Python-3.4.2.tgz...
-> https://www.python.org/ftp/python/3.4.2/Python-3.4.2.tgz
curl: (60) SSL certificate problem: unable to get local issuer certificate
More details here: http://curl.haxx.se/docs/sslcerts.html

curl performs SSL certificate verification by default, using a "bundle"
 of Certificate Authority (CA) public keys (CA certs). If the default
 bundle file isn't adequate, you can specify an alternate file
 using the --cacert option.
If this HTTPS server uses a certificate signed by a CA represented in
 the bundle, the certificate verification probably failed due to a
 problem with the certificate (it might be expired, or the name might
 not match the domain name in the URL).
If you'd like to turn off curl's verification of the certificate, use
 the -k (or --insecure) option.
error: failed to download Python-3.4.2.tgz

BUILD FAILED (Debian 7.8 using python-build 20150326-485-g50d5de4)

How can I disable the certificate check using pyenv?

Support for managing multiple rooms or groups of lights

I suspect this either hasn't been considered yet, or it's still a ways in the future. Either way, consider this as an opportunity for brainstorming rather than as a full feature request.

I have a roommate. We have Hue lights in our living room, and a few more in my bedroom.
I would like the living room lights to turn on when either of us is home, and turn off when we both leave. The device_sun_light_trigger covers this fairly well.
I would also like for my bedroom lights to turn on when I come home, and to turn off when I leave. (regardless of where my roommate is).

This suggests a couple of changes that seem a little over my head at the moment:

  • modifying the device_sun_light_trigger to work properly for a single user or group. I've started on this in #15, but I think it's incomplete.
  • modifying the device_sun_light_trigger so that it's possible to create more than one of them. It looks like this was done for lights and switches in 0527760 , but I'm not sure how to extend that work to trigggers.

Is there a generic "person status" entity?

I'm wondering whether there is a generic entity that describes a person (whether this person is at home) without using the device tracker.

In my opinion the device_tracker component is one way how to implement that person status, but there can be more ways. For example, there are apps like Geofancy that can send a request to a given url based on geolocation / iBeacon presence.

Having a generic entity having the STATE_HOME / STATE_NOT_HOME states would be the most simple solution since then a POST request to /api/states/<entity_id> could be made.

zwave component fails when zeroconf module not installed

When trying to make the new zwave support work (using the master branch, and running the build_python_openzwave script), I get the following traceback:

21:42 02-03-15 homeassistant.loader: Error loading homeassistant.components.discovery. Make sure all dependencies are installed
Traceback (most recent call last):
  File "/home/user/git_repositories/home-assistant/homeassistant/loader.py", line 116, in get_component
    module = importlib.import_module(path)
  File "/usr/lib/python3.4/importlib/__init__.py", line 109, in import_module
    return _bootstrap._gcd_import(name[level:], package, level)
  File "<frozen importlib._bootstrap>", line 2231, in _gcd_import
  File "<frozen importlib._bootstrap>", line 2214, in _find_and_load
  File "<frozen importlib._bootstrap>", line 2203, in _find_and_load_unlocked
  File "<frozen importlib._bootstrap>", line 1200, in _load_unlocked
  File "<frozen importlib._bootstrap>", line 1129, in _exec
  File "<frozen importlib._bootstrap>", line 1448, in exec_module
  File "<frozen importlib._bootstrap>", line 321, in _call_with_frames_removed
  File "/home/user/git_repositories/home-assistant/homeassistant/components/discovery.py", line 14, in <module>
    import homeassistant.external.netdisco.netdisco.const as services
  File "/home/user/git_repositories/home-assistant/homeassistant/external/netdisco/netdisco/__init__.py", line 5, in <module>
    from .mdns import MDNS
  File "/home/user/git_repositories/home-assistant/homeassistant/external/netdisco/netdisco/mdns.py", line 2, in <module>
    import zeroconf
ImportError: No module named 'zeroconf'
21:42 02-03-15 homeassistant.loader: Unable to find component discovery
21:42 02-03-15 homeassistant.bootstrap: component zwave failed to initialize

When defining a custom type of switch in `config/custom_components/switch` the file `__init__.py` has to be copied

When defining a custom type of switch in config/custom_components/switch the file __init__.py has to be copied. Otherwise the custom folder is skipped and the custom component is searched for in the built-in components folder (where it is not found and an error is reported).

Is this the intended behavior or is it a bug/missing feature?

I saw the comments in the loader code concerning this difficulty, but I do not know whether this is left as a TODO or considered complete.

Hue Config Documentation

Hi,

I noticed the documentation does not explain how to properly setup philips hue lamps. All it says is that the discovery service should be used.

But to get it working you have to create a phue.config in the config dir, which is not documented anywhere.

If anyone else is having trouble setting it up, here is the format:
{"<your host / ip>": {"username": ""}}

pip install version of chromecast - PyChromecast-0.5.1.1-py3.4.egg-info

Has a bug causing it to fail talking to chromecasts. the bug was fixed in
home-assistant-libs/pychromecast@ac4eb58

but anyone installing from pip will have a failure.

I went and fixed it and was going to put in a pull request - only to find it was tracked down and done.

Is it possible for you to rebuild and republish the pychromecast library for pip referred to in requirements.txt or put a forked version up that fixes the problem and add that to the requirements.txt

(env)marchon@cargo:~/home-assistant/env/lib/python3.4/site-packages/PyChromecast-0.5.1.1-py3.4.egg-info$ cat *

../pychromecast/upnp.py
../pychromecast/websocket.py
../pychromecast/config.py
../pychromecast/dial.py
../pychromecast/error.py
../pychromecast/init.py
../pychromecast/youtube.py
../pychromecast/pycache/upnp.cpython-34.pyc
../pychromecast/pycache/websocket.cpython-34.pyc
../pychromecast/pycache/config.cpython-34.pyc
../pychromecast/pycache/dial.cpython-34.pyc
../pychromecast/pycache/error.cpython-34.pyc
../pychromecast/pycache/init.cpython-34.pyc
../pychromecast/pycache/youtube.cpython-34.pyc
./
not-zip-safe
SOURCES.txt
requires.txt
PKG-INFO
top_level.txt
dependency_links.txt

Metadata-Version: 1.1
Name: PyChromecast
Version: 0.5.1.1
Summary: Python module to talk to Google Chromecast.
Home-page: https://github.com/balloob/pychromecast
Author: Paulus Schoutsen
Author-email: [email protected]
License: MIT
Description: UNKNOWN
Platform: any
Classifier: Intended Audience :: Developers
Classifier: License :: OSI Approved :: MIT License
Classifier: Operating System :: OS Independent
Classifier: Programming Language :: Python
Classifier: Programming Language :: Python :: 2
Classifier: Programming Language :: Python :: 3
Classifier: Topic :: Software Development :: Libraries :: Python Modules
requests
ws4py
setup.cfg
setup.py
PyChromecast.egg-info/PKG-INFO
PyChromecast.egg-info/SOURCES.txt
PyChromecast.egg-info/dependency_links.txt
PyChromecast.egg-info/not-zip-safe
PyChromecast.egg-info/requires.txt
PyChromecast.egg-info/top_level.txt
pychromecast/init.py
pychromecast/config.py
pychromecast/dial.py
pychromecast/error.py
pychromecast/upnp.py
pychromecast/websocket.py
pychromecast/youtube.pypychromecast

Hide Device

homeassistant:
  customize:
    device_tracker.iPhone:
      hidden: true

Having this in my config I would expect this iPhone to be hidden but it is present in the main view.

Screenless control with bluetooth home controller / thoughts on Home Assistant as integration bridge with external remote controls

Currently there is an beautiful and very simple remote control for home automation on Kickstarter. I thought this screenless controller would be an ideal complement to the screen-based interface of Home Assistant so I ordered one.

I liked the idea of not needing to unlock a phone, opening the web application and switching some hardware, but instead having a physical control in my hands that works quickly and intuitively for simple actions. Home Assistant would then still be a great application where all hardware could be set up and integrated.

Now I'm wondering how it would fit into Home Assistant. First of all - bluetooth connections are new to Home Assistant (most components are ip-based).

Are there any other people who thought of supporting additional remote controls instead of phones / tablets? I know there are some wall switches, but are there any other thoughts on remote controls? I can think of Logitech Harmony, Philips Tap, but also LIRC / infrared receivers?

Timezone conversion issue in Sun component

The Sun component is displaying sunset times in UTC instead of my local time (PDT). It also appears to have a more major issue that causes the start and end of the time rages to get mixed up maybe? I haven't dug too far.

screen shot 2015-03-23 at 1 27 58 pm

At the time this screenshot was taken local time was 13:30 PDT. Sunset is at 19:26 PDT (02:26 UTC).

It's unclear to me what the "In 7 hours" is as well since that doesn't correspond with anything as far as I can tell?

Is wifi config a must?

I have one of those hybrid modem/wifi boxes from my ISP. I have a bunch of WeMo gear and never had any luck with ouimeaux. Can I just hardcode the IPs and skip the wifi config?

nmap scan logs a python error

Error:

INFO:homeassistant.components.device_tracker.nmap_tracker:Scanning
Exception ignored in: <module 'threading' from '/usr/lib/python3.4/threading.py'>
Traceback (most recent call last):
File "/usr/lib/python3.4/threading.py", line 1353, in _after_fork
thread._stop()
TypeError: 'Event' object is not callable
INFO:homeassistant.components.device_tracker.nmap_tracker:nmap scan successful

My config:

device_tracker:
platform: nmap_tracker
hosts: 10.0.0.0/24

Using a git checkout from this morning. Let me know if you need more info.

zwave component unable to initialize python-openzwave

I recently did a fresh install of home-assistant on an Ubuntu 14.10, AMD64 machine, where I forced all python package installations to be local (either via the --user flag for pip, or by using the setuptools --prefix $HOME/.local/ option for the python-openzwave installation). The local user is a member of the dialout group, and can access the /dev/ttyUSB0 device.

When I try to run home-assistant, I get the following tracebacks:

ERROR:homeassistant.bootstrap:Error during setup of component zwave
Traceback (most recent call last):
  File "/home/edgimar/.local/lib/python3.4/site-packages/python_openzwave_api-0.2.6-py3.4.egg/openzwave/option.py", line 67, in __init__
    if os.path.exists(config_path):
  File "/usr/lib/python3.4/genericpath.py", line 19, in exists
    os.stat(path)
TypeError: stat: can't specify None for path argument

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/edgimar/home-assistant/homeassistant/bootstrap.py", line 75, in _setup_component
    if component.setup(hass, config):
  File "/home/edgimar/home-assistant/homeassistant/components/zwave.py", line 75, in setup
    user_path=hass.config.config_dir)
  File "/home/edgimar/.local/lib/python3.4/site-packages/python_openzwave_api-0.2.6-py3.4.egg/openzwave/option.py", line 74, in __init__
    raise ZWaveException("Can't retrieve config from %s" % config_path)
openzwave.object.ZWaveException: "Zwave Generic Exception : Can't retrieve config from None"

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.