Commit Graph

140 Commits

Author SHA1 Message Date
DTTerastar 68fcf72313 Query w/ exponential fallback for additional robustness 2021-10-12 11:32:23 -04:00
DTTerastar c5333849cd Don't Query until device is <= maxDistance 2021-10-11 19:57:30 -04:00
DTTerastar db439fbe3c Misc copy fixes 2021-10-10 23:09:01 -04:00
DTTerastar 6519e1ab7a Implement a id type hierachy 2021-10-10 23:02:36 -04:00
Stefan Knaak 96a3af0248 Support for GY-302 BH1750 Ambient Sensor (#84)
* Support for GY-302 BH1750 Ambient Sensor

- connect the sensor to the I2C Ports
- Use the auto detect function to get the address
- Creates a new illuminance entity in ha
2021-10-10 10:35:42 -04:00
Darrell 28443789b6 Add device model to apple fingerprints add support room assistant app (#69)
* Add Active Scan and Query switches
* Rework stats
* Cleanup less often
2021-10-10 10:34:30 -04:00
Darrell cdbf382985
Fix MQTT last will and testament not consistently sending offline (#74)
* Fix lwt
* Update CHANGELOG.md
2021-10-04 08:57:03 -04:00
DTTerastar 2599e0e63a Discovery improvements 2021-09-30 21:30:47 -04:00
DTTerastar 6cf94ccd81 Fix bug w/ spaced names 2021-09-30 13:47:43 -04:00
Darrell 12804483cc
Groundwork for #53 (#67)
- Potientaly breaking: room name is now lower cased, trimmed, and all whitespace replaced with underscores when put into mqtt (#64)
- ANSI Colors Added to Serial
- Close/Left totally rewritten to find stuff quickly (uses NO filtering)
- Serial display for 'New' waits for 2nd packet before showing
- One Euro filter reoptimized to work for slow broadcasters (Tiles) as well as it previously did for quick (Phones/Watches)
- All time measurement made wraparound protected
- Make Arduino OTA disabled by default, but a setting
- Add a calibration section of settings with lots of knobs to twiddle
- Ignore microsoft and non Nearby Info apple packets (they are useless for tracking atm)
- Delete old fingerprints after configurable max age instead of waiting for MAX MACS and deleting the oldest
2021-09-30 12:48:50 -04:00
Stefan Knaak bf2e006482
Add support for Temperature and Humidity sensor (#54)
* Add support for Temperature and Humidity  sensor

Add temperature and humidity data from a DHT11 or DHT22 sensor
2021-09-28 11:27:17 -04:00
DTTerastar 6efc858c50 Fix malformed json #64 2021-09-28 07:47:32 -04:00
DTTerastar 7a8c034fb5 Fixes #56 2021-09-24 23:05:12 -04:00
DTTerastar 45910ac2be Fixes #61 2021-09-24 21:26:30 -04:00
DTTerastar dc4e5e3781 Auto Updatie made a setting 2021-09-21 20:51:54 -04:00
DTTerastar 4f04d7c94a Misc cleanup 2021-09-21 16:52:27 -04:00
DTTerastar 77dd206488 Fix payload to correct default 2021-09-21 16:39:38 -04:00
Darrell 028b592109
Feature/motion (#49)
* New Feature: Add Motion Sensor via GPIO
- Use  PIR Motion Sensor (HC-SR501) or Radar Sensor (RCWL-0516)
* New Feature Fork WifiSettings and use that for constant portal

Co-authored-by: Stefan Knaak <stefan@knaak.org>
2021-09-21 13:55:41 -04:00
DTTerastar 2a5dc7eeec Better setup info 2021-09-21 10:07:30 -04:00
DTTerastar 1ff851ee47 MQTT Discovery! 2021-09-20 00:00:12 -04:00
DTTerastar d723594e73 Add support for blinking m5atom led 2021-09-16 18:20:44 -04:00
DTTerastar a4fe08d8ee Fixes #20 and #23 2021-09-15 12:11:32 -04:00
Darrell 5e1f327020 Move lots of stuff to BleFingerprintCollection (#28) 2021-09-13 21:42:27 -04:00
DTTerastar 955ae1c40c Turn off NTP by default 2021-09-13 06:52:15 -04:00
DTTerastar 0a0c005c15 Add button support for DevKit 2021-09-07 16:19:50 -04:00
DTTerastar 349fd81da8 Fix fingerprinting of udm-pro
Fix semaphore error
2021-09-06 20:43:07 -04:00
DTTerastar 8c800b8852 Add back major minor to iBeacon 2021-09-05 15:14:18 -04:00
DTTerastar cd1892a5b1 Fix typo 2021-08-24 00:15:11 -04:00
DTTerastar 22da7f1e7f Go back to active scanning 2021-08-23 23:59:48 -04:00
DTTerastar a02634ae5a Add version 2021-08-23 18:25:37 -04:00
DTTerastar 1da95e5467 Fix errant iBeacon w/ positive calRssi 2021-08-23 18:10:53 -04:00
DTTerastar 56d3c93d05 More refactoring 2021-08-23 15:21:58 -04:00
DTTerastar b8625588cd WIP 2021-08-23 09:48:40 -04:00
DTTerastar 106220646e Bump M5StickCPlus 2021-08-22 09:50:14 -04:00
DTTerastar 3cb44592be Fix beta 2021-08-22 08:47:42 -04:00
DTTerastar 637ab31e56 Try a diffent mqtt setup 2021-08-21 16:48:00 -04:00
DTTerastar 960b339f37 put under channel 2021-08-21 11:59:18 -04:00
DTTerastar a50f96c43f Publish secondary to seperate channel 2021-08-20 19:41:36 -04:00
DTTerastar 81cef686fe Make a noupdate firmware, update auto update location 2021-08-20 08:52:11 -04:00
DTTerastar 6bc92348ae Adding a median filter to rssi 2021-04-06 20:13:13 -04:00
DTTerastar 28298e61e7 Fix one euro settings 2021-04-05 17:08:11 -04:00
DTTerastar 1cfc215d81 Don't disconnect mqtt when updating 2021-04-04 22:36:49 -04:00
DTTerastar c4fee4d19e MIsc fix 2021-04-04 22:22:49 -04:00
DTTerastar d93b5d5eb1 Make one euro adjustable via settings 2021-04-04 22:12:46 -04:00
DTTerastar 5f839c66a1 Cleanup old fingerprints in report loop 2021-04-03 12:25:36 -04:00
DTTerastar c06480e631 Delete the oldest node to reduce churn 2021-04-02 15:16:30 -04:00
DTTerastar b05f831f9a Fix seen dangling ptr issue 2021-04-02 07:56:27 -04:00
DTTerastar 51c7acfa8c Log update info 2021-03-31 14:01:59 -04:00
DTTerastar 550bc03f1d Retry on send errors 2021-03-31 13:36:20 -04:00
DTTerastar de4c461081 Add reset reasons 2021-03-30 13:24:02 -04:00
DTTerastar be859102dc Shorter scan interval and window makes less sendFails 2021-03-30 08:23:55 -04:00
DTTerastar 703982daf6 Misc 2021-03-29 23:37:37 -04:00
DTTerastar af5ff43523 Remove cruft 2021-03-29 22:54:05 -04:00
DTTerastar 553d386352 Uptime was not threadsafe 2021-03-29 22:46:59 -04:00
DTTerastar 4a89e338de Major refactor, continous scanning 2021-03-29 21:56:23 -04:00
DTTerastar 4a9bd52092 Check for firmware every 5 minutes 2021-03-29 18:24:04 -04:00
DTTerastar 9f4ce708b1 Set initial distance from previous item with same id 2021-03-29 18:12:59 -04:00
DTTerastar 270e3c475b Add Enter/Left messages for enrollment 2021-03-29 15:51:18 -04:00
DTTerastar 5d649f1d2a Add first and last datetimes 2021-03-29 14:50:23 -04:00
DTTerastar ab900989bf Use LinkedList to keep track of discovered devices 2021-03-28 14:35:54 -04:00
DTTerastar 9f1ee25a7b Whoops, that was a brain eraser 2021-03-27 12:35:11 -04:00
DTTerastar 87c98e12ab Stop feather from resetting SPIFFS every boot 2021-03-27 10:02:10 -04:00
DTTerastar 65fa2f2217 Tweak sharing because some esp can't keep up 2021-03-27 08:46:46 -04:00
DTTerastar 7e0449998a More Tweaks 2021-03-27 08:10:10 -04:00
DTTerastar d825c23872 Tweaks 2021-03-27 07:56:24 -04:00
DTTerastar 946a38fa5c Fix mqtt connection issues 2021-03-27 01:32:15 -04:00
DTTerastar e425ddc9e6 Rejigger reconnection 2021-03-26 23:08:38 -04:00
DTTerastar 76cd17fe6a Add holding a button to reset config 2021-03-24 23:40:28 -04:00
DTTerastar d7b87e725a Include up to 16m 2021-03-24 14:07:54 -04:00
DTTerastar e37dc9af20 Add memory stats 2021-03-24 11:02:04 -04:00
DTTerastar 5f2c508653 Lots of filtering and tweaking 2021-03-22 19:14:41 -04:00
DTTerastar efb1fcf4a6 Major refactor, add BleFingerprint class 2021-03-22 09:11:42 -04:00
DTTerastar 050da87372 Reset after 10 minutes in portal 2021-03-20 01:54:24 -04:00
DTTerastar b4c8791e07 Add M5Atom 2021-03-20 01:19:45 -04:00
DTTerastar 4ffbd8ab74 Add version to telemetry 2021-03-19 23:07:47 -04:00
DTTerastar fdb292f2fc Finish auto update 2021-03-19 22:55:47 -04:00
DTTerastar 2e22db67e2 Roundtrip the firmware urls 2021-03-15 21:59:04 -04:00
DTTerastar 1b911b89e3 Better default max distance 2021-03-15 18:39:02 -04:00
DTTerastar d658941cb5 Make configurable via captive portal 2021-03-15 16:20:07 -04:00
DTTerastar 5739c74bc5 Auto updating 2021-03-14 14:33:57 -04:00
DTTerastar 9e4e85e430 Kalman filter added, better distance calculation, m5stickC support added 2021-03-13 15:20:16 -05:00
DTTerastar 4c8b84ab08 Add support for tile trackers and move to Nimble BLE 2021-03-07 09:07:34 -05:00
Edu_Coder 75ad9e0af3
Merge pull request #42 from PatBoud/Add_MAC_Address_Allowed_List
New feature: List of allowed MAC Addresses
2021-01-25 08:49:38 -05:00
PatBoud 360b8c1b85 New feature: List of allowed MAC Addresses 2021-01-23 17:29:13 -05:00
Stephen Littman af19cc9276
move pull from development to master april 8th
Stumbled across this and realize that it was never moved to master
2021-01-14 15:16:12 -05:00
jptrsn 41129ca8ec Fixed incorrect Settings inclusion. 2020-03-07 14:41:25 -05:00
jptrsn aa4fb82fa7 Changes to settings and platformio.ini setup to handle #20 2020-03-07 14:20:52 -05:00
jptrsn 75f1725921 Work in progress 2020-02-17 08:09:49 -05:00
jptrsn a4f9cc42ac Added modifiable default TX power for tweaking distance calculations 2019-11-17 14:38:15 -05:00
jptrsn 185b196a4a Refactor repository structure 2019-10-28 09:51:47 -04:00