Skip to content

Commit 32cccd9

Browse files
Update intro-summary with Remote Commands details (#1018)
* Update intro-summary with Remote Commands details Added instructions for caregivers using Loop's Remote Commands and details for APNS keys. * Clarify Nightscout template usage for APNS keys Updated Nightscout template instructions to include APNS_KEY and APNS_KEY_ID. * Secrets Reference File to Include Remote Command and Nightscout Information Updated references from Nightscout to Loop's remote commands and clarified information regarding APNS keys. * fix formatting and restore deleted section * one more tweak --------- Co-authored-by: marionbarker <marionbarker@earthlink.net>
1 parent ad6da44 commit 32cccd9

1 file changed

Lines changed: 63 additions & 3 deletions

File tree

docs/browser/intro-summary.md

Lines changed: 63 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -146,7 +146,7 @@ You don't need to know anything about the <code>Secrets</code> to do this. Come
146146
* There is a reference pattern for each SECRET: replace that with your SECRET or you can add your secret below the pattern to give yourself confidence you got the correct item
147147
4. In addition to the <code>Secrets</code>, this template has places for other pieces of information you may find handy to save in the same file
148148
5. At the very beginning is a place to indicate the last day you updated the file
149-
6. If you use Nightscout, you may also want the [Nightscout template](../nightscout/remote-config.md#save-your-important-nightscout-information){: target="_blank" }
149+
6. If you use Loop's remote commands, you will need the APNS_KEY and APNS_KEY_ID, which are included at the bottom of this template
150150

151151
``` { .bash .copy title="Template to use for Secrets" }
152152
MySecretsReferenceFile.txt
@@ -227,11 +227,71 @@ With release of Loop 3.6.0:
227227
If you use an organization (recommended)
228228
https://github.com/my-name-org/LoopWorkspace
229229

230-
or (if you don't use an organzation):
230+
or (if you don't use an organzation):
231231
https://github.com/my-name/LoopWorkspace
232232
233-
234233
Add additional apps here if you decide to build any
234+
235+
## REMOTE COMMAND INFORMATION:
236+
237+
If you use LoopFollow for remote commands, this information gets added to
238+
the LoopFollow app.
239+
If you use LoopCaregiver or Nightscout for remote commands, this
240+
information gets added to your Nightscout config-vars.
241+
https://loopkit.github.io/loopdocs/nightscout/remote-config/#step-2-apple-push-notifications
242+
243+
LOOP_APNS_KEY
244+
<looks like this - include the entire key>
245+
-----BEGIN PRIVATE KEY-----
246+
AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA
247+
AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA
248+
AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA
249+
AAAAAAAA
250+
-----END PRIVATE KEY-----
251+
252+
LOOP_APNS_KEY_ID
253+
<looks like this>
254+
AAAAAAAAAA
255+
256+
If you use Browser Build method, you need to be careful not to mix
257+
up your keys.
258+
The APNS Key for Remote Commands is an Apple Push Notification Key.
259+
It may look like the FASTLANE_KEY used for Browser Build,
260+
but it is completely different.
261+
You need both (if using remote features). Do NOT get them mixed up.
262+
263+
LOOP_DEVELOPER_TEAM_ID
264+
This is the same as the TEAMID as above.
265+
<looks like this>
266+
AAAAAAAAAA
267+
268+
LOOP_PUSH_SERVER_ENVIRONMENT is used only if you use TestFlight
269+
for your Loop app, regardless of whether you use the Browser Build
270+
or use Xcode to distribute via TestFlight.
271+
272+
If you build from Mac-Xcode directly to a phone, do not include this config-var
273+
274+
LOOP_PUSH_SERVER_ENVIRONMENT = production
275+
276+
277+
## NIGHTSCOUT INFORMATION
278+
279+
How this inforation gets added to your Nightscout config-vars depends
280+
on whether you build it yourself or pay a vendor.
281+
282+
PLACEHOLDER FOR YOUR SPECIFIC INFO, e.g., vendor, username
283+
284+
The URL will always start with https://
285+
286+
https://your-nightscout-site
287+
288+
API_SECRET
289+
290+
choose-something-hard-to-guess
291+
292+
* must contain at least 12 characters and is case-sensitive
293+
* hint: don’t make it too long, best to use letters and numbers,
294+
best to avoid special characters
235295
```
236296
237297
## New Terms with <code>*GitHub* Browser Build</code>

0 commit comments

Comments
 (0)