mirror of
https://github.com/rstrouse/ESPSomfy-RTS.git
synced 2026-02-17 12:12:11 +01:00
feat: ajout du support Ethernet W5500 SPI
- Intégration du contrôleur Ethernet W5500 via SPI pour les cartes comme Waveshare ESP32-S3 POE - Configuration des pins SPI (MOSI, MISO, SCLK, CS, INT, RST) via l'interface web - Utilisation directe des APIs ESP-IDF pour le W5500 car la classe Arduino ETH ne supporte pas nativement ce contrôleur - Gestion manuelle du DHCP et DNS pour le W5500 - Protection des appels ETH Arduino quand W5500 est utilisé - Désactivation temporaire de la vérification OTA GitHub pour W5500 (problème de compatibilité HTTPClient) - Ajout des presets de cartes dans l'interface (Waveshare, etc.)
This commit is contained in:
parent
eb75868adb
commit
0e0a482afb
8 changed files with 616 additions and 49 deletions
|
|
@ -253,6 +253,8 @@ void GitRepo::toJSON(JsonResponse &json) {
|
|||
|
||||
void GitUpdater::loop() {
|
||||
if(!net.connected()) return;
|
||||
// Skip OTA check for W5500 - HTTPClient has issues without WiFi event groups
|
||||
if(settings.Ethernet.isSPIController()) return;
|
||||
if(this->status == GIT_STATUS_READY) {
|
||||
if(settings.checkForUpdate &&
|
||||
(millis() > net.connectTime + 60000) && // Wait a minute before checking after connection.
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue