Releases: rmoesbergen/openwrt-ha-device-tracker
Releases · rmoesbergen/openwrt-ha-device-tracker
v2.2.0
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:
- feat: make source_type configurable by @rmoesbergen in #49
- feat: properly deal with roaming devices over multiple interfaces by @rmoesbergen in #48
Full Changelog: v2.1.1...v2.2.0
v2.1.1
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
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
- @L-Warlok made their first contribution in #30
- @dckiller51 made their first contribution in #39
Full Changelog: v2.0.1...v2.1.0
v2.0.1
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
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 tofilter
, and a new setting calledfilter_is_denylist
has been introduced. The default is true, sofilter
is a denylist which is compatible with whatdo_not_track
did.
Breaking changes
- The
do_not_track
was removed in favor of thefilter
andfilter_is_denylist
settings. You can renamedo_not_track
tofilter
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
andfull_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
- 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
What's Changed
- fix: catch TimeoutError when calling HA (fixes #19) by @rmoesbergen in #20
Full Changelog: v1.2.1...v1.2.2
v1.2.1
What's Changed
- Fix support for older python versions @rmoesbergen in #18
Full Changelog: v1.2.0...v1.2.1
v1.2.0
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
andpython3-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
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