Commit graph

329 commits

Author SHA1 Message Date
MartinHjelmare
9463c84603 Clean up 2015-12-08 02:47:15 +01:00
MartinHjelmare
7cc707f1ce Fix docstrings to conform to pep 2015-12-08 01:03:07 +01:00
MartinHjelmare
59524c7933 Add multiple gateways
* Add support for multiple serial gateways.
* Fix serialization of python objects by adding dict representation of
    classes.
* Add support for showing more than one child value type per entity.
    The entity state is always only one value type. This is defined by
    the platform value types. Value types that are not defined as the
    platform value type are shown as state_attributes.
* Add more unit of measurement types.
* Clean up code.
2015-12-06 00:29:03 +01:00
MartinHjelmare
1d141566bd Merge 'dev' into mysensors-component-switch 2015-12-05 23:55:36 +01:00
nkgilley@gmail.com
107994f3ac implement logic improvement suggestion by @balloob 2015-12-03 08:57:28 -05:00
nkgilley@gmail.com
7985468aba remove the use of unnecessary dictionary. 2015-12-02 17:42:53 -05:00
nkgilley@gmail.com
502184812d fix flake8 warnings 2015-12-02 16:37:16 -05:00
nkgilley@gmail.com
02a8ce71d0 fix req_all 2015-12-02 16:32:28 -05:00
nkgilley@gmail.com
08de7d954a improve support for multiple thermostats. 2015-12-02 16:22:25 -05:00
Paulus Schoutsen
a301d869d7 PyLint 1.5 fixes 2015-11-29 13:49:05 -08:00
Paulus Schoutsen
bbfeba0fe4 Merge branch 'pr/635' into dev
Conflicts:
	requirements_all.txt
2015-11-28 00:50:18 -08:00
Paulus Schoutsen
ad3f96fa25 Merge pull request #672 from balloob/some-cleanup
Make component dependencies optional
2015-11-27 15:08:22 -08:00
pavoni
00f0dfb971 Trap and trace error rather than throwing exception when efergy server 2015-11-27 18:21:26 +00:00
Paulus Schoutsen
fabd0ced3f Make DEPENDENCIES optional for components 2015-11-26 13:11:59 -08:00
nkgilley@gmail.com
067b5862c0 bug fixes 2015-11-24 09:29:33 -05:00
nkgilley@gmail.com
80e829f53a was getting errors for NETWORK being None. looked like it was being loaded too early, so this will wait until it's ready 2015-11-23 11:52:02 -05:00
nkgilley@gmail.com
27bc4c582b update network data before sensor setup. 2015-11-23 11:40:54 -05:00
nkgilley@gmail.com
cc196d9888 fixed sensors and thermostat. discovery working for both now. 2015-11-23 11:15:19 -05:00
Paulus Schoutsen
7f1254d750 Merge pull request #647 from mcdeck/dev
Support for json messages in mqtt switches and sensors
2015-11-22 11:22:56 -08:00
Paulus Schoutsen
d6feb82f9b Merge branch 'pr/634' into dev
Conflicts:
	requirements_all.txt
2015-11-21 23:22:47 -08:00
Oliver van Porten
715abf241e Disable pylint warning for callable classes 2015-11-21 17:57:15 +01:00
Oliver van Porten
030686a978 fix flak8 warnings 2015-11-20 22:55:52 +01:00
Oliver van Porten
799043dc0a refactor format mqtt format parser 2015-11-20 22:45:09 +01:00
miniconfig
105dc2847e Changed locked method of lock support to "is_locked".
Added lock and unlock methods
Updated wink components to use the new version of the wink library.
2015-11-20 16:34:27 -05:00
Oliver van Porten
b4cf0e874a Support parsing mqtt messages via jsonpath 2015-11-20 22:03:17 +01:00
Paulus Schoutsen
d25f58e650 Merge pull request #631 from balloob/gen-requirements_all
Allow generating requirements_all.txt
2015-11-19 12:49:23 -08:00
Fabian Affolter
4eacea32da Fix pylint issue 2015-11-19 18:07:54 +01:00
Fabian Affolter
f1fed78992 Fix issue with older glances releases #637 (thanks @jdotbdot) 2015-11-18 19:19:27 +01:00
nkgilley@gmail.com
c6d1a4bdaf Fix configurator, rename repo, cleanup code. 2015-11-18 10:13:46 -05:00
Nolan Gilley
e317e0798b initial commit for ecobee thermostat component. 2015-11-17 19:14:29 -05:00
Paulus Schoutsen
bca65b620a Update Vera sensor dependency 2015-11-17 00:34:14 -08:00
Paulus Schoutsen
377d2c6e5a Allow generating requirements_all.txt 2015-11-17 00:21:49 -08:00
Paulus Schoutsen
18f1de10a5 Merge pull request #624 from leoc/feature-zwave-meter-sensor
Add Zwave `meter` command class
2015-11-15 10:16:57 -08:00
Arthur Andersen
773da3f755 [Zwave] Add Meter command class 2015-11-15 17:50:11 +01:00
Fabian Affolter
5275ca9ce7 Fix typo 2015-11-14 15:25:52 +01:00
Fabian Affolter
646618a25e Improve error messages, use constants, and fix docstrings 2015-11-14 15:23:20 +01:00
Paulus Schoutsen
50d19bb1b4 Merge pull request #592 from leoc/feature-zwave-lights
Implement zwave light support
2015-11-11 00:11:51 -08:00
Fabian Affolter
97f9f8aa49 Update link to docs (Jekyll 3 update) 2015-11-09 13:12:18 +01:00
Paulus Schoutsen
3a095f53a8 Merge pull request #596 from badele/dev
Minor change for logger component
2015-11-08 19:57:58 -08:00
Paulus Schoutsen
7f4c13c382 Upgrade Wink version to v0.1.1 2015-11-08 19:41:22 -08:00
badele
e63d0c51e0 Change log severity 2015-11-08 19:02:51 +01:00
badele
ebc95aca51 Add log info in the rfxtrx component 2015-11-08 11:15:03 +01:00
Arthur Andersen
5b4fc4f346 [Zwave] Add check for missing discovery_service 2015-11-07 15:57:28 +01:00
MartinHjelmare
45fe37a301 Add mysensors component and switch platform
* Add a general mysensors component. This sets up the serial comm
        with the gateway through pymysensors. The component also
        contains a decorator function for the callback function of
        mysensors platforms. Mysensors platforms should create a
        function that listens for the node update event fired by the
        mysensors component. This function should call another
        function, that uses the decorator, and returns a dict. The dict
        should contain a list of which mysensors V_TYPE values the
        platform handles, the platfrom class and the add_devices
        function (from setup_platform).
    * Change existing mysensors sensor platform to depend on the new
        mysensors component.
    * Add a mysensors switch platform. The switch platform takes
        advantage of new functionality from the the fork of pymysensors
        https://github.com/MartinHjelmare/pymysensors, that enables the
        gateway to send commands to change node child values.
    * Change const and is_metric to global constants, in the mysensors
        component and import const depending on the mysensors version
        used.
    * Change variables devices and gateway to global variables.
    * Add some debug logging at INFO log level.
2015-11-06 01:58:41 +01:00
Paulus Schoutsen
df7f6e1235 Remove alarm sensor from demo platform 2015-11-04 23:53:22 -08:00
Fabian Affolter
218a05356a Add docstrings 2015-11-02 21:00:53 +01:00
Stefan Jonasson
d873ab0262 Merge pull request #569 from stefan-jonasson/dev
Fix for Philio Zwave devices which don't send an off event.
2015-11-02 08:15:57 +01:00
Daniel Høyer Iversen
0ff6a460c2 Update rfxtrx.py 2015-11-01 14:20:11 +01:00
Daniel Høyer Iversen
77539a5b89 revert prev commit 2015-11-01 12:51:09 +01:00
Daniel Høyer Iversen
92b05389f2 Update rfxtrx.py 2015-11-01 12:41:21 +01:00