HASwitchPlate / openHASP

HomeAutomation Switchplate based on lvgl for ESP32
https://www.openhasp.com
MIT License
695 stars 179 forks source link

CrowPanel 7 Inch support. #684

Closed WarC0zes closed 4 months ago

WarC0zes commented 6 months ago

Hi, Can you add support for it's ESP WZ8048C070 ?

https://www.elecrow.com/esp32-display-7-inch-hmi-display-rgb-tft-lcd-touch-screen-support-lvgl.html

Specification:

Model: 7.0 inch -CrowPanel ESP32 display Main Processor: ESP32-S3-WROOM-1-N4R8 Resolution: 800*480 Flash: 4MB PSRAM: 8MB

I use these settings and the screen works fine with 0.7.0rc8 version. I haven't tried the latest 0.7.0rc11.

settings: https://github.com/HASwitchPlate/openHASP/discussions/559 https://github.com/HASwitchPlate/openHASP/discussions/559#discussioncomment-7922944

openHASP
--
Version | 0.7.0-rc8 6cf4262
Build DateTime | Nov 22 2023 07:15:32 UTC
Environment | elecrow-s3-8048C070_4MB
Uptime | 25d 6h 30m 7s
Idle | long
Active Page | 1

Free Heap | 102.28 KiB
Free Block | 91.98 KiB
Fragmentation | 10%
PSRam Free | 7.16 MiB
PSRam Size | 7.99 MiB

Total | 64.00 KiB
Free | 24.79 KiB
Fragmentation | 4%

Server | 192.168.1.xx
Username | plate01
Client ID | plate01_8d2cd8
Status | Connected
Received | 220771
Published | 19713
Failed

BSSID | 2C:xxxxxxxxxx
SSID | Livebox-xxxx
Signal Strength | -69dBm (Weak)
IP Address | 192.168.1.62
Gateway | 192.168.1.1
DNS Server | 192.168.1.1
MAC Address | EC:xxxxxxxxx

Model | ESP32-S3 rev0
Frequency | 240MHz
Core Version | 4.4.5.230722
Reset Reason | CPU0: POWERON_RESET / CPU1: POWERON_RESET
Flash Size | 4.00 MiB
Program Size Used | 1.59 MiB
Program Size Free | 1.68 MiB
Filesystem Size | 560.00 KiB
Filesystem Used | 12.00 KiB
Filesystem Free | 548.00 KiB
fvanroie commented 5 months ago

This board has now been added to https://nightly.openhasp.com/

WarC0zes commented 5 months ago

Hi, I updated via OTA ( 0.7.0-rc8 to 0.7.0-rc12). During the update, the screen was shaking but it's good. I'm going to do more in-depth testing, but for now it's working well.

image image

image

Thank you very much for the addition, I'm so happy.

WarC0zes commented 5 months ago

I don't see the option for Wireguard. I don't use Wireguard, it doesn't bother me.

Crowpanel 7inch 0.7.0-rc12 image

Sunton 7inch 0.7.0-rc11 image

fvanroie commented 5 months ago

It's a compile time option that's disabled now by default as it hasn't been well tested. If you need WireGuard you can enable it when compiling.

WarC0zes commented 5 months ago

It's a compile time option that's disabled now by default as it hasn't been well tested. If you need WireGuard you can enable it when compiling.

I thought it was a bug. No worries, I don't use wireguard ;-)

smcgann99 commented 5 months ago

@fvanroie Have you tested the 7" screen yet, interested to see if its better than the sunton ?

WarC0zes commented 5 months ago

@smcgann99, I have both, a 7 inch sunton and 7 inch elecrow. The Elecrow only has 4MB of flash compared to 16MB on the Sunton. Afterwards they both work as well as the other for me.

The sunton I tinkered with to stabilize the wifi, I don't know if there has been a fix since.

the elecrow is good for the box, if you don't have a 3D printer