Skip to content

Releases: idatum/unifi_tracker

v.0.1.2

07 Jun 19:06
Compare
Choose a tag to compare

Address issue #2.

v.0.1.1

26 Apr 03:48
Compare
Choose a tag to compare
  • Log handled vs raised exceptions differently.
  • Explicitly set callback_api_version.
  • Improve client hostname logging.
  • Consistent upper-case mac.

v.0.1.0

28 Jan 20:20
Compare
Choose a tag to compare
  • Functionality to group clients by AP hostname.
  • Optimization: filter client properties to save memory.
  • Improved tests.

v.0.0.9

12 Jan 22:33
b4e3be3
Compare
Choose a tag to compare

Bug fix: Apply --sshTimeout arg value to timeout parameter of paramiko.client.SSHClient exec_command().
Optimization: Use local scope for Queue variable.

I recommend using the device_tracker.py --sshTimeout option to avoid potentially hanging on the SSH channel if the AP is rebooted (e.g. firmware update).

Also includes v.0.0.8:
Bug fix: Recreate paho.mqtt.client.Client to avoid ERROR:labtracker:SSL/TLS has already been configured. on MQTT disconnect/reconnect.

v.0.0.7

19 Jun 23:42
Compare
Choose a tag to compare

Added device_tracker.py option, --processes, to control the number of concurrent processes run during AP scanning, or to run them sequentially (i.e. --processes=0).

Tested under Python11 and Debian12.

v.0.0.6

08 Sep 15:05
Compare
Choose a tag to compare

Update README and docstrings corresponding to changes in Home Assistant 2022.9 that affect MQTT device tracking.

v.0.0.5

10 Jun 15:41
aa3aaf4
Compare
Choose a tag to compare

Added device_tracker.py options --homePayload (default is "home") and --awayPayload for MQTT message payload, corresponding to home and away presence. Starting with HA 2022.6, if you define your devices under HA's mqtt platform instead of device_tracker, you should use --awayPayload=not_home.

v0.0.4

10 Apr 23:45
Compare
Choose a tag to compare

Fixed missing module version update in v0.0.3 release; now 0.0.4.

v0.0.3

10 Apr 23:12
Compare
Choose a tag to compare
  • Option --sshTimeout to explicitly set SSH connect timeout in seconds (float).

  • Option --maxIdleTime to set AP client idle time threshold in seconds (int). Use --maxIdleTime to check the idletime field of sta_table and filter on clients that are below the given threshold. There are cases where I've seen a tracked client go out of range of the last connected AP yet still shows as connected for several minutes. I've been able to repro this case when a mobile phone goes out of range quickly (e.g. driving away in a car). If the mobile phone slowly goes out of range (e.g. walking away), it correctly shows as disconnected. Setting this threshold ensures the status changes in a more deterministic amount of time.

v0.0.2

16 Mar 02:07
Compare
Choose a tag to compare

Option (--usehostkeys) to use existing default host keys file (e.g. ~/.ssh/known_hosts).

Publish to pypi.org.