Skip to content

Commit 427051c

Browse files
author
brentru
committed
add instructions for obtaining the weather service ID into the example
1 parent 9b95cc7 commit 427051c

File tree

1 file changed

+4
-1
lines changed

1 file changed

+4
-1
lines changed

examples/adafruit_io_simpletest_weather.py

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -51,7 +51,10 @@
5151
io = RESTClient(ADAFRUIT_IO_USER, ADAFRUIT_IO_KEY, wifi)
5252

5353
# Weather Location ID
54-
location_id = 2127
54+
# (to obtain this value, visit
55+
# https://io.adafruit.com/services/weather
56+
# and copy over the location ID)
57+
location_id = 1234
5558

5659
print('Getting weather record from IO...')
5760
# Get the specified weather record with current weather

0 commit comments

Comments
 (0)