Skip to content

Commit

Permalink
separate tables & routine for device discovery
Browse files Browse the repository at this point in the history
  • Loading branch information
DutchmanNL committed Dec 2, 2023
1 parent dca43b4 commit 95fd1fd
Show file tree
Hide file tree
Showing 3 changed files with 45 additions and 33 deletions.
2 changes: 2 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -179,6 +179,8 @@ If you like my work, please consider a personal donation
### __WORK IN PROGRESS__
* (DutchmanNL)
-->
### __WORK IN PROGRESS__
* (DutchmanNL)
### 0.5.0-beta.8 (2023-11-24)
* (DutchmanNL) Capability to automatically detect new devices added
* (DutchmanNL) Ensures a compatible pillow version is used (10.0.1)
Expand Down
20 changes: 3 additions & 17 deletions admin/jsonConfig.json5
Original file line number Diff line number Diff line change
Expand Up @@ -275,7 +275,7 @@
"type": "text",
"readOnly" : true,
"attr": "MACAddress",
"width": "15% ",
"width": "33% ",
"title": "MAC-Address",
"tooltip": "templateKeyTip",
"filter": false,
Expand All @@ -287,7 +287,7 @@
"type": "text",
"readOnly" : true,
"attr": "deviceName",
"width": "15% ",
"width": "33% ",
"title": "Device Name",
"tooltip": "templateKeyTip",
"filter": false,
Expand All @@ -299,7 +299,7 @@
"type": "text",
"attr": "ip",
"readOnly" : true,
"width": "15% ",
"width": "33% ",
"title": "IP Address",
"tooltip": "templateKeyTip",
"filter": false,
Expand All @@ -308,21 +308,7 @@
//ToDo add validation if IP-Address format
//"validator": "const x={};for (const c of globalData.templateTable) {if (x[c.templateKey]==='x') return false; x[c.templateKey]='x';}; return true;",
"validatorNoSaveOnError": true
},
{
"type": "text",
"readOnly" : true,
"attr": "connectState",
"width": "15% ",
"title": "Connection Status",
"tooltip": "templateKeyTip",
"filter": false,
"sort": false,
"default": "",
"validator": "data.connectState == 'newly discovered'",
"validatorNoSaveOnError": true
}

]
},
"header3": {
Expand Down
56 changes: 40 additions & 16 deletions main.js

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

0 comments on commit 95fd1fd

Please sign in to comment.