Commit graph

1898 commits

Author SHA1 Message Date
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
ad99bd6a41 Merge pull request #340 from balloob/package-fixes
Package fixes
2015-09-08 20:35:48 -07: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
Paulus Schoutsen
3520255b7c Fix setup.py unicode version errors 2015-09-08 19:47:05 -07:00
Paulus Schoutsen
b0bd1fadac Fix encoding issue in setup.py 2015-09-08 17:43:41 -07:00
Paulus Schoutsen
4cd01f5516 Merge pull request #339 from persandstrom/squeezebox_player_id
Squeezebox: use id instead of name when updating players
2015-09-08 15:32:15 -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
f18928d85b Update docstring (config file) and attempt to honor PEP0257 2015-09-07 19:23:24 +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
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
sfam
6c70ef2e6d upgrade pyfttt version to 0.3 2015-09-04 21:57:15 +01:00
Paulus Schoutsen
450ca842ca Update version number to 0.7.2-pre 2015-09-04 12:58:03 -07:00
Paulus Schoutsen
9cb735f48e Merge pull request #322 from Zyell/dev
Upstream bug fixed that caused error adding some nest thermostats
2015-09-04 12:42:47 -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