bitraf / dlock13 Goto Github PK
View Code? Open in Web Editor NEWDoor lock
Door lock
(retroactively documenting a problem that was "fixed" earlier this afternoon)
This afternoon (at around 15:30 local time) the front door and the doors at the second floor (ok, first floor for English people) stopped working, even if the web page still said "door open" when you pressed the button. Also the guest button didn't light up.
Everything seemed to be in order, expect for one thing, the dlock13.* services on boxy2 was restarting the whole time. From the journalctl log:
Nov 05 15:48:19 boxy2 systemd[1]: Stopping [email protected]...
Nov 05 15:48:19 boxy2 systemd[1]: Starting [email protected]...
Nov 05 15:48:19 boxy2 sh[9107]: mqtt: Connecting to mqtt.bitraf.no:1883, client_id=, keep_alive=180
Nov 05 15:48:19 boxy2 sh[9107]: mqtt: mosquitto_connect
Nov 05 15:48:19 boxy2 sh[9107]: mqtt: yes
Nov 05 15:48:19 boxy2 sh[9107]: mqtt: mosquitto_disconnect: The client is not currently connected.
Nov 05 15:48:19 boxy2 sh[9107]: terminate called after throwing an instance of 'trygvis::mqtt_support::mqtt_error'
Nov 05 15:48:19 boxy2 sh[9107]: what(): mosquitto_connect: Unknown error.
Nov 05 15:48:19 boxy2 systemd[1]: [email protected]: main process exited, code=exited, status=134/n/a
Nov 05 15:48:19 boxy2 systemd[1]: Unit [email protected] entered failed state.
Nov 05 15:48:19 boxy2 sh[9107]: Aborted
nothing else seemed wrong. With no other indications, I eventually restarted boxy2 ('shutdown -r now') and that seems to have fixed the problem - for now.
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.