Commit Graph

4598 Commits (8e9c557a2c975aa239709c6ace02ec4a7491fd1a)

Author SHA1 Message Date
Paulus Schoutsen aea0598805 Clean up camera component 2016-02-16 23:52:05 -08:00
Dan Smith b7c4370e2b Merge pull request #1271 from kk7ds/nx584-sensors
Add nx584 as a sensor platform
2016-02-16 20:40:15 -08:00
Dan Smith 22865e5d96 Add nx584 as a sensor platform
This allows you to get every door, window, smoke, etc zone from your security
panel into HA. This uses the live eventing feature of pynx584, which means you
get instantaneous signaling into HA when a door opens or something happens,
which is handy for automating lights on when doors open after dark, etc.

Requires update to pynx584 0.2
2016-02-16 20:24:32 -08:00
Paulus Schoutsen c66511e0cf Merge pull request #1275 from balloob/rfxtrxSignalRep
Rfxtrx signal rep
2016-02-16 20:23:55 -08:00
Paulus Schoutsen 79dbd14568 Merge pull request #1280 from molobrakos/tellduslive
added assumed_state property + improved error handling
2016-02-16 13:51:14 -08:00
Paulus Schoutsen 5756cff8a4 Merge pull request #1281 from molobrakos/eliqonline
improve error handling
2016-02-16 11:24:36 -08:00
Erik 44a39636b1 improve error handling 2016-02-16 18:23:08 +01:00
Erik 307b2c629b catch exception and log 2016-02-16 17:46:25 +01:00
Paulus Schoutsen bbfa63ee79 Merge pull request #1269 from turbokongen/rfxtrx-newprotocols
Add assumed_state for rfxtrx switch and light.
2016-02-16 08:19:27 -08:00
Erik 008d65677b add assumed state property 2016-02-16 17:18:49 +01:00
Paulus Schoutsen 68973dbc4d Merge pull request #1276 from balloob/fix_efergy_key_error
Catch KeyError as well as ValueError when handling efergy errors.
2016-02-16 07:33:12 -08:00
pavoni 9a6c99264e Catch KeyError as well as ValueError when handling efergy errors. 2016-02-16 12:05:00 +00:00
Paulus Schoutsen 1d7aea7120 Merge pull request #1272 from infamy/dev
initial commit of the neurio_energy sensor
2016-02-15 22:08:35 -08:00
infamy 16865b82d3 initial commit of the neurio_energy sensor 2016-02-15 15:54:07 -08:00
Daniel Høyer Iversen 2ba3df2257 Merge pull request #1264 from balloob/rfxtrxLight
Rfxtrx light
2016-02-15 20:59:49 +01:00
Daniel aec269050f Add signal repetition to rfxtrx 2016-02-15 19:52:39 +01:00
Daniel b93ebe1936 Add signal repetition to rfxtrx 2016-02-15 19:45:33 +01:00
Daniel 0010cadd39 Add signal repetition to rfxtrx 2016-02-15 19:41:40 +01:00
Paulus Schoutsen 75f2b4bc0e Merge pull request #1265 from flyte/tox-execute-all-lint
Execute all lint tests even if flake8 reports errors.
2016-02-15 10:21:43 -08:00
John Arild Berentsen a7ce9ba49e CI fix 2016-02-15 19:09:53 +01:00
John Arild Berentsen f429a6c4ff Add assumed_state for rfxtrx switch and light. 2016-02-15 18:59:11 +01:00
Flyte 3d83eea5f7 Add tcp component. 2016-02-15 16:04:14 +00:00
Flyte a3e8994fcc Execute all lint tests even if flake8 reports errors. 2016-02-15 10:00:46 +00:00
Daniel eacfac6fa8 Support on-off device in rfxtrx light 2016-02-15 10:10:29 +01:00
Daniel 0d45470ea6 Support on-off device in rfxtrx light 2016-02-15 10:05:47 +01:00
Paulus Schoutsen bca3207e0c Update frontend with assumed_state and delete state support 2016-02-15 01:02:15 -08:00
Paulus Schoutsen de7a14074e Merge pull request #1247 from balloob/feature/entity-assumed-state
Add assumed_state property to entity
2016-02-14 23:59:35 -08:00
Paulus Schoutsen cdc93ab670 Merge pull request #1262 from balloob/chore/tests-cleanup
More testing cleanup
2016-02-14 23:37:10 -08:00
Paulus Schoutsen c287520432 MQTT Light test - switch order 2016-02-14 23:16:54 -08:00
Paulus Schoutsen 68803a46b6 Thread pool tweaks 2016-02-14 23:01:49 -08:00
Paulus Schoutsen 8d366a7367 Tests: Mock get_local_ip by default too 2016-02-14 22:01:30 -08:00
Paulus Schoutsen 23b116803b Merge pull request #1261 from kk7ds/graphite-gaierror
Some graphite error handling improvements
2016-02-14 17:40:40 -08:00
Dan Smith 3610f40a6a Handle EVENT_STATE_CHANGED with no new_state in graphite
I noticed some events that came in with new_state=None. Make graphite
defensive about this.
2016-02-14 15:57:03 -08:00
Dan Smith 366595fd90 Catch socket.gaierror in graphite driver
If you specify a name that can't be looked up in DNS, socket.connect()
throws socket.gaierror. We should catch and log that situation properly.
2016-02-14 15:44:11 -08:00
Paulus Schoutsen 00486dccea Merge pull request #1260 from balloob/chore/tests-cleanup
Chore/tests cleanup
2016-02-14 15:21:23 -08:00
Paulus Schoutsen 09ab3e95c0 Tests should all use test HA 2016-02-14 15:08:23 -08:00
Stefan Jonasson fa8857dfc5 Changed process communication to use stdin for the message because of security concerns. 2016-02-14 22:22:11 +01:00
Paulus Schoutsen bade0e0d71 Make tests pass flake8 2016-02-14 13:07:21 -08:00
Paulus Schoutsen dd2aec0a08 Restructure tests to ensure unique ports 2016-02-14 12:54:16 -08:00
Paulus Schoutsen 64430f26f3 Merge pull request #1257 from kk7ds/handle-uvc-errors-better
Misc UVC improvements
2016-02-14 12:27:25 -08:00
Paulus Schoutsen 4eecdbdab1 Merge pull request #1259 from kk7ds/exclude-venv
Exclude venv directories from linting
2016-02-14 12:25:25 -08:00
Dan Smith 92a11819b4 Exclude venv directories from linting
Exclude venv/ (a common virtualenv name) and bin/,lib/ if the local
directory is configured as a venv.
2016-02-14 20:20:12 +00:00
Paulus Schoutsen dabb8d5bbc Merge pull request #1246 from balloob/feature/remove-state-fire-event
Have remove state fire state_changed event
2016-02-14 10:33:59 -08:00
Sean Dague 8c67a924bc Merge pull request #895 from sdague/tox
add tox infrastructure for running tests locally and in travis
2016-02-14 13:13:13 -05:00
Sean Dague 97c0f5bb5a convert testing infrastructure to tox
This converts the testing infrastructure to tox for both locally
testing and travis. This is nearly equivalent to the previous testing
with the only exception that linting fails with the first tool to fail
and won't process all of them.

Slightly tricky thing is that tox resets *all* of the environment for
it's subprocess runs by default. A couple of the dependencies we have
will not install in non UTF8 locales: temper-python & XBee.
2016-02-14 13:04:42 -05:00
Paulus Schoutsen aeb87b0245 Merge pull request #1248 from balloob/chore/reorg-frontend-api
Move bootstrap endpoint from api to frontend
2016-02-14 09:43:53 -08:00
Paulus Schoutsen 6be2ec7fea Merge pull request #1249 from balloob/chore/remove-usage-attr_friendly_name
Remove usage of ATTR_FRIENDLY_NAME within components/platforms
2016-02-14 09:43:39 -08:00
Dan Smith 885b61a750 Implement brand and model for UVC cameras 2016-02-14 17:27:29 +00:00
Dan Smith 0ba7fb40a4 Improve UVC performance by not logging in on each image fetch
This makes the UVC camera_image() method not log into the camera on
every single image fetch, which reduces load on hass and the camera,
and lowers the latency to get an actual image fetched.
2016-02-14 17:27:29 +00:00
Dan Smith 263839a336 Handle connection errors talking to UVC cameras during image fetch
This requires uvcclient==0.6 which breaks out exceptions for us.

Fixes #1244
2016-02-14 17:27:26 +00:00