Skip to content

Commit 887eaf0

Browse files
committed
More admin docs ahead of updates
1 parent b0668f0 commit 887eaf0

File tree

2 files changed

+128
-36
lines changed

2 files changed

+128
-36
lines changed

.vitepress/config.mts

Lines changed: 9 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -626,10 +626,17 @@ export default withMermaid(defineConfig({
626626
{ text: 'Permissions', link: '/apps/admin/authentication#permissions' },
627627
]
628628
},
629-
{ text: 'Devices', link: '/apps/admin/devices' },
629+
{ text: 'Devices', link: '/apps/admin/devices',
630+
items: [
631+
{ text: 'Actions', link: '/apps/admin/devices#actions' },
632+
{ text: 'Metrics', link: '/apps/admin/devices#metric-summary' },
633+
{ text: 'Timeline', link: '/apps/admin/devices#timeline' },
634+
]
635+
636+
},
630637
{ text: 'Configs', link: '/apps/admin/configs' },
631638
{ text: 'Users', link: '/apps/admin/users' },
632-
{ text: 'Invoice Audit', link: '/apps/admin/invoice-audit' },
639+
// { text: 'Invoice Audit', link: '/apps/admin/invoice-audit' },
633640
{ text: 'Plans', link: '/apps/admin/plans' },
634641
],
635642
}

apps/admin/devices.md

Lines changed: 119 additions & 34 deletions
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,8 @@ outline: deep
55

66
The default view is the device list, which shows all devices in the account.
77

8-
![](https://i.imgur.com/2Yok4An.png)
8+
![Lightbug Admin device list](https://i.imgur.com/pHBzHGL.png)
9+
910

1011
## Fields
1112

@@ -36,21 +37,49 @@ Filters can be used to narrow down the list of devices.
3637

3738
Such as all `ZeroN` devices.
3839

39-
![](https://i.imgur.com/utUiBDm.png)
40+
![](https://i.imgur.com/JkdXTz6.png)
4041

4142
## Actions
4243

43-
Some actions can be applied on a per device level, these all exist on the right hand side of the rows.
44+
The devices table has a number of actions that can be performed on devices, either in row actions, or via buttons on the right hand side of the rows, or via bulk actions having multiple devices selected.
45+
46+
### In row actions
47+
48+
Some actions are available on the device list itself, by interacting with various fields.
49+
50+
#### Reveal ICCID & IMEI
51+
52+
Click the `(more)` link in the identifiers column to reveal the ICCID and IMEI of the device.
53+
54+
![](https://i.imgur.com/xoTN8ga.png)
55+
56+
#### Set device name
57+
58+
Hovering over a device name will reveal a pencil icon, which can be clicked to edit the device name.
59+
60+
Hit `Enter` to save the new name, or `Escape` to cancel.
4461

45-
![](https://i.imgur.com/389vSgB.png)
62+
![](https://i.imgur.com/22CIjYw.png)
63+
64+
#### Schedule Firmware Update
65+
66+
Clicking on the firmware version will open a dialog allowing you to schedule a firmware update for the device.
67+
68+
![](https://i.imgur.com/sK66Th6.png)
69+
70+
### Button Actions
71+
72+
Some per device actions are available via buttons on the right hand side of the rows, these are:
73+
74+
![](https://i.imgur.com/vOxhOLt.png)
4675

4776
- Activate / Deactivate
48-
- Manage Users
77+
- [Manage Users](#manage-users)
4978
- Manage Settings
50-
- Display device information
51-
- Migrate
79+
- [See Device information](#device-information)
80+
- [Manage Forwarding](#manage-forwarding)
5281

53-
### Manage Users
82+
#### Manage Users
5483

5584
Clicking on the manage users icon will open a dialog allowing you to add or remove users from the device.
5685

@@ -60,85 +89,141 @@ Users can have different global permissions, which can be controlled from the [u
6089

6190
Clicking `Add User`, open an additional dialog allowing you to select a user from the list of users on your account, or create a new user.
6291

63-
#### Add Existing user
92+
##### Add Existing user
6493

6594
In order to select an existing user, click on their name from the list.
6695

6796
![](https://i.imgur.com/5aFeQlp.png)
6897

6998
On success, you'll see a confirmation message in the top right corner.
7099

71-
#### Add New user
100+
:::warning
101+
If the user already exists, and they are not a sub user of your account, you will not be able to select them.
102+
If this is the case please contact support to get them added to your account.
103+
:::
104+
105+
##### Add New user
72106

73107
To create a new user, click on the `Create New` button.
74108

75109
This will open a dialog allowing you to enter the new users details.
76110

77-
![](https://i.imgur.com/hKBzdYU.png)
111+
![](https://i.imgur.com/QEnoQwF.png)
78112

79113
Once you have entered the details, click `Create` to create the user.
80114

81115
On success, you'll see a confirmation message in the top right corner.
82116

83-
#### Remove a user
117+
:::warning
118+
If the user already exists, you will not be able to create an account for them.
119+
:::
120+
121+
##### Remove a user
84122

85123
To remove a user from the device, click on the `X` icon next to their name.
86124

87-
### Device information
125+
![](https://i.imgur.com/HBqlqN1.png)
126+
127+
#### Device information
128+
129+
Verbose information about the device, including:
130+
- Overview: General device state information, and summarized device information over time.
131+
- Timeline: A detailed timeline of data received from the device, and received by SIM providers.
132+
- Config Pages: Current config pages applied to the device.
133+
134+
![](https://i.imgur.com/GnwHbXd.png)
135+
136+
##### Plan
137+
138+
The top of the overview summarizes the current plan and billing state of the device.
139+
140+
![](https://i.imgur.com/tIjgUsM.png)
141+
142+
##### Metric Summary
143+
144+
An expandable overview of some device metrics, errors, sends and power usage are then displayed.
145+
146+
You can mouse over the graphs to see more details about the data.
147+
148+
Use the `+1 Day` and `+1 Week` buttons to expands the time range of the graph into the past.
149+
150+
![](https://i.imgur.com/alZiO0u.png)
151+
152+
This data is then summarized further with some key metrics.
153+
154+
- Total Time
155+
- Total Points
156+
- Avenge Signal
157+
- Average Points per transmit
158+
- Average Time Between Points
159+
- Average Time Between
160+
- Average Power per Transmit
161+
- Average Power per Point
162+
- Battery percent and voltage at start of the time range.
163+
- Battery percent and voltage at end of the time range.
164+
- Max battery voltage during the time range.
165+
166+
And a breakdown of the source of locations received during the time range.
167+
168+
![](https://i.imgur.com/oIgFTmS.png)
169+
170+
##### Timeline
171+
172+
The timeline shows a detailed view of events from and related to the device.
173+
174+
This will poll for new events as they happen, so you should be able to see your device connecting and sending data when active.
88175

89-
Verbose information about the device, such as the last known location, battery level, and more.
176+
![](https://i.imgur.com/WoevCJG.png)
90177

91-
![](https://i.imgur.com/RmIDMBR.png)
178+
:::warning
179+
If your device has not recently sent any data, you might find the timeline empty, or timing out.
180+
:::
92181

93-
Additional options are available for display:
182+
##### Config Pages
94183

95-
- Show/Hide Log
96-
- Show/Hide Info
97-
- Show/Hide Status
98-
- Show/Hide latest points
99-
- Show/Hide attached config pages
184+
The config pages tab shows the current config pages applied to the device.
100185

101-
#### Log
186+
You can remove config pages by clicking the `X` icon next to the config page name.
102187

103-
Show meta data surrounding the submission of points.
188+
![](https://i.imgur.com/nrXrJW2.png)
104189

105-
![](https://i.imgur.com/RBxExdU.png)
190+
#### Manage Forwarding
106191

107-
You can toggle `Info` and `Status` from this list using the buttons.
192+
Forwarding is a new feature that allows you to forward data from your devices to other services, currently webhooks and MQTT.
108193

109-
#### Latest Points
194+
![](https://i.imgur.com/zkPvShs.png)
110195

111-
Shows some of the most recent [points](/terminology/points.html) for the device.
196+
This will replace similar messaging based on Notifications, which is only accessible via API or the [Cloud app](/apps/cloud/account/notifications).
112197

113-
![](https://i.imgur.com/K7Js6XF.png)
198+
If you would like to use this feature, please contact support to get it enabled on your account, as it is not yet at General Availability.
114199

115-
## Bulk actions
200+
### Bulk actions
116201

117202
You can select multiple devices and perform actions on them by using the check boxes at the left of each row.
118203

119204
![](https://i.imgur.com/Y2LyH7r.png)
120205

121-
### Export
206+
#### Export
122207

123208
Exporting selected devices will display a modal allowing you to copy a IDs, Serial numbers, IMEIs or ICCIDs in a bulk format.
124209

125210
![](https://i.imgur.com/GiLWsY4.png)
126211

127-
### Settings
212+
#### Settings
128213

129214
Settings allows you to change the settings of multiple devices at once, making use of [config pages](./configs.html) that you have on your account.
130215

131216
![](https://i.imgur.com/MTQGSiH.png)
132217

133218
<!-- TODO document "link device to this config" -->
134219

135-
### Users
220+
#### Users
136221

137222
Allows, bulk adding or removing of users from the selected devices.
138223

139224
![](https://i.imgur.com/KIweB1w.png)
140225

141-
### Tags
226+
#### Tags
142227

143228
Allows, bulk adding or removing of tags from the selected devices.
144229

@@ -158,6 +243,6 @@ Tags can be:
158243
- Removed from all devices, using the bin icon.
159244
- Applied to all devices by clicking tags only applied to "Some devices" (in yellow).
160245

161-
### Activate / Deactivate
246+
#### Activate / Deactivate
162247

163248
Bulk activations and deactivations of devices.

0 commit comments

Comments
 (0)