This guide assumes:
- You are familiar with JSON formatting
- You have read and understood the Alarm Configuration Wiki
- You are comfortable with the layout of
alarms.json
.
Please familiarize yourself with all of the above before proceeding.
PokeAlarm offers the following for Pushbullet:
- Notifications to multiple Pushbullet channels
- Customizable Google Map image of the pokemon, gym, and/or pokestop location
- Personalized notifications via Dynamic Text Substitution
These alarm.json
parameters are required to enable the Pushbullet alarm service:
Parameters | Description |
---|---|
type |
must be pushbullet |
active |
True for alarm to be active |
api_key |
Your Pushbullet API key |
Below is how a basic Pushbullet alarm configuration would appear in alarms.json
.
{
"active":"True",
"type":"pushbullet",
"api_key":"YOUR_API_KEY"
}
Note: The above code is to be inserted into the alarms section of alarms.json. It does not represent the entire alarms.json file.
In addition to the required parameters, several alarm.json
optional parameters are available to personalize your notifications. Below is an example of these optional parameters and how they are incorporated into a functional alarm layout.
These optional alarms.json
parameters are entered at the same level as "type":"pushbullet"
.
Parameters | Description | Default |
---|---|---|
startup_message |
Confirmation post when PokeAlarm initialized | True |
startup_list |
First post will list all alarmed pokemon enabled in alarms.json |
True |
These optional parameters below are applicable to the pokemon
, pokestop
, and gym
sections of the JSON file.
Parameters | Description | Default |
---|---|---|
channel |
Channel tag of the target channel | Sends to all devices |
title |
Notification title attached to the push | A wild <pkmn> has appeared! |
url |
Link to be attached to the push | <gmaps> |
body |
Message attched to the push | Available until <24h_time> (<time_left>). |
{
"active":"True",
"type":"pushbullet",
"api_key":"YOUR_API_KEY",
"channel":"DEFAULT_CHANNEL",
"pokemon":{
"title":"A wild <pkmn> has appeared!",
"url":"<gmaps>",
"body":"Available until <24h_time> (<time_left>).",
"channel":"OVERRIDES_DEFAULT_CHANNEL"
},
"pokestop":{
"title":"Someone has placed a lure on a Pokestop!",
"url":"<gmaps>",
"body":"Lure will expire at <24h_time> (<time_left>).",
"channel":"OVERRIDES_DEFAULT_CHANNEL"
},
"gym":{
"title":"A Team <old_team> gym has fallen!",
"url":"<gmaps>",
"body":"It is now controlled by <new_team>.",
"channel":"OVERRIDES_DEFAULT_CHANNEL"
}
}
Note: The above code is to be inserted into the alarms section of alarms.json. It does not represent the entire alarms.json file.
-
Go to Pushbullet.com and click one of the 'Sign up' options.
-
In the top right corner, click on the letter and select 'My Account'.
-
Scroll down to 'Create Access Token`. Copy this token and place it in api_key parmater.