Skip to content

Commit 208cd2f

Browse files
authored
addresses the changes requested
1 parent 5d57bdd commit 208cd2f

File tree

1 file changed

+11
-10
lines changed

1 file changed

+11
-10
lines changed

source/_components/device_tracker.google_plus.markdown

Lines changed: 11 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -1,13 +1,14 @@
11
---
22
layout: page
33
title: "Google Plus"
4-
description: "Instructions how to use Google Plus to track Android devices in Home Assistant."
4+
description: "Instructions how to use Google Plus to track mobile devices in Home Assistant."
55
date: 2016-11-1 19:00
66
sidebar: true
77
comments: false
88
sharing: true
99
footer: true
1010
ha_category: Presence Detection
11+
ha_version: TBD
1112
---
1213
If you share your Android's location with Google, this component fetches those locations from Google's servers to your Home Assistant. This component does NOT directly communicate with your phone, thus using this component does not cause any additional battery drain.
1314
Suppose your Android phone is linked to your Google Account, say main@gmail.com.
@@ -17,19 +18,19 @@ This component can be used in 2 modes:
1718

1819

1920
```yaml
20-
# Example configuration.yaml entry
21+
# Example configuration.yaml entry. See below for instructions for obtaining the values of fields.
2122
device_tracker 3:
2223
platform: gplus
2324
id: 'phone'
24-
url: '...'
25-
cookie_sid: '...'
26-
cookie_hsid: '...'
27-
cookie_ssid: '...'
28-
data_freq: '...'
29-
data_at: '...'
25+
url: 'POST requests for location are sent to this URL'
26+
cookie_sid: 'POST requests send this cookie for authenticating the google account'
27+
cookie_hsid: 'POST requests send this cookie for authenticating the google account'
28+
cookie_ssid: 'POST requests send this cookie for authenticating the google account'
29+
data_freq: 'POST data payload for requesting location'
30+
data_at: 'POST data payload for requesting location'
3031
```
3132
32-
###How to obtain the values shown as '...' (credits to @icovada):
33+
###How to obtain the values shown as '...':
3334
3435
3536
- If using this component in Self Mode, open Firefox and log into Google as main@google.com
@@ -49,4 +50,4 @@ looks like data?ds.extension
4950
for python requests. If you don't trust that website, note that they provide sources of the tool. So run the tool on your local machine.
5051
- The python code contains dictionaries with keys that have names similar to the above
5152
fields in the config file. Copy the corresponding values to the config file.
52-
- The url field is the first argument of `requests.post` in the last line of the python code.
53+
- The URL field is the first argument of `requests.post` in the last line of the python code.

0 commit comments

Comments
 (0)