mirror of
https://github.com/binary-kitchen/doorlockd
synced 2024-12-22 02:14:26 +01:00
Ralf Ramsauer
201411a65f
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> |
||
---|---|---|
avr-code | ||
schematics | ||
scripts | ||
sounds | ||
ssl | ||
static | ||
templates | ||
.gitignore | ||
config.cfg | ||
doorcmds.h | ||
doorlockd.py | ||
doorlockd.service | ||
LICENSE |