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
| ## | |
| ## My back door screen. | |
| ## ESPHome + LVGL running on | |
| ## Freenove ESP32-S3 ESP32 S3 Display CYD 2.8 Inch IPS Capacitive Touch Screen 240x320 | |
| ## https://www.amazon.com/dp/B0FSQF6FKN | |
| ## | |
| ## This was based on the configuration found | |
| ## https://github.com/celer/esphome_esp32-s3-2.8-display | |
| ## |
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
| function time { | |
| Param( | |
| [Parameter(Mandatory=$true)] | |
| [string]$command, | |
| [switch]$quiet = $false | |
| ) | |
| $start = Get-Date | |
| try { | |
| if ( -not $quiet ) { | |
| iex $command | Write-Host |
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
| INFO ESPHome 2023.6.4 | |
| INFO Reading configuration /config/esphome/guest-time-temp-esp32.yaml... | |
| INFO Detected timezone 'America/Chicago' | |
| INFO Generating C++ source... | |
| INFO Compiling app... | |
| Processing guest-time-temp-esp32 (board: esp32dev; framework: arduino; platform: platformio/espressif32@5.3.0) | |
| -------------------------------------------------------------------------------- | |
| Library Manager: Installing esphome/AsyncTCP-esphome @ 1.2.2 | |
| INFO Installing esphome/AsyncTCP-esphome @ 1.2.2 | |
| Downloading [####################################] 100% |
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
| Notes for my video https://www.youtube.com/watch?v=DFZDAL6lVSU | |
| apk add --update openrc openssh | |
| rc-update add sshd | |
| service sshd start | |
| adduser kevin | |
| apk add sudo | |
| vi /etc/sudoers |
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
| // | |
| // This is part of 4 files. Make sure you have the whole set | |
| // tft-office.yaml https://gist.github.com/kdorff/363cc20a26fddf7a3dea6fabbcd04805 | |
| // display-panel.h https://gist.github.com/kdorff/5c26fb21c573e4309da2587aa6e9b5d3 | |
| // display-touch-panel.h https://gist.github.com/kdorff/78d45057ee7a1aaf92f839f576c99e0b | |
| // tft-room-time-temp.h https://gist.github.com/kdorff/811f86b33bf8b63050dce7e91d70cac8 | |
| // | |
| #include "esphome.h" | |
| #include <vector> |
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
| // | |
| // This is part of 4 files. Make sure you have the whole set | |
| // tft-office.yaml https://gist.github.com/kdorff/363cc20a26fddf7a3dea6fabbcd04805 | |
| // display-panel.h https://gist.github.com/kdorff/5c26fb21c573e4309da2587aa6e9b5d3 | |
| // display-touch-panel.h https://gist.github.com/kdorff/78d45057ee7a1aaf92f839f576c99e0b | |
| // tft-room-time-temp.h https://gist.github.com/kdorff/811f86b33bf8b63050dce7e91d70cac8 | |
| // | |
| #include "esphome.h" | |
| #include <vector> |
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
| // | |
| // This is part of 4 files. Make sure you have the whole set | |
| // tft-office.yaml https://gist.github.com/kdorff/363cc20a26fddf7a3dea6fabbcd04805 | |
| // display-panel.h https://gist.github.com/kdorff/5c26fb21c573e4309da2587aa6e9b5d3 | |
| // display-touch-panel.h https://gist.github.com/kdorff/78d45057ee7a1aaf92f839f576c99e0b | |
| // tft-room-time-temp.h https://gist.github.com/kdorff/811f86b33bf8b63050dce7e91d70cac8 | |
| // | |
| // For sprintf calls. | |
| char buffer[25]; |
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
| ## | |
| ## This is part of 4 files. Make sure you have the whole set | |
| ## tft-office.yaml https://gist.github.com/kdorff/363cc20a26fddf7a3dea6fabbcd04805 | |
| ## display-panel.h https://gist.github.com/kdorff/5c26fb21c573e4309da2587aa6e9b5d3 | |
| ## display-touch-panel.h https://gist.github.com/kdorff/78d45057ee7a1aaf92f839f576c99e0b | |
| ## tft-room-time-temp.h https://gist.github.com/kdorff/811f86b33bf8b63050dce7e91d70cac8 | |
| ## | |
| ## | |
| ## I'm testing connecting the ESP32 to the 2.8" ili9341 TFT |
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
| ## | |
| ## ESPHome configuration for led-and-key1-esp32 | |
| ## * LED0 is lit if the back door autolock is enabled | |
| ## * LED1 is lit if the front door autolock is enabled | |
| ## * .. | |
| ## * BUTTON0 toggles the back door autolock enable | |
| ## * BUTTON1 toggles the front door autolock enable | |
| ## * ... | |
| ## * BUTTON6 will decrease the intensity | |
| ## * BUTTON7 will decrease the intensity |
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
| ## | |
| ## My latest version targets the ESP32. See the code at | |
| ## https://gist.github.com/kdorff/396a11b5bb29142f09c1f52242c546e5 | |
| ## | |
| ## ESPHome configuration for led-and-key1 | |
| ## * LED0 is lit if the back door autolock is enabled | |
| ## * LED1 is lit if the front door autolock is enabled | |
| ## * .. | |
| ## * BUTTON0 toggles the back door autolock enable | |
| ## * BUTTON1 toggles the front door autolock enable |
NewerOlder