Commit Graph

424 Commits (e4f0b0a57f8b2e01493a53668d84ba76bc3e9346)

Author SHA1 Message Date
Paulus Schoutsen cbc6323438 Fix imports 2016-01-28 21:45:26 -08:00
Paulus Schoutsen bb3dd47088 Merge pull request #992 from balloob/sections
Add support for sections in the frontend [Fixes #100705168]
2016-01-24 22:58:27 -08:00
Paulus Schoutsen f6c53896e3 Allow groups to be used as views 2016-01-24 22:54:45 -08:00
Paulus Schoutsen dc5d652d31 Update version pynetgear 2016-01-24 09:43:06 -08:00
Philip Lundrigan f96c5aa62f Fix bug in locative logic 2016-01-15 13:19:53 -07:00
Paulus Schoutsen e6846e7eb9 Convert asuswrt user/pass to strings 2016-01-12 22:28:53 -08:00
Paulus Schoutsen 3b7b12bbd5 Make Flake8 happy 2016-01-12 21:53:27 -08:00
xifle 6c94650603 Accept lower & upper case for owntracks 'home' region 2016-01-10 15:00:14 +01:00
Paulus Schoutsen 31f2707b2f Merge pull request #841 from xifle/dev
Owntracks transition events
2016-01-03 11:19:02 -08:00
xifle d244d3b599 Fixed flake8 style errors 2016-01-03 17:42:49 +01:00
xifle 82904c59ce Fixed code style 2016-01-03 17:12:11 +01:00
Richard 305c87a9c9 Fix reference known_devices.yaml 2016-01-02 16:01:58 -06:00
Paulus Schoutsen 6d35bdafee Merge pull request #832 from R1chardTM/device-tracker
Add service description device tracker
2016-01-02 10:34:05 -08:00
Paulus Schoutsen 217ffc215b Update PyNetgear version 2016-01-02 10:27:11 -08:00
xifle cbd3860585 Merge branch 'dev' of https://github.com/balloob/home-assistant into dev 2016-01-02 18:56:14 +01:00
xifle 5804dde0e9 Enables the use of owntracks transition events
By using the configuration option "use_events:yes" in the device_tracker section,
only 'enter'/'leave' events are considered to calculate the state of a tracker device.
The home zone is defined as the owntracks region 'home'. Other regions may also be defined, the name of
the region is then used as state for the device. All owntracks regions, the 'Share' setting must be enabled in the app.
2016-01-02 18:26:59 +01:00
Richard cdf2179b3e Describe device tracker see service 2016-01-02 10:54:26 -06:00
Philip Lundrigan ce152e9c94 Simplify logic 2015-12-31 12:39:36 -07:00
Philip Lundrigan 5d953061e8 Remove unnecessary error checking 2015-12-31 11:56:27 -07:00
Philip Lundrigan bdb6182921 Changes to locative based on tests 2015-12-31 11:56:27 -07:00
Philip Lundrigan 7d41ce4e46 Switch from json messages to plain text messages 2015-12-30 22:43:32 -07:00
Philip Lundrigan c23375a18b Add case for test message 2015-12-30 22:42:11 -07:00
Philip Lundrigan 25e1432403 Fix style issues 2015-12-30 12:30:49 -07:00
Philip Lundrigan adfcfad488 Update locative functionality 2015-12-30 12:26:03 -07:00
Philip Lundrigan 0ac1759395 Rename geofancy to locative (fix #761) 2015-12-21 11:05:20 -07:00
Philip Lundrigan c564c73617 Return true when iCloud finishes setting up
Otherwise an error will be reported even though it set up correctly.
2015-12-17 13:31:33 -07:00
kevinpanaro 4f6243fe0e changed pyicloud version to 0.7.2 2015-12-15 21:07:34 -05:00
Fabian Affolter fcdaa923c5 Update docstrings 2015-12-15 10:42:05 +01:00
Paulus Schoutsen 2e0042adb0 Tweak iCloud device tracker 2015-12-14 21:39:48 -08:00
Paulus Schoutsen 79c92cd0c4 Merge branch 'pr/616' into dev 2015-12-14 21:31:20 -08:00
Fabian Affolter 87d40f6673 Move config details to doc 2015-12-14 18:19:50 +01:00
caius cc962c6bb2 Add some lint suggested modifications 2015-12-13 13:20:52 -08:00
caius 9833b4b663 Add the fritz device tracker to track established connections to FritzBox routers 2015-12-13 13:20:52 -08:00
Daren Lord 254889e3fd Fixing logging for pylint 2015-12-04 09:23:05 -07:00
Daren Lord 9ecc08c0c8 Adding in pyicloud to requirements_all.txt 2015-12-04 09:19:16 -07:00
Daren Lord e3d4e3ad4d Increasing scan interval. Moved imports. 2015-12-04 09:08:46 -07:00
Daren Lord b6342ed848 Merge branch 'dev' of https://github.com/balloob/home-assistant into findiphone 2015-12-04 09:05:23 -07:00
Johan Carlquist 6a021c9ef6 Support for legacy nmap.
Older nmap like the one bundled with Ubuntu Precise (12.04), 5.21
requires that you specify what unit the value to --host-timeout is.
2015-11-28 20:43:27 +01:00
Daren Lord 8074854731 Fixing formatting 2015-11-21 21:12:41 -07:00
Daren Lord fff6b24449 Switching to new device scanner setup. 2015-11-21 21:04:28 -07:00
Daren Lord 396a65ab03 Merge branch 'dev' of https://github.com/balloob/home-assistant into findiphone 2015-11-21 15:26:44 -07:00
Daren Lord c60bb35d4a Fixed lint errors 2015-11-12 23:40:30 -07:00
Daren Lord 90007a04d3 Adding iCloud device_tracker component. Allow to track devices registered with iCloud 2015-11-12 23:37:15 -07:00
Paulus Schoutsen 16904452b8 Merge pull request #614 from persandstrom/asuswrt_not_loading
ASUSWRT more logging and more robust
2015-11-12 11:43:49 -08:00
Per Sandström 158d9e27ff more robust and more logging 2015-11-12 20:10:25 +01:00
Tom Duijf 5503c12cfd Fixes memory consumption issue 2015-11-11 21:54:33 +00:00
Fabian Affolter 97f9f8aa49 Update link to docs (Jekyll 3 update) 2015-11-09 13:12:18 +01:00
Nolan Gilley e961dd5f95 increase valid for time to 60 since I was having some issues. removed deprecated lines. 2015-10-30 07:00:35 -04:00
Nolan Gilley bcb2451752 fix pylint warning 2015-10-28 17:47:13 -04:00
Nolan Gilley 8eeca94517 removed home_interval option since it was added to the main device_tracker component 2015-10-28 17:43:41 -04:00
Nolan Gilley 3b37a7b737 bugfix for actiontec device tracker 2015-10-28 17:20:15 -04:00
Krzysztof Koziarek fbb73dd5da fixed pylint warnings 2015-10-26 11:50:09 +01:00
Krzysztof Koziarek c9f1dce6a2 Coding style fixes 2015-10-26 11:32:00 +01:00
Krzysztof Koziarek 50fbd83b3d corrected flake8 warnings 2015-10-24 11:20:57 +02:00
Krzysztof Koziarek 29c9c5a7ec Add new OpenWRT presence detection routine based on ubus instead of luci 2015-10-23 17:01:42 +02:00
Fabian Affolter 403889bbeb Move configuration details to docs 2015-10-13 20:55:45 +02:00
Fabian Affolter 6ca50d8b5c Move configuration details to docs 2015-10-13 20:55:15 +02:00
Fabian Affolter 0369a9ee0d Move configuration details to docs 2015-10-13 20:54:48 +02:00
Fabian Affolter 5a6ff9a69a Move configuration details to docs 2015-10-13 20:54:15 +02:00
Fabian Affolter 796cce78bc Move configuration details to docs 2015-10-13 20:52:30 +02:00
Fabian Affolter 77430c0687 Move configuration details to docs 2015-10-13 20:52:08 +02:00
Fabian Affolter c33942d6e2 Move configuration details to docs 2015-10-13 20:51:30 +02:00
Fabian Affolter 3b91f89173 Move configuration details to docs 2015-10-13 20:50:53 +02:00
Fabian Affolter c74f46794e Move configuration details to docs 2015-10-13 20:50:15 +02:00
Fabian Affolter 966fd8f24d Move configuration details to docs 2015-10-13 20:49:28 +02:00
Fabian Affolter 8253fdfc13 Add newline 2015-10-13 20:49:14 +02:00
Fabian Affolter cb7b5f8d15 Move configuration details to docs 2015-10-13 20:45:29 +02:00
Fabian Affolter b0d8eaeda9 Move configuration details to docs 2015-10-13 20:44:18 +02:00
Paulus Schoutsen e2f187879c Merge pull request #511 from wind-rider/geofancy
Geofancy
2015-10-13 00:05:17 -07:00
Heiko Rothe 021a374a6a Merge branch 'dev' of https://github.com/mKeRix/home-assistant into dev 2015-10-12 22:44:20 +02:00
Heiko Rothe bbec34d0e6 Merge remote-tracking branch 'refs/remotes/balloob/dev' into dev 2015-10-12 22:43:55 +02:00
Heiko Rothe a6cb19b27d Fixed an issue with the initiation of the new attributes 2015-10-12 22:42:45 +02:00
Hans Bakker b74e70d4e0 Fixes based on balloob's comments 2015-10-12 20:58:24 +02:00
Heiko Rothe 2f2bd7a616 Fixed pylint and pep8 violations 2015-10-12 09:18:55 +02:00
Hans Bakker 1eb3610a11 Style fixes 2015-10-12 00:28:39 +02:00
Hans Bakker 6a969208e9 Initial commit for Geofancy device tracker. 2015-10-12 00:14:05 +02:00
Guillaume SABBE a1e5bea3ab When IPv6 is enabled, dnsmasq has a configuration line with the DUID.
This looks like this
61072 b8:27:eb:e1:4e:4d 192.168.0.4 domotycoon *
61072 b8:27:eb:b8:10:6b 192.168.0.5 pimonitor *
duid 00:03:00:01:ac:22:0b:e9:98:50
When using match.group() without testing if match != None, you get a traceback.
2015-10-11 15:21:53 +02:00
Paulus Schoutsen 8a04e1f5f4 Device tracker configuration fix
Fixes #498
2015-10-08 22:19:15 -07:00
Paulus Schoutsen 9f33b8f541 DDWRT - match multiple output variants
Fixes #481
2015-10-08 22:15:12 -07:00
Paulus Schoutsen 0624725e21 Ignore nmap style issue - pylint bug 2015-10-08 21:45:51 -07:00
Paulus Schoutsen dc5f0ef314 NMap: fix hostname resolver
Fixes #482
2015-10-08 21:01:38 -07:00
Fabian Affolter 28b107ffa9 Move details from header to docs 2015-10-09 00:27:29 +02:00
Tom Duijf ee23c0fe14 cleaner logging 2015-10-08 14:54:20 +00:00
Tom Duijf 721c1d0f54 styling fix for flake 2015-10-08 10:24:55 +00:00
Tom Duijf 85bf6cb568 Added pylint disables 2015-10-08 10:01:10 +00:00
Tom Duijf 213a1fe4ba Various fixes, CI validation 2015-10-08 08:00:30 +00:00
Tom Duijf ae6f651c7d styling and version for requirement 2015-10-07 23:22:29 +00:00
Tom Duijf 7cb0f805ee fixed loop 2015-10-07 22:17:49 +00:00
Tom Duijf d556e5979a Updated misc files and code styling 2015-10-07 21:45:24 +00:00
Tom Duijf 9377b647f5 removed debug logging 2015-10-07 21:05:27 +00:00
Tom Duijf 469f35d25f various fixes, initial working version 2015-10-07 21:04:34 +00:00
Tom Duijf a58382e763 Fixed b/octet to mac adress conversion 2015-10-07 16:57:01 +00:00
Tom Duijf 0fb9e1b16c Initial commit of snmp device tracker 2015-10-06 21:26:32 +00:00
Paulus Schoutsen 8490d6126a OwnTracks robustness improvement 2015-10-03 10:29:00 -07:00
Paulus Schoutsen b2919c6504 Fix gps accuracy issue 2015-10-02 13:49:55 -07:00
Paulus Schoutsen 9bdfa89b7c More robust geofence checking 2015-10-02 08:16:53 -07:00
Paulus Schoutsen 1dc9bfdf73 Update config zones 2015-09-29 23:08:37 -07:00
Paulus Schoutsen 5ad27d8cdb Add support for zones to Home Assistant 2015-09-28 23:13:13 -07:00
Paulus Schoutsen 4e3bd5f2a9 Add service descriptions 2015-09-26 23:17:04 -07:00
Heiko Rothe 1553844279 Added support for the newest tp-link firmware
Currently this seemingly only applies to the Archer C9
2015-09-22 22:48:43 +02:00
Paulus Schoutsen 46a0173e31 Add demo device tracker platform 2015-09-21 22:46:08 -07:00
Paulus Schoutsen ca698ff063 remove debug statement 2015-09-20 20:24:31 -07:00
Paulus Schoutsen a866d515f7 Make owntracks more robust 2015-09-20 20:09:53 -07:00
Paulus Schoutsen 506c88dbaf Fix owntracks bugs 2015-09-20 12:13:51 -07:00
Paulus Schoutsen 30492cc685 Fix tests and linting 2015-09-20 11:46:01 -07:00
Paulus Schoutsen 19d40612e6 Add home_range to device tracker 2015-09-20 09:35:03 -07:00
Paulus Schoutsen 68286dcef8 initial owntracks support 2015-09-20 00:27:50 -07:00
Paulus Schoutsen 6352f10d9e Device tracker minor tweak 2015-09-19 21:02:54 -07:00
Paulus Schoutsen 86aea83f64 Device tracker improvements 2015-09-15 23:35:28 -07:00
Jeff Schroeder 7c7b6ca05c Fix the asuswrt device tracker for dhcp leases with no hostname
Sometimes, hosts request dhcp leases without sending the hostname
they want to the dhcp server. This results in the entity_id being
`device_tracker.` as the dev_id is empty and things go downhill
from there.

The dhcp lease file looks like:
    admin@RT-AC66R:/tmp/home/root# cat /var/lib/misc/dnsmasq.leases
    86400 5c:c5:d4:79:4c:ad 192.168.1.226 chit-jsl3 *
    85242 8c:77:12:ad:d9:23 192.168.1.126 android-2c94abebaab16255 01:8c:77:12:ad:d9:23
    61985 b8:e9:37:73:47:f0 192.168.1.204 * 01:b8:e9:37:73:47:f0
    61982 b8:e9:37:ec:0d:7e 192.168.1.132 * 01:b8:e9:37:ec:0d:7e
    84584 00:20:6b:ca:31:c1 192.168.1.182 MC4650-CA31C1 01:00:20:6b:ca:31:c1
    86306 fc:e9:98:d6:4b:90 192.168.1.173 iLol 01:fc:e9:98:d6:4b:90
    74343 20:3a:07:f3:7e:ae 192.168.1.246 gatekeeper 01:20:3a:07:f3:7e:ae
    72374 b8:e9:37:5f:3d:06 192.168.1.34 SonosZP 01:b8:e9:37:5f:3d:06
    64697 00:0e:58:6f:59:d2 192.168.1.171 SonosZB 01:00:0e:58:6f:59:d2

Confirmed working on an Asus RT-AC66R with fw version: 3.0.0.4.376_3861
2015-09-14 20:33:14 -05:00
Paulus Schoutsen 7e75add144 Update nmap dependency 2015-09-13 23:35:12 -07:00
Paulus Schoutsen eef1e65244 Fix converting config device tracker 2015-09-13 00:48:52 -07:00
Paulus Schoutsen 5edc4f148f Fix style 2015-09-13 00:10:59 -07:00
Paulus Schoutsen 880b5f0ad1 Add device_tracker.see service 2015-09-13 00:02:28 -07:00
Paulus Schoutsen 804b7669b7 Setup device tracker group at end of init 2015-09-12 23:08:16 -07:00
Paulus Schoutsen bb42e264cb Device tracker sets up group again 2015-09-12 22:56:31 -07:00
Paulus Schoutsen 4ccedca3e5 Fix tests for device tracker 2015-09-12 09:15:28 -07:00
Paulus Schoutsen f9b17ab026 Device tracker rewrite 2015-09-09 23:37:15 -07:00
Fabian Affolter 514b8eddb9 Update docstring (config file) and attempt to honor PEP0257 2015-09-07 19:19:11 +02: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
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 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
Paulus Schoutsen b41706efe3 Make nmap work in Docker 2015-08-31 22:01:45 -07:00
Michaël Arnauts 12ead04faa Add Aruba Access Point device tracker 2015-08-31 11:36:12 +02: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
Ryan Kraus f5b98c86f0 Mostly PyLint and Flake8 updates.
Rewrote imports of exceptions to be from the exceptions module.
Made nmap scanner check for libnmap dependency without crashing.
Various flake8 and pylint updates.
2015-08-29 22:34:35 -04:00
Ryan Kraus 893ae15042 Changed component REQUIREMENTS to absolute versions. 2015-08-29 21:39:50 -04:00
Paulus Schoutsen 4b31a22a1c Merge pull request #286 from rmkraus/entity_cleanup
Entity cleanup
2015-08-28 17:25:51 -07:00
Ryan Kraus 936e20bdf7 Cleaned up some entities.
1) Modified device tracker entities to allow for attributes to be
overwritten with configuration data.

2) Modified ISY lights to hide brightness when off.
2015-08-28 20:17:07 -04:00
sfam 4ef4aa2095 fix pylint warnings 2015-08-28 00:09:24 +01:00
sfam 1aef768ff0 Initial support for THOMSON routers 2015-08-28 00:02:26 +01:00
Paulus Schoutsen 884af889a4 Merge pull request #268 from nkgilley/actiontec
device_tracker component: Actiontec MI424WR Verizon FiOS Router
2015-08-25 21:59:38 -07:00
Nolan Gilley bc5a7564b1 fix formatting 2015-08-25 10:09:47 -04:00
Nolan Gilley 047b4abd82 Fix get_device_name and get_actiontec_data 2015-08-25 09:39:00 -04:00
Paulus Schoutsen 917db18b29 Fix netgear username/password combo 2015-08-24 23:32:07 -07:00
Nolan Gilley 93bd238be5 add return None for get_actiontec_data 2015-08-24 00:27:26 -04:00
Paulus Schoutsen 35489998df Allow for Netgear router discovery 2015-08-23 17:20:09 -07:00
Nolan Gilley 63e441c73f fix scan_devices 2015-08-20 10:35:01 -04:00
Nolan Gilley ca515615b9 add support for recording decive name as ip address 2015-08-19 09:52:47 -04:00
Paulus Schoutsen 74308b2677 Upgrade nmap dependency 2015-08-18 14:37:53 -07:00
Nolan Gilley 6a830e3b90 fix for flake8 2015-08-18 17:14:26 -04:00
Nolan Gilley b84d5760eb add to .coveragerc and try again to fix warnings. 2015-08-18 17:03:13 -04:00
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