GUI Generic

User avatar
Espablo
Posts: 1754
Joined: Wed Jun 29, 2016 5:04 pm
Location: Oświęcim

Post

Goral64 wrote: Fri Nov 20, 2020 11:46 am
Espablo wrote: Fri Nov 20, 2020 11:04 am zrób erase flach i wgraj ponownie
Niestety, bez zmian :(
Teraz będzie Pan zadowolony :D
Każde urządzenie elektryczne działa o wiele lepiej jeśli podłączysz je do prądu. :? :roll:
User avatar
Goral64
Posts: 3258
Joined: Fri Dec 27, 2019 6:22 pm
Location: Żerniki Wrocławskie
Has thanked: 2 times
Been thanked: 1 time

Post

Espablo wrote: Fri Nov 20, 2020 12:28 pm Teraz będzie Pan zadowolony :D
Aktualnie tego się nie dowiem, bo po wyczyszczeniu flasha i wgraniu poprawionego oprogramowania nie mogę się wbić na stronę 192.168.4.1 (przekroczono limit czasu połączenia) aby skonfigurować moduł (oczywiście łącze się z siecią AP wystawioną przez moduł) :(

Code: Select all

Supla - starting initialization 
Storage initialization
readStorage: 8; Read: [3 0 0 0 0 0 0 0 ]
Storage: missing Supla tag. Rewriting...
Wrote 8 bytes to storage at 0
Commit
Validating storage state section with current device configuration
Storage state section validation completed. Loading elements state...
Initializing network layer
Using Supla protocol version 12
Key: GUID Value: &>w`üKrB±´úʤĹ
Key: AUTHKEY Value: ±Ç·ÚTTëëĐcáM‡7˘
Key: wifiSSID Value: 
Key: wifiPass Value: 
Key: login Value: admin
Key: loginPass Value: pass
Key: hostName Value: GUI Generic
Key: suplaServer Value: svrX.supla.org
Key: suplaEmail Value: [email protected]
Key: maxRollerShutter Value: 0
Key: maxRelay Value: 0
Key: maxButton Value: 0 
Key: maxLimitSwitch Value: 0
Key: maxDht22 Value: 1
Key: maxDht11 Value: 1
Key: multiMaxDs Value: 1
Key: altbme280 Value: 0
Key: icDebounceTimeout Value: 10
Key: icPullUp Value: 0
Key: icRaisingEdge Value: 0
Key: GPIO0 Value: 0,0,0,0,0
Key: GPIO1 Value: 0,0,0,0,0
Key: GPIO2 Value: 0,0,0,0,0
Key: GPIO3 Value: 0,0,0,0,0
Key: GPIO4 Value: 0,0,0,0,0
Key: GPIO5 Value: 0,0,0,0,0
Key: GPIO6 Value: 0,0,0,0,0
Key: GPIO7 Value: 0,0,0,0,0 
Key: GPIO8 Value: 0,0,0,0,0
Key: GPIO9 Value: 0,0,0,0,0
Key: GPIO10 Value: 0,0,0,0,0
Key: GPIO11 Value: 0,0,0,0,0
Key: GPIO12 Value: 0,0,0,0,0
Key: GPIO13 Value: 0,0,0,0,0
Key: GPIO14 Value: 0,0,0,0,0
Key: GPIO15 Value: 0,0,0,0,0
Key: GPIO16 Value: 0,0,0,0,0
Key: GPIO17 Value: 0,0,0,0,0
Key: sensor Value: 0,0,0,0,0
Key: board Value: 0
Key: cfgmode Value: 0
Key: ds0 Value: 
Key: dsName0 Value: 
Key: ds1 Value: 
Key: dsName1 Value: 
Key: ds2 Value: 
Key: dsName2 Value: 
Key: ds3 Value: 
Key: dsName3 Value: 
Key: ds4 Value: 
Key: dsName4 Value: 
Key: ds5 Value: 
Key: dsName5 Value: 
Key: ds6 Value: 
Key: dsName6 Value: 
Key: ds7 Value: 
Key: dsName7 Value: 
Key: ds8 Value: 
Key: dsName8 Value: 
Key: ds9 Value: 
Key: dsName9 Value: 
Key: ds10 Value: 
Key: dsName10 Value: 
Connection fail counter overflow. Trying to setup network interface again
Connection fail counter overflow. Trying to setup network interface again
Wrote 7 bytes to storage at 0
Commit
Connection fail counter overflow. Trying to setup network interface again
Dwukrotnie wymazywałem flash i bez efektu :(
Widzimy się na Supla Offline Party Season 2026 :D

Image
User avatar
Espablo
Posts: 1754
Joined: Wed Jun 29, 2016 5:04 pm
Location: Oświęcim

Post

co masz zaznaczone w GUI-Generic_Config.h?
Każde urządzenie elektryczne działa o wiele lepiej jeśli podłączysz je do prądu. :? :roll:
User avatar
Goral64
Posts: 3258
Joined: Fri Dec 27, 2019 6:22 pm
Location: Żerniki Wrocławskie
Has thanked: 2 times
Been thanked: 1 time

Post

Espablo wrote: Fri Nov 20, 2020 1:28 pm co masz zaznaczone w GUI-Generic_Config.h?

Code: Select all

#ifndef GUI_Generic_Config_h
#define GUI_Generic_Config_h

//#define DEBUG_MODE
//#define SUPLA_OTA

// Language en - english, pl - polish (default if not defined UI_LANGUAGE)
// #define UI_LANGUAGE en

// #define SUPLA_RELAY
// #define SUPLA_BUTTON
// #define SUPLA_LIMIT_SWITCH
// #define SUPLA_ROLLERSHUTTER
#define SUPLA_CONFIG

// ##### 1Wire #####
// #define SUPLA_DS18B20
// #define SUPLA_DHT11
// #define SUPLA_DHT22
// #define SUPLA_SI7021_SONOFF

// ##### i2c #####
// #define SUPLA_BME280
// #define SUPLA_SHT3x
// #define SUPLA_SI7021
// #define SUPLA_HTU21D    // 0x40 NOT SUPPORTED
// #define SUPLA_SHT71     // 0x44 AND 0x45 NOT SUPPORTED
// #define SUPLA_BH1750    // 0x23 AND 0x5C NOT SUPPORTED
// #define SUPLA_MAX44009  // A0 NOT SUPPORTED

// ##### SPI #####
// #define SUPLA_MAX6675

// ##### Other #####
// #define SUPLA_HC_SR04
#define SUPLA_IMPULSE_COUNTER

#endif  // GUI-Generic_Config_h
Widzimy się na Supla Offline Party Season 2026 :D

Image
User avatar
Espablo
Posts: 1754
Joined: Wed Jun 29, 2016 5:04 pm
Location: Oświęcim

Post

właśnie sprawdziłem taką samą konfigurację i u mnie wszystko działa
Każde urządzenie elektryczne działa o wiele lepiej jeśli podłączysz je do prądu. :? :roll:
User avatar
Goral64
Posts: 3258
Joined: Fri Dec 27, 2019 6:22 pm
Location: Żerniki Wrocławskie
Has thanked: 2 times
Been thanked: 1 time

Post

Espablo wrote: Fri Nov 20, 2020 1:59 pm właśnie sprawdziłem taką samą konfigurację i u mnie wszystko działa
A ja wgrałem to na drugiego Wemosa D1 mini i mam to samo, czyli timeout do 192.168.4.1 :(
Widzimy się na Supla Offline Party Season 2026 :D

Image
User avatar
klew
Posts: 13908
Joined: Thu Jun 27, 2019 12:16 pm
Location: Wrocław
Has thanked: 134 times
Been thanked: 137 times

Post

Goral64 wrote: Fri Nov 20, 2020 2:04 pm
Espablo wrote: Fri Nov 20, 2020 1:59 pm właśnie sprawdziłem taką samą konfigurację i u mnie wszystko działa
A ja wgrałem to na drugiego Wemosa D1 mini i mam to samo, czyli timeout do 192.168.4.1 :(
Wygląda jakby WiFi nie wstawało
Najlepsze suple dla Twojego domu :mrgreen:
User avatar
Goral64
Posts: 3258
Joined: Fri Dec 27, 2019 6:22 pm
Location: Żerniki Wrocławskie
Has thanked: 2 times
Been thanked: 1 time

Post

Dziwne jest też to, że po jakimś czasie udało mi się połączyć z 192.168.4.1 z telefonu i zaraz po tym z PC. Ustawiłem sobie diodę i baton do restartu, zapisałem, wszedłem na inne sensory i aktywowałem IC na zadanym pinie. Dałem Zapisz i... rozłączyło mnie z serwerem WWW. Sam moduł się nie zrestartował, działa nadal, ale teraz znów strona konfiguracyjna ma timeout :(
Widzimy się na Supla Offline Party Season 2026 :D

Image
User avatar
klew
Posts: 13908
Joined: Thu Jun 27, 2019 12:16 pm
Location: Wrocław
Has thanked: 134 times
Been thanked: 137 times

Post

Goral64 wrote: Fri Nov 20, 2020 2:23 pm Dziwne jest też to, że po jakimś czasie udało mi się połączyć z 192.168.4.1 z telefonu i zaraz po tym z PC. Ustawiłem sobie diodę i baton do restartu, zapisałem, wszedłem na inne sensory i aktywowałem IC na zadanym pinie. Dałem Zapisz i... rozłączyło mnie z serwerem WWW. Sam moduł się nie zrestartował, działa nadal, ale teraz znów strona konfiguracyjna ma timeout :(
Może pamięci zaczyna brakować?
Najlepsze suple dla Twojego domu :mrgreen:
User avatar
Goral64
Posts: 3258
Joined: Fri Dec 27, 2019 6:22 pm
Location: Żerniki Wrocławskie
Has thanked: 2 times
Been thanked: 1 time

Post

klew wrote: Fri Nov 20, 2020 2:34 pm Może pamięci zaczyna brakować?
Nie, to nie pamięć. Wemos ma 4MB na pokładzie, więc spoko. Po restarcie nie mam dalej dostępu do strony 192.168.4.1 ale log pokazuje, że licznik zdążył się aktywować...

Code: Select all

Creating Impulse Counter: impulsePin(5), delay(10 ms)
Supla - starting initialization
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 8 0 0 0 0 0 ]
Section type: 3; size: 8
Validating storage state section with current device configuration
Storage state section validation completed. Loading elements state...
readStorage: 8; Read: [0 0 0 0 0 0 0 0 ]
ImpulseCounter[0] - set counter to 0
Initializing network layer
Using Supla protocol version 12
Key: GUID Value: *****
Key: AUTHKEY Value: *****
Key: wifiSSID Value: 
Key: wifiPass Value: 
Key: login Value: admin
Key: loginPass Value: pass
Key: hostName Value: GUI Generic
Key: suplaServer Value: svrX.supla.org
Key: suplaEmail Value: [email protected]
Key: maxRollerShutter Value: 0
Key: maxRelay Value: 0
Key: maxButton Value: 0
Key: maxLimitSwitch Value: 0
Key: maxDht22 Value: 1
Key: maxDht11 Value: 1
Key: multiMaxDs Value: 1
Key: altbme280 Value: 0
Key: icDebounceTimeout Value: 10
Key: icPullUp Value: 0
Key: icRaisingEdge Value: 0
Key: GPIO0 Value: 0,0,0,0,1
Key: GPIO1 Value: 0,0,0,0,0
Key: GPIO2 Value: 1,4,1,0,0
Key: GPIO3 Value: 0,0,0,0,0
Key: GPIO4 Value: 0,0,0,0,0
Key: GPIO5 Value: 1,17,0,0,0
Key: GPIO6 Value: 0,0,0,0,0
Key: GPIO7 Value: 0,0,0,0,0
Key: GPIO8 Value: 0,0,0,0,0
Key: GPIO9 Value: 0,0,0,0,0
Key: GPIO10 Value: 0,0,0,0,0
Key: GPIO11 Value: 0,0,0,0,0
Key: GPIO12 Value: 0,0,0,0,0
Key: GPIO13 Value: 0,0,0,0,0
Key: GPIO14 Value: 0,0,0,0,0
Key: GPIO15 Value: 0,0,0,0,0
Key: GPIO16 Value: 0,0,0,0,0
Key: GPIO17 Value: 0,0,0,0,0
Key: sensor Value: 0,0,0,0,0
Key: board Value: 0
Key: cfgmode Value: 0
Key: ds0 Value: 
Key: dsName0 Value: 
Key: ds1 Value: 
Key: dsName1 Value: 
Key: ds2 Value: 
Key: dsName2 Value: 
Key: ds3 Value: 
Key: dsName3 Value: 
Key: ds4 Value: 
Key: dsName4 Value: 
Key: ds5 Value: 
Key: dsName5 Value: 
Key: ds6 Value: 
Key: dsName6 Value: 
Key: ds7 Value: 
Key: dsName7 Value: 
Key: ds8 Value: 
Key: dsName8 Value: 
Key: ds9 Value: 
Key: dsName9 Value: 
Key: ds10 Value: 
Key: dsName10 Value: 
Connection fail counter overflow. Trying to setup network interface again
Connection fail counter overflow. Trying to setup network interface again
Connection fail counter overflow. Trying to setup network interface again
Channel(0) value changed to 1
Channel(0) value changed to 2
Channel(0) value changed to 3
Channel(0) value changed to 4
Channel(0) value changed to 5
Channel(0) value changed to 6
Connection fail counter overflow. Trying to setup network interface again
ale po restarcie dalej nie jest pamiętany...

Code: Select all

Creating Impulse Counter: impulsePin(5), delay(10 ms)
Supla - starting initialization
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 8 0 0 0 0 0 ]
Section type: 3; size: 8
Validating storage state section with current device configuration
Storage state section validation completed. Loading elements state...
readStorage: 8; Read: [0 0 0 0 0 0 0 0 ]
ImpulseCounter[0] - set counter to 0
Initializing network layer
Using Supla protocol version 12
Widzimy się na Supla Offline Party Season 2026 :D

Image

Return to “GUI Generic”