Skip to content

Commit 0be170a

Browse files
committed
Update README to make clear you need to visit the authorization link before collection can begin
1 parent ca710e2 commit 0be170a

File tree

1 file changed

+17
-30
lines changed

1 file changed

+17
-30
lines changed

README.md

Lines changed: 17 additions & 30 deletions
Original file line numberDiff line numberDiff line change
@@ -68,39 +68,26 @@ Username: my-username@acme.tld
6868
Password: your-password
6969
Client secret: wZaRN7rpjn3FoNyF5IFuxg9uMzYJcvOoQ8QWiIqS3hfk6gLhVlG57j5YNoZL2Rtc
7070
------------------------------------
71-
[2020-02-29T08:56:19Z INFO tado_exporter] starting tado° exporter on address: V4(0.0.0.0:9898)
72-
[2020-02-29T08:56:19Z INFO tado_exporter] waiting for the first tick in 10 seconds...
73-
[2020-02-29T08:56:30Z INFO tado_exporter::tado::client] retrieving zone details for Office...
74-
[2020-02-29T08:56:30Z INFO tado_exporter::tado::client] retrieving zone details for Kitchen...
75-
[2020-02-29T08:56:30Z INFO tado_exporter::tado::client] retrieving zone details for Living Room...
76-
[2020-02-29T08:56:30Z INFO tado_exporter::tado::client] retrieving zone details for Room...
77-
[2020-02-29T08:56:30Z INFO tado_exporter::tado::metrics] -> Office -> setting temperature (celsius): 23
78-
[2020-02-29T08:56:30Z INFO tado_exporter::tado::metrics] -> Office -> setting temperature (fahrenheit): 73.4
79-
[2020-02-29T08:56:30Z INFO tado_exporter::tado::metrics] -> Office -> sensor temperature (celsius): 23.75
80-
[2020-02-29T08:56:30Z INFO tado_exporter::tado::metrics] -> Office -> sensor temperature (fahrenheit): 74.75
81-
[2020-02-29T08:56:30Z INFO tado_exporter::tado::metrics] -> Office -> sensor humidity: 40.1%
82-
[2020-02-29T08:56:30Z INFO tado_exporter::tado::metrics] -> Office -> heating power: 38%
83-
[2020-02-29T08:56:30Z INFO tado_exporter::tado::metrics] -> Kitchen -> setting temperature (celsius): 22
84-
[2020-02-29T08:56:30Z INFO tado_exporter::tado::metrics] -> Kitchen -> setting temperature (fahrenheit): 71.6
85-
[2020-02-29T08:56:30Z INFO tado_exporter::tado::metrics] -> Kitchen -> sensor temperature (celsius): 22.03
86-
[2020-02-29T08:56:30Z INFO tado_exporter::tado::metrics] -> Kitchen -> sensor temperature (fahrenheit): 71.65
87-
[2020-02-29T08:56:30Z INFO tado_exporter::tado::metrics] -> Kitchen -> sensor humidity: 42.7%
88-
[2020-02-29T08:56:30Z INFO tado_exporter::tado::metrics] -> Kitchen -> heating power: 0%
89-
[2020-02-29T08:56:30Z INFO tado_exporter::tado::metrics] -> Living Room -> setting temperature (celsius): 22
90-
[2020-02-29T08:56:30Z INFO tado_exporter::tado::metrics] -> Living Room -> setting temperature (fahrenheit): 71.6
91-
[2020-02-29T08:56:30Z INFO tado_exporter::tado::metrics] -> Living Room -> sensor temperature (celsius): 22.49
92-
[2020-02-29T08:56:30Z INFO tado_exporter::tado::metrics] -> Living Room -> sensor temperature (fahrenheit): 72.48
93-
[2020-02-29T08:56:30Z INFO tado_exporter::tado::metrics] -> Living Room -> sensor humidity: 42.2%
94-
[2020-02-29T08:56:30Z INFO tado_exporter::tado::metrics] -> Living Room -> heating power: 0%
95-
[2020-02-29T08:56:30Z INFO tado_exporter::tado::metrics] -> Room -> setting temperature (celsius): 20
96-
[2020-02-29T08:56:30Z INFO tado_exporter::tado::metrics] -> Room -> setting temperature (fahrenheit): 68
97-
[2020-02-29T08:56:30Z INFO tado_exporter::tado::metrics] -> Room -> sensor temperature (celsius): 21.42
98-
[2020-02-29T08:56:30Z INFO tado_exporter::tado::metrics] -> Room -> sensor temperature (fahrenheit): 70.56
99-
[2020-02-29T08:56:30Z INFO tado_exporter::tado::metrics] -> Room -> sensor humidity: 45.8%
100-
[2020-02-29T08:56:30Z INFO tado_exporter::tado::metrics] -> Room -> heating power: 0%
71+
[2025-07-01T10:28:03Z INFO tado_exporter] starting tado° exporter on address: 0.0.0.0:9898
72+
[2025-07-01T10:28:03Z INFO tado_exporter::tado::client] Started device authentication flow with URL https://login.tado.com/oauth2/device?user_code=PTZ9BQ
73+
[2025-07-01T10:28:03Z INFO tado_exporter::tado::client] Device authentication flow still pending, will retry
74+
[2025-07-01T10:28:08Z INFO tado_exporter::tado::client] Device authentication flow still pending, will retry
10175
...
10276
```
10377

78+
At this point you will need to visit the provided URL (in this case, `https://login.tado.com/oauth2/device?user_code=PTZ9BQ`) in your browser and login to authorise the exporter on your behalf.
79+
80+
Once that is done, then exporting should begin:
81+
82+
```
83+
[2025-07-01T10:30:44Z INFO tado_exporter::tado::client] Device authentication flow completed
84+
[2025-07-01T10:30:44Z INFO tado_exporter] waiting for the first tick in 10 seconds...
85+
[2025-07-01T10:30:54Z INFO tado_exporter::tado::client] retrieving zone details for Study...
86+
[2025-07-01T10:30:54Z INFO tado_exporter::tado::client] retrieving zone details for Entrance Hall...
87+
[2025-07-01T10:30:54Z INFO tado_exporter::tado::client] retrieving zone details for Master Bedroom...
88+
[2025-07-01T10:30:54Z INFO tado_exporter::tado::client] retrieving zone details for Living Room...
89+
```
90+
10491
Once the exporter is running, you also have to update your `prometheus.yml` configuration to let it scrape the exporter:
10592

10693
```yaml

0 commit comments

Comments
 (0)