„README.md“ ändern
This commit is contained in:
parent
6e996f341d
commit
20d8d2c8f0
@ -192,6 +192,7 @@ CREATE TABLE IF NOT EXISTS BridgeInfo
|
||||
`appVersion` VARCHAR(24),
|
||||
`bridgeType` SMALLINT NOT NULL,
|
||||
`currentTime` DATETIME NOT NULL,
|
||||
`deviceType` INT NOT NULL,
|
||||
`firmwareVersion` VARCHAR(24),
|
||||
`hardwareId` VARCHAR(24),
|
||||
`name` VARCHAR(255) NOT NULL,
|
||||
@ -208,6 +209,7 @@ CREATE TABLE IF NOT EXISTS BridgeInfo
|
||||
CREATE TABLE IF NOT EXISTS BridgeList
|
||||
(
|
||||
`batteryCritical` BOOLEAN NOT NULL,
|
||||
`mode` INT NOT NULL,
|
||||
`name` SMALLINT NOT NULL,
|
||||
`nukiId` VARCHAR(9) NOT NULL PRIMARY KEY, /*primary key = unique!*/
|
||||
`state` SMALLINT NOT NULL,
|
||||
@ -220,6 +222,7 @@ CREATE TABLE IF NOT EXISTS BridgeList
|
||||
CREATE TABLE IF NOT EXISTS BridgeLockState
|
||||
(
|
||||
`batteryCritical` BOOLEAN NOT NULL,
|
||||
`mode` INT NOT NULL,
|
||||
`nukiId` VARCHAR(9) NOT NULL PRIMARY KEY, /*primary key = unique!*/
|
||||
`state` SMALLINT NOT NULL,
|
||||
`stateName` VARCHAR(24) NOT NULL,
|
||||
@ -565,7 +568,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` `mode` (Bridge) `deviceType` (Bridge)
|
||||
* 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 (maybe with triggers):
|
||||
* BridgeFirmwareHistory: BridgeId, date, BridgeFirmware, BridgeWifiFirmware,BridgeAppVersion
|
||||
|
Loading…
Reference in New Issue
Block a user