- Watches battery status of a kwikset lock that is connected to the kwikset cloud services (kwikset phone app works for it)
- Logs battery percentage
- Logs details if battery percentage changes, or at periodic intervals
- Can GET a simple heartbeat URL (for monitoring)
- Can POST a status update to a discord text channel (when percentage changes or periodically)
- Save auth stuff so it doesn't need 2fa every time
git clone https://github.com/freiheit/kwikset-watch.git /opt/kwiksetcd /opt/kwiksetpython3 -m venv ./venv./venv/bin/pip3 install -r requirements.txtcp kwikset.conf-example kwikset.conf- Edit kwikset.conf to have your username and password
- Optionally set monitoring heartbeat URL and/or discord webhook URL
./venv/bin/python3 watch.py
It requires 2fa validation every startup.
I run it inside screen/tmux and suggest you do the same.