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
| #!/usr/bin/env python3 | |
| import requests | |
| import json | |
| import sys | |
| from datetime import datetime | |
| import calendar | |
| import pathlib | |
| import time | |
| import pickle | |
| import html |
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
| # Example from YouTube video: https://www.youtube.com/watch?v=XIY1xOzM3fs | |
| # Push Button, Status LEDs, Analog Input (FSR Sensor), Air Quality Sensor, Distance Sensor | |
| ### START - Update this section with relevant details ### | |
| substitutions: | |
| device_name: "device-name-here" | |
| friendly_name: Device Name Here | |
| board_type: d1_mini |
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
| ### START - Update this section with relevant details ### | |
| substitutions: | |
| device_name: "device-name-here" | |
| friendly_name: Device Name Here | |
| board_type: d1_mini | |
| # ESPHome API used by Home Assistant, etc | |
| # If you go to this page it generates one for you automatically! |
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
| ### START - Update this section with relevant details ### | |
| substitutions: | |
| device_name: "device-name-here" | |
| friendly_name: Device Name Here | |
| board_type: esp32dev | |
| framework: esp-idf # arduino or esp-idf (recommended for ESP32) | |
| # ESPHome API used by Home Assistant, etc |