creating sensor model

This commit is contained in:
2024-03-18 00:08:48 +03:00
parent bca2745071
commit a453c8c10a
5 changed files with 56 additions and 6 deletions

View File

@@ -9,11 +9,17 @@ const deviceLogSchema = new Schema({
remote_type: {
type: String
},
operating_type:{
operating_type: {
type: String // Toggle - Homekit Reset - Reset
},
log_time: {
type: Date
},
sensor_value: {
type: Number
},
battery_life: {
type: Number
}
});