Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

objectDefintions update #9

Merged
merged 4 commits into from
Nov 28, 2023
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Binary file added admin/logo_oepl_adapter.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
140 changes: 140 additions & 0 deletions src/lib/objectDefinitions.ts
Original file line number Diff line number Diff line change
Expand Up @@ -34,6 +34,146 @@
role: 'info',
write: false,
},
mac: {
type: 'string',

Check failure on line 38 in src/lib/objectDefinitions.ts

View workflow job for this annotation

GitHub Actions / check-and-lint

Delete `··`
name: 'MAC Address',

Check failure on line 39 in src/lib/objectDefinitions.ts

View workflow job for this annotation

GitHub Actions / check-and-lint

Delete `··`
role: 'state',

Check failure on line 40 in src/lib/objectDefinitions.ts

View workflow job for this annotation

GitHub Actions / check-and-lint

Delete `··`
write: false,

Check failure on line 41 in src/lib/objectDefinitions.ts

View workflow job for this annotation

GitHub Actions / check-and-lint

Delete `··`
},
hash: {
type: 'string',

Check failure on line 44 in src/lib/objectDefinitions.ts

View workflow job for this annotation

GitHub Actions / check-and-lint

Delete `··`
name: 'Hash',

Check failure on line 45 in src/lib/objectDefinitions.ts

View workflow job for this annotation

GitHub Actions / check-and-lint

Delete `··`
role: 'state',

Check failure on line 46 in src/lib/objectDefinitions.ts

View workflow job for this annotation

GitHub Actions / check-and-lint

Delete `··`
write: false,

Check failure on line 47 in src/lib/objectDefinitions.ts

View workflow job for this annotation

GitHub Actions / check-and-lint

Delete `··`
},
lastseen: {
type: 'number',

Check failure on line 50 in src/lib/objectDefinitions.ts

View workflow job for this annotation

GitHub Actions / check-and-lint

Delete `··`
name: 'Last Seen',

Check failure on line 51 in src/lib/objectDefinitions.ts

View workflow job for this annotation

GitHub Actions / check-and-lint

Delete `··`
role: 'state',
write: false,
},
nextupdate: {
type: 'number',
name: 'Next Update',
role: 'state',
write: false,
},
nextcheckin: {
type: 'number',
name: 'Next Check-in',
role: 'state',
write: false,
},
pending: {
type: 'boolean',
name: 'Pending',
role: 'state',
write: false,
},
alias: {
type: 'string',
name: 'Alias',
role: 'state',
write: false,
},
contentMode: {
type: 'number',
name: 'Content Mode',
role: 'state',
write: false,
},
LQI: {
type: 'number',
name: 'Link Quality Indicator (LQI)',

role: 'state',
write: false,
},
RSSI: {
type: 'number',
name: 'Received Signal Strength Indicator (RSSI)',
role: 'state',
write: false,
},
temperature: {
type: 'number',
name: 'Temperature',
role: 'state',
write: false,
},
batteryMv: {
type: 'number',
name: 'Battery Voltage',
role: 'state',
write: false,
},
hwType: {
type: 'number',
name: 'Hardware Type',
role: 'state',
write: false,
},
wakeupReason: {
type: 'number',
name: 'Wakeup Reason',
role: 'state',
write: false,
},
capabilities: {
type: 'number',
name: 'Capabilities',
role: 'state',
write: false,
},
modecfgjson: {
type: 'string',
name: 'Mode Configuration JSON',
role: 'state',
write: false,
},
isexternal: {
type: 'boolean',
name: 'Is External',
role: 'state',
write: false,
},
apip: {
type: 'string',
name: 'API IP',
role: 'state',
write: false,
},
rotate: {
type: 'number',
name: 'Rotate',
role: 'state',
write: false,
},
lut: {
type: 'number',
name: 'Lookup Table (LUT)',
role: 'state',
write: false,
},
invert: {
type: 'number',
name: 'Invert',
role: 'state',
write: false,
},
ch: {
type: 'number',
name: 'Channel',
role: 'state',
write: false,
},
ver: {
type: 'number',
name: 'Version',
role: 'state',
write: false,
},

};

const BasicStates: MyObjects = {
Expand Down