Commit graph

46 commits

Author SHA1 Message Date
Justin Myers
d7293e08e1 remove upgrade UP032 2024-03-23 09:58:31 -07:00
Justin Myers
76e5276bbc Add ruff upgrade 2024-03-23 09:32:42 -07:00
Justin Myers
95168b0a27 Add ruff lint 2024-03-23 09:13:40 -07:00
Justin Myers
f80941a068 Add ruff isort 2024-03-23 08:08:43 -07:00
Melissa LeBlanc-Williams
50ca742605 Add delete_io_data and expose io_client 2023-11-08 13:16:48 -08:00
Melissa LeBlanc-Williams
243b4e6216 Updated to work with settings.toml and secrets.py 2023-07-26 09:17:00 -07:00
Tekktrik
d595deb753 Linted per pre-commit 2023-05-11 08:46:07 -04:00
Tekktrik
7cb4811aca Run pre-commit 2023-05-10 22:41:48 -04:00
Melissa LeBlanc-Williams
49798b7228 Remove test message 2022-11-16 13:57:17 -08:00
Melissa LeBlanc-Williams
20428115a2 Fix status colors when getting time 2022-11-16 13:55:17 -08:00
Alec Delaney
ca05c021b6
Fix message checking equality 2022-09-04 00:38:27 -04:00
Alec Delaney
af5242bb25 Pass response via HttpError 2022-09-03 20:40:18 -04:00
Alec Delaney
1f23a16e18 Lazily parse secrets data 2022-08-25 18:31:03 -04:00
Alec Delaney
a7d8e5dc0b Update version string 2022-08-16 18:09:16 -04:00
Keith Schincke
ad5bfd48d2 Add is_connected property to NetworkBase class
NetworkBase.is_connected calls _wifi.is_connected which calls esp.is_connected
2022-08-14 19:40:35 -04:00
foamyguy
bcfaae874f
Merge pull request #70 from FoamyGuy/dont_require_secrets_if_no_network
Dont require secrets if no network
2022-04-25 10:12:50 -05:00
Alec Delaney
7166e56390 Add RuntimeError to except block 2022-04-18 18:47:05 -04:00
foamyguy
98ae744e70 add checks for network none and raise error if user attempting to use network features 2022-04-18 16:34:06 -05:00
Alec Delaney
bf326aaec2 Correct typo of "password" 2022-04-15 11:29:35 -04:00
Alec Delaney
a4bb40a282 Correct print state of network name 2022-04-15 11:28:54 -04:00
Alec Delaney
97a5fcb1af Allow for use of "networks" keyword for tring multiple network connections 2022-04-06 19:54:35 -04:00
Alec Delaney
ad4d7046e8 Try multiple wifi networks 2022-03-16 17:04:00 -04:00
Dan Halbert
17a8f45364
Merge pull request #64 from makermelissa/main
Update Connection Failure Exception to ConnectionError
2022-03-15 19:13:55 -04:00
Melissa LeBlanc-Williams
8c2119b295 Update Connection Failure Exception to ConnectionError 2022-03-15 15:55:06 -07:00
Univers 47
5b2e602360
Update network.py
Modify the `wget()` method to optionally allow sending request headers.
2022-03-02 22:01:50 -07:00
dherrada
8e0f193668 Linted 2021-11-05 02:41:46 -04:00
Melissa LeBlanc-Williams
0550f86b0f Linted 2021-07-14 14:39:44 -07:00
Melissa LeBlanc-Williams
0396e0a357 Added docstring for new param 2021-07-14 14:34:10 -07:00
Melissa LeBlanc-Williams
8780e56a35 Added a maximum number of attempts for connecting to WiFi 2021-07-14 14:29:45 -07:00
dherrada
795871ed6a Added access to metadata and precision arguments 2021-07-09 14:06:51 -04:00
James Carr
3a19ef8658 Remove max_size parameter 2021-07-02 13:20:02 +01:00
Zach Simpson
82eeece0a5 update docstrings to be proper type 2021-04-18 22:24:41 -04:00
Melissa LeBlanc-Williams
0194577f43 Better reuse of object with Adafruit IO 2021-04-02 15:10:18 -07:00
Melissa LeBlanc-Williams
e1c3ee9edf Actually return something with get_local_time 2021-03-16 08:19:24 -07:00
Melissa LeBlanc-Williams
f62a2abb30 get_local_time improvements 2021-03-15 18:12:54 -07:00
Melissa LeBlanc-Williams
3a9cb954e1 Raise Memory Error instead of restarting 2021-03-04 08:41:01 -08:00
Melissa LeBlanc-Williams
cdd19acd1b Remove gc.mem_free(), which is CircuitPython only 2021-02-12 12:50:21 -08:00
Melissa LeBlanc-Williams
9a47a9bb6b Make requested changes 2021-01-16 12:01:52 -08:00
Melissa LeBlanc-Williams
d15a11fe4d Change to allow passing in secrets in blinkapyportal 2021-01-15 11:36:45 -08:00
Melissa LeBlanc-Williams
d0a3f99dc3 Changes for the Blinka not having rtc or supervisor 2021-01-14 14:58:12 -08:00
Melissa LeBlanc-Williams
ee8add0447 Added function to add content type 2021-01-11 08:22:36 -08:00
Melissa LeBlanc-Williams
32d70ed977 Made suggested changes 2021-01-11 08:11:06 -08:00
Melissa LeBlanc-Williams
87c0cd722c Add change from Adafruit_CircuitPython_PyPortal/#97 2021-01-08 16:28:41 -08:00
Melissa LeBlanc-Williams
a61933c284 PortalBase refactoring to work with PyPortal better 2021-01-08 16:12:06 -08:00
slootsky
ce717a420e Make get_local_time use location parameter if it exists 2020-12-23 16:57:58 -05:00
Melissa LeBlanc-Williams
17e35fff4a Initial working version 2020-12-04 14:33:36 -08:00