-
Notifications
You must be signed in to change notification settings - Fork 16
Presence Detection How?
Presence detection is a key component for many apps. For example Alarm, Water meter etc
-
Various bugs in device_tracker modules (there are still many)
-
The router support is limited with many issues
-
iOS and Android devices can disable the wifi for a long time (to save battery life) and be off the grid
-
I’ve added a custom component for all the TP-Links routers version. The official version has a few bugs that wasn’t solved yet. see tplink_v2
-
Install dnsmask for DHCP/DNS server
-
Not open sourced IoT devices (e.g. Chinese camera/and Xiaomi) are put under different color with black hole default gateway and DNS.
-
Add custom component for mqtt_dnsmasq this trigger the presence of a device immediately (e.g. when you come home dnsmasq will find you first)
-
Patch home assistance with this patch
-
tp-links scan the wireless devices (slow). iOS are consided not at home after a long time (20 min) to solve aforementioned issue.
-
ping - for wire devices
-
dnsmasq - for quick detection (new DHCP request) - when new device is connected (wire/wireless)
need to fire event to all apps when at_home (on/off) see here
self.fire_event("at_home", enable="on")