Skip to content

Commit 2ff1a79

Browse files
brentrubrentru
authored andcommitted
secrets only
1 parent e9c32d8 commit 2ff1a79

8 files changed

+32
-32
lines changed

examples/adafruit_io_simpletest_data.py

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -12,11 +12,11 @@
1212
# Import Adafruit IO REST Client
1313
from adafruit_io.adafruit_io import RESTClient, AdafruitIO_RequestError
1414

15-
# Get wifi details and more from a esp32spi_secrets.py.py file
15+
# Get wifi details and more from a secrets.py file
1616
try:
17-
from esp32spi_secrets import secrets
17+
from secrets import secrets
1818
except ImportError:
19-
print("WiFi secrets are kept in esp32spi_secrets.py, please add them there!")
19+
print("WiFi secrets are kept in secrets.py, please add them there!")
2020
raise
2121

2222
# ESP32 Setup
@@ -38,7 +38,7 @@
3838
wifi = adafruit_esp32spi_wifimanager.ESPSPI_WiFiManager(esp, secrets, board.NEOPIXEL)
3939
"""
4040

41-
# Set your Adafruit IO Username and Key in esp32spi_secrets.py
41+
# Set your Adafruit IO Username and Key in secrets.py
4242
# (visit io.adafruit.com if you need to create an account,
4343
# or if you need your Adafruit IO key.)
4444
ADAFRUIT_IO_USER = secrets['adafruit_io_user']

examples/adafruit_io_simpletest_digital_out.py

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -13,11 +13,11 @@
1313
# Import Adafruit IO REST Client
1414
from adafruit_io.adafruit_io import RESTClient, AdafruitIO_RequestError
1515

16-
# Get wifi details and more from a esp32spi_secrets.py file
16+
# Get wifi details and more from a secrets.py file
1717
try:
18-
from esp32spi_secrets import secrets
18+
from secrets import secrets
1919
except ImportError:
20-
print("WiFi secrets are kept in esp32spi_secrets.py, please add them there!")
20+
print("WiFi secrets are kept in secrets.py, please add them there!")
2121
raise
2222

2323
# ESP32 Setup
@@ -39,7 +39,7 @@
3939
wifi = adafruit_esp32spi_wifimanager.ESPSPI_WiFiManager(esp, secrets, board.NEOPIXEL)
4040
"""
4141

42-
# Set your Adafruit IO Username and Key in esp32spi_secrets.py
42+
# Set your Adafruit IO Username and Key in secrets.py
4343
# (visit io.adafruit.com if you need to create an account,
4444
# or if you need your Adafruit IO key.)
4545
ADAFRUIT_IO_USER = secrets['adafruit_io_user']

examples/adafruit_io_simpletest_feeds.py

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -11,11 +11,11 @@
1111
# Import Adafruit IO REST Client
1212
from adafruit_io.adafruit_io import RESTClient
1313

14-
# Get wifi details and more from a esp32spi_secrets.py file
14+
# Get wifi details and more from a secrets.py file
1515
try:
16-
from esp32spi_secrets import secrets
16+
from secrets import secrets
1717
except ImportError:
18-
print("WiFi secrets are kept in esp32spi_secrets.py, please add them there!")
18+
print("WiFi secrets are kept in secrets.py, please add them there!")
1919
raise
2020

2121
# ESP32 Setup
@@ -37,7 +37,7 @@
3737
wifi = adafruit_esp32spi_wifimanager.ESPSPI_WiFiManager(esp, secrets, board.NEOPIXEL)
3838
"""
3939

40-
# Set your Adafruit IO Username and Key in esp32spi_secrets.py
40+
# Set your Adafruit IO Username and Key in secrets.py
4141
# (visit io.adafruit.com if you need to create an account,
4242
# or if you need your Adafruit IO key.)
4343
ADAFRUIT_IO_USER = secrets['adafruit_io_user']

examples/adafruit_io_simpletest_groups.py

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -11,11 +11,11 @@
1111
# Import Adafruit IO REST Client
1212
from adafruit_io.adafruit_io import RESTClient
1313

14-
# Get wifi details and more from a esp32spi_secrets.py file
14+
# Get wifi details and more from a secrets.py file
1515
try:
16-
from esp32spi_secrets import secrets
16+
from secrets import secrets
1717
except ImportError:
18-
print("WiFi secrets are kept in esp32spi_secrets.py, please add them there!")
18+
print("WiFi secrets are kept in secrets.py, please add them there!")
1919
raise
2020

2121

@@ -38,7 +38,7 @@
3838
wifi = adafruit_esp32spi_wifimanager.ESPSPI_WiFiManager(esp, secrets, board.NEOPIXEL)
3939
"""
4040

41-
# Set your Adafruit IO Username and Key in esp32spi_secrets.py
41+
# Set your Adafruit IO Username and Key in secrets.py
4242
# (visit io.adafruit.com if you need to create an account,
4343
# or if you need your Adafruit IO key.)
4444
ADAFRUIT_IO_USER = secrets['adafruit_io_user']

examples/adafruit_io_simpletest_metadata.py

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -12,11 +12,11 @@
1212
# Import Adafruit IO REST Client
1313
from adafruit_io.adafruit_io import RESTClient, AdafruitIO_RequestError
1414

15-
# Get wifi details and more from a esp32spi_secrets.py file
15+
# Get wifi details and more from a secrets.py file
1616
try:
17-
from esp32spi_secrets import secrets
17+
from secrets import secrets
1818
except ImportError:
19-
print("WiFi secrets are kept in esp32spi_secrets.py, please add them there!")
19+
print("WiFi secrets are kept in secrets.py, please add them there!")
2020
raise
2121

2222
# ESP32 Setup
@@ -38,7 +38,7 @@
3838
wifi = adafruit_esp32spi_wifimanager.ESPSPI_WiFiManager(esp, secrets, board.NEOPIXEL)
3939
"""
4040

41-
# Set your Adafruit IO Username and Key in esp32spi_secrets.py
41+
# Set your Adafruit IO Username and Key in secrets.py
4242
# (visit io.adafruit.com if you need to create an account,
4343
# or if you need your Adafruit IO key.)
4444
ADAFRUIT_IO_USER = secrets['adafruit_io_user']

examples/adafruit_io_simpletest_randomizer.py

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -13,11 +13,11 @@
1313
# Import Adafruit IO REST Client
1414
from adafruit_io.adafruit_io import RESTClient
1515

16-
# Get wifi details and more from a esp32spi_secrets.py file
16+
# Get wifi details and more from a secrets.py file
1717
try:
18-
from esp32spi_secrets import secrets
18+
from secrets import secrets
1919
except ImportError:
20-
print("WiFi secrets are kept in esp32spi_secrets.py, please add them there!")
20+
print("WiFi secrets are kept in secrets.py, please add them there!")
2121
raise
2222

2323
# ESP32 Setup
@@ -39,7 +39,7 @@
3939
wifi = adafruit_esp32spi_wifimanager.ESPSPI_WiFiManager(esp, secrets, board.NEOPIXEL)
4040
"""
4141

42-
# Set your Adafruit IO Username and Key in esp32spi_secrets.py
42+
# Set your Adafruit IO Username and Key in secrets.py
4343
# (visit io.adafruit.com if you need to create an account,
4444
# or if you need your Adafruit IO key.)
4545
ADAFRUIT_IO_USER = secrets['adafruit_io_user']

examples/adafruit_io_simpletest_temperature.py

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -20,11 +20,11 @@
2020
# Import ADT7410 Library
2121
import adafruit_adt7410
2222

23-
# Get wifi details and more from a esp32spi_secrets.py file
23+
# Get wifi details and more from a secrets.py file
2424
try:
25-
from esp32spi_secrets import secrets
25+
from secrets import secrets
2626
except ImportError:
27-
print("WiFi secrets are kept in esp32spi_secrets.py, please add them there!")
27+
print("WiFi secrets are kept in secrets.py, please add them there!")
2828
raise
2929

3030
# ESP32 Setup
@@ -46,7 +46,7 @@
4646
wifi = adafruit_esp32spi_wifimanager.ESPSPI_WiFiManager(esp, secrets, board.NEOPIXEL)
4747
"""
4848

49-
# Set your Adafruit IO Username and Key in esp32spi_secrets.py
49+
# 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.)
5252
ADAFRUIT_IO_USER = secrets['adafruit_io_user']

examples/adafruit_io_simpletest_weather.py

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -14,11 +14,11 @@
1414
# Import Adafruit IO REST Client
1515
from adafruit_io.adafruit_io import RESTClient
1616

17-
# Get wifi details and more from a esp32spi_secrets.py file
17+
# Get wifi details and more from a secrets.py file
1818
try:
19-
from esp32spi_secrets import secrets
19+
from secrets import secrets
2020
except ImportError:
21-
print("WiFi secrets are kept in esp32spi_secrets.py, please add them there!")
21+
print("WiFi secrets are kept in secrets.py, please add them there!")
2222
raise
2323

2424

@@ -41,7 +41,7 @@
4141
wifi = adafruit_esp32spi_wifimanager.ESPSPI_WiFiManager(esp, secrets, board.NEOPIXEL)
4242
"""
4343

44-
# Set your Adafruit IO Username and Key in esp32spi_secrets.py
44+
# Set your Adafruit IO Username and Key in secrets.py
4545
# (visit io.adafruit.com if you need to create an account,
4646
# or if you need your Adafruit IO key.)
4747
ADAFRUIT_IO_USER = secrets['adafruit_io_user']

0 commit comments

Comments
 (0)