Commit Graph

619 Commits

Author SHA1 Message Date
Gunnar Beutner e5bc2276b5 Add PlatformIO environment for Seeed Studio XIAO ESP32C3
Without the custom flash mode setting the devices weren't able to write
to the filesystem.
2023-12-03 13:43:02 +01:00
Gunnar Beutner ab6c9efa4b Add support for Bluetooth extended advertisements
This allows us to restrict advertisements to a specific channel, i.e. 37
in this case. This channel has the lowest frequency and is therefore
usually less affected by path attenuation.

Also, because nodes were previously advertising on two or more channels
the RSSI/distance filter was seeing a lot more jitter because each
Bluetooth channel has different radio characteristics  and usually somewhat
different received signal strengths.

Unfortunately this doesn't solve this problem for non-ESPresense
devices, but it's a first step.
2023-12-03 13:43:02 +01:00
Darrell f84b89555c
Use default advertising intervals to fix high variance (#1139) 2023-11-29 23:09:08 +00:00
Darrell c002b1fd80
Add variance reporting (#1135)
Add variance to mqtt
2023-11-29 16:48:08 -05:00
dependabot[bot] 472f557e7a
Bump svelte-preprocess from 5.1.0 to 5.1.1 in /ui (#1133)
Bumps [svelte-preprocess](https://github.com/sveltejs/svelte-preprocess) from 5.1.0 to 5.1.1.
- [Changelog](https://github.com/sveltejs/svelte-preprocess/blob/main/CHANGELOG.md)
- [Commits](https://github.com/sveltejs/svelte-preprocess/compare/v5.1.0...v5.1.1)

---
updated-dependencies:
- dependency-name: svelte-preprocess
  dependency-type: direct:development
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-11-29 16:42:46 -05:00
dependabot[bot] 6eade0db8d
Bump @sveltejs/vite-plugin-svelte from 2.5.2 to 2.5.3 in /ui (#1134)
Bumps [@sveltejs/vite-plugin-svelte](https://github.com/sveltejs/vite-plugin-svelte/tree/HEAD/packages/vite-plugin-svelte) from 2.5.2 to 2.5.3.
- [Release notes](https://github.com/sveltejs/vite-plugin-svelte/releases)
- [Changelog](https://github.com/sveltejs/vite-plugin-svelte/blob/main/packages/vite-plugin-svelte/CHANGELOG.md)
- [Commits](https://github.com/sveltejs/vite-plugin-svelte/commits/@sveltejs/vite-plugin-svelte@2.5.3/packages/vite-plugin-svelte)

---
updated-dependencies:
- dependency-name: "@sveltejs/vite-plugin-svelte"
  dependency-type: direct:development
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-11-29 16:42:31 -05:00
dependabot[bot] 3e9d4463a2
Bump svelte from 4.2.3 to 4.2.7 in /ui (#1125)
Bumps [svelte](https://github.com/sveltejs/svelte/tree/HEAD/packages/svelte) from 4.2.3 to 4.2.7.
- [Release notes](https://github.com/sveltejs/svelte/releases)
- [Changelog](https://github.com/sveltejs/svelte/blob/svelte@4.2.7/packages/svelte/CHANGELOG.md)
- [Commits](https://github.com/sveltejs/svelte/commits/svelte@4.2.7/packages/svelte)

---
updated-dependencies:
- dependency-name: svelte
  dependency-type: direct:development
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-11-21 15:12:58 -05:00
dependabot[bot] 846eac65a8
Bump postcss-load-config from 4.0.1 to 4.0.2 in /ui (#1126)
Bumps [postcss-load-config](https://github.com/postcss/postcss-load-config) from 4.0.1 to 4.0.2.
- [Release notes](https://github.com/postcss/postcss-load-config/releases)
- [Changelog](https://github.com/postcss/postcss-load-config/blob/main/CHANGELOG.md)
- [Commits](https://github.com/postcss/postcss-load-config/compare/v4.0.1...v4.0.2)

---
updated-dependencies:
- dependency-name: postcss-load-config
  dependency-type: direct:development
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-11-21 15:12:12 -05:00
Darrell 35ff460809
Update dependabot.yml 2023-11-14 19:11:59 -05:00
Darrell eab5e92aea
Send events (#1120) 2023-11-13 13:43:27 +00:00
Darrell 434e1dbf2a
Try to fix gh actions (#1117) 2023-11-12 20:57:14 +00:00
DTTerastar 394bd26f43 Misc 2023-11-12 15:22:09 -05:00
DTTerastar ba9a5b2ef2 Fix the upload releases 2023-11-12 15:19:31 -05:00
Darrell 25992881cc
Use matrix build to speed up (#1115) 2023-11-12 15:02:50 -05:00
DTTerastar c3896cdbfe Set branch and sha in master 2023-11-12 14:24:16 -05:00
Darrell 72d786c148
Improve 1-Euro distance filtering, add spike filter (#1108)
* Spike detection
* Remove SoftFilters
2023-11-12 18:27:18 +00:00
Darrell bb81432836
Fix race condition (#1114) 2023-11-12 18:20:11 +00:00
DTTerastar da87ad544c Misc fix 2023-11-12 13:04:07 -05:00
Darrell afa5f4c3aa
Update release-drafter.yml (#1112) 2023-11-11 20:46:55 +00:00
Gunnar Beutner a6e5a18dae
Copy all statistics values when a device's MAC address changes (#1098)
When a device's MAC address changes we attempt to keep old distance
measurements. This can be improved by also copying the filter state
and a few more related values.
2023-11-11 13:36:32 -05:00
Darrell 6eb2347e6e
Add mqtt command skip_ms and skip_distance (#1109) 2023-11-11 13:05:39 +00:00
dependabot[bot] 7ccc8792cf
Bump svelte-preprocess from 5.0.4 to 5.1.0 in /ui (#1103)
Bumps [svelte-preprocess](https://github.com/sveltejs/svelte-preprocess) from 5.0.4 to 5.1.0.
- [Changelog](https://github.com/sveltejs/svelte-preprocess/blob/main/CHANGELOG.md)
- [Commits](https://github.com/sveltejs/svelte-preprocess/commits)

---
updated-dependencies:
- dependency-name: svelte-preprocess
  dependency-type: direct:development
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-11-11 12:38:50 +00:00
dependabot[bot] 89addb048b
Bump @sveltejs/vite-plugin-svelte from 2.5.0 to 2.5.2 in /ui (#1102)
Bumps [@sveltejs/vite-plugin-svelte](https://github.com/sveltejs/vite-plugin-svelte/tree/HEAD/packages/vite-plugin-svelte) from 2.5.0 to 2.5.2.
- [Release notes](https://github.com/sveltejs/vite-plugin-svelte/releases)
- [Changelog](https://github.com/sveltejs/vite-plugin-svelte/blob/@sveltejs/vite-plugin-svelte@2.5.2/packages/vite-plugin-svelte/CHANGELOG.md)
- [Commits](https://github.com/sveltejs/vite-plugin-svelte/commits/@sveltejs/vite-plugin-svelte@2.5.2/packages/vite-plugin-svelte)

---
updated-dependencies:
- dependency-name: "@sveltejs/vite-plugin-svelte"
  dependency-type: direct:development
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-11-11 07:16:20 -05:00
dependabot[bot] 7c7a295578
Bump svelte from 4.2.2 to 4.2.3 in /ui (#1104)
Bumps [svelte](https://github.com/sveltejs/svelte/tree/HEAD/packages/svelte) from 4.2.2 to 4.2.3.
- [Release notes](https://github.com/sveltejs/svelte/releases)
- [Changelog](https://github.com/sveltejs/svelte/blob/svelte-4/packages/svelte/CHANGELOG.md)
- [Commits](https://github.com/sveltejs/svelte/commits/svelte@4.2.3/packages/svelte)

---
updated-dependencies:
- dependency-name: svelte
  dependency-type: direct:development
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-11-11 07:15:51 -05:00
Gunnar Beutner 4e440b29f0
Add missing return in BleFingerprint::fingerprintServiceAdvertisements / Fix incorrect check in hextostr() (#1097)
* Add missing return in BleFingerprint::fingerprintServiceAdvertisements

This isn't _strictly_ required because setId() ignores "downgrades" to more
generic ID types (i.e. from ID_TYPE_FLORA to ID_TYPE_AD in this case) but
skips running unnecessary code and makes the code more readable.

* Fix incorrect check in hextostr()

This function decodes hex-encoded strings (e.g. "41" -> "A"). Previously we'd
check whether the output buffer's size is a multiple of two. This would
incorrectly reject valid uses of the function. Instead we should check the
input string's length.
2023-11-09 17:46:53 -05:00
Darrell c70436e0a9
Fix nan being serialized (fixes #1038) (#1094) 2023-11-09 22:44:39 +00:00
dependabot[bot] 7436d55f2a
Bump @sveltejs/vite-plugin-svelte from 2.4.6 to 2.5.0 in /ui (#1100)
Bumps [@sveltejs/vite-plugin-svelte](https://github.com/sveltejs/vite-plugin-svelte/tree/HEAD/packages/vite-plugin-svelte) from 2.4.6 to 2.5.0.
- [Release notes](https://github.com/sveltejs/vite-plugin-svelte/releases)
- [Changelog](https://github.com/sveltejs/vite-plugin-svelte/blob/main/packages/vite-plugin-svelte/CHANGELOG.md)
- [Commits](https://github.com/sveltejs/vite-plugin-svelte/commits/@sveltejs/vite-plugin-svelte@2.5.0/packages/vite-plugin-svelte)

---
updated-dependencies:
- dependency-name: "@sveltejs/vite-plugin-svelte"
  dependency-type: direct:development
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-11-09 21:55:29 +00:00
dependabot[bot] fae6e58bdd
Bump rollup-plugin-css-only from 4.5.0 to 4.5.2 in /ui (#1093)
Bumps [rollup-plugin-css-only](https://github.com/thgh/rollup-plugin-css-only) from 4.5.0 to 4.5.2.
- [Release notes](https://github.com/thgh/rollup-plugin-css-only/releases)
- [Changelog](https://github.com/thgh/rollup-plugin-css-only/blob/v4/CHANGELOG.md)
- [Commits](https://github.com/thgh/rollup-plugin-css-only/commits)

---
updated-dependencies:
- dependency-name: rollup-plugin-css-only
  dependency-type: direct:development
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-11-07 04:50:04 -05:00
Darrell bd9e1d0dd4
Fix include not always working, add visible to fingerprints ui (#1088)
Fix include not always working, add !visible to fingerprints
2023-11-05 17:26:04 +00:00
Darrell 63f5f9ab48
More null refs... (#1085) 2023-11-04 21:37:27 -04:00
Darrell 594d59ac44
Fix null ref error (#1084) 2023-11-05 00:18:01 +00:00
dependabot[bot] 4f804d9d05
Bump concurrently from 8.2.1 to 8.2.2 in /ui (#1078)
Bumps [concurrently](https://github.com/open-cli-tools/concurrently) from 8.2.1 to 8.2.2.
- [Release notes](https://github.com/open-cli-tools/concurrently/releases)
- [Commits](https://github.com/open-cli-tools/concurrently/compare/v8.2.1...v8.2.2)

---
updated-dependencies:
- dependency-name: concurrently
  dependency-type: direct:development
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-11-04 21:47:29 +00:00
Darrell f9ba8eb246
Add devices table (#1083) 2023-11-04 21:43:27 +00:00
Darrell 5a54372cd6
Improvements to Enroll UI (#1082)
Improvements to Enroll
2023-11-04 20:54:45 +00:00
dependabot[bot] 9f707ed03c
Bump rollup-plugin-css-only from 4.4.0 to 4.5.0 in /ui (#1079)
Bumps [rollup-plugin-css-only](https://github.com/thgh/rollup-plugin-css-only) from 4.4.0 to 4.5.0.
- [Release notes](https://github.com/thgh/rollup-plugin-css-only/releases)
- [Changelog](https://github.com/thgh/rollup-plugin-css-only/blob/v4/CHANGELOG.md)
- [Commits](https://github.com/thgh/rollup-plugin-css-only/commits)

---
updated-dependencies:
- dependency-name: rollup-plugin-css-only
  dependency-type: direct:development
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-11-03 21:54:07 +00:00
Darrell 705345274c
Use updated version of esphome/ESPAsyncWebServer (#1077) 2023-11-03 08:59:56 -04:00
Darrell 85d3d9bb90
Update stale.yml 2023-11-03 08:53:50 -04:00
Darrell 16306b28d4
Update stale.yml 2023-11-03 08:53:01 -04:00
DTTerastar 2e0797e476 Improve the prompt for pairing 2023-11-02 18:16:45 -04:00
dependabot[bot] cff424d0e9
Bump @rollup/plugin-node-resolve from 15.2.1 to 15.2.3 in /ui (#1074)
Bumps [@rollup/plugin-node-resolve](https://github.com/rollup/plugins/tree/HEAD/packages/node-resolve) from 15.2.1 to 15.2.3.
- [Changelog](https://github.com/rollup/plugins/blob/master/packages/node-resolve/CHANGELOG.md)
- [Commits](https://github.com/rollup/plugins/commits/node-resolve-v15.2.3/packages/node-resolve)

---
updated-dependencies:
- dependency-name: "@rollup/plugin-node-resolve"
  dependency-type: direct:development
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-11-02 22:10:57 +00:00
dependabot[bot] 470ca36a45
Bump vite from 4.4.9 to 4.5.0 in /ui (#1072)
Bumps [vite](https://github.com/vitejs/vite/tree/HEAD/packages/vite) from 4.4.9 to 4.5.0.
- [Release notes](https://github.com/vitejs/vite/releases)
- [Changelog](https://github.com/vitejs/vite/blob/main/packages/vite/CHANGELOG.md)
- [Commits](https://github.com/vitejs/vite/commits/v4.5.0/packages/vite)

---
updated-dependencies:
- dependency-name: vite
  dependency-type: direct:development
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-11-02 22:09:31 +00:00
dependabot[bot] d7c4b0bdce
Bump rollup-plugin-css-only from 4.3.0 to 4.4.0 in /ui (#1073)
Bumps [rollup-plugin-css-only](https://github.com/thgh/rollup-plugin-css-only) from 4.3.0 to 4.4.0.
- [Release notes](https://github.com/thgh/rollup-plugin-css-only/releases)
- [Changelog](https://github.com/thgh/rollup-plugin-css-only/blob/v4/CHANGELOG.md)
- [Commits](https://github.com/thgh/rollup-plugin-css-only/compare/v4.3.0...v4.4.0)

---
updated-dependencies:
- dependency-name: rollup-plugin-css-only
  dependency-type: direct:development
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-11-02 17:47:01 -04:00
dependabot[bot] 449806ab9e
Bump pascal-case from 3.1.2 to 4.0.0 in /ui (#1075)
Bumps [pascal-case](https://github.com/blakeembrey/change-case) from 3.1.2 to 4.0.0.
- [Release notes](https://github.com/blakeembrey/change-case/releases)
- [Commits](https://github.com/blakeembrey/change-case/compare/pascal-case@3.1.2...camel-case@4.0.0)

---
updated-dependencies:
- dependency-name: pascal-case
  dependency-type: direct:development
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-11-02 17:46:43 -04:00
dependabot[bot] 357c106ec4
Bump @rollup/plugin-image from 3.0.2 to 3.0.3 in /ui (#1076)
Bumps [@rollup/plugin-image](https://github.com/rollup/plugins/tree/HEAD/packages/image) from 3.0.2 to 3.0.3.
- [Changelog](https://github.com/rollup/plugins/blob/master/packages/image/CHANGELOG.md)
- [Commits](https://github.com/rollup/plugins/commits/dsv-v3.0.3/packages/image)

---
updated-dependencies:
- dependency-name: "@rollup/plugin-image"
  dependency-type: direct:development
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-11-02 17:46:33 -04:00
DTTerastar b5c087e75d Pin it 2023-11-02 15:14:21 -04:00
DTTerastar 726eea9d4a Misc fix to platform.ini 2023-11-02 08:32:21 -04:00
DTTerastar 83dc088a93 New ui 2023-11-02 08:15:38 -04:00
dependabot[bot] ef297abc1c
Bump @sveltejs/vite-plugin-svelte from 2.4.5 to 2.4.6 in /ui (#1046)
Bumps [@sveltejs/vite-plugin-svelte](https://github.com/sveltejs/vite-plugin-svelte/tree/HEAD/packages/vite-plugin-svelte) from 2.4.5 to 2.4.6.
- [Release notes](https://github.com/sveltejs/vite-plugin-svelte/releases)
- [Changelog](https://github.com/sveltejs/vite-plugin-svelte/blob/main/packages/vite-plugin-svelte/CHANGELOG.md)
- [Commits](https://github.com/sveltejs/vite-plugin-svelte/commits/@sveltejs/vite-plugin-svelte@2.4.6/packages/vite-plugin-svelte)

---
updated-dependencies:
- dependency-name: "@sveltejs/vite-plugin-svelte"
  dependency-type: direct:development
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-11-02 02:04:25 +00:00
DTTerastar 71ed8c18d3 Misc 2023-11-01 21:27:23 -04:00
dependabot[bot] bb912c2eee
Bump autoprefixer from 10.4.15 to 10.4.16 in /ui (#1053)
Bumps [autoprefixer](https://github.com/postcss/autoprefixer) from 10.4.15 to 10.4.16.
- [Release notes](https://github.com/postcss/autoprefixer/releases)
- [Changelog](https://github.com/postcss/autoprefixer/blob/main/CHANGELOG.md)
- [Commits](https://github.com/postcss/autoprefixer/compare/10.4.15...10.4.16)

---
updated-dependencies:
- dependency-name: autoprefixer
  dependency-type: direct:development
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-11-01 21:09:23 -04:00