Code: Select all
Supla::LittleFsConfig configSupla(2000);Code: Select all
Supla::LittleFsConfig configSupla(2000);Ja wcześniej wgrywalem na te wemosy i wszystko działało.klew wrote: Sat Oct 11, 2025 3:59 pm Zmień moduł na jakiś generic i wtedy zobacz opcje. Tutaj jest jakiś "fs", ale nie wiem co on oznacza. Pewnie trzeba by znaleźć jakąś dokumentację.
Coś mogło się zmienić w boardach ESP - aktualizowałeś je? Może masz automatyczną aktualizację?nebraska wrote: Sat Oct 11, 2025 4:04 pmJa wcześniej wgrywalem na te wemosy i wszystko działało.klew wrote: Sat Oct 11, 2025 3:59 pm Zmień moduł na jakiś generic i wtedy zobacz opcje. Tutaj jest jakiś "fs", ale nie wiem co on oznacza. Pewnie trzeba by znaleźć jakąś dokumentację.
Od strony Supli coś się zmieniło?
No to wszystko jasneRobert Błaszczak wrote: Sat Oct 11, 2025 4:10 pm Ty masz D1 mini Lite z 1MB pamięci FLASH, stąd zapewne problem.
Chyba Robert ma racje to by było naj logiczniejsze, mimo że mam wybite 4mb na płycie ale jak to chińczyk może w środku jest 1mbRobert Błaszczak wrote: Sat Oct 11, 2025 4:10 pm Ty masz D1 mini Lite z 1MB pamięci FLASH, stąd zapewne problem.
https://www.wemos.cc/en/latest/d1/d1_mini_lite.html
Code: Select all
ConfigTypesBitmap: Set config type 0 to 1
ConfigTypesBitmap: Set config type 0 to 1
Button[2] setHoldTime: 1000
Button[2] setMulticlickTime: 800
Button[2]::configureAsConfigButton
Button[2] setHoldTime: 5000
Button[2] setMulticlickTime: 300
Button[0] setHoldTime: 1000
Button[0] setMulticlickTime: 300
Button[1] setHoldTime: 1000
Button[1] setMulticlickTime: 300
Button[2]::configureAsConfigButton
Button[2] setHoldTime: 5000
Button[2] setMulticlickTime: 300
*** Supla - starting initialization (platform 0)
SD: add flag DEVICE_CONFIG_SUPPORTED
SD: add flag CALCFG_RESTART_DEVICE
Storage initialization
readStorage: 8; Read: [53 55 50 4C 41 1 0 1 ]
Storage: Number of sections 1
Reading section: 0
readStorage: 7; Read: [3 E 0 BF E BF E ]
Section type: 3; size: 14
storedCRC 3775, CRC calc 3775
LittleFsConfig: file "/supla-dev.cfg" size 153
LittleFsConfig: initializing storage from file...
LittleFsConfig: init result success
*** Supla - Config initalization
SD: add flag CALCFG_ENTER_CFG_MODE
SD: add flag CALCFG_FACTORY_RESET_SUPPORTED
Automatic firmware update is disabled
Device mode: 0
Config incomplete: missing Wi-Fi SSID
LAST STATE ADDED: Missing Wi-Fi SSID
Config incomplete: missing Wi-Fi password
LAST STATE ADDED: Missing Wi-Fi password
Config incomplete: missing server
Config incomplete: missing email
Security level: Supla CA
*** Supla - Config load for elements
SD: add flag CALCFG_IDENTIFY_DEVICE
RemoteDeviceConfig: Registering field 0x000000001
Channel[0] function missing. Using SW defaults
RS[0]: using default config
Channel[1] function missing. Using SW defaults
Button[0] setButtonType: monostable (0)
Button[0] setHoldTime: 1000
Button[0] enabling IN as config button
Button[1] setButtonType: monostable (0)
Button[1] setHoldTime: 1000
Button[1] enabling IN as config button
Button[2] don't load config
*** Supla - Config load for elements done
*** Supla - Load state storage
Validating storage state section with current device configuration
Storage state section validation successful
readStorage: 9; Read: [0 0 0 0 0 0 0 0 FF ]
RS[0] settings restored from storage. Opening time: 0 ms; closing time: 0 ms. Position: -1
readStorage: 4; Read: [0 0 0 0 ]
readStorage: 1; Read: [0 ]
*** Supla - Load state storage done
*** Supla - Init elements
**** Digital write[0], gpio: 4; value 0
**** Digital write[0], gpio: 5; value 0
Channel(0) value changed to -1
Relay[1] turn OFF (duration 0 ms)
**** Digital write[1], gpio: 12; value 0
Relay[1] turn OFF (duration 0 ms)
**** Digital write[1], gpio: 12; value 0
Button[0]: Initialized: pin 13, pullUp 1, invertLogic 1, state 1
Button[1]: Initialized: pin 14, pullUp 1, invertLogic 1, state 1
Button[2]: Initialized: pin 0, pullUp 1, invertLogic 1, state 1
*** Supla - Init elements done
Config incomplete: deviceMode = CONFIG
LAST STATE ADDED: Missing server address
Current status: [3] Missing server address
LAST STATE ADDED: Missing email address
Current status: [32] Missing email address
GUID: 201BB4750A43C648A4401839AC27198F
Device name: SUPLA-ESP8266
Device software version: SDK 25.08.01-dev
*** Supla - Initializing network layer
[Wi-Fi] Network AP/hostname: SUPLA-ESP8266-C45BBEDDB601
Using Supla protocol version 23
Current status: [5] SuplaDevice initialized
Disabling network setup, device work in offline mode
LAST STATE ADDED: Offline mode
Current status: [80] Offline mode
[Wi-Fi] setOfflineMode
*** Supla - Initialization done
Code: Select all
Config incomplete: deviceMode = CONFIG
LAST STATE ADDED: Missing server address
Current status: [3] Missing server address
LAST STATE ADDED: Missing email address
Current status: [32] Missing email address
GUID: 0E7C16F89D0A2DCD3DC2FD17A734E11B
Device name: SUPLA-ESP8266
Device software version: SDK 25.08.01-dev
*** Supla - Initializing network layer
[Wi-Fi] Network AP/hostname: SUPLA-ESP8266-C45BBEDDB601
Using Supla protocol version 23
Current status: [5] SuplaDevice initialized
Disabling network setup, device work in offline mode
LAST STATE ADDED: Offline mode
Current status: [80] Offline mode
[Wi-Fi] setOfflineMode
*** Supla - Initialization done