Skip to content

Commit

Permalink
Merge pull request #10 from elueckel/beta
Browse files Browse the repository at this point in the history
Hopefully last code cleanup
  • Loading branch information
elueckel authored Sep 11, 2021
2 parents 2a112c6 + efc4a4a commit abaf356
Show file tree
Hide file tree
Showing 3 changed files with 142 additions and 168 deletions.
183 changes: 95 additions & 88 deletions UniFi Internet Controller/form.json
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
"items": [
{
"type": "Label",
"label": "This Module allows to gather information converning the internet connection like the current public IP adress in conjunction with a USG or Dream Machine."
"label": "This Module allows to gather information converning the internet connection like the current public IP adress in conjunction with a Dream Machine."
},
{
"type": "Label",
Expand All @@ -28,22 +28,7 @@
},
{
"type": "Label",
"label": "UniFi Toolbox - Internet Controller Configuration"
},
{
"type": "Select",
"name": "ControllerType",
"caption": "Controller Type",
"options": [
{
"caption": "Dream Maschine / Pro / CloudKey V2",
"value": 0
},
{
"caption": "CloudKey",
"value": 1
}
]
"label": "UniFi Toolbox - Dream Maschine Internet Controller Configuration"
},
{
"type": "ValidationTextBox",
Expand Down Expand Up @@ -76,89 +61,111 @@
"caption": "Update Frequency",
"suffix": "sec - 0 is off"
},
{
"type": "CheckBox",
"name": "WAN1IP",
"caption": "WAN1 External IP Address"
},
{
"type": "CheckBox",
"name": "WAN2IP",
"caption": "WAN2 External IP Address"
},
{
"type": "CheckBox",
"name": "version",
"caption": "Unifi Network Version"
},
{
"type": "CheckBox",
"name": "update_available",
"caption": "Update available"
},
{
"type": "CheckBox",
"name": "update_downloaded",
"caption": "Update downloaded"
},
{
"type": "CheckBox",
"name": "uptime",
"caption": "Uptime"
},
{
"type": "Label",
"label": "Nachfolgende Werte sind nur mit DreamMachine verfügbar:"
},
{
"type": "CheckBox",
"name": "WAN1availability",
"caption": "WAN1 availability"
"label": ""
},
{
"type": "CheckBox",
"name": "WAN1latency_average",
"caption": "WAN1 latency-average"
},
{
"type": "CheckBox",
"name": "WAN1time_period",
"caption": "WAN1 time-period"
},
{
"type": "CheckBox",
"name": "WAN2availability",
"caption": "WAN2 availability"
{
"type": "RowLayout",
"items": [
{
"type": "CheckBox",
"name": "WAN1IP",
"caption": "WAN1 External IP Address"
},{
"type": "CheckBox",
"name": "WAN1availability",
"caption": "WAN1 availability"
},{
"type": "CheckBox",
"name": "WAN1latency_average",
"caption": "WAN1 latency-average"
},
{
"type": "CheckBox",
"name": "WAN1time_period",
"caption": "WAN1 time-period"
}
]
},
{
"type": "CheckBox",
"name": "WAN2latency_average",
"caption": "WAN2 latency-average"
"type": "Label",
"label": ""
},
{
"type": "CheckBox",
"name": "WAN2time_period",
"caption": "WAN2 time-period"
{
"type": "RowLayout",
"items": [
{
"type": "CheckBox",
"name": "WAN2IP",
"caption": "WAN2 External IP Address"
},{
"type": "CheckBox",
"name": "WAN2availability",
"caption": "WAN2 availability"
},{
"type": "CheckBox",
"name": "WAN2latency_average",
"caption": "WAN2 latency-average"
},
{
"type": "CheckBox",
"name": "WAN2time_period",
"caption": "WAN2 time-period"
}
]
},
{
"type": "CheckBox",
"name": "isp_name",
"caption": "ISP Name"
"type": "Label",
"label": ""
},
{
"type": "CheckBox",
"name": "isp_organization",
"caption": "ISP Organization"
{
"type": "RowLayout",
"items": [
{
"type": "CheckBox",
"name": "version",
"caption": "Unifi Network Version"
},{
"type": "CheckBox",
"name": "update_available",
"caption": "Update available"
},{
"type": "CheckBox",
"name": "update_downloaded",
"caption": "Update downloaded"
},{
"type": "CheckBox",
"name": "uptime",
"caption": "Uptime"
}
]
},
{
"type": "CheckBox",
"name": "ubnt_device_type",
"caption": "UBNT Device Type"
"type": "Label",
"label": ""
},
{
"type": "CheckBox",
"name": "udm_version",
"caption": "UDM Version"
{
"type": "RowLayout",
"items": [
{
"type": "CheckBox",
"name": "isp_name",
"caption": "ISP Name"
},{
"type": "CheckBox",
"name": "isp_organization",
"caption": "ISP Organization"
},{
"type": "CheckBox",
"name": "ubnt_device_type",
"caption": "UBNT Device Type"
},{
"type": "CheckBox",
"name": "udm_version",
"caption": "UDM Version"
}
]
}
],
"actions": [
Expand Down
2 changes: 1 addition & 1 deletion UniFi Internet Controller/module.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"id": "{D1D2F76B-AAA2-A2F8-82CD-0A482654FA49}",
"name": "UniFi Internet Controller",
"name": "UniFi DM Internet Controller",
"type": 3,
"vendor": "UniFi",
"aliases": [],
Expand Down
Loading

0 comments on commit abaf356

Please sign in to comment.