Commit Graph

1622 Commits (2aa89cfe07792dabc18e4888aa6ba16c59e287cf)

Author SHA1 Message Date
MakeMeASandwich 76a8bd3969 Add support for Adafruit temperature/humidity sensors 2015-08-28 14:42:41 +02:00
Paulus Schoutsen e2cfe2a7d2 Merge pull request #278 from sfam/dev
New RPi_GPIO sensor and switch improvements
2015-08-26 08:40:54 -07:00
sfam 930036272b fix pylint warnings 2015-08-26 00:15:57 +01:00
sfam c194121da6 fix pylint warnings 2015-08-26 00:11:07 +01:00
sfam ab5a569922 Add RPi GPIO sensor 2015-08-25 23:24:36 +01:00
Paulus Schoutsen d45a7e2ba4 Update demo data to show more features 2015-08-23 19:46:18 -07:00
sfam 01ed3b18cc update docstring 2015-08-22 14:57:57 +01:00
sfam 8a63325abe update 2015-08-20 23:09:11 +01:00
sfam 44263752ca update header 2015-08-20 23:05:51 +01:00
sfam c5db42677a Add MQTT Sensor 2015-08-19 01:25:05 +01:00
Paulus Schoutsen b93516197c Merge pull request #261 from persandstrom/verisure
Verisure: Hygrometers etc.
2015-08-17 07:48:02 -07:00
Per Sandstrom 4707b122cc hygrometers and disabling of components 2015-08-17 13:05:49 +02:00
Paulus Schoutsen e984eedffd Fix mysensors import 2015-08-16 21:06:50 -07:00
Per Sandstrom e37869616b no more duplicate sensors 2015-08-16 08:03:19 +02:00
Per Sandstrom ad327b64ed code reveiw 2015-08-15 13:36:30 +02:00
Per Sandstrom c7ca6e4784 Added a switch 2015-08-12 13:00:47 +02:00
Per Sandstrom 92fc7eab36 added component and sensor 2015-08-11 09:28:07 +02:00
Paulus Schoutsen 60ade75031 Add missing dependencies 2015-08-08 21:22:34 -07:00
Fabian Affolter c987251585 update header 2015-08-06 22:32:41 +02:00
Fabian Affolter dff626fb2d add requirement 2015-08-06 22:28:46 +02:00
Fabian Affolter fce16c6cdd update header 2015-08-06 22:27:45 +02:00
Fabian Affolter 22e30dc85a update header 2015-08-06 19:15:37 +02:00
Fabian Affolter 2eb3a5af3b update header 2015-08-06 18:53:44 +02:00
Fabian Affolter 22fa9831d8 update header 2015-08-06 18:45:00 +02:00
Fabian Affolter 5fa34b10b3 update file header 2015-08-06 17:54:05 +02:00
Paulus Schoutsen 450b510d08 Fix sensor.forecastio to treat Fahrenheit wrong
Fixes #245
2015-08-05 11:55:59 -07:00
Paulus Schoutsen 086e786b28 Merge branch 'pr/238' into dev
Conflicts:
	requirements.txt
2015-08-05 06:45:56 -07:00
Paulus Schoutsen 23f0195619 Merge pull request #241 from vitorespindola/master
Modbus coil support
2015-08-05 15:40:49 +02:00
Rohit Kabadi 65d32c7425 Added blank line to temper.py 2015-08-02 18:58:30 -07:00
Rohit Kabadi 6c6ae9cb1a Added REQUIREMENTS list to temper.py 2015-08-02 18:55:30 -07:00
Rohit Kabadi e6aabb9706 Fixed flake8 violations 2015-08-02 18:51:13 -07:00
Rohit Kabadi 3d57c80656 Merge remote-tracking branch 'upstream/dev' into temper 2015-08-02 18:18:18 -07:00
Rohit Kabadi 0e153183d4 Added name for temper, added to coveragerc, 2015-08-01 12:46:28 -07:00
Rohit Kabadi 3c08a5ee6e Added support for temper temperature sensors 2015-08-01 12:20:29 -07:00
Vitor Espíndola 1b3a45aba9 Modbus coil support 2015-08-01 09:54:32 -03:00
Fabian Affolter c1b428489f fix requirement 2015-07-27 18:58:32 +02:00
Fabian Affolter 4845c1290c remove unused stuff and update the names (same as in owm sensor) 2015-07-27 18:41:03 +02:00
Paulus Schoutsen c1b6d03d1b Merge remote-tracking branch 'origin/remove-external' into dev 2015-07-24 04:11:31 -07:00
Paulus Schoutsen 37ec18b363 Merge pull request #226 from balloob/rfxcom
Support for rfxtrx sensors
2015-07-24 04:10:23 -07:00
Daniel Hoyer Iversen 3658c57912 updated rfxcom sensor 2015-07-24 13:06:15 +02:00
Daniel Hoyer Iversen 1489af0eca updated rfxcom sensor 2015-07-24 12:35:03 +02:00
Daniel Hoyer Iversen 22c72060cf Make only_named: 0 work 2015-07-23 22:24:48 +02:00
Daniel Hoyer Iversen b54c58235f Documentation of rfxtrx sensor 2015-07-23 19:50:26 +02:00
Daniel Hoyer Iversen 8f99ebf27e Documentation of rfxtrx sensor 2015-07-23 19:47:45 +02:00
Daniel Hoyer Iversen 44ce756cba Support for rfxtrx sensors 2015-07-23 19:36:05 +02:00
Paulus Schoutsen 40b2acb472 Port wink from external to requirements.txt 2015-07-20 00:41:57 -07:00
Paulus Schoutsen 4edf53899d Port PyMySensors from external to requirements.txt 2015-07-19 23:25:13 -07:00
Paulus Schoutsen b6fd282143 Merge remote-tracking branch 'origin/dev' into auto-dependency
Conflicts:
	homeassistant/components/media_player/cast.py
2015-07-10 21:48:01 -07:00
miniconfig 18bcf3ea00 Added a new sensor to read data from the efergy energy monitor 2015-07-09 12:05:19 -04:00
Paulus Schoutsen 940b2998ea Add REQUIREMENTS list to components 2015-07-07 00:01:46 -07:00
Fabian Affolter 7f0c334391 Merge pull request #191 from fabaff/arduino
Arduino component
2015-06-27 13:14:29 +02:00
Fabian Affolter e971a01acd re-add unit 2015-06-27 09:59:05 +02:00
Fabian Affolter 636071a22a add arduino sensor platform 2015-06-25 13:11:22 +02:00
Fabian Affolter fe600b7877 add forecast 2015-06-23 12:33:31 +02:00
Fabian Affolter 4221eef428 use a list and update docs 2015-06-20 16:33:19 +02:00
Fabian Affolter c800508f87 update docs 2015-06-20 16:22:00 +02:00
Paulus Schoutsen c9892569c9 Merge branch 'pr/185' into dev
Conflicts:
	requirements.txt
2015-06-18 23:45:37 -07:00
Fabian Affolter cdb1677b59 fix pylint issue 2015-06-17 23:58:14 +02:00
Fabian Affolter cb35363e10 add missing resource 2015-06-17 23:46:48 +02:00
Fabian Affolter 05b70825fa add a couple of new resources 2015-06-17 23:42:11 +02:00
Fabian Affolter 9b4b76d364 fix return value 2015-06-17 22:37:19 +02:00
Fabian Affolter 91b611acb7 fix return value 2015-06-17 22:36:54 +02:00
Fabian Affolter 7836cb2f01 add forecast.io sensor 2015-06-17 21:59:38 +02:00
Paulus Schoutsen 8a14f46595 Add support to logbook component to browse days 2015-06-14 22:56:55 -07:00
Fabian Affolter 512c4629b6 implement comments from #157 2015-06-02 15:54:53 +02:00
Fabian Affolter 84c7149f0f update journey 2015-06-02 15:54:53 +02:00
Fabian Affolter 2317114b04 switch from error to execption for logger 2015-06-02 15:54:53 +02:00
Fabian Affolter 284dbff2d5 use string formatting 2015-06-02 15:54:53 +02:00
Fabian Affolter 713a03ad89 update depenency handling (requests) 2015-06-02 15:54:53 +02:00
Fabian Affolter 57e2a8a0c9 remove lat/long check 2015-06-02 15:54:53 +02:00
Fabian Affolter a50ed46950 add shortcut 2015-06-02 15:54:53 +02:00
Fabian Affolter 45d67176c5 add newline at the end 2015-06-02 15:54:53 +02:00
Fabian Affolter c0c92a82e2 add swiss public transport sensor 2015-06-02 15:54:52 +02:00
Fabian Affolter 381d160e3b add throttle 2015-05-22 10:11:21 +02:00
Fabian Affolter 1d63e5a2df switch to list 2015-05-21 19:05:31 +02:00
Fabian Affolter 3939d4e2f0 fix statement 2015-05-21 10:31:42 +02:00
Fabian Affolter 2d1b934a1c minor updates 2015-05-20 18:30:57 +02:00
Fabian Affolter 9392f9b512 use throttle as balloob suggested 2015-05-20 18:30:57 +02:00
Fabian Affolter 397336e03c switch to list for options 2015-05-20 18:30:57 +02:00
Fabian Affolter 61148d8215 add throttle, rename variable, fix pylint issues 2015-05-20 18:30:57 +02:00
Fabian Affolter 827fd4d070 add bitcoin sensor 2015-05-20 18:30:57 +02:00
jamespcole dba9f8854f Removed conversion to local time from UTC for last_tripped_time for vera sensors and switches 2015-05-19 00:31:59 +10:00
jamespcole 1c47ade641 Updated with new switch category for UI7 firmware update and fixed excpetion when trippable sensor has never been tripped 2015-05-18 18:54:25 +10:00
Andrew Thigpen 8b8cb28259 Update mysensors component to read debug, persistence values. 2015-05-14 19:02:10 -05:00
Fabian Affolter fdb46d80ba Update documentation 2015-05-13 19:06:17 -07:00
Fabian Affolter 584d3ea272 add utc and beat, use more appropriate variable names 2015-05-12 20:28:04 +02:00
Fabian Affolter 24499d7bed update header 2015-05-10 23:43:37 +02:00
Fabian Affolter 9f042db0f5 call dt_util.now() only once, add additional format 2015-05-08 18:50:57 +02:00
Fabian Affolter 03993cd5fa fix if and remove tz 2015-05-08 18:39:28 +02:00
Fabian Affolter 079ec43291 remove list 2015-05-08 18:31:48 +02:00
Fabian Affolter f72cedf446 add missing space 2015-05-08 17:03:42 +02:00
Fabian Affolter 503a2adc38 add date & time sensor 2015-05-08 16:59:46 +02:00
Fabian Affolter 70f1ec9dce add openweathermap sensor 2015-05-01 21:52:34 +02:00
andythigpen 362e176397 Merge pull request #89 from andythigpen/mysensors
MySensors support
2015-04-26 13:03:31 -05:00
Andrew Thigpen 3cff05ef91 Create entity for each sensor variable.
Refactors to create a separate entity for each variable associated with
a child sensor.
2015-04-25 21:08:49 -05:00
Ryan Kraus 2b4c75543a 1) Merged with mainline dev branch. 2) Removed assumption in homeassistant/__init__.py that states are visible if not specified. This assumption is intrinsic in the JavaScript. 3) Recompiled frontend to assist merge. 2015-04-22 21:04:52 -04:00
Paulus Schoutsen 0e2cf6532b Merge pull request #95 from kixam/master
simplistic Modbus implementation
2015-04-21 15:00:06 -07:00
Aurélien Correia 4d6555441d Passed Travis CI 2015-04-21 16:40:13 +02:00
Ryan Kraus 6b2dd69bcb Updated isy994 component to hide any device with the HIDDEN STRING in its ancestry. 2015-04-17 09:27:14 -04:00
Aurélien Correia fb6b514c34 Adding simplistic support for Modbus sensor and switch (based on pymodbus) 2015-04-15 16:47:42 +02:00
Ryan Kraus b20424261c 1) Performed many pylint and flake8 fixes to clean up isy994 integration and hidden entities addition. 2) Added necessary code to allow groups to also be hidden. 3) Made most of the weather data from the isy994 component be hidden by default. 2015-04-15 02:05:34 -04:00
Ryan Kraus 83aea10f06 Added hidden_string and sensor_string properties to the isy994 configuration to allow nodes to be hidden and to be handled as sensors. Implimented the sensor_string. Any node name that contains the sensor_string in its name will be treated as a sensor instead of a switch or light. The hidden_string will be implimented later. 2015-04-13 12:56:37 -04:00
Ryan Kraus 0e9a8a7cc2 Added custom program sensors to the isy994 component. 2015-04-13 01:47:32 -04:00
Ryan Kraus f6d75f2db2 Cleaned up ISY994 light and sensor code to use the same abstract class. 2015-04-12 16:45:23 -04:00
Malte Deiseroth 0ed608abff little bug 2015-04-07 21:10:16 +02:00
jamespcole e63d0d7aac Tidied up the documentations and linting warnings 2015-04-07 23:21:41 +10:00
jamespcole ba13f78d49 Added initial Transmission torrent client sensor 2015-04-06 22:13:04 +10:00
Andrew Thigpen 4d47d313f9 Add mysensors support for metric/imperial units. 2015-04-05 17:25:10 -05:00
Andrew Thigpen 0e9d826d41 Push mysensor state instead of polling. 2015-04-05 17:25:10 -05:00
Andrew Thigpen c72a735851 Use stop method for mysensors on shutdown. 2015-04-05 17:25:09 -05:00
Andrew Thigpen c41d7b8f6d Refactor and update to use latest pymysensors. 2015-04-05 17:25:06 -05:00
Ryan Kraus 80f1581d6e Added ISY994 weather data as sensors. 2015-04-04 04:33:03 -04:00
theolind e87652e95f added HA module for mysensors 2015-04-02 19:59:44 +02:00
jamespcole c067cddbe8 Refactored vera temp sensors to use temperature contstants and conversion 2015-03-30 00:51:03 +11:00
Malte Deiseroth afcf3eaac3 - add ds18S20 1-Wire sensor support
- gitignore emacs backup files
2015-03-29 14:48:17 +02:00
Paulus Schoutsen ec557f8d44 Fix broken tellstick and systemmonitor sensors 2015-03-21 22:26:41 -07:00
jamespcole 470096047b removed unused imports 2015-03-22 15:43:59 +11:00
jamespcole 04d16d7607 removed unused state attributes that are no longer required after upstream changes 2015-03-22 15:18:58 +11:00
jamespcole e877ed01af Fixed attribute error with new unit_of_measurement changes 2015-03-22 14:43:20 +11:00
Paulus Schoutsen e872435870 Tellstick sensor: Lookup sensor ids as ints 2015-03-21 19:38:43 -07:00
Paulus Schoutsen bbfd97e2b8 Migrate components to use EntityComponent 2015-03-21 19:37:18 -07:00
Paulus Schoutsen a9324ba9d4 Update components to use Entity instead of Device 2015-03-21 19:16:13 -07:00
Paulus Schoutsen c8401a3c4d Merge pull request #67 from balloob/ha-config
Add a global config object to Home Assistant
2015-03-21 00:53:30 -07:00
jamespcole b477514e58 Added in API availability check and better exception handling 2015-03-21 12:10:38 +11:00
jamespcole 30c78b4054 Fixed gitmodules merge conflict 2015-03-21 10:14:03 +11:00
Paulus Schoutsen 1f453c9394 Add default datatype mask to tellstick sensor 2015-03-19 12:34:22 -07:00
Paulus Schoutsen 9b643d57f0 ps: Add a global config object to Home Assistant 2015-03-18 23:02:58 -07:00
Paulus Schoutsen 569b15d790 Some Z-Wave fixes 2015-03-18 19:15:48 -07:00
Paulus Schoutsen 71803658f5 Updates to demo component and platforms 2015-03-16 22:20:35 -07:00
Paulus Schoutsen ef5deac3e1 Fix Z-Wave sensors not showing up 2015-03-15 00:01:18 -07:00
Paulus Schoutsen 1d33d7d124 Z-Wave sensors no longer auto associate with controller 2015-03-14 20:20:48 -07:00
jamespcole 06c3087310 Fixed variable scoping 2015-03-09 15:16:02 +11:00
jamespcole 56622596e7 Changed exception logging, and updated excluded device logic 2015-03-09 09:11:59 +11:00
jamespcole 7ee37648d8 Updated exception type for errors when connecting to vera 2015-03-09 08:45:20 +11:00
jamespcole 95852db18d Changed the configuration to use hashes instead of searching array 2015-03-09 08:34:06 +11:00
jamespcole 7dc3198320 Added constants for armed, tripped and tripped time 2015-03-09 08:10:31 +11:00
jamespcole 38fbc3595a Added spcific exception type for failure to communicate with Vera controller 2015-03-09 07:46:26 +11:00
jamespcole 7772d5af62 moved setting name to constructor 2015-03-09 07:15:41 +11:00
jamespcole a2f438c6ef now using ATTR_BATTERY_LEVEL 2015-03-09 07:11:35 +11:00
jamespcole 1b29d61562 Made exception handling more specific 2015-03-09 07:03:56 +11:00
jamespcole efdb54cbe4 Added in SABnzbd sensor 2015-03-09 05:28:12 +11:00
jamespcole 50ff26ea20 Fixed flake8 errors 2015-03-09 01:58:11 +11:00
jamespcole 42dc973ccc Fixed up linting errors 2015-03-09 01:14:44 +11:00
jamespcole dc8147c46d Changed vera components over to new config file format 2015-03-08 23:52:50 +11:00
jamespcole a30d1dcfef Merge branch 'dev' of https://github.com/balloob/home-assistant into dev
Getting the latest from balloob
2015-03-08 22:08:03 +11:00
theolind 43f0014200 Added process watching functionality to sensor.systemmonitor 2015-03-07 20:54:52 +01:00
theolind 1215b5e994 Fixed type issue 2015-03-07 15:55:32 +01:00
theolind 828c78cb1f fixed style errors 2015-03-07 15:49:58 +01:00
theolind 3173249dc3 fixed typo 2015-03-07 15:24:35 +01:00
theolind 97258747c7 Renamed device to resource 2015-03-07 15:22:03 +01:00
theolind 19964e914a Added a system monitoring platform to the sensor component 2015-03-07 14:54:08 +01:00
jamespcole fceac45ddd Updated vera switch and sensor to the new architecture 2015-03-07 12:59:13 +11:00
jamespcole ba58c080e3 removed old config example to fix merge conflict 2015-03-07 12:36:08 +11:00
Paulus Schoutsen 3e15742875 Move device ABCs to separate helper file 2015-03-05 23:18:22 -08:00
Paulus Schoutsen 663735542b Refactor tellstick_sensor to a sensor platform 2015-03-03 22:19:29 -08:00
jamespcole 8dfc91a502 Added vera components and added __pycache__ to gitignore 2015-03-02 22:05:03 +11:00
jamespcole 3449b3d1d7 vera device types 2015-03-02 21:09:00 +11:00
Paulus Schoutsen 89100d14c8 Refactored device components 2015-03-01 01:35:58 -08:00
Paulus Schoutsen 63bf1373b7 Disable pylint import error check 2015-02-28 23:02:26 -08:00
Paulus Schoutsen 19d243d159 ZWave Sensor values push changes to HA 2015-02-28 22:49:55 -08:00
Paulus Schoutsen 8bd803601f Devices can now be polling or push 2015-02-28 22:33:44 -08:00
Paulus Schoutsen fa76cb8f8c Z-Wave sensors should work now 2015-02-28 20:27:42 -08:00
Paulus Schoutsen 1b00515899 Register to Z-Wave sensor updates 2015-02-28 20:27:42 -08:00
Paulus Schoutsen e7b9b86c64 Get Z-Wave sensors to work with Home Assistant 2015-02-28 20:27:42 -08:00
Paulus Schoutsen b2b82d955c Break demo component into small demo platforms 2015-02-28 07:31:39 -08:00
James Cole cda821e649 Update __init__.py
Updated to fix the following error when loading sensors:

"home-assistant/homeassistant/components/sensor/__init__.py", line 87, in setup
    hass.track_time_change(update_sensor_states, seconds=range(0, 60, 3))
TypeError: track_time_change() got an unexpected keyword argument 'seconds'"

the named parameter was using seconds instead of second
2015-02-28 03:53:07 +11:00
Paulus Schoutsen 253e3eb628 Fire a time_changed event every second 2015-01-24 18:04:19 -08:00
Paulus Schoutsen ff230cefe3 Disable pylint unused-argument check 2015-01-19 23:40:51 -08:00
Geoff Norton a287bb5da0 Updates to resolve flake8 errors 2015-01-20 04:23:31 +00:00
Geoff Norton a7315684c4 Reduce the threshold on the sensor changes, and rename it for easier debugging 2015-01-20 04:00:31 +00:00
Geoff Norton 80c2d81f41 Fire the sensor timer more often, and fix a typo 2015-01-20 02:58:08 +00:00
Geoff Norton 7fbd36ccad Add a new sensor component
Hook up to scan sensor_pod_id's from Wink and report their status.
2015-01-20 01:16:04 +00:00