-
Notifications
You must be signed in to change notification settings - Fork 2
Open
Description
The unlock/lock RSSI thresholds appear inverted: the code unlocks when RSSI > -90 and locks when RSSI <= -80. The inline comments say the opposite (“unlock on weaker signal / lock on stronger”), so the hysteresis currently favors unlocking at close range and locking even while the phone is still nearby.
current code:
const int RSSI_UNLOCK_THRESHOLD = -90; // Öffnen bei schwächerem Signal (größere Reichweite)
const int RSSI_LOCK_THRESHOLD = -80; // Schließen bei stärkerem Signal (kleinere Reichweite)bugfix:
const int RSSI_UNLOCK_THRESHOLD = -80; // Öffnen bei stärkerem Signal (kleine Reichweite)
const int RSSI_LOCK_THRESHOLD = -90; // Schließen bei schwächerem Signal (grössere Reichweite)Metadata
Metadata
Assignees
Labels
No labels