„README.md“ ändern

This commit is contained in:
Mario Voigt 2018-11-30 13:07:24 +01:00
parent 72a508ab71
commit 541a38919c

View File

@ -131,6 +131,12 @@ CREATE TABLE IF NOT EXISTS SmartlockLog
CREATE TABLE IF NOT EXISTS SmartlockAuth
(
`accountUserId` VARCHAR(24),
`allowedFromDate` DATETIME NOT NULL,
`allowedFromTime` SMALLINT NOT NULL,
`allowedUntilDate` DATETIME NOT NULL,
`allowedUntilTime` SMALLINT NOT NULL,
`allowedWeekDays` SMALLINT NOT NULL,
`authId` VARCHAR(24), /*it may be shorter -> 3 digits*/
`creationDate` DATETIME NOT NULL,
`enabled` BOOLEAN NOT NULL,
@ -532,7 +538,7 @@ https://grafana.com/dashboards/7628/ or https://leyghis.fablabchemnitz.de:8444/M
* Bridge provides timestamp but no timezoneOffset → SQL statements were written to use the timezoneOffset of Smartlock instead → works, but dirty
* replace TRUNCATE statements with "INSERT ON DUPLICATE KEY UPDATE" to leave old data but import new data
* to implement:
* make us of fields `keypadPaired` `lastAction` `doorState` `homekitState` `timezoneId` `accountUserId`
* make us of fields `keypadPaired` `lastAction` `doorState` `homekitState` `timezoneId` `accountUserId` `accountUserId` `allowedFromDate` `allowedFromTime` `allowedUntilDate` `allowedUntilTime` `allowedWeekDays`
* build up some check script to make proof of correct count of columns and column order of the csv files
* collect data with time history:
* history of firmware changes