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
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
Paulus Schoutsen
aa779ff6da
Merge pull request #309 from michaelarnauts/dev
...
Fix for aruba device tracker
2015-09-01 18:26:54 -07: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
3ea91f917d
Add MANIFEST.in
2015-09-01 01:36:00 -07:00
Paulus Schoutsen
53fb46b44b
Merge pull request #304 from rmkraus/daemon
...
Fixed signal binding exception
2015-09-01 01:14:22 -07:00
Paulus Schoutsen
a92687bb08
Exclude tests from package
2015-09-01 01:12:55 -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
18569104fa
Fixes to new Debian daemon script.
2015-09-01 03:54:59 -04: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
d421a16ffd
Add aruba device tracker to coveragerc
2015-08-31 08:52:15 -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
Paulus Schoutsen
7c44313203
Update efergy descriptin in README
2015-08-31 08:18:27 -07: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
3e3ee9184a
Fix broken conversation test
2015-08-31 00:54:00 -07: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
5b2b12eed1
Merge pull request #291 from rmkraus/more_tests
...
Adding additional tests
2015-08-30 23:49:29 -07:00
Ryan Kraus
881901f4d3
Removed bogus intro test.
2015-08-31 02:48:26 -04:00
Paulus Schoutsen
81190be7ba
Deprecate scripts/update
2015-08-30 22:33:59 -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