Commit graph

525 commits

Author SHA1 Message Date
tomaae
1dd4f52524 added config flow test and workflow for tests 2020-04-14 20:57:34 +02:00
tomaae
1fd65f6a94 fixed flake8 warnings 2020-04-13 12:25:08 +02:00
tomaae
cd4d0a09ee added support for virtual interfaces #12 2020-04-13 09:16:33 +02:00
tomaae
99d6d7c43b do not create device tracker for wlan interface 2020-04-13 08:13:26 +02:00
tomaae
8cf278be64 black 2020-04-13 07:52:26 +02:00
tomaae
8a3af96fee do not continue update after disconnect, wait for next update run 2020-04-13 07:50:06 +02:00
tomaae
19e7174446 run async_hwinfo_update after reconnect 2020-04-13 07:36:00 +02:00
tomaae
345211570a query queue data point less often 2020-04-13 07:03:44 +02:00
tomaae
17cb7c6ee8 query dns data point less often 2020-04-13 07:02:10 +02:00
tomaae
3129af46b8 query dhcp-network data point less often 2020-04-13 07:00:35 +02:00
tomaae
f3bfb91dd0 separated dhcp-server data point 2020-04-13 07:00:11 +02:00
tomaae
db1e92b29f separated dhcp-network data point 2020-04-13 06:55:08 +02:00
tomaae
d84493a9b4 query script data point less often 2020-04-13 06:47:26 +02:00
tomaae
d811de5c9f removed dev debug 2020-04-13 06:45:58 +02:00
tomaae
34ccd16a8d query dhcp-server data point only if needed 2020-04-13 06:43:02 +02:00
tomaae
f5f8608cb9 get interface from arp if DHCP lease server is unknown #28 2020-04-13 06:09:50 +02:00
tomaae
d1ac4c1e88 fixed tracking of hosts connected directly to mikrotik port that is using bridge 2020-04-12 22:12:35 +02:00
tomaae
9b9d54c3c4 removed mikrotik name from accounting sensor names 2020-04-12 22:04:51 +02:00
tomaae
362f700ec4 black 2020-04-12 08:49:34 +02:00
tomaae
8efb4ff602 added socket error and timeout exception to api 2020-04-11 19:04:39 +02:00
tomaae
897d5dc0c4 fixed handling of unavailable devices when device tracking is turned off 2020-04-11 17:52:38 +02:00
tomaae
d189ad8c66 fixed dictionary changed size during iteration for async_ping_tracked_hosts 2020-04-11 17:44:45 +02:00
tomaae
a1a407ca3c fixed default values when tracking is disabled 2020-04-11 06:08:50 +02:00
tomaae
70cdb93eb3 reformatted using black 2020-04-11 05:45:36 +02:00
tomaae
8f89051be6 changed controller object name 2020-04-11 05:35:40 +02:00
tomaae
6c88cd9b06 switched to official librouteros 2020-04-11 05:20:55 +02:00
tomaae
1c96532b5c separated arp ping from main update 2020-04-11 05:14:39 +02:00
tomaae
ec500e586c rewrote processing of interface_client 2020-04-11 02:33:06 +02:00
tomaae
e4f394243c translate bridge to interface in arp 2020-04-11 02:32:33 +02:00
tomaae
9b0dffa456 added bridge_host data point 2020-04-11 01:26:44 +02:00
tomaae
672b114dbd reordered and correctly named controller functions 2020-04-11 01:10:56 +02:00
tomaae
30de5aa4b5 code cleanup 2020-04-11 00:02:50 +02:00
tomaae
018ed3cf9c removed integration name prefix from hosts and their related sensors #24 2020-04-10 12:46:07 +02:00
tomaae
92da2eb9a7 device tracker returns away when tracking is disabled #24 2020-04-10 12:30:07 +02:00
tomaae
6a8103ee47 added connections to accounting sensor #17 2020-04-10 12:26:48 +02:00
tomaae
8bfa30b3a1 fixed removal of wrong attribute #17 2020-04-10 12:25:37 +02:00
tomaae
715fcc74ea replaced raise with logger error message for api queries 2020-04-10 11:49:02 +02:00
tomaae
07690aad9f separated hosts and accounting to host per group and all groups contain mikrotik name #24 2020-04-10 09:22:28 +02:00
tomaae
2c471cc981 fixed restore from HA device registry when device name contains "-" #24 2020-04-10 09:18:09 +02:00
tomaae
2620ea3761 added connections to host device tracker #24 2020-04-10 08:14:49 +02:00
tomaae
028de35d03 flush wireless registration table on each query #24 2020-04-10 01:38:15 +02:00
tomaae
cd41d0c50f fixed crash on wireless recovery #24 2020-04-10 01:21:20 +02:00
tomaae
5945ef1425 removed option_track_network_hosts_timeout from controller #24 2020-04-10 00:05:52 +02:00
tomaae
3c41ad3a0a added device tracking options functionality #24 2020-04-10 00:03:26 +02:00
tomaae
4f95ad8cc1 added device tracking options to controller #24 2020-04-09 23:17:39 +02:00
tomaae
1bd7cadaa4 fixed conflict with default device name 2020-04-09 23:11:48 +02:00
tomaae
41b6010210 added device tracking options to config flow #24 2020-04-09 23:08:29 +02:00
tomaae
e62e67e918 do not track wireless devices marked as AP #24 2020-04-09 22:36:34 +02:00
tomaae
6b3ed595ff added support for wireless for device_tracking #24 2020-04-09 22:24:48 +02:00
tomaae
3886346d07 added support for caps-man for device_tracking #24 2020-04-09 22:09:38 +02:00