Skip to content

Releases: rmoesbergen/openwrt-ha-device-tracker

v2.2.0

21 Jul 10:33
e20487e
Compare
Choose a tag to compare

What's Changed

  • When a device moves from one WiFi interface to another (for example if there's one SSID with both 2.4 and 5 Ghz radio's), it will now stay "home" instead of causing a disconnect/reconnect. As long as the device is connected on any interface, it will not be reported as "away".
  • Added a source_type setting (default: router), that configures what is sent to home assistant as the source device. This can be set to "gps" to allow for different zone names besides "home" and "not_home" to work. Beware that the priority of gps sources is lower than that of router sources, so it might affect the "at home" logic of your automations.

PR's:

Full Changelog: v2.1.1...v2.2.0

v2.1.1

17 Nov 08:58
8b222b3
Compare
Choose a tag to compare

What's Changed

  • Sync the version sensor state after HA connection loss was detected and it comes back online by @rmoesbergen in #43
  • Add "sensor." prefix to the name of the version sensor to match home assistant naming standards

Full Changelog: v2.1.0...v2.1.1

v2.1.0

20 Oct 14:32
Compare
Choose a tag to compare

What's Changed

  • Add a fallback_sync_interval setting, as a workaround for devices that don't generate a 'disassociate' hostapd event by @rmoesbergen in #36.
  • Create a presense detector version entity on startup by @rmoesbergen in #38
  • Add HA integration info to README.md by @L-Warlok in #30
  • Make sure the version entity name is valid by @dckiller51 in #39

New Contributors

Full Changelog: v2.0.1...v2.1.0

v2.0.1

14 Apr 10:20
9802170
Compare
Choose a tag to compare

What's Changed

  • MAC addresses are now always lowercased everywhere, so matching is always case-insensitive. @rmoesbergen in #28
  • Updated the example configuration with new (post 2.0.0) settings

Full Changelog: v2.0.0...v2.0.1

v2.0.0

12 Mar 10:28
6f41d91
Compare
Choose a tag to compare

What's Changed

New Features

  • Reworked how device events are stored and sent to HA to be thread-safe. This resolved a lot of subtle issues with device calls being done twice, devices staying online when they timed out from the WiFi network, etc. It should be lot more reliable overall.
  • It is now possible to have a denylist or an allowlist to filter which devices should be tracked. The do_not_track track option has been renamed to filter, and a new setting called filter_is_denylist has been introduced. The default is true, so filter is a denylist which is compatible with what do_not_track did.

Breaking changes

  • The do_not_track was removed in favor of the filter and filter_is_denylist settings. You can rename do_not_track to filter to keep the current behavior. See the example in the README for more details.
  • Due to the multi-threading changes and the queue mechanism, the offline_after, poll_interval and full_sync_polls settings have been removed. You can safely delete them from your configuration file.

Full Changelog: v1.2.3...v2.0.0

v1.2.3

01 Mar 17:09
Compare
Choose a tag to compare
  • Fix a bug with recovering from failure when the ap_name setting was used
  • Fix a crash when calls to home assistant timed out

Full Changelog: v1.2.2...v1.2.3

v1.2.2

31 Jan 16:07
41c1d31
Compare
Choose a tag to compare

What's Changed

Full Changelog: v1.2.1...v1.2.2

v1.2.1

13 Jan 08:31
2a367d0
Compare
Choose a tag to compare

What's Changed

Full Changelog: v1.2.0...v1.2.1

v1.2.0

06 Jan 11:27
Compare
Choose a tag to compare

What's Changed

  • BREAKING : Renamed the default filename for settings.json to presence-detector.settings.json by @Otamay in #15. Please rename your settings.json file to presence-detector.settings.json, or specify it with the -c / --config command line argument.
  • Removed dependancy on python-requests library, reducing the required base-system (python) footprint and allowing the script to run on smaller devices by @Otamay in #15. Now only python3-light, python3-urllib and python3-idna are needed to run the script.
  • Fix a bug in stop(), causing an exception when a signal was sent to the detector process by @Otamay in #15
  • Update README.md with new settings filename and some cleanups by @rmoesbergen in #16

New Contributors

Full Changelog: v1.1.5...v1.2.0

v1.1.5

22 Dec 08:22
Compare
Choose a tag to compare

What's Changed

  • fix: fix a concurrency issue where 2 threads were updating the list of clients, by @rmoesbergen in #14

Full Changelog: v1.1.4...v1.1.5