Skip to content

Commit 66a5266

Browse files
author
brentru
committed
update adafruit_io -> aio in examples to work with secrets.py
1 parent 5d03fb4 commit 66a5266

10 files changed

+20
-20
lines changed

examples/adafruit_io_simpletest_analog_in.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -51,8 +51,8 @@
5151
# Set your Adafruit IO Username and Key in secrets.py
5252
# (visit io.adafruit.com if you need to create an account,
5353
# or if you need your Adafruit IO key.)
54-
ADAFRUIT_IO_USER = secrets['adafruit_io_user']
55-
ADAFRUIT_IO_KEY = secrets['adafruit_io_key']
54+
ADAFRUIT_IO_USER = secrets['aio_username']
55+
ADAFRUIT_IO_KEY = secrets['aio_key']
5656

5757
# Create an instance of the Adafruit IO REST client
5858
io = RESTClient(ADAFRUIT_IO_USER, ADAFRUIT_IO_KEY, wifi)

examples/adafruit_io_simpletest_data.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -48,8 +48,8 @@
4848
# Set your Adafruit IO Username and Key in secrets.py
4949
# (visit io.adafruit.com if you need to create an account,
5050
# or if you need your Adafruit IO key.)
51-
ADAFRUIT_IO_USER = secrets['adafruit_io_user']
52-
ADAFRUIT_IO_KEY = secrets['adafruit_io_key']
51+
ADAFRUIT_IO_USER = secrets['aio_username']
52+
ADAFRUIT_IO_KEY = secrets['aio_key']
5353

5454
# Create an instance of the Adafruit IO REST client
5555
io = RESTClient(ADAFRUIT_IO_USER, ADAFRUIT_IO_KEY, wifi)

examples/adafruit_io_simpletest_digital_out.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -49,8 +49,8 @@
4949
# Set your Adafruit IO Username and Key in secrets.py
5050
# (visit io.adafruit.com if you need to create an account,
5151
# or if you need your Adafruit IO key.)
52-
ADAFRUIT_IO_USER = secrets['adafruit_io_user']
53-
ADAFRUIT_IO_KEY = secrets['adafruit_io_key']
52+
ADAFRUIT_IO_USER = secrets['aio_username']
53+
ADAFRUIT_IO_KEY = secrets['aio_key']
5454

5555
# Create an instance of the Adafruit IO REST client
5656
io = RESTClient(ADAFRUIT_IO_USER, ADAFRUIT_IO_KEY, wifi)

examples/adafruit_io_simpletest_esp_at.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -59,8 +59,8 @@
5959
# Set your Adafruit IO Username and Key in secrets.py
6060
# (visit io.adafruit.com if you need to create an account,
6161
# or if you need your Adafruit IO key.)
62-
ADAFRUIT_IO_USER = secrets['adafruit_io_user']
63-
ADAFRUIT_IO_KEY = secrets['adafruit_io_key']
62+
ADAFRUIT_IO_USER = secrets['aio_username']
63+
ADAFRUIT_IO_KEY = secrets['aio_key']
6464

6565
# Create an instance of the Adafruit IO REST client
6666
io = RESTClient(ADAFRUIT_IO_USER, ADAFRUIT_IO_KEY, wifi)

examples/adafruit_io_simpletest_feeds.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -47,8 +47,8 @@
4747
# Set your Adafruit IO Username and Key in secrets.py
4848
# (visit io.adafruit.com if you need to create an account,
4949
# or if you need your Adafruit IO key.)
50-
ADAFRUIT_IO_USER = secrets['adafruit_io_user']
51-
ADAFRUIT_IO_KEY = secrets['adafruit_io_key']
50+
ADAFRUIT_IO_USER = secrets['aio_username']
51+
ADAFRUIT_IO_KEY = secrets['aio_key']
5252

5353
# Create an instance of the Adafruit IO REST client
5454
io = RESTClient(ADAFRUIT_IO_USER, ADAFRUIT_IO_KEY, wifi)

examples/adafruit_io_simpletest_groups.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -47,8 +47,8 @@
4747
# Set your Adafruit IO Username and Key in secrets.py
4848
# (visit io.adafruit.com if you need to create an account,
4949
# or if you need your Adafruit IO key.)
50-
ADAFRUIT_IO_USER = secrets['adafruit_io_user']
51-
ADAFRUIT_IO_KEY = secrets['adafruit_io_key']
50+
ADAFRUIT_IO_USER = secrets['aio_username']
51+
ADAFRUIT_IO_KEY = secrets['aio_key']
5252

5353
# Create an instance of the Adafruit IO REST client
5454
io = RESTClient(ADAFRUIT_IO_USER, ADAFRUIT_IO_KEY, wifi)

examples/adafruit_io_simpletest_metadata.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -48,8 +48,8 @@
4848
# Set your Adafruit IO Username and Key in secrets.py
4949
# (visit io.adafruit.com if you need to create an account,
5050
# or if you need your Adafruit IO key.)
51-
ADAFRUIT_IO_USER = secrets['adafruit_io_user']
52-
ADAFRUIT_IO_KEY = secrets['adafruit_io_key']
51+
ADAFRUIT_IO_USER = secrets['aio_username']
52+
ADAFRUIT_IO_KEY = secrets['aio_key']
5353

5454
# Create an instance of the Adafruit IO REST client
5555
io = RESTClient(ADAFRUIT_IO_USER, ADAFRUIT_IO_KEY, wifi)

examples/adafruit_io_simpletest_randomizer.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -49,8 +49,8 @@
4949
# Set your Adafruit IO Username and Key in secrets.py
5050
# (visit io.adafruit.com if you need to create an account,
5151
# or if you need your Adafruit IO key.)
52-
ADAFRUIT_IO_USER = secrets['adafruit_io_user']
53-
ADAFRUIT_IO_KEY = secrets['adafruit_io_key']
52+
ADAFRUIT_IO_USER = secrets['aio_username']
53+
ADAFRUIT_IO_KEY = secrets['aio_key']
5454

5555
# Create an instance of the Adafruit IO REST client
5656
io = RESTClient(ADAFRUIT_IO_USER, ADAFRUIT_IO_KEY, wifi)

examples/adafruit_io_simpletest_temperature.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -56,8 +56,8 @@
5656
# Set your Adafruit IO Username and Key in secrets.py
5757
# (visit io.adafruit.com if you need to create an account,
5858
# or if you need your Adafruit IO key.)
59-
ADAFRUIT_IO_USER = secrets['adafruit_io_user']
60-
ADAFRUIT_IO_KEY = secrets['adafruit_io_key']
59+
ADAFRUIT_IO_USER = secrets['aio_username']
60+
ADAFRUIT_IO_KEY = secrets['aio_key']
6161

6262
# Create an instance of the Adafruit IO REST client
6363
io = RESTClient(ADAFRUIT_IO_USER, ADAFRUIT_IO_KEY, wifi)

examples/adafruit_io_simpletest_weather.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -50,8 +50,8 @@
5050
# Set your Adafruit IO Username and Key in secrets.py
5151
# (visit io.adafruit.com if you need to create an account,
5252
# or if you need your Adafruit IO key.)
53-
ADAFRUIT_IO_USER = secrets['adafruit_io_user']
54-
ADAFRUIT_IO_KEY = secrets['adafruit_io_key']
53+
ADAFRUIT_IO_USER = secrets['aio_username']
54+
ADAFRUIT_IO_KEY = secrets['aio_key']
5555

5656
# Create an instance of the Adafruit IO REST client
5757
io = RESTClient(ADAFRUIT_IO_USER, ADAFRUIT_IO_KEY, wifi)

0 commit comments

Comments
 (0)