All Projects → PaulAnnekov → home-assistant-padavan-tracker

PaulAnnekov / home-assistant-padavan-tracker

Licence: other
Device tracker component that uses Padavan-based router

Programming Languages

python
139335 projects - #7 most used programming language

Projects that are alternatives of or similar to home-assistant-padavan-tracker

Homebridge Xiaomi Roborock Vacuum
A Xiaomi Roborock vaccum plugin (1st, 2nd and 3rd generation) for homebridge.
Stars: ✭ 213 (+407.14%)
Mutual labels:  xiaomi
xiaomi market
Make a mobile's project of vueJs for xiaomi market
Stars: ✭ 23 (-45.24%)
Mutual labels:  xiaomi
yeelight-cli
a low level, cross-platform command line client for Yeelight
Stars: ✭ 43 (+2.38%)
Mutual labels:  xiaomi
Miband4
Access Xiaomi MiBand 4 from Linux using Bluetooth LE
Stars: ✭ 238 (+466.67%)
Mutual labels:  xiaomi
hass-miio-yeelink
Xiaomi Miio Yeelink/Yeelight devices for Home Assistant
Stars: ✭ 140 (+233.33%)
Mutual labels:  xiaomi
custom-brand-icons
Custom brand icons for Home Assistant
Stars: ✭ 242 (+476.19%)
Mutual labels:  xiaomi
Xiaomi Pro Hackintosh
XiaoMi NoteBook Pro Hackintosh
Stars: ✭ 2,348 (+5490.48%)
Mutual labels:  xiaomi
homeassistant-mi-air-quality-monitor
XiaoMi Air Quality Monitor component for Home Assistant.
Stars: ✭ 17 (-59.52%)
Mutual labels:  xiaomi
LineageOS-Releases
LineageOS releases for Xiaomi Poco F3 (alioth)
Stars: ✭ 27 (-35.71%)
Mutual labels:  xiaomi
homebridge-mijia-camera
Homebridge plugin for the Xiaomi Mijia 1080P Smart IP Camera, also known as Mi Home Security Camera.
Stars: ✭ 35 (-16.67%)
Mutual labels:  xiaomi
Homebridge Mi Acpartner
XiaoMi AC Partner plugins for HomeBridge(https://github.com/nfarina/homebridge).
Stars: ✭ 250 (+495.24%)
Mutual labels:  xiaomi
miio-go
An implementation of the miIO home protocol by Xiaomi written in Golang.
Stars: ✭ 35 (-16.67%)
Mutual labels:  xiaomi
openlumi.github.io
OpenWrt for Xiaomi Zigbee gateway with imx6 SoC DGNWG05LM, ZHWG11LM
Stars: ✭ 134 (+219.05%)
Mutual labels:  xiaomi
Xiaomi airpurifier
Xiaomi Mi Air Purifier and Xiaomi Mi Air Humidifier integration for Home Assistant
Stars: ✭ 230 (+447.62%)
Mutual labels:  xiaomi
esp8266-deerma-humidifier
Cloud-free wifi humidification
Stars: ✭ 34 (-19.05%)
Mutual labels:  xiaomi
Xiaomirobotvacuumprotocol
Attempt to describe the Xiaomi Robot Vacuum Protocol
Stars: ✭ 200 (+376.19%)
Mutual labels:  xiaomi
node-lumi-aqara
Control your Xiaomi Smart Home devices with this Lumi Aqara library
Stars: ✭ 45 (+7.14%)
Mutual labels:  xiaomi
homebridge-zigbee
ZigBee Platform plugin for HomeBridge
Stars: ✭ 101 (+140.48%)
Mutual labels:  xiaomi
hass-miwifi
MiWiFi for Home Assistant
Stars: ✭ 116 (+176.19%)
Mutual labels:  xiaomi
mystic kernel sdm660-4.4
EAS Mystic Kernel - Xiaomeme (MSM-4.4) # Jasmine, Lavender, Tulip, Wayne, Whyred #
Stars: ✭ 29 (-30.95%)
Mutual labels:  xiaomi

Home Assistant Padavan Device Tracker

hacs_badge

This device tracker component allows you to get wireless devices presence from Padavan-based routers.

Devices support:

  • tested on Xiaomi MiWiFi Mini Router with Padavan 3.4.3.9-099_195eba6
  • reported working on Asus N56U Router with Padavan 3.4.3.9-099

Probably need additional changes to make it work on other devices.

Purpose

Detect ANY Wi-Fi clients (=Android/iOS/Windows Phone smartphones...) with 100% accuracy at any time moment.

Why not ...?

  • Nmap - mobile devices (Nexus 5X, iPhones) can go to a deep sleep so nmap can send dozen different packages and get nothing. It's very unreliable. You need at least 3 minutes to understand client is really offline and not ignoring your requests.
  • OpenWrt luci - can't check, but from source code it checks ARP table which is totally wrong, because it doesn't remove client immediately after disconnect.
  • OpenWrt ubus - looks promising, but doesn't exist in Padavan firmware out of the box.
  • Xiaomi - works like this solution (=perfectly), but only in router mode. Padavan tracker works in AP mode too.

Installation (Xiaomi MiWiFi Mini Router only)

  1. Download stock Xiaomi dev firmware http://www1.miwifi.com/miwifi_download.html.
  2. Flash it via web interface.
  3. Install Android app (ru, en).
  4. Attach router to your Mi account.
  5. Download ssh unlock firmware http://d.miwifi.com/rom/ssh, remember login/pass - it's ssh credentials.
  6. Put it on USB FAT32 stick:
    1. Turn on Router while reset-button pressed and USB stick plugged in
    2. Release Reset-button after the orange LED starts flashing
    3. Wait a minute to complete flashing and device is online again (shown by blue LED)
  7. Check SSH to your device.
  8. Go to http://prometheus.freize.net/index.html:
    1. Download utility.
    2. Build Toolchain.
    3. Build Firmware.
    4. Flash Firmware.
    5. Flash EEPROM.
  9. Add the following lines to the configuration.yaml:
device_tracker:
  - platform: padavan_tracker
    consider_home: 10
    interval_seconds: 3
    url: http://192.168.1.1/ # web interface url (don't forget about `/` in the end)
    username: admin # Web interface user name
    password: admin # Web interface user pass

Notes

  • Sometimes/most of the time web interface will be inaccessible while this component is working. That's because Padavan firmware doesn't allow >1 users authorized from different IPs. Check the possible workaround for this.

Useful links

Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].