Skip to content

Commit

Permalink
Incremented schema version to 5
Browse files Browse the repository at this point in the history
Added new properties `nightvision` and `batteryIsCharging` to Device
Added new properties `switchModeWithAccessCode`, `autoEndAlarm` and `turnOffAlarmWithButton` to Station
Fixed issue #15
Updated dependency eufy-security-client and ws
  • Loading branch information
bropat committed Aug 13, 2021
1 parent ff42617 commit 784a5b5
Show file tree
Hide file tree
Showing 8 changed files with 253 additions and 129 deletions.
5 changes: 5 additions & 0 deletions API_SCHEMA.md
Original file line number Diff line number Diff line change
Expand Up @@ -31,3 +31,8 @@ Base schema.

* Added new properties `chargingStatus`, `wifiSignalLevel`, `rtspStreamUrl`, `chirpVolume`, `chirpTone`, `videoHdr`, `videoDistortionCorrection` and `videoRingRecord` to Device
* Renamed properties from `motionDetectionSensivity`, `soundDetectionSensivity` and `ledStatus` to `motionDetectionSensitivity`, `soundDetectionSensitivity` and `statusLed` for Device

## Schema 5

* Added new properties `nightvision` and `batteryIsCharging` to Device
* Added new properties `switchModeWithAccessCode`, `autoEndAlarm` and `turnOffAlarmWithButton` to Station
10 changes: 10 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -1056,6 +1056,9 @@ interface {
notificationSwitchModeApp: boolean; // [added with schema version: 3+]
notificationSwitchModeKeypad: boolean; // [added with schema version: 3+]
notificationStartAlarmDelay: boolean; // [added with schema version: 3+]
switchModeWithAccessCode: boolean; // [added with schema version: 5+]
autoEndAlarm: boolean; // [added with schema version: 5+]
turnOffAlarmWithButton: boolean; // [added with schema version: 5+]
}
}
}
Expand Down Expand Up @@ -1094,6 +1097,9 @@ interface {
notificationSwitchModeApp: boolean; // [added with schema version: 3+]
notificationSwitchModeKeypad: boolean; // [added with schema version: 3+]
notificationStartAlarmDelay: boolean; // [added with schema version: 3+]
switchModeWithAccessCode: boolean; // [added with schema version: 5+]
autoEndAlarm: boolean; // [added with schema version: 5+]
turnOffAlarmWithButton: boolean; // [added with schema version: 5+]
}
}
}
Expand Down Expand Up @@ -1333,6 +1339,8 @@ interface {
chargingStatus: number; // [added with schema version: 4+]
rtspStreamUrl: string; // [added with schema version: 4+]
wifiSignalLevel: number; // [added with schema version: 4+]
nightvision: number; // [added with schema version: 5+]
batteryIsCharging: boolean; // [added with schema version: 5+]
}
}
}
Expand Down Expand Up @@ -1441,6 +1449,8 @@ interface {
chargingStatus: number; // [added with schema version: 4+]
rtspStreamUrl: string; // [added with schema version: 4+]
wifiSignalLevel: number; // [added with schema version: 4+]
nightvision: number; // [added with schema version: 5+]
batteryIsCharging: boolean; // [added with schema version: 5+]
}
}
}
Expand Down
Loading

0 comments on commit 784a5b5

Please sign in to comment.