Commit Graph

1791 Commits (ddeb84cb9c4315932a18988d287419f73c5f85b6)

Author SHA1 Message Date
Jon Maddox 61685ea13d tag on " AirTunes Speaker" instead 2015-09-15 21:40:39 -04:00
Jon Maddox 77b9a12687 Tags the name of the device to the end of the name
This helps the media player be more explicit about itself and what it
is. It also namespaces it self a little better in the system. Rather
than be `media_player.family_room` it is
`media_player.family_room_apple_tv`. This helps for cases when there’s
another actual media player like Kodi or Chromecast in there.
2015-09-15 21:07:49 -04:00
Paulus Schoutsen 08f2a67de4 Allow falsy values for media player attributes 2015-09-15 12:58:19 -07:00
Paulus Schoutsen 58c3b03b79 Merge pull request #377 from balloob/automation-improvements
Automation improvements
2015-09-15 12:46:13 -07:00
Paulus Schoutsen c18294ee76 Allow triggers to be used as condition 2015-09-15 08:56:06 -07:00
Paulus Schoutsen 0584c10ef9 Style fix 2015-09-15 00:11:24 -07:00
Paulus Schoutsen 1ec5178f66 Remove scheduler component 2015-09-15 00:05:20 -07:00
Paulus Schoutsen 2978e0dabe Add sun automation trigger 2015-09-15 00:02:54 -07:00
Paulus Schoutsen 2ff2a78e97 Merge pull request #376 from balloob/launchd
launchd Script for Starting at Boot and Backgrounding on OS X
2015-09-15 00:02:11 -07:00
Jon Maddox bb172d8c98 indention 2015-09-15 02:58:13 -04:00
Jon Maddox acb288f9e7 error handling when writing 2015-09-15 02:54:22 -04:00
Jon Maddox c7565baa6d NOPE 2015-09-15 02:54:11 -04:00
Jon Maddox fb29611c15 🔥 codecs 2015-09-15 02:51:23 -04:00
Jon Maddox 37cd62447e let it get overwritten 2015-09-15 02:50:15 -04:00
Jon Maddox 5cbcd72912 dupe 2015-09-15 02:48:23 -04:00
Jon Maddox 8bba0b88fd blocks! 2015-09-15 02:46:06 -04:00
Paulus Schoutsen b1f17c2cd4 Merge pull request #356 from fabaff/command-sensor
Command sensor
2015-09-14 23:46:02 -07:00
Fabian Affolter 1a73c1b991 Fix pylint issue 2015-09-15 08:40:54 +02:00
Fabian Affolter 039c5cd847 Change import ordering 2015-09-15 08:40:38 +02:00
Jon Maddox 3b27bef1ac DOCS 2015-09-15 02:35:20 -04:00
Jon Maddox 1fc2204ca9 get the right path 2015-09-15 02:30:19 -04:00
Jon Maddox 834ce5269d we don't actually have to do this 2015-09-15 02:30:13 -04:00
Jon Maddox 9ada5e6b2b move launchd script inside package 2015-09-15 02:29:57 -04:00
Paulus Schoutsen f17ef0327c Merge pull request #366 from fabaff/glances
Glances sensor
2015-09-14 23:24:20 -07:00
Fabian Affolter 56a151b196 Add return value 2015-09-15 08:21:58 +02:00
Jon Maddox fcad068016 strip the dash 2015-09-15 02:17:01 -04:00
Jon Maddox e12cc2fbbf attempts at dodging pep8 terror 2015-09-15 02:12:31 -04:00
Jon Maddox 9588fcc5cc install scripts 2015-09-15 02:09:02 -04:00
Paulus Schoutsen b2ad8db86b Add condition type to automation component 2015-09-14 22:51:28 -07:00
Paulus Schoutsen 20f021d05f Another style fix. Who comes up with this? 2015-09-14 22:14:15 -07:00
Paulus Schoutsen fc43135ddd Style fix 2015-09-14 22:12:51 -07:00
Paulus Schoutsen 68c1dd7cd4 Refactor automation configuration 2015-09-14 22:05:40 -07:00
Paulus Schoutsen fe2a9bb83e Fix numeric state if 2015-09-14 20:46:57 -07:00
Paulus Schoutsen 2f8591205f Merge pull request #375 from SEJeff/fix-asuswrt
Fix the asuswrt device tracker for dhcp leases with no hostname
2015-09-14 20:23:44 -07:00
Jeff Schroeder 0afb6114c5 Make the entity names for systemmonitor sensors a bit nicer
This prevents them from having trailing whitespace, which makes them
end with `_`.
2015-09-14 21:20:41 -05:00
Jeff Schroeder 7c7b6ca05c Fix the asuswrt device tracker for dhcp leases with no hostname
Sometimes, hosts request dhcp leases without sending the hostname
they want to the dhcp server. This results in the entity_id being
`device_tracker.` as the dev_id is empty and things go downhill
from there.

The dhcp lease file looks like:
    admin@RT-AC66R:/tmp/home/root# cat /var/lib/misc/dnsmasq.leases
    86400 5c:c5:d4:79:4c:ad 192.168.1.226 chit-jsl3 *
    85242 8c:77:12:ad:d9:23 192.168.1.126 android-2c94abebaab16255 01:8c:77:12:ad:d9:23
    61985 b8:e9:37:73:47:f0 192.168.1.204 * 01:b8:e9:37:73:47:f0
    61982 b8:e9:37:ec:0d:7e 192.168.1.132 * 01:b8:e9:37:ec:0d:7e
    84584 00:20:6b:ca:31:c1 192.168.1.182 MC4650-CA31C1 01:00:20:6b:ca:31:c1
    86306 fc:e9:98:d6:4b:90 192.168.1.173 iLol 01:fc:e9:98:d6:4b:90
    74343 20:3a:07:f3:7e:ae 192.168.1.246 gatekeeper 01:20:3a:07:f3:7e:ae
    72374 b8:e9:37:5f:3d:06 192.168.1.34 SonosZP 01:b8:e9:37:5f:3d:06
    64697 00:0e:58:6f:59:d2 192.168.1.171 SonosZB 01:00:0e:58:6f:59:d2

Confirmed working on an Asus RT-AC66R with fw version: 3.0.0.4.376_3861
2015-09-14 20:33:14 -05:00
Paulus Schoutsen 2fe8b154f1 Fix state automation configuration 2015-09-14 18:22:49 -07:00
Paulus Schoutsen bf64956265 Merge pull request #368 from stefan-jonasson/dev
Implemented the if condition support in numeric state
2015-09-14 17:57:34 -07:00
Jon Maddox e8c3eaab33 style tweaks 2015-09-14 17:39:43 -04:00
Jon Maddox fcbeddeb57 describe airplay part 2015-09-14 17:34:57 -04:00
Jon Maddox 50b23e1969 adds airplay speakers as media_players 2015-09-14 17:27:00 -04:00
Fabian Affolter 984f01359c Fix docstring 2015-09-14 21:48:29 +02:00
Stefan Jonasson d5198d4242 Implemented the if condition support in numeric state 2015-09-14 20:33:01 +02:00
Per Sandström f5d1da1d53 and pylint... 2015-09-14 19:42:36 +02:00
Per Sandström 13ca42e187 fixes from review 2015-09-14 17:33:43 +02:00
Fabian Affolter fe7134b897 Add glances sensor 2015-09-14 14:08:30 +02:00
Fabian Affolter 27845d3fc5 Allow decimal places to be set 2015-09-14 10:44:07 +02:00
Fabian Affolter 6dc877d8de Add command sensor 2015-09-14 10:07:27 +02:00
Paulus Schoutsen dd71e4fdd1 Record in logbook when automation triggered 2015-09-14 00:02:33 -07:00
Paulus Schoutsen 13d40fe6ec Allow firing events in script 2015-09-13 23:54:48 -07:00
Paulus Schoutsen 7e75add144 Update nmap dependency 2015-09-13 23:35:12 -07:00
Paulus Schoutsen 2df26a0d1a Fix sensor.systemmonitor 2015-09-13 23:29:13 -07:00
Paulus Schoutsen 965730eb60 Allow setting name for command switch 2015-09-13 23:04:49 -07:00
Paulus Schoutsen 2a11d02fe4 Add if to automation 2015-09-13 22:27:27 -07:00
Paulus Schoutsen 046c5653cb Add latest version of polymer repo 2015-09-13 20:58:22 -07:00
Paulus Schoutsen f86fcdcaf5 Merge pull request #363 from balloob/logbook-entry
Add custom entries to logbook
2015-09-13 20:52:09 -07:00
Paulus Schoutsen 835bc1c492 Fix style issue 2015-09-13 18:40:54 -07:00
Paulus Schoutsen de5a2fee83 Add custom entries to logbook 2015-09-13 18:30:44 -07:00
Roy Hooper 209499e82b Reduce media player scan frequency to 10s 2015-09-13 20:54:20 -04:00
Roy Hooper 9b47241a46 switch to default polling cycle to solve multiple instance issue 2015-09-13 20:49:09 -04:00
Paulus Schoutsen 513f6e9c3c Merge pull request #353 from stefan-jonasson/dev
numeric_state automation platform
2015-09-13 17:13:06 -07:00
Paulus Schoutsen 9582eae48e Merge pull request #359 from rhooper/sonos-netdisco-fix
Prevent duplicate instances of sonos devices during netdisco
2015-09-13 13:56:10 -07:00
Roy Hooper d4834ff408 Add hass property to Entity to prevent 'Attribute hass is None' error during self.update_ha_state 2015-09-13 16:53:31 -04:00
Roy Hooper ce22f3c82d Implement unique_id to prevent duplicate devices 2015-09-13 16:53:31 -04:00
Fabian Affolter 40aa661340 Update docsstring 2015-09-13 22:27:28 +02:00
Per Sandström 6c3a78df30 fixed spelling 2015-09-13 21:07:16 +02:00
Per Sandström 964a1f9aef merge from dev 2015-09-13 21:00:51 +02:00
Stefan Jonasson 8360ab265c Not used to pylint and flake8 ... 2015-09-13 20:34:45 +02:00
Stefan Jonasson e3dcb45879 Fixed pylint error 2015-09-13 20:27:11 +02:00
Per Sandström 683a80f5f4 tests pass 2015-09-13 20:21:02 +02:00
Stefan Jonasson 9904727cde homeassistant/components/automation/numeric_state.py:61:80: E501 line too long (80 > 79 characters)
The command "flake8 homeassistant" exited with 1.
2015-09-13 20:16:51 +02:00
Stefan Jonasson e9da02d70c Fixed value error exception
Fixed unittest
2015-09-13 19:59:26 +02:00
Paulus Schoutsen b0b88e606c Merge pull request #355 from SEJeff/minor-sonos-fix
Minor sonos fix
2015-09-13 10:17:05 -07:00
Jeff Schroeder 57a833f1a7 Fix a bug which causes the sonos component to occasionally pop
Had this happen when Sonos surround sound is playing from a TV. See this
for more details:

af9a5152fe/soco/core.py (L1060)
2015-09-13 12:13:35 -05:00
Paulus Schoutsen e5e577108c Merge pull request #357 from balloob/sonos-discovery
Discover sonos devices
2015-09-13 08:16:09 -07:00
Paulus Schoutsen 51dd718282 Fix broken thermostat demo and prevent happening again 2015-09-13 08:08:46 -07:00
Paulus Schoutsen 40340ea832 Discover sonos devices 2015-09-13 07:48:50 -07:00
Stefan Jonasson a2ca60159d Fixed logic 2015-09-13 13:05:36 +02:00
Stefan Jonasson 8e89308a15 Added better handling if we did not get a value for the numeric check 2015-09-13 12:15:21 +02:00
Paulus Schoutsen 96cfff192a Fix space after HA started in logbook 2015-09-13 01:21:30 -07:00
Paulus Schoutsen 067993c8ab Logbook reverse sorting 2015-09-13 01:12:05 -07:00
Paulus Schoutsen eef1e65244 Fix converting config device tracker 2015-09-13 00:48:52 -07:00
Paulus Schoutsen 134c870d2b Merge pull request #345 from balloob/device-tracker
Device tracker rewrite
2015-09-13 00:15:30 -07:00
Paulus Schoutsen 5edc4f148f Fix style 2015-09-13 00:10:59 -07:00
Paulus Schoutsen 880b5f0ad1 Add device_tracker.see service 2015-09-13 00:02:28 -07:00
Paulus Schoutsen 804b7669b7 Setup device tracker group at end of init 2015-09-12 23:08:16 -07:00
Paulus Schoutsen 81288cc988 Remove netgear discovery hack 2015-09-12 23:08:00 -07:00
Paulus Schoutsen cfc23b0091 Speed up tests 2015-09-12 22:56:49 -07:00
Paulus Schoutsen bb42e264cb Device tracker sets up group again 2015-09-12 22:56:31 -07:00
Per Sandström c9bccadc40 fixed merge error 2015-09-13 07:48:34 +02:00
Per Sandström ab6cb43d5b alarm component 2015-09-13 07:42:38 +02:00
Jeff Schroeder 4fa379419d Don't blow up if no sonos speakers are found
Also move the imports up so the latest pep8 doesn't complain
2015-09-12 23:10:24 -05:00
Roy Hooper 6dcb87c54d squash bug in volume_level (bad if statement) 2015-09-12 21:42:36 -04:00
Stefan Jonasson 4eba1250e9 Added a numeric_state automation platform 2015-09-12 21:42:52 +02:00
Jeff Schroeder d4d798d71f Error gracefully when unable to connect to home.nest.com 2015-09-12 14:27:12 -05:00
Jeff Schroeder 3dc1dc6c6a A few minor cleanups in the http debug api server 2015-09-12 14:27:07 -05:00
Jeff Schroeder 473047f3dd Fix a small tyop in the history component 2015-09-12 14:27:03 -05:00
Jeff Schroeder f5b5d3f65a Use str.split maxsplit in the time component 2015-09-12 14:26:59 -05:00
Jeff Schroeder 776c7dae07 Fix a tyop in the arduino switch component 2015-09-12 14:26:55 -05:00
Paulus Schoutsen 4ccedca3e5 Fix tests for device tracker 2015-09-12 09:15:28 -07:00
Paulus Schoutsen d9b97ad5b4 Merge pull request #348 from Zyell/dev
Initial Thermostat Range Support
2015-09-12 08:07:52 -07:00
zyell de89de890f Move state constants to __init__ for all thermostats 2015-09-12 07:27:05 -07:00
Paulus Schoutsen 5338b29edf Merge pull request #351 from maddox/itunes
Add iTunes media component
2015-09-11 21:53:03 -07:00
Jon Maddox 395dbe8804 drop the try 2015-09-12 00:50:40 -04:00
Jon Maddox f41786d893 STYLE!!!! 2015-09-12 00:49:34 -04:00
Jon Maddox 34dee0c134 style and docs 2015-09-12 00:42:11 -04:00
Jon Maddox 705238eb78 dat slash 2015-09-12 00:23:12 -04:00
Jon Maddox 2b6e0da405 add docstring 2015-09-12 00:23:04 -04:00
Jon Maddox 9d750368ff moar style fixes 2015-09-12 00:16:51 -04:00
Paulus Schoutsen 7252861b83 Merge pull request #350 from rhooper/sonos
rudimentary sonos support
2015-09-11 21:00:53 -07:00
Roy Hooper db2140782f follow proper calling convention for track_utc_time_change callback 2015-09-11 23:57:34 -04:00
Jon Maddox b9f5ec9e2c style fixes 2015-09-11 23:49:43 -04:00
Jon Maddox cb3f14a862 add iTunes component 2015-09-11 23:06:03 -04:00
Roy Hooper e9367d5369 use own track_utc_time_change to poll every 5 seconds 2015-09-11 22:44:37 -04:00
Roy Hooper c3dd94ba04 remove unnecessary self.update_ha_state calls 2015-09-11 22:43:55 -04:00
Paulus Schoutsen 6624cfefd6 Update kodi error reporting 2015-09-11 18:03:02 -07:00
Roy Hooper 350ed9f764 remove and disable pylint: disable=abstract-method for play_youtube() 2015-09-11 19:48:34 -04:00
Roy Hooper 3679a8078a put back play_youtube override 2015-09-11 19:44:18 -04:00
Roy Hooper a25f7eed2b Enable polling and fix metadata updating.
Remove unnecessary methods.
Include SoCo in requirements_all.txt for CI.
Lock down SoCo version to 0.11.1
Add sonos.py to exclusions in .coveragerc
2015-09-11 19:38:42 -04:00
Roy Hooper ae058b7847 tidy up formatting to make travis happy. 2015-09-11 18:55:23 -04:00
Roy Hooper aa74c4e57a fix initialization 2015-09-11 18:52:31 -04:00
Roy Hooper 1b874c603b rudimentary sonos support 2015-09-11 18:44:42 -04:00
Fabian Affolter e2b02f2fd2 Update error message 2015-09-11 08:07:16 +02:00
zyell 775d3198ae Fix logic coverage in target_temperature 2015-09-10 17:46:59 -07:00
zyell 21812ba717 Bug fixes and state adjustment for initial thermostat range support 2015-09-10 15:42:34 -07:00
zyell 2d54fdd979 Initial code for generic thermostat range support and nest compliance 2015-09-10 15:11:59 -07:00
Fabian Affolter 5d3e929599 Add timeout 2015-09-10 21:23:33 +02:00
Fabian Affolter 1ec392a494 Add update 2015-09-10 21:23:33 +02:00
Fabian Affolter d719dd72fe Add arest switch 2015-09-10 21:23:33 +02:00
Fabian Affolter 53b43dc4db Add timeout for requests 2015-09-10 21:21:14 +02:00
Fabian Affolter f21d97d5a2 Add timeout for requests 2015-09-10 21:21:14 +02:00
Paulus Schoutsen f9b17ab026 Device tracker rewrite 2015-09-09 23:37:15 -07:00
Paulus Schoutsen e88fabbe6d Set development version number 2015-09-09 19:38:28 -07:00
Paulus Schoutsen 0509b478e9 Bump version 0.7.2 2015-09-09 19:37:44 -07:00
Paulus Schoutsen 3a8119af2b Merge pull request #328 from MakeMeASandwich/dev
media_player: add Denon remote support
2015-09-09 19:28:35 -07:00
Paulus Schoutsen 9f9755c014 Fix wink dependencies 2015-09-09 12:40:28 -07:00
MakeMeASandwich 117a0018a5 media_player: remove debug messages, change IDLE to ON 2015-09-09 19:41:57 +02:00
MakeMeASandwich 34a6524019 Merge branch 'dev' of https://github.com/balloob/home-assistant into dev 2015-09-09 19:37:48 +02:00
Fabian Affolter 4d05650744 Merge pull request #342 from alanbowman/use-ozone-units
Use Dobson Units for ozone
2015-09-09 14:17:22 +02:00
Alan Bowman c66f938919 Use Dobson Units for ozone 2015-09-09 09:48:43 +01:00
Fabian Affolter fc21451446 Update docstring 2015-09-09 10:47:09 +02:00
Fabian Affolter 6a54ccb6b4 Update docstring 2015-09-09 09:37:45 +02:00
Paulus Schoutsen dd23a0b3eb Fix sabnzbd imports 2015-09-08 20:22:13 -07:00
Paulus Schoutsen 89bdead44c Remove latest git submodules 2015-09-08 20:11:25 -07:00
Paulus Schoutsen c68ee2dd0f Change dev version to adhere Python versioning 2015-09-08 19:49:51 -07:00
Paulus Schoutsen 326d23de38 Fix pip checking if zip files are installed 2015-09-08 19:49:27 -07:00
Per Sandstrom 2fb2d5c1d6 use id instead of name when updating players 2015-09-08 20:59:54 +02:00
Paulus Schoutsen 77892dfa0d Merge pull request #331 from sfam/dev
Add optional QoS config parameter to MQTT sensor and switch
2015-09-08 08:38:55 -07:00
Paulus Schoutsen 8a3d9e6b8d Merge pull request #337 from fabaff/transmission
Update transmission configuration
2015-09-08 08:37:59 -07:00
Paulus Schoutsen e61299a46f Merge pull request #326 from rmkraus/fix_pip
Fix pip installation issues.
2015-09-08 08:06:23 -07:00
Paulus Schoutsen 5b69719e95 Merge pull request #327 from fabaff/arest
aREST sensor
2015-09-08 08:02:25 -07:00
Fabian Affolter 0fb69c5ce4 Conditions are required 2015-09-08 16:33:13 +02:00
Fabian Affolter 922da1da44 Update docstring ('- type:' was removed a while ago) 2015-09-08 16:31:30 +02:00
Fabian Affolter da508236e6 Remove '- type:' from configuration 2015-09-08 13:05:58 +02:00
Paulus Schoutsen 985f20d281 Merge pull request #335 from rhooper/utf-8-in-config
Handle UTF-8 in config file
2015-09-07 15:50:06 -07:00
Fabian Affolter 914a6dff5e Update docstring (config file) and attempt to honor PEP0257 2015-09-07 19:40:09 +02:00
Fabian Affolter 78a555faf5 Update docstring (config file) and attempt to honor PEP0257 2015-09-07 19:39:16 +02:00
Fabian Affolter e824bc4c55 Update docstring (config file) and attempt to honor PEP0257 2015-09-07 19:21:33 +02:00
Fabian Affolter 514b8eddb9 Update docstring (config file) and attempt to honor PEP0257 2015-09-07 19:19:11 +02:00
Fabian Affolter 1ed8e58679 Update docstring (config file) and attempt to honor PEP0257 2015-09-07 19:05:37 +02:00
Fabian Affolter e55922eb9e Update docstring (config file) and attempt to honor PEP0257 2015-09-07 18:55:58 +02:00
Fabian Affolter e196c136c1 Update docstring (config file) and attempt to honor PEP0257 2015-09-07 18:38:49 +02:00
Fabian Affolter 1d910f3a84 Update docstring (config file) and attempt to honor PEP0257 more 2015-09-07 18:35:00 +02:00
Fabian Affolter f9cecdee28 Update docstring (config file) and attempt to honor PEP0257 2015-09-07 18:26:20 +02:00
Roy Hooper d0cda964ac Handle UTF-8 in config file. 2015-09-07 10:56:16 -04:00
sfam 0f68b9d22b Add optional QoS config parameter to MQTT sensor and switch (pylint) 2015-09-07 00:28:45 +00:00
sfam c5fc5cba61 Add optional QoS config parameter to MQTT sensor and switch 2015-09-07 00:16:31 +00:00
Fabian Affolter 1a88e48986 add throttle and other minor improvements 2015-09-06 23:41:01 +02:00
MakeMeASandwich c7a8f5d6ca media_player: add Denon remote support 2015-09-06 12:07:12 +02:00
Fabian Affolter 72426e08b8 update errror message 2015-09-05 13:26:29 +02:00
Fabian Affolter 1c3fa89914 add arest sensor 2015-09-05 13:09:55 +02:00
Ryan Kraus a097e9caf2 Reverted a line in package.py to its previous state. 2015-09-05 04:53:44 -04:00
Ryan Kraus 34c4bb585a Fix pip installation issues.
This commit is to fix issue #325.
There were three issues with the PIP installations.

1) If multiple instances of the same platform were found, pip could
attempt to install the same dependency multiple times at once by being
run simultaneously in different processes. This would cause pip
failures due to race conditions. This has been fixed by using a thread
lock to allow only one instance of PIP to run at a time.

2) PIP would not check the target if the dependency was already met.
This would lead to PIP attempting to reinstall every dependency on
every boot. This would eventually fail because the package was already
installed, but it significantly increased boot time, especially on
Raspberry Pis.

3) PIP would not upgrade packages that were already installed. Usually,
when a version is specified to PIP, it will install the specified
version if it is not already installed, even without the \-\-upgrade
flag. This behavior did not work when using the \-\-target flag. When
using the target flag, a new install is always attempted, but nothing
will be overwritten unless the \-\-upgrade flag is also given. This
caused new packages to not be installed when their dependencies were
increased. This is fixed by defaulting towards using the
\-\-upgrade flag.
2015-09-05 04:50:35 -04:00
Paulus Schoutsen 97eb84919b Merge pull request #324 from andythigpen/log-rotate
Add option to rotate log file daily.
2015-09-05 01:45:53 -07:00
Andrew Thigpen 2e636f598e Add option to rotate log file daily.
Adds a command line option to rotate the log daily at midnight and
retain up to the specified amount of days.
2015-09-04 19:52:59 -05:00
Paulus Schoutsen 03d187eceb Merge pull request #323 from andythigpen/skip-pip
Add option to skip pip install on startup.
2015-09-04 16:06:30 -07:00
sfam bb9c50d0f1 Merge pull request #318 from sfam/dev
Support for trigger Maker IFTTT
2015-09-04 23:57:15 +01:00
Andrew Thigpen 6519e589b5 Add option to skip pip install on startup.
Since the requirements only change when the software is updated,
this adds a command line switch to disable pip installs on
startup.  The default behavior is maintained when the switch is
not specified.  Skipping pip helps a lot with startup on older RPi
hardware.
2015-09-04 16:50:57 -05:00
sfam 5b7dab6556 Support for trigger Maker IFTTT (fix pylint) 2015-09-04 22:42:11 +01:00
sfam f9ad12920e Support for trigger Maker IFTTT (fix pylint) 2015-09-04 22:14:28 +01:00
sfam 56151a07a5 Support for trigger Maker IFTTT (pyfttt 0.3) 2015-09-04 21:58:09 +01:00
Paulus Schoutsen 450ca842ca Update version number to 0.7.2-pre 2015-09-04 12:58:03 -07:00
zyell d10cecde7c Upstream bug fixed that caused error adding some nest thermostats 2015-09-04 12:00:47 -07:00
sfam 14fc4f6f99 Support for trigger Maker IFTTT (fix pylint) 2015-09-04 16:55:55 +01:00
sfam fd032cf6b7 support for trigger Maker IFTTT 2015-09-04 16:28:58 +01:00
Paulus Schoutsen 97e19908be Merge pull request #308 from nkgilley/actiontec
add support for home_interval variable to actiontec component
2015-09-02 12:51:53 -07:00
Nolan Gilley b9b751d234 fix for last_results 2015-09-02 12:00:20 -04:00
Nolan Gilley 5533618bd2 fix comments for home_interval 2015-09-02 11:48:36 -04:00
Nolan Gilley 5b643a8106 fixes for Paulus' comments. 2015-09-02 11:46:09 -04:00
Michaël Arnauts 5099fb7680 Don't try to parse other entries in client list since they can be empty and are not used anyway. 2015-09-01 21:13:39 +02:00
Nolan Gilley d2a13da930 pylint fix 2015-09-01 15:09:41 -04:00
Nolan Gilley 97076f1ff8 add support for home_interval variable 2015-09-01 14:43:14 -04:00
Paulus Schoutsen 03ceb667ba Hotfix for nmap -> v7.1 2015-09-01 08:50:45 -07:00
Paulus Schoutsen abb8958775 Setup.py fixes 2015-09-01 01:56:13 -07:00
Paulus Schoutsen 53fb46b44b Merge pull request #304 from rmkraus/daemon
Fixed signal binding exception
2015-09-01 01:14:22 -07:00
Ryan Kraus e7caac212d Fixed signal binding exception
Cleanly handle error for failed SIGQUIT binding. This can happen when
running in a thread.
2015-09-01 04:03:51 -04:00
Paulus Schoutsen c1f172f33a Merge pull request #303 from rmkraus/daemon
Updating Daemon Code
2015-09-01 00:58:03 -07:00
Ryan Kraus 7992882fa3 Cleanup PID checking logic and write PID logic. 2015-09-01 03:29:07 -04:00
Ryan Kraus 4ca8f184e6 Updated Debian daemon script. 2015-09-01 03:22:43 -04:00
Paulus Schoutsen 58afbecd05 Speed up tests 2015-09-01 00:18:26 -07:00
Ryan Kraus 5b06e8d25e Daemon handling cleanup.
More cleanly handling whether a PID file should be checked.
Fatal Error on PID file IOError.
Pylint fix to bootstrap.
2015-09-01 02:37:52 -04:00
Ryan Kraus 1add38a195 Merge balloob/dev with rmkraus/daemon 2015-09-01 02:23:50 -04:00
Ryan Kraus ff470c8ffe Added core daemon function as flags.
Created three additional flags for the hass command:
-v -  Toggle verbose log file output
—pid-file -  Specify PID file path
—daemon -  Launch as daemon (nix only)

The core now binds to SIGQUIT on nix systems to trigger a clean
shutdown.

Modified HTTP server to write logging messages through the logging
module.
2015-09-01 02:12:00 -04:00
Paulus Schoutsen a34b00bc9c Style fix for device tracker 2015-08-31 22:20:24 -07:00
Ryan Kraus 83440ad718 Fixed device tracker to install scanner requirements. 2015-08-31 22:11:17 -07:00
Paulus Schoutsen 0987a84bf4 Merge pull request #300 from balloob/nmap-fix
Migrate nmap_tracker to use different nmap lib
2015-08-31 22:06:32 -07:00
Ryan Kraus df4afa5025 Merging balloob/dev into dev. 2015-09-01 01:03:26 -04:00
Paulus Schoutsen b41706efe3 Make nmap work in Docker 2015-08-31 22:01:45 -07:00
Paulus Schoutsen 9eefa67035 Add Python 3.4 check back 2015-08-31 08:53:59 -07:00
Paulus Schoutsen 053e2c2ebc Update frontend with latest changes 2015-08-31 08:40:03 -07:00
Paulus Schoutsen 6c213f6401 Merge pull request #302 from michaelarnauts/dev
Add Aruba Access Point device tracker
2015-08-31 08:38:08 -07:00
Paulus Schoutsen 74303e4be8 Merge pull request #296 from pavoni/feature/enhance_wemo
Feature/enhance wemo
2015-08-31 08:32:20 -07:00
pavoni 794a11db21 Remove debug statements! 2015-08-31 16:33:12 +01:00
pavoni 93cd7bfc5d Split comment to keep line short 2015-08-31 15:19:04 +01:00
pavoni 3256552675 Fix bug, use constants for states. 2015-08-31 13:12:17 +01:00
pavoni 54dd09df29 Fix typos 2015-08-31 12:13:53 +01:00
pavoni 5ed6987067 Refactor wemo standby state slightly 2015-08-31 11:07:52 +01:00
Michaël Arnauts 12ead04faa Add Aruba Access Point device tracker 2015-08-31 11:36:12 +02:00
Paulus Schoutsen 78826648e3 style + dependency fix 2015-08-31 00:44:59 -07:00
Paulus Schoutsen ffac067be8 Migrate nmap_tracker to use different nmap lib 2015-08-31 00:29:41 -07:00
Paulus Schoutsen 9acf3db435 Improved console output for new users 2015-08-30 21:24:10 -07:00
Paulus Schoutsen 64fff48021 Allow spaces in group setup string 2015-08-30 20:44:38 -07:00
Paulus Schoutsen 98b0367249 Upgrade frontend 2015-08-30 17:54:18 -07:00
Ryan Kraus e6ac225140 Fixed device tracker to install scanner requirements. 2015-08-30 20:22:02 -04:00
Ryan Kraus b1876d586e Fixed importing of dependency for map tracker. 2015-08-30 20:01:02 -04:00
Paulus Schoutsen 1958dfd0c1 Bugfix release frontend 2015-08-30 15:45:26 -07:00
Paulus Schoutsen fb4121d4b4 Fix components being loaded twice 2015-08-30 15:08:03 -07:00
Paulus Schoutsen 4cadc7df96 Update demo component 2015-08-30 15:08:03 -07:00
Paulus Schoutsen a8b932223f Prevent init screen from shifting 2015-08-30 15:08:03 -07:00
Paulus Schoutsen 335eb10d11 Merge pull request #295 from renekliment/mpd-pause-fix
fixes MPD play/pause
2015-08-30 14:55:20 -07:00
pavoni 028551784a Update pywemo to 0,3 2015-08-30 22:50:08 +01:00
pavoni bfbaaa8e9f Merge remote-tracking branch 'balloob/dev' into feature/enhance_wemo 2015-08-30 22:47:49 +01:00
René Kliment 62f6576e19 fixes MPD play/pause 2015-08-30 16:11:44 +02:00
René Kliment 41011f0c95 support for MPD password authorization 2015-08-30 15:53:40 +02:00
Paulus Schoutsen 9ecac9e934 Upgrade media_player.cast dependency 2015-08-30 01:09:11 -07:00
Paulus Schoutsen 81466246cf Add --version command line argument 2015-08-30 00:59:27 -07:00
Paulus Schoutsen fc6613ffb1 Fix documentation in __main__ 2015-08-29 23:35:19 -07:00
Paulus Schoutsen 3960a465f1 Add conversation and introduction to demo.py 2015-08-29 23:21:26 -07:00
Paulus Schoutsen a20ab24ba5 Remove unused pip constant 2015-08-29 23:08:33 -07:00
Paulus Schoutsen fcee2c6d33 Remove unused file 2015-08-29 23:02:14 -07:00
Paulus Schoutsen a5a1f30798 Make launch more smooth 2015-08-29 23:02:07 -07:00
Paulus Schoutsen 5aa8814a67 Merge pull request #289 from rmkraus/pip_updates
Update dependency installs and prepare for pip deployment
2015-08-29 22:11:20 -07:00
Paulus Schoutsen 7343e33063 Some more frontend bug fixes 2015-08-29 22:02:19 -07:00
Ryan Kraus bea81ddd92 Minor tweaks
Moved another import to the top of main.
Forced an exit code of 1 when there is an error initializing.
2015-08-29 23:31:33 -04:00
Ryan Kraus 4e01e7ca9b Pip requirements and fixes.
1) Reduced the flags being sent to pip.
2) Required a minimum of pip 7.0.0 for Home Assistant.
2015-08-29 23:17:47 -04:00
Paulus Schoutsen b750457afa Bugfixes frontend 2015-08-29 20:11:27 -07:00
Ryan Kraus f5b98c86f0 Mostly PyLint and Flake8 updates.
Rewrote imports of exceptions to be from the exceptions module.
Made nmap scanner check for libnmap dependency without crashing.
Various flake8 and pylint updates.
2015-08-29 22:34:35 -04:00
Ryan Kraus 0b6358e759 Implemented comments from Paulus.
Revised main to use frontend and demo strings rather than importing
their domains.
Removed submodule validation.
Moved local library mounting to the bootstrap module and out of core.
Added requirements_all.txt for all dependencies.
Made core dependencies looser.
Small updates to setup.py.
2015-08-29 22:19:52 -04:00
Ryan Kraus 893ae15042 Changed component REQUIREMENTS to absolute versions. 2015-08-29 21:39:50 -04:00
Paulus Schoutsen 75b3cc046d Update frontend with latest changes 2015-08-29 18:17:21 -07:00