use number as table id's - #1126

This commit is contained in:
proddy
2023-03-23 20:29:01 +01:00
parent 93d68996b4
commit 0a7e1f629e
9 changed files with 254 additions and 262 deletions

View File

@@ -12,7 +12,7 @@
"@msgpack/msgpack": "^2.8.0",
"compression": "^1.7.4",
"express": "^4.18.2",
"nodemon": "^2.0.21"
"nodemon": "^2.0.22"
},
"packageManager": "yarn@3.4.1"
}

View File

@@ -450,13 +450,13 @@ const status = {
num_sensors: 1,
num_analogs: 1,
stats: [
{ id: '0', s: 56506, f: 11, q: 100 },
{ id: '1', s: 9026, f: 0, q: 100 },
{ id: '2', s: 33, f: 2, q: 95 },
{ id: '3', s: 56506, f: 11, q: 100 },
{ id: '4', s: 0, f: 0, q: 100 },
{ id: '5', s: 12, f: 10, q: 20 },
{ id: '6', s: 0, f: 0, q: 0 }
{ id: 0, s: 56506, f: 11, q: 100 },
{ id: 1, s: 9026, f: 0, q: 100 },
{ id: 2, s: 33, f: 2, q: 95 },
{ id: 3, s: 56506, f: 11, q: 100 },
{ id: 4, s: 0, f: 0, q: 100 },
{ id: 5, s: 12, f: 10, q: 20 },
{ id: 6, s: 0, f: 0, q: 0 }
]
};
@@ -603,7 +603,7 @@ const emsesp_devicedata_4 = {
let emsesp_schedule = {
schedule: [
{
id: '1',
id: 1,
active: true,
flags: 6,
time: '07:30',
@@ -612,7 +612,7 @@ let emsesp_schedule = {
name: 'day_mode'
},
{
id: '2',
id: 2,
active: true,
flags: 31,
time: '23:00',
@@ -621,7 +621,7 @@ let emsesp_schedule = {
name: 'night_mode'
},
{
id: '3',
id: 3,
active: true,
flags: 10,
time: '00:00',
@@ -630,7 +630,7 @@ let emsesp_schedule = {
name: 'temp_20'
},
{
id: '4',
id: 4,
active: false,
flags: 1,
time: '04:00',

View File

@@ -117,7 +117,7 @@ __metadata:
"@msgpack/msgpack": ^2.8.0
compression: ^1.7.4
express: ^4.18.2
nodemon: ^2.0.21
nodemon: ^2.0.22
languageName: unknown
linkType: soft
@@ -1120,9 +1120,9 @@ __metadata:
languageName: node
linkType: hard
"nodemon@npm:^2.0.21":
version: 2.0.21
resolution: "nodemon@npm:2.0.21"
"nodemon@npm:^2.0.22":
version: 2.0.22
resolution: "nodemon@npm:2.0.22"
dependencies:
chokidar: ^3.5.2
debug: ^3.2.7
@@ -1136,7 +1136,7 @@ __metadata:
undefsafe: ^2.0.5
bin:
nodemon: bin/nodemon.js
checksum: 0b9fe2d11fd95c51b66d61bd1ee85cddf579c9e674c9429752a74f445f1b98576235ae860858783728baa3666c87e4ef938ab67167cc34fe4bb8fcec74d6885b
checksum: 9c987e139748f5b5c480c6c9080bdc97304ee7d29172b7b3da1a7db590b1323ad57b96346304e9b522b0e445c336dc393ccd3f9f45c73b20d476d2347890dcd0
languageName: node
linkType: hard