HVAC problem z inicjacją

User avatar
Bania
Posts: 27
Joined: Wed Jul 24, 2024 5:03 pm
Location: Bielsko-Biała

Post

Cześć, w Supla v24.11.4 kanał HVAC inicjuje się bez problemu, jednak w v25.1.3 nie może synchronizować zegara, zmienić nazwę kanału oraz dodać czujnik temperatur (setMainThermometerChannelNo). Ktoś też ma taki problem? Pozdrawiam
User avatar
klew
Posts: 10693
Joined: Thu Jun 27, 2019 12:16 pm
Location: Wrocław

Post

Jaki masz soft na urządzeniu?
Jak serwer? Prywatny, czy oficjalny?
Logi z urządzenia masz zebrane?
User avatar
Bania
Posts: 27
Joined: Wed Jul 24, 2024 5:03 pm
Location: Bielsko-Biała

Post

Soft własny. MCU ESP8266. Serwer svr106.supla.org

Code: Select all

*** Supla - Initializing network layer
[Wi-Fi] Network AP/hostname: SUPLA-ESP8266-********
Using Supla protocol version 23
Current status: [5] SuplaDevice initialized
Enter normal mode
 *** Supla - Initialization done
WiFi: establishing connection with SSID: "**********"
Connected BSSID: **********
local IP: 192.168.1.4
subnetMask: 255.255.255.0
gatewayIP: 192.168.1.1
Signal strength (RSSI): -68 dBm
Establishing encrypted connection with: svr106.supla.org (port: 2016)
Waiting for NTP time sync
Connected via IP 192.168.1.4
Connected to Supla Server
Initializing SRPC (proto: 23)
LAST STATE ADDED: Register in progress (12)
Current status: [10] Register in progress
Device registered (activity timeout 120 s, server version: 26, server min version: 1)
LAST STATE ADDED: Registered and ready (19)
Current status: [17] Registered and ready
Z tego co zauważyłem to wchodzi w pętle reset -> inicjacja -> reset. Widać też w aplikacji, że urządzenie się resetuje (kanały na czerwono). Ten sam program, w wersji v24.11.4 działa bez problemu niemal od razu pobiera kanał od temperatury oraz synchronizuje zegar. W wersji v25.1.3 nie może pobrać temperatury z kanału (jest wyświetlone ---), jest żółty trójkąt z informacją błędu zegara, nawet po czasie 10 minut.
User avatar
klew
Posts: 10693
Joined: Thu Jun 27, 2019 12:16 pm
Location: Wrocław

Post

Zbierz proszę pełne logi, aby było tam widać cały start, reset i kolejny start
User avatar
Bania
Posts: 27
Joined: Wed Jul 24, 2024 5:03 pm
Location: Bielsko-Biała

Post

Code: Select all

�D��q�	�jgQd�dButton[0]::configureAsConfigButton
Button[0]::setHoldTime: 5000
Button[0]::setMulticlickTime: 300
Channel[0] initial caption set to 'Temperatura 1'
Channel[1] initial caption set to 'Termostat 1'
Hvac[1]: setMainThermometerChannelNo 0
Channel[2] initial caption set to 'Temperatura 2'
Channel[3] initial caption set to 'Termostat 2'
Hvac[3]: setMainThermometerChannelNo 2
 *** Supla - starting initialization (platform 0)
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 3A 0 50 78 50 78 ]
Section type: 3; size: 58
storedCRC 30800, CRC calc 30800
LittleFsConfig: file "/supla-dev.cfg" size 540
LittleFsConfig: initializing storage from file...
LittleFsConfig: init result success
 *** Supla - Config initalization
Device mode: 0
Security level: Supla CA
 *** Supla - Config load for elements
RemoteDeviceConfig: Registering field 0x00000001
Button[0]::onLoadConfig: skip
Channel[0] temperature correction 0.00
Channel[0] humidity correction 0.00
Channel[1] loaded function: 420
HVAC[1]: config in storage:
HVAC[1]:
  Master thermostat: -1
  Heat or cold source switch channel: -1
  Pump switch channel: -1
  Temperatures:
    Room min limit: 500
    Room max limit: 4000
    Aux min limit: 500
    Aux max limit: 7500
    Histeresis min limit: 20
    Histeresis max limit: 1000
    Heat cool offset min limit: 200
    Heat cool offset max limit: 1000
HVAC[1]: config loaded successfully
HVAC Program[0], mode 2, tHeat 1900, tCool 0
HVAC Program[1], mode 2, tHeat 2100, tCool 0
HVAC Program[2], mode 2, tHeat 3000, tCool 0
HVAC Program[3], mode 2, tHeat 1200, tCool 0
HVAC Program[0], mode 3, tHeat 0, tCool 2400
HVAC Program[1], mode 3, tHeat 0, tCool 2100
HVAC Program[2], mode 3, tHeat 0, tCool 1800
HVAC Program[3], mode 3, tHeat 0, tCool 2800
HVAC[1]: config changed offline flag is set
HVAC[1]: weekly schedule config changed offline flag 0
Channel[2] temperature correction 0.00
Channel[2] humidity correction 0.00
Channel[3] loaded function: 420
LittleFsConfig: failed to open blob file "3_hvac_cfg" for read
HVAC[3]: config missing. Using SW defaults
HVAC[3]: config missing. Using SW defaults
HVAC Program[0], mode 2, tHeat 1900, tCool 0
HVAC Program[1], mode 2, tHeat 2100, tCool 0
HVAC Program[2], mode 2, tHeat 3000, tCool 0
HVAC Program[3], mode 2, tHeat 1200, tCool 0
HVAC Program[0], mode 3, tHeat 0, tCool 2400
HVAC Program[1], mode 3, tHeat 0, tCool 2100
HVAC Program[2], mode 3, tHeat 0, tCool 1800
HVAC Program[3], mode 3, tHeat 0, tCool 2800
HVAC[3]: weekly schedule config changed offline flag 0
RemoteDeviceConfig: Registering field 0x00000010
Clock: automaticTimeSync: 1
 *** Supla - Config load for elements done
 *** Supla - Load state storage
Validating storage state section with current device configuration
Storage state section validation successful
readStorage: 8; Read: [1 2 34 8 0 0 5 1 ]
readStorage: 8; Read: [0 0 0 0 0 0 0 0 ]
readStorage: 8; Read: [1 0 0 0 0 0 0 0 ]
readStorage: 2; Read: [0 80 ]
readStorage: 2; Read: [0 80 ]
readStorage: 1; Read: [0 ]
HVAC[1] onLoadState. hvacValue: IsOn: 1, Mode: 2, SetpointTemperatureCool: 0, SetpointTemperatureHeat: 2100, Flags 0x105
HVAC[1] onLoadState. lastWorkingMode: IsOn: 0, Mode: 0, SetpointTemperatureCool: 0, SetpointTemperatureHeat: 0, Flags 0x0
HVAC[1] onLoadState. countdownTimerEnds: 1, lastManualSetpointCool: -32768, lastManualSetpointHeat: -32768, lastManualMode: 0
readStorage: 8; Read: [1 2 34 8 0 0 5 1 ]
readStorage: 8; Read: [0 0 0 0 0 0 0 0 ]
readStorage: 8; Read: [1 0 0 0 0 0 0 0 ]
readStorage: 2; Read: [0 80 ]
readStorage: 2; Read: [0 80 ]
readStorage: 1; Read: [0 ]
HVAC[3] onLoadState. hvacValue: IsOn: 1, Mode: 2, SetpointTemperatureCool: 0, SetpointTemperatureHeat: 2100, Flags 0x105
HVAC[3] onLoadState. lastWorkingMode: IsOn: 0, Mode: 0, SetpointTemperatureCool: 0, SetpointTemperatureHeat: 0, Flags 0x0
HVAC[3] onLoadState. countdownTimerEnds: 1, lastManualSetpointCool: -32768, lastManualSetpointHeat: -32768, lastManualMode: 0
 *** Supla - Load state storage done
 *** Supla - Init elements
Button[0]: Initialized: pin 0, pullUp 1, invertLogic 1, state 1
Hvac[1]: setMainThermometerChannelNo 0
Hvac[3]: setMainThermometerChannelNo 2
 *** Supla - Init elements done
 GUID: *************************
Device name: SUPLA-ESP8266
Device software version: SDK 25.01.03-dev
 *** Supla - Initializing network layer
[Wi-Fi] Network AP/hostname: SUPLA-ESP8266-*********************
Using Supla protocol version 23
Current status: [5] SuplaDevice initialized
Enter normal mode
 *** Supla - Initialization done
WiFi: establishing connection with SSID: "***************"
Connected BSSID: ***************
local IP: 192.168.1.4
subnetMask: 255.255.255.0
gatewayIP: 192.168.1.1
Signal strength (RSSI): -69 dBm
Establishing encrypted connection with: svr106.supla.org (port: 2016)
Waiting for NTP time sync
Connected via IP 192.168.1.4
Connected to Supla Server
Initializing SRPC (proto: 23)
LAST STATE ADDED: Register in progress (11)
Current status: [10] Register in progress
Send: [53 55 50 4C 41 17 01 00 00 00 4B 00 00 00 D4 02 00 00 61 6E 61 72 68 76 6C 70 40 67 6D 61 69 6C 2E 63 6F 6D 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 62 ED 01 66 A0 2B 1D BF 62 48 47 F1 D1 40 15 6E A4 F0 7E E2 88 C5 E2 C5 FC CD 10 15 BC 68 08 B5 53 55 50 4C 41 2D 45 53 50 38 32 36 36 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ]
CH[0], type: 3034, FuncList: 0x0, function: 40, flags: 0x8010000, online, validityTimeSec: 0, icon: 0, value: [00 00 00 00 00 00 00 00]
Send: [00 DA 0B 00 00 00 00 00 00 28 00 00 00 00 00 01 08 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ]
CH[1], type: 6100, FuncList: 0x20000, function: 420, flags: 0x19010000, online, validityTimeSec: 0, icon: 0, value: [01 02 34 08 00 00 05 01]
Send: [01 D4 17 00 00 00 00 02 00 A4 01 00 00 00 00 01 19 00 00 00 00 00 00 00 00 00 01 02 34 08 00 00 05 01 00 ]
CH[2], type: 3034, FuncList: 0x0, function: 40, flags: 0x8010000, online, validityTimeSec: 0, icon: 0, value: [00 00 00 00 00 00 00 00]
Send: [02 DA 0B 00 00 00 00 00 00 28 00 00 00 00 00 01 08 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ]
CH[3], type: 6100, FuncList: 0x20000, function: 420, flags: 0x19010000, online, validityTimeSec: 0, icon: 0, value: [01 02 34 08 00 00 05 01]
Send: [03 D4 17 00 00 00 00 02 00 A4 01 00 00 00 00 01 19 00 00 00 00 00 00 00 00 00 01 02 34 08 00 00 05 01 00 ]
Send: [53 55 50 4C 41 ]
Recv: [53 55 50 4C 41 17 01 00 00 00 46 00 00 00 07 00 00 00 03 00 00 00 78 1A 01 53 55 50 4C 41 ]
Device registered (activity timeout 120 s, server version: 26, server min version: 1)
LAST STATE ADDED: Registered and ready (16)
Current status: [17] Registered and ready
Changing activity timeout to 30 s
Send: [53 55 50 4C 41 17 02 00 00 00 D2 00 00 00 01 00 00 00 1E ]
Send: [53 55 50 4C 41 ]
Send: [53 55 50 4C 41 17 03 00 00 00 80 02 00 00 16 00 00 00 00 00 00 00 0E 00 00 00 54 65 6D 70 65 72 61 74 75 72 61 20 31 00 ]
Send: [53 55 50 4C 41 ]
HVAC[1]: onRegistered send: IsOn 1, Mode HEAT, tHeat 2100, tCool 0, flags 0x105
Send: [53 55 50 4C 41 17 04 00 00 00 80 02 00 00 14 00 00 00 01 00 00 00 0C 00 00 00 54 65 72 6D 6F 73 74 61 74 20 31 00 ]
Send: [53 55 50 4C 41 ]
Send: [53 55 50 4C 41 17 05 00 00 00 80 02 00 00 16 00 00 00 02 00 00 00 0E 00 00 00 54 65 6D 70 65 72 61 74 75 72 61 20 32 00 ]
Send: [53 55 50 4C 41 ]
H���!9�@H�����K4l` ,Button[0]::configureAsConfigButton
Button[0]::setHoldTime: 5000
Button[0]::setMulticlickTime: 300
Channel[0] initial caption set to 'Temperatura 1'
Channel[1] initial caption set to 'Termostat 1'
Hvac[1]: setMainThermometerChannelNo 0
Channel[2] initial caption set to 'Temperatura 2'
Channel[3] initial caption set to 'Termostat 2'
Hvac[3]: setMainThermometerChannelNo 2
Teraz w końcu złapał. Po usunięciu urządzenia (żeby mogło się na nowo zainicjować). Temperatura 1 ma tylko zmienioną nazwę, reszta ma domyślną nazwę. Termostat 1: "Konfiguracja jeszcze nie jest dostępna. Poczekaj, aż urządzenie się podłączy." Znów ma problem z inicjacją...
User avatar
klew
Posts: 10693
Joined: Thu Jun 27, 2019 12:16 pm
Location: Wrocław

Post

To jest esp8266?
Jeśli tak, to spróbuj pobrać najnowsze źródła z githuba.
Tam był jakiś problem z przepełnieniem stosu, gdy się tych initial caption używa.
Teoretycznie wrzuciłem poprawkę, ale jeszcze nie dostałem informacji, czy teraz jest ok, a u siebie tego nie reprodukowałem.
User avatar
Bania
Posts: 27
Joined: Wed Jul 24, 2024 5:03 pm
Location: Bielsko-Biała

Post

Dzięki klew! Spróbuje pobrać paczkę z github (aktualne pliki). Wcześniej pobierałem z https://github.com/SUPLA/supla-device/releases

Dam znać czy już jest ok.

Aktualne pliki z github:
Jeśli mam: termostat->getChannel()->setInitialCaption("Termostat 1") => to nie działa
Jeśli mam: termostat->setInitialCaption("Termostat 1") => to działa

Jednak przy dodaniu więcej niż 4 kanałów, problem nadal występuje.
User avatar
Bania
Posts: 27
Joined: Wed Jul 24, 2024 5:03 pm
Location: Bielsko-Biała

Post

SuplaDevice wersja 25.2 problem występuje dla procesorów ESP8266 i ESP8285. Np. przy wgraniu https://github.com/SUPLA/supla-device/b ... rement.ino są problemy przy inicjacji (pojawiają się resety)
User avatar
klew
Posts: 10693
Joined: Thu Jun 27, 2019 12:16 pm
Location: Wrocław

Post

Bania wrote: Sat Mar 08, 2025 1:34 pm SuplaDevice wersja 25.2 problem występuje dla procesorów ESP8266 i ESP8285. Np. przy wgraniu https://github.com/SUPLA/supla-device/b ... rement.ino są problemy przy inicjacji (pojawiają się resety)
Boardy dla esp32 C3 i kilku innych mają błąd, który powoduje jeden reset po wgraniu na czysto. Potem już chodzi.
Jeśli to to, to trzeba czekać na aktualizację boardów (błąd jest już poprawiony).

Dla esp8266 wrzuć proszę logi od startu do resetu
User avatar
Bania
Posts: 27
Joined: Wed Jul 24, 2024 5:03 pm
Location: Bielsko-Biała

Post

Code: Select all

chksum 0x2e
load 0x3fff20b8, len 40, room 8 
tail 0
chksum 0x2b
csum 0x2b
v000869f0
~ld
��n�r��n|��l�l`bbrl�nB�nl`�rl�l��GPM[0]: DefaultValueDivider 0
GPM[0]: DefaultValueMultiplier 0
GPM[0]: DefaultValueAdded 0
GPM[0]: DefaultUnitBeforeValue "before"
GPM[0]: DefaultUnitAfterValue "after"
GPM[0]: DefaultValuePrecision 3
 *** Supla - starting initialization (platform 0)
Main storage not configured
LittleFsConfig: file "/supla-dev.cfg" size 458
LittleFsConfig: initializing storage from file...
LittleFsConfig: init result success
 *** Supla - Config initalization

RemoteDeviceConfig: Registering field 0x00000001
GPM[0]: config loaded successfully
GPM[0]: RefreshIntervalMs 5000 ms
Channel[0] config changed offline flag is set
 *** Supla - Config load for elements done
 *** Supla - Init elements
Channel(0) value changed to 3.14
 *** Supla - Init elements done
GUID: *******************
Device name: SUPLA-ESP8266
Device software version: SDK 25.02-dev
 *** Supla - Initializing network layer
[Wi-Fi] Network AP/hostname: SUPLA-ESP8266-************
Using Supla protocol version 23
Current status: [5] SuplaDevice initialized
Enter normal mode
 *** Supla - Initialization done
WiFi: establishing connection with SSID: "**************"
Channel(0) value changed to 4.05
Connected BSSID: ***************
local IP: 192.168.1.6
subnetMask: 255.255.255.0
gatewayIP: 192.168.1.1
Signal strength (RSSI): -70 dBm
Establishing encrypted connection with: svr106.supla.org (port: 2016)
Waiting for NTP time sync
Connected via IP 192.168.1.6
Connected to Supla Server
Initializing SRPC (proto: 23)
LAST STATE ADDED: Register in progress
Current status: [10] Register in progress
Send: [53 55 50 4C 41 17 01 00 00 00 4B 00 00 00 6B 02 00 00 61 6E 61 72 68 76 6C 70 40 67 6D 61 69 6C 2E 63 6F 6D 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 EF F7 E5 42 5A 8D 15 1A 58 CF 58 3F 8F B8 75 A5 29 FF 03 BE 56 E5 47 1D 84 C3 7D 15 52 D8 39 D4 53 55 50 4C 41 2D 45 53 50 38 32 36 36 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ]
CH[0], type: 9000, FuncList: 0x0, function: 520, flags: 0x8010000, online, validityTimeSec: 0, icon: 0, value: [08 ac 1c 5a 64 3b 10 40]
Send: [00 28 23 00 00 00 00 00 00 08 02 00 00 00 00 01 08 00 00 00 00 00 00 00 00 00 08 AC 1C 5A 64 3B 10 40 00 ]
Send: [53 55 50 4C 41 ]
Channel(0) value changed to 41.16
No reply to registration message. Resetting connection.
LAST STATE ADDED: Not connected to Supla server (41)
Current status: [6] Not connected to Supla server
Deinitializing SRPC
Establishing encrypted connection with: svr106.supla.org (port: 2016)
Connected via IP 192.168.1.6
Connected to Supla Server
Initializing SRPC (proto: 23)
LAST STATE ADDED: Register in progress (43)
Current status: [10] Register in progress
Send: [53 55 50 4C 41 17 01 00 00 00 4B 00 00 00 6B 02 00 00 61 6E 61 72 68 76 6C 70 40 67 6D 61 69 6C 2E 63 6F 6D 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 EF F7 E5 42 5A 8D 15 1A 58 CF 58 3F 8F B8 75 A5 29 FF 03 BE 56 E5 47 1D 84 C3 7D 15 52 D8 39 D4 53 55 50 4C 41 2D 45 53 50 38 32 36 36 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ]
CH[0], type: 9000, FuncList: 0x0, function: 520, flags: 0x8010000, online, validityTimeSec: 0, icon: 0, value: [68 91 ed 7c 3f 95 44 40]
Send: [00 28 23 00 00 00 00 00 00 08 02 00 00 00 00 01 08 00 00 00 00 00 00 00 00 00 68 91 ED 7C 3F 95 44 40 00 ]
Send: [53 55 50 4C 41 ]
Channel(0) value changed to 46.26
Recv: [53 55 50 4C 41 17 01 00 00 00 46 00 00 00 07 00 00 00 03 00 00 00 78 1B 01 53 55 50 4C 41 ]
Device registered (activity timeout 120 s, server version: 27, server min version: 1)
LAST STATE ADDED: Registered and ready (46)
Current status: [17] Registered and ready
Changing activity timeout to 30 s
Send: [53 55 50 4C 41 17 02 00 00 00 D2 00 00 00 01 00 00 00 1E ]
Send: [53 55 50 4C 41 ]
Send: [53 55 50 4C 41 17 03 00 00 00 67 00 00 00 0E 00 00 00 00 00 00 00 00 00 FC A9 F1 D2 4D 22 47 40 ]
Send: [53 55 50 4C 41 ]
Recv: [53 55 50 4C 41 17 02 00 00 00 AD 02 00 00 1B 00 00 00 01 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 53 55 50 4C 41 ]
Received new device config
RemoteDeviceConfig: Config fields mismatch (0x00000000 != 0x00000001) - sending device config for fields 0x00000001
Sending device config result OK (1)
Send: [53 55 50 4C 41 17 04 00 00 00 B7 02 00 00 0A 00 00 00 01 00 00 00 00 00 00 00 00 00 ]
Send: [53 55 50 4C 41 ]
Adding StatusLed config field
Setting StatusLedType to 0 (0x0)
Send: [53 55 50 4C 41 17 05 00 00 00 AC 02 00 00 1C 00 00 00 01 00 00 00 00 00 00 00 00 01 00 00 00 00 00 00 00 01 00 00 00 00 00 00 00 01 00 00 ]
Send: [53 55 50 4C 41 ]

 ets Jan  8 2013,rst cause:4, boot mode:(3,7)
 
wdt reset
load 0x4010f000, len 3424, room 16 
tail 0
chksum 0x2e
load 0x3fff20b8, len 40, room 8 
tail 0
chksum 0x2b
csum 0x2b
v000869f0
~ld
��n�r��n|��l�l`bbrl�nb�ol`�rl�l��GPM[0]: DefaultValueDivider 0
GPM[0]: DefaultValueMultiplier 0
 *** Supla - starting initialization (platform 0)
Main storage not configured
LittleFsConfig: file "/supla-dev.cfg" size 458
LittleFsConfig: initializing storage from file...
LittleFsConfig: init result success
 *** Supla - Config initalization
Device mode: 0
Security level: Supla CA
 *** Supla - Config load for elements
RemoteDeviceConfig: Registering field 0x00000001
GPM[0]: config loaded successfully
GPM[0]: RefreshIntervalMs 5000 ms
Channel[0] config changed offline flag is set
 *** Supla - Config load for elements done
 *** Supla - Init elements
Channel(0) value changed to 3.14
 *** Supla - Init elements done
GUID: *************************
Device name: SUPLA-ESP8266
Device software version: SDK 25.02-dev
 *** Supla - Initializing network layer
[Wi-Fi] Network AP/hostname: SUPLA-ESP8266-*************
Using Supla protocol version 23
Current status: [5] SuplaDevice initialized

Code: Select all

--------------- CUT HERE FOR EXCEPTION DECODER ---------------

Stack smashing detected.

Exception (5):
epc1=0x40100127 epc2=0x00000000 epc3=0x00000000 excvaddr=0x00000000 depc=0x00000000

>>>stack>>>
epc1=0x40100127 epc2=0x00000000 epc3=0x00000000 excvaddr=0x00000000 depc=0x00000000

>>>stack>>>

ctx: sys
sp: 3fffffa0 end: 3fffffb0 offset: 0000
3fffffa0:  3fffdad0 00000000 3fff2234 40100127  
<<<stack<<<

--------------- CUT HERE FOR EXCEPTION DECODER ---------------

load 0x4010f000, len 3424, room 16 
tail 0
chksum 0x2e
load 0x3fff20b8, len 40, room 8 
tail 0
chksum 0x2b
csum 0x2b
v00086a10
~ld
��n�r��n|��l�l`bbrl�nb�nl`�rl�l��GPM[0]: DefaultValueDivider 0
GPM[0]: DefaultValueMultiplier 0
GPM[0]: DefaultValueAdded 0
GPM[0]: DefaultUnitBeforeValue "before"
GPM[0]: DefaultUnitAfterValue "after"
GPM[0]: DefaultValuePrecision 3
 *** Supla - starting initialization (platform 0)
Main storage not configured
LittleFsConfig: file "/supla-dev.cfg" size 458
LittleFsConfig: initializing storage from file...
LittleFsConfig: init result success
 *** Supla - Config initalization
Device mode: 0
Security level: Supla CA
*** Supla - Config load for elements
RemoteDeviceConfig: Registering field 0x00000001
GPM[0]: config loaded successfully
GPM[0]: RefreshIntervalMs 5000 ms
 *** Supla - Config load for elements done
 *** Supla - Init elements
Channel(0) value changed to 3.14
*** Supla - Init elements done
GUID: **********************************
Device name: SUPLA-ESP8266
Device software version: SDK 25.02-dev
 *** Supla - Initializing network layer
 [Wi-Fi] Network AP/hostname: SUPLA-ESP8266-************
Using Supla protocol version 23
Current status: [5] SuplaDevice initialized
Enter normal mode
 *** Supla - Initialization done
WiFi: establishing connection with SSID: "****************"
Channel(0) value changed to 4.01
Connected BSSID: *******************
local IP: 192.168.1.6
subnetMask: 255.255.255.0
gatewayIP: 192.168.1.1
Signal strength (RSSI): -71 dBm
Establishing encrypted connection with: svr106.supla.org (port: 2016)
Waiting for NTP time sync

Return to “Pomoc”