ESP8266 Primary GUI v2

krycha88
Posts: 5575
Joined: Fri Nov 16, 2018 7:25 am
Been thanked: 5 times

Post

Zajawka już jest, ale niestety wymaga poprawek po stronie samej biblioteki więc nie udostępniam :) Nie chce robić bałaganu i udostępniać swojego forka biblioteki.
https://gui-generic-builder.supla.io/
krycha88
Posts: 5575
Joined: Fri Nov 16, 2018 7:25 am
Been thanked: 5 times

Post

Poszukiwany chętny, który przetestuje nową wersję Primary GUI na nowej bibliotece. Głównie chodzi mi o sprawdzenie większej ilości DSów - większej rozumiem więcej niż 4 które posiadam :)
https://gui-generic-builder.supla.io/
User avatar
lukfud
Posts: 2480
Joined: Thu Nov 23, 2017 11:33 pm
Location: Warszawa
Has thanked: 13 times
Been thanked: 11 times

Post

krycha88 wrote: Mon Jun 15, 2020 6:35 am Poszukiwany chętny, który przetestuje nową wersję Primary GUI na nowej bibliotece. Głównie chodzi mi o sprawdzenie większej ilości DSów - większej rozumiem więcej niż 4 które posiadam :)
Poproszę, wieczorem wrzucę na płytkę - mam ich (jak dobrze pamiętam) 10.
https://www.facebook.com/groups/supladiy
https://www.facebook.com/groups/suplazamel
https://www.facebook.com/groups/suplaauraton
https://smartnerzeczy.pl
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

krycha88 wrote: Mon Jun 15, 2020 6:35 am Poszukiwany chętny, który przetestuje nową wersję Primary GUI na nowej bibliotece. Głównie chodzi mi o sprawdzenie większej ilości DSów - większej rozumiem więcej niż 4 które posiadam :)
Właśnie wgrałem na Wemos D1 mini. Podłączyłem 21 DS-ów pod GPIO16. Zakomentowałem RelayButtony póki co.
Po wgraniu program się uruchomił

Code: Select all

Creating OneWire bus for pin: 16
Initializing OneWire bus at pin 16
OneWire(pin 16) Parasite power is OFF
OneWire(pin 16) Found 0 devices:
Nieznany adres serwera
WiFi: establishing connection with SSID: ""
Using Supla protocol version 10 
Channel(0) value changed to -275.000000
Channel(1) value changed to 25.546875
Zainicjowany
Key:  GUID Value:  ä[n@€�żlÎ;Ć�„C« 
Key:  AUTHKEY Value:  i=€ě‘4‡gž<^D
Key:  wifiSSID Value:  
Key:  wifiPass Value:  
Key:  login Value:  admin
Key:  loginPass Value:  password
Key:  hostName Value:  Primary GUI
Key:  suplaServer Value:  
Key:  suplaEmail Value:  
Key:  typeButton Value:  0000
Key:  trigger Value:  
Key:  ds18b20 Value:  1
Key:  ds0 Value:  
Key:  dsName0 Value:  
Channel(1) value changed to 24.726562
Channel(1) value changed to 24.664062
Connection fail counter overflow. Trying to setup network interface again
WiFi: establishing connection with SSID: ""
Połączyłem się ze stroną konfiguracyjną. Ustawiłem dane WiFi i serwera Supla oraz ustawiłem MAX 20 DS-ów (więcej się nie da).
Dałem Zapisz.

Code: Select all

HTTP_POST - metoda handleSave
save: ä[n@€�żlÎ;Ć�„C« 
save: i=€ě‘4‡gž<^D
save: *****
save: *****
save: admin 
save: password
save: Primary GUI
save: supla.*****
save: goral64@*****
save: 
save: 
save: 20
save: 
save: 
E_CONFIG_OK: Dane zapisane

Exception (9):
epc1=0x40204b39 epc2=0x00000000 epc3=0x00000000 excvaddr=0x048d0491 depc=0x00000000
Po exception ruszyło

Code: Select all

Creating OneWire bus for pin: 16
Initializing OneWire bus at pin 16
OneWire(pin 16) Parasite power is OFF
OneWire(pin 16) Found 0 devices:
WiFi: establishing connection with SSID: "DGT_GORALE"
Using Supla protocol version 10 
Channel(0) value changed to -275.000000
Channel(1) value changed to -275.000000
Channel(2) value changed to -275.000000
Channel(3) value changed to -275.000000
Channel(4) value changed to -275.000000
Channel(5) value changed to -275.000000
Channel(6) value changed to -275.000000
Channel(7) value changed to -275.000000
Channel(8) value changed to -275.000000
Channel(9) value changed to -275.000000
Channel(10) value changed to -275.000000
Channel(11) value changed to -275.000000
Channel(12) value changed to -275.000000
Channel(13) value changed to -275.000000
Channel(14) value changed to -275.000000
Channel(15) value changed to -275.000000
Channel(16) value changed to -275.000000 
Channel(17) value changed to -275.000000
Channel(18) value changed to -275.000000
Channel(19) value changed to -275.000000
Channel(20) value changed to 20.554688
Zainicjowany
Key:  GUID Value:  ä[n@€�żlÎ;Ć�„C« 
Key:  AUTHKEY Value:  i=€ě‘4‡gž<^D
Key:  wifiSSID Value:  *****
Key:  wifiPass Value:  *****
Key:  login Value:  admin
Key:  loginPass Value:  password
Key:  hostName Value:  Primary GUI
Key:  suplaServer Value:  supla.*****
Key:  suplaEmail Value:  goral64@*****
Key:  typeButton Value:  
Key:  trigger Value:  
Key:  ds18b20 Value:  20
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:  
Key:  ds11 Value:  
Key:  dsName11 Value:  
Key:  ds12 Value:  
Key:  dsName12 Value:  
Key:  ds13 Value:  
Key:  dsName13 Value:  
Key:  ds14 Value:  
Key:  dsName14 Value:  
Key:  ds15 Value:  
Key:  dsName15 Value:  
Key:  ds16 Value:  
Key:  dsName16 Value:  
Key:  ds17 Value:  
Key:  dsName17 Value:  
Key:  ds18 Value:  
Key:  dsName18 Value:  
Key:  ds19 Value:  
Key:  dsName19 Value:  
Serial pokazuje też HeapSize, który skacze pomiędzy 2 zakresami:

Code: Select all

Channel(20) value changed to 7.335938
Channel(20) value changed to 12.750000
Wszedłem w wyszukiwanie DS-ów i niestety, wg opisu w GUI szuka ich na GPIO2 pomimo ustawienie, że są na GPIO16. Oczywiście nie znalazł żadnego.
Po powrocie do ekranu głównego niestety jego zawartość jest ucięta. Box Temperatura kończy się na Nazwa 9 i dalej nie ma nic, czyli brak dostępu do przycisków. Pozostaje wgrać oprogramowanie od nowa i ustawić mniej DS-ów...
Widzimy się na Supla Offline Party Season 2026 :D

Image
krycha88
Posts: 5575
Joined: Fri Nov 16, 2018 7:25 am
Been thanked: 5 times

Post

Goral64 wrote: Mon Jun 15, 2020 7:38 am
krycha88 wrote: Mon Jun 15, 2020 6:35 am Poszukiwany chętny, który przetestuje nową wersję Primary GUI na nowej bibliotece. Głównie chodzi mi o sprawdzenie większej ilości DSów - większej rozumiem więcej niż 4 które posiadam :)
Właśnie wgrałem na Wemos D1 mini. Podłączyłem 21 DS-ów pod GPIO16. Zakomentowałem RelayButtony póki co.
Po wgraniu program się uruchomił

Code: Select all

Creating OneWire bus for pin: 16
Initializing OneWire bus at pin 16
OneWire(pin 16) Parasite power is OFF
OneWire(pin 16) Found 0 devices:
Nieznany adres serwera
WiFi: establishing connection with SSID: ""
Using Supla protocol version 10 
Channel(0) value changed to -275.000000
Channel(1) value changed to 25.546875
Zainicjowany
Key:  GUID Value:  ä[n@€�żlÎ;Ć�„C« 
Key:  AUTHKEY Value:  i=€ě‘4‡gž<^D
Key:  wifiSSID Value:  
Key:  wifiPass Value:  
Key:  login Value:  admin
Key:  loginPass Value:  password
Key:  hostName Value:  Primary GUI
Key:  suplaServer Value:  
Key:  suplaEmail Value:  
Key:  typeButton Value:  0000
Key:  trigger Value:  
Key:  ds18b20 Value:  1
Key:  ds0 Value:  
Key:  dsName0 Value:  
Channel(1) value changed to 24.726562
Channel(1) value changed to 24.664062
Connection fail counter overflow. Trying to setup network interface again
WiFi: establishing connection with SSID: ""
Połączyłem się ze stroną konfiguracyjną. Ustawiłem dane WiFi i serwera Supla oraz ustawiłem MAX 20 DS-ów (więcej się nie da).
Dałem Zapisz.

Code: Select all

HTTP_POST - metoda handleSave
save: ä[n@€�żlÎ;Ć�„C« 
save: i=€ě‘4‡gž<^D
save: *****
save: *****
save: admin 
save: password
save: Primary GUI
save: supla.*****
save: goral64@*****
save: 
save: 
save: 20
save: 
save: 
E_CONFIG_OK: Dane zapisane

Exception (9):
epc1=0x40204b39 epc2=0x00000000 epc3=0x00000000 excvaddr=0x048d0491 depc=0x00000000
Po exception ruszyło

Code: Select all

Creating OneWire bus for pin: 16
Initializing OneWire bus at pin 16
OneWire(pin 16) Parasite power is OFF
OneWire(pin 16) Found 0 devices:
WiFi: establishing connection with SSID: "DGT_GORALE"
Using Supla protocol version 10 
Channel(0) value changed to -275.000000
Channel(1) value changed to -275.000000
Channel(2) value changed to -275.000000
Channel(3) value changed to -275.000000
Channel(4) value changed to -275.000000
Channel(5) value changed to -275.000000
Channel(6) value changed to -275.000000
Channel(7) value changed to -275.000000
Channel(8) value changed to -275.000000
Channel(9) value changed to -275.000000
Channel(10) value changed to -275.000000
Channel(11) value changed to -275.000000
Channel(12) value changed to -275.000000
Channel(13) value changed to -275.000000
Channel(14) value changed to -275.000000
Channel(15) value changed to -275.000000
Channel(16) value changed to -275.000000 
Channel(17) value changed to -275.000000
Channel(18) value changed to -275.000000
Channel(19) value changed to -275.000000
Channel(20) value changed to 20.554688
Zainicjowany
Key:  GUID Value:  ä[n@€�żlÎ;Ć�„C« 
Key:  AUTHKEY Value:  i=€ě‘4‡gž<^D
Key:  wifiSSID Value:  *****
Key:  wifiPass Value:  *****
Key:  login Value:  admin
Key:  loginPass Value:  password
Key:  hostName Value:  Primary GUI
Key:  suplaServer Value:  supla.*****
Key:  suplaEmail Value:  goral64@*****
Key:  typeButton Value:  
Key:  trigger Value:  
Key:  ds18b20 Value:  20
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:  
Key:  ds11 Value:  
Key:  dsName11 Value:  
Key:  ds12 Value:  
Key:  dsName12 Value:  
Key:  ds13 Value:  
Key:  dsName13 Value:  
Key:  ds14 Value:  
Key:  dsName14 Value:  
Key:  ds15 Value:  
Key:  dsName15 Value:  
Key:  ds16 Value:  
Key:  dsName16 Value:  
Key:  ds17 Value:  
Key:  dsName17 Value:  
Key:  ds18 Value:  
Key:  dsName18 Value:  
Key:  ds19 Value:  
Key:  dsName19 Value:  
Serial pokazuje też HeapSize, który skacze pomiędzy 2 zakresami:

Code: Select all

Channel(20) value changed to 7.335938
Channel(20) value changed to 12.750000
Wszedłem w wyszukiwanie DS-ów i niestety, wg opisu w GUI szuka ich na GPIO2 pomimo ustawienie, że są na GPIO16. Oczywiście nie znalazł żadnego.
Po powrocie do ekranu głównego niestety jego zawartość jest ucięta. Box Temperatura kończy się na Nazwa 9 i dalej nie ma nic, czyli brak dostępu do przycisków. Pozostaje wgrać oprogramowanie od nowa i ustawić mniej DS-ów...
Masz może aktualne źródła, wczoraj wieczorek wrzucałem poprawki.

A co do tego GIPO zobacz ten fragment kodu czy na sztywno nie jest wpisany 2 :)
https://github.com/krycha88/Primary_GUI ... r.cpp#L414
https://gui-generic-builder.supla.io/
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

Wejście do GUI w mojej sieci WiFi zakończyło się wywrotką.

Code: Select all

HTTP_GET - metoda handle

Exception (29):
epc1=0x4000df64 epc2=0x00000000 epc3=0x00000000 excvaddr=0x00000000 depc=0x00000000
Po czym

Code: Select all

Creating OneWire bus for pin: 16
Initializing OneWire bus at pin 16
OneWire(pin 16) Parasite power is OFF
OneWire(pin 16) Found 0 devices:
WiFi: establishing connection with SSID: "DGT_GORALE"
Using Supla protocol version 10 
Channel(0) value changed to -275.000000
Channel(1) value changed to -275.000000
Channel(2) value changed to -275.000000
Channel(3) value changed to -275.000000
Channel(4) value changed to -275.000000
Channel(5) value changed to -275.000000
Channel(6) value changed to -275.000000
Channel(7) value changed to -275.000000
Channel(8) value changed to -275.000000
Channel(9) value changed to -275.000000
Channel(10) value changed to -275.000000
Channel(11) value changed to -275.000000
Channel(12) value changed to -275.000000
Channel(13) value changed to -275.000000
Channel(14) value changed to -275.000000
Channel(15) value changed to -275.000000
Channel(16) value changed to -275.000000 
Channel(17) value changed to -275.000000
Channel(18) value changed to -275.000000
Channel(19) value changed to -275.000000
Channel(20) value changed to 22.015625
Zainicjowany
W przeglądarce komputera strona główna GUI urywa się na Nazwa4 a dokładniej w miejscu pokazania temperatury dla Nazwa 4.
Co skutkuje tym, że przycisków w GUI brak.
Widzimy się na Supla Offline Party Season 2026 :D

Image
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

krycha88 wrote: Mon Jun 15, 2020 7:48 am Masz może aktualne źródła, wczoraj wieczorek wrzucałem poprawki.

A co do tego GIPO zobacz ten fragment kodu czy na sztywno nie jest wpisany 2 :)
https://github.com/krycha88/Primary_GUI ... r.cpp#L414
Tak, mam najnowszą rewizję.
To jest błąd w GUI, które pokazuje stałe GPIO a nie ustawione.
https://github.com/krycha88/Primary_GUI ... r.cpp#L407
Widzimy się na Supla Offline Party Season 2026 :D

Image
krycha88
Posts: 5575
Joined: Fri Nov 16, 2018 7:25 am
Been thanked: 5 times

Post

Goral64 wrote: Mon Jun 15, 2020 7:56 am Tak, mam najnowszą rewizję.
To jest błąd w GUI, które pokazuje stałe GPIO a nie ustawione.
https://github.com/krycha88/Primary_GUI ... r.cpp#L407
Dzięki :) Zobaczę wieczorem te problemy co zgłosiłeś.
https://gui-generic-builder.supla.io/
User avatar
lukfud
Posts: 2480
Joined: Thu Nov 23, 2017 11:33 pm
Location: Warszawa
Has thanked: 13 times
Been thanked: 11 times

Post

U mnie nie łączy ze stroną konfiguracyjną:

Code: Select all

24533 => WIFI_EVENT_SOFTAPMODE_STACONNECTED
i na tym koniec.
Przy połączeniu przez app wyrzuca timeout.

Zmieniłem pinNumberConfig na 4 i wrzuciłem na wemosa.
https://www.facebook.com/groups/supladiy
https://www.facebook.com/groups/suplazamel
https://www.facebook.com/groups/suplaauraton
https://smartnerzeczy.pl
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

Dodatkowo teraz za każdym razem próba uruchomienia GUI w mojej WiFi kończy się wyjątkiem

Code: Select all

HTTP_GET - metoda handle

Exception (29):
epc1=0x4021010c epc2=0x00000000 epc3=0x00000000 excvaddr=0x0000000c depc=0x00000000
Natomiast GUI z AP raz wywołało exception a potem wyświetliło całą stronę, bez obcięcia...
Widzimy się na Supla Offline Party Season 2026 :D

Image

Return to “Nowości”