Skip to content

Instantly share code, notes, and snippets.

@audiefile
audiefile / Triggering “Eating Soon Mode” via Pebble Watch
Last active January 27, 2024 10:29
Draft Documentation for Triggering “Eating Soon Mode” via Pebble Watch Uses IFTTT and pebble watch app ThisButton by The Hub Media
• Setup IFTTT account
• Connect to Maker channel and note secret key
• Create if recipe
o if Maker 'Receive a web request'
• The Event Name doesn't matter, just make note of it. I suggest avoiding spaces as I've seen them cause problems in the past.
o then Maker 'Make a web request'
• URL: https://mynightscout.com/api/v1/treatments.json
• Method: POST
• Content type: application/json
• Body: { "enteredBy": "Maker", "eventType": "Temporary Target", "reason": "Eating Soon", "targetTop": 80, "targetBottom": 80, "duration": 60}