Commit Graph

223 Commits (4c056db3bb94c403bee26a360ee5cc549c1908bb)

Author SHA1 Message Date
Nolan Gilley c471e39fa0 trying to fix more warnings... 2015-08-18 16:50:40 -04:00
Nolan Gilley d2f01174e7 fixed warnings 2015-08-18 16:41:03 -04:00
Nolan Gilley 4d5f3da08b Initial commit for device_tracker component for Actiontec MI424WR Verizon FiOS Wireless Router 2015-08-18 16:12:01 -04:00
Chris Mulder 58fcf79340 Put new TP-Link device tracker class in same file as original and use the new one and have tailback to original one. 2015-08-10 20:03:43 +02:00
Chris Mulder 2c9c79ea61 Add support for TP-Link ArcherC9 to to device tracker component 2015-08-09 18:23:42 +02:00
Paulus Schoutsen 60ade75031 Add missing dependencies 2015-08-08 21:22:34 -07:00
Fabian Affolter f84b3a509d update header 2015-08-06 22:24:23 +02:00
Paulus Schoutsen 46fd23c452 Merge pull request #244 from balloob/cleanup
Core Cleanup
2015-08-06 05:23:23 -07:00
Paulus Schoutsen b0065f7a95 Merge pull request #249 from persandstrom/asuswrt
ASUSWRT - Exception when client not in leases
2015-08-06 04:04:39 -07:00
Per Sandstrom 65cc0954c8 Exception when client not in leases
Client can be dropped from leases list from where the status is
retreived before it is dropped from the ip neigh list.
The client needs a default status.
2015-08-06 09:19:23 +02:00
Paulus Schoutsen b2cfce7243 Merge branch 'dev' into cleanup
Conflicts:
	.coveragerc
2015-08-05 06:51:39 -07:00
Paulus Schoutsen a163f2da2d Merge pull request #243 from persandstrom/asuswrt
ASUSWRT based routers
2015-08-05 15:39:48 +02:00
Per Sandstrom 52ec4ac1d8 flake8 and pylint 2015-08-05 10:22:03 +02:00
Paulus Schoutsen 382c1de981 Built-in components no longer use deprecated methods 2015-08-03 17:08:13 +02:00
Per Sandstrom ed0164843a Added support for ASUSWRT based routers 2015-07-30 11:30:31 +02:00
Paulus Schoutsen 43cc3624ee Port PyNetgear from external to requirements.txt 2015-07-19 23:44:32 -07:00
Michaël Arnauts abea8a2ff4 disable pylint warning, use correct format for mac addresses 2015-06-19 20:58:01 +02:00
Michaël Arnauts e5147235cc More code style fixes 2015-06-17 23:40:58 +02:00
Michaël Arnauts c77dbaa67b Fix code guidelines 2015-06-17 23:32:33 +02:00
Michaël Arnauts ac73c4db0f Add TP-Link support for device_tracker 2015-06-17 22:55:03 +02:00
Paulus Schoutsen 644a3058de Fix device tracker deadlock after exception in scanner 2015-06-02 21:39:33 -07:00
Finbarr Brady f110dc970d Fix for getting device names using Luci. Tested on Barier Breaker. 2015-05-30 13:30:34 +00:00
Paulus Schoutsen 95f0be6247 Merge pull request #144 from Dutchy-/track_new_devices
Add a configuration option to track new devices by default.
2015-05-27 00:45:48 -07:00
Edwin Smulders 41ec85053e Add a configuration option to track new devices by default. 2015-05-26 00:01:16 +02:00
Edwin Smulders 71ac550e7d Let the nmap device tracker return upper case MAC addresses. 2015-05-25 21:33:58 +02:00
Paulus Schoutsen ae0cf49560 UTC upgrades for scheduler, nmap tracker, dsl_trigger 2015-05-14 21:07:15 -07:00
Fabian Affolter 44045a02f2 update header 2015-05-11 18:06:25 +02:00
Fabian Affolter 6b42227b13 update header 2015-05-11 18:06:12 +02:00
Fabian Affolter 61e1f56922 update header 2015-05-11 18:05:58 +02:00
Fabian Affolter 2539c93783 update header 2015-05-11 18:05:46 +02:00
Fabian Affolter 8f5a9859c3 update header 2015-05-11 18:05:35 +02:00
Paulus Schoutsen e0ecb64a10 Use UTC as the internal datetime format 2015-04-28 19:12:05 -07:00
jamespcole 0b6d260fa6 fixed flake8 blank lines error 2015-03-29 11:49:07 +11:00
jamespcole fda44cdbf7 Moved compiled regex to a constant for efficiency 2015-03-29 11:40:21 +11:00
jamespcole 242c143c85 refactored ddwrt data format parsong code 2015-03-29 11:30:04 +11:00
jamespcole a959c48708 Fixed travis another CI indenting error 2015-03-28 19:17:51 +11:00
jamespcole a9ce12be34 Fixed travis CI indenting error 2015-03-28 18:59:12 +11:00
jamespcole fc07032d35 Fixed some code formatting and added dd-wrt to the readme 2015-03-28 18:43:41 +11:00
jamespcole 7e6af57186 FIxed some linting issues 2015-03-28 18:29:45 +11:00
jamespcole c8c38e498a Added a device tracker for dd-wrt routers 2015-03-28 03:51:33 +11:00
Paulus Schoutsen 4484baa866 Remove lock and add host timeout to NMAP scanner 2015-03-25 22:50:51 -07:00
Paulus Schoutsen c3fc19353b Fix device tracker waiting forever when platform gets stuck 2015-03-25 22:50:20 -07:00
Paulus Schoutsen 7a7f486cb2 Rename config.get_config_path to config.path 2015-03-19 12:27:56 -07:00
Paulus Schoutsen 9b643d57f0 ps: Add a global config object to Home Assistant 2015-03-18 23:02:58 -07:00
trainman419 e891162dad Convert MAC addresses to uppercase on load
This fixed an issue for me where my known_devices file had lowercase MAC
addresses, but the device tracker returns uppercase MAC addresses.
2015-03-15 14:43:45 -07:00
andythigpen bfb5089ed5 Add configurable interval for nmap_tracker when devices are home.
Adds an option that will exclude devices from the periodic nmap scan
for the configured number of minutes.
2015-03-08 15:54:00 -05:00
Paulus Schoutsen fde0ce1997 Remove CONF_TYPE and platform_devices_from_config 2015-03-06 00:04:32 -08:00
Paulus Schoutsen 6b5920b98b Merge branch 'dev'
* dev:
  Device tracker: make all Mac addresses uppercase. Fixes #37
  ps: Slim down README.md
  Update __init__.py
  Remove no longer supported options from example
  Adds event automation module.
2015-02-27 18:37:54 -08:00
Paulus Schoutsen f6f76acdb0 Device tracker: make all Mac addresses uppercase. Fixes #37 2015-02-27 18:36:09 -08:00
andythigpen 22a2b65e3f Add configurable intervals to device tracker.
Allows the user to configure a longer interval for when the device
tracker should scan for devices.
2015-02-23 19:32:06 -06:00
Paulus Schoutsen 8e29910e77 Style fixes to satisfy updated Flake8 2015-02-15 17:15:46 -08:00
Paulus Schoutsen 253e3eb628 Fire a time_changed event every second 2015-01-24 18:04:19 -08:00
Paulus Schoutsen dbefeb3f6b Fix group names for switch, light and devices 2015-01-19 23:47:18 -08:00
Paulus Schoutsen ff230cefe3 Disable pylint unused-argument check 2015-01-19 23:40:51 -08:00
Paulus Schoutsen 46834aa0a5 Better update schedules for cast and devicetracker 2015-01-19 22:57:28 -08:00
Paulus Schoutsen 9d933f517b Merge pull request #22 from kangaroo/wink-sensors
Wink sensor support
2015-01-19 21:30:44 -08:00
Paulus Schoutsen 45e295c1d3 Update pynetgear to latest version 2015-01-17 13:49:22 -08:00
Paulus Schoutsen aa9673b208 Device Tracker sets up group auto attribute proper 2015-01-13 08:25:17 -08:00
Paulus Schoutsen 035d994705 Merge branch 'master' into dev
* master:
  Fix warnings from flake8 and pylint
  Check flags in ARP table for NUD_REACHABLE before assuming a device is online. Fixes #18.
2015-01-08 20:18:04 -08:00
Paulus Schoutsen e0b424c88f Make group component more flexible 2015-01-08 20:02:34 -08:00
Karsten Nerdinger 2c5886f6d4 Fix warnings from flake8 and pylint 2015-01-07 03:57:06 +01:00
Karsten Nerdinger fc33273464 Check flags in ARP table for NUD_REACHABLE before assuming a device is online. Fixes #18. 2015-01-07 03:36:39 +01:00
Paulus Schoutsen 47e6290609 Make nmap mac regex more flexible to play nice with OS X 2014-12-19 15:42:34 -08:00
trainman419 4495812b84 nmap-based device tracking plugin 2014-12-14 23:28:12 -08:00
Paulus Schoutsen 7c404a0551 device_tracker - No longer keep writing same new devices to known_devices.csv 2014-12-12 07:32:50 -08:00
Paulus Schoutsen 1f582cbeec Fix: Read known devices file once on init device_tracker 2014-12-08 22:06:38 -08:00
Paulus Schoutsen 0527760e9b Refactor: code moved to new helper and constants file. Also adds support for multiple types for switch/light components. 2014-12-06 23:57:02 -08:00
Paulus Schoutsen 48089b01ab Renamed AddCooldown to Throttle and added bypass functionality 2014-12-04 21:06:45 -08:00
Paulus Schoutsen 31b9f65513 Added initial version of AddCooldown decorator 2014-12-04 01:14:27 -08:00
Paulus Schoutsen eef4817804 Cleaned up device_tracker and added tests 2014-12-02 23:54:10 -08:00
Paulus Schoutsen bc4b81d525 Reorganized testing 2014-11-23 13:00:06 -08:00
Paulus Schoutsen 5d107ed74b Switched style checking to flake8 instead of pep8 2014-11-16 22:18:52 -08:00
Paulus Schoutsen 9f9b926011 All platforms supported by components have their own file - you can can have custom platforms 2014-11-11 21:39:17 -08:00