1
0
mirror of https://github.com/binary-kitchen/doorlockd synced 2024-05-29 02:45:07 +02:00
Go to file
Ralf Ramsauer 201411a65f doorlockd: Implement doorlock API
This will be used in the future Android App.

/api only allows POST requests. POST variables:
  - user
  - pass
  - command

Supported commands: "status", "lock", "unlock"

Only valid API requests (i.e., an API request that has all POST variables set)
will respons a valid JSON response. Otherwise, an html error will be thrown.

JSON response format:

err: Integer, Error code, as defined in LogicResponse
msg: Message
status: Current kitchen status. Only set in case of success.

The LogicResponse stati "Success", "AlreadyLocked" and "AlreadyUnlocked" are
considered successful.

Signed-off-by: Ralf Ramsauer <ralf@binary-kitchen.de>
2018-08-23 20:17:50 +02:00
avr-code No schnappering on Button Unlock 2015-10-02 18:05:30 +02:00
schematics Added schematics of controller board 2015-09-25 00:50:08 +02:00
scripts Send lock/unlock messages using retain flag 2018-05-21 22:45:59 +02:00
sounds remove old code 2018-03-23 22:22:50 +00:00
ssl remove old code 2018-03-23 22:22:50 +00:00
static remove old code 2018-03-23 22:22:50 +00:00
templates Added Apple specific meta tag 2018-06-05 22:49:25 +02:00
.gitignore Improve .gitignore 2016-04-24 01:58:08 +02:00
config.cfg remove old code 2018-03-23 22:22:50 +00:00
doorcmds.h Added common file doorcmds.h 2015-09-25 00:50:09 +02:00
doorlockd.py doorlockd: Implement doorlock API 2018-08-23 20:17:50 +02:00
doorlockd.service remove old code 2018-03-23 22:22:50 +00:00
LICENSE moved License file 2015-09-25 00:50:09 +02:00