This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| import time | |
| import wifi | |
| import socketpool | |
| import wifi | |
| import mdns | |
| from adafruit_httpserver import (GET, JSONResponse, Request, Server) | |
| WIFI_SSID = "your-wifi" | |
| WIFI_PASSWORD = "your-password" | |
| POLL_INTERVAL_S = 31 |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| EOM |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| # SPDX-FileCopyrightText: 2023 anecdata | |
| # | |
| # SPDX-License-Identifier: MIT | |
| import time | |
| import traceback | |
| import supervisor | |
| import os | |
| import rtc | |
| import espnow |