Skip to content

Commit

Permalink
Merge pull request #9 from slimline33/main
Browse files Browse the repository at this point in the history
objectDefintions update
  • Loading branch information
DutchmanNL authored Nov 28, 2023
2 parents 9b7d3d7 + 30ff31d commit df5a196
Show file tree
Hide file tree
Showing 2 changed files with 140 additions and 0 deletions.
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 @@ const stateAttrb: StateAttr = {
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

0 comments on commit df5a196

Please sign in to comment.