Wsparcie GUI-Generic dla ESP32

Awatar użytkownika
pzygmunt
Posty: 18280
Rejestracja: wt sty 19, 2016 9:26 am
Lokalizacja: Paczków
Kontakt:

Niepoprawna prędkość
kotogi
Posty: 78
Rejestracja: czw wrz 24, 2020 11:02 pm

pzygmunt pisze: wt lis 08, 2022 3:18 pm Niepoprawna prędkość
Bardzo dziękuję .wpisałem 74880 a zapomniałem odznaczyć "custom"

i teraz jest tak

Kod: Zaznacz cały


<00><00>˙ŠZ-nPƒĹ)hŤX9	ŢŽÍÎ1ĚPÉYڃ@ÂíÄJţ‹
9ÉNAVYČÚa@
ÖĆ9LFÔrTŁX9`ŹXwX	˙\ƒH
=×X	QŹXwX	ÇŹXwX	đVŹ…ĆĆ%YIAJy	ŕÖTƒL%—	Q)ĘAZ—*TQ-YˆX9EÄ	QŁPKTƒŚPŠi	°T×\ŤConfig read
Key: 0 Value: aÉi˛!㏠eY}Ť| ¬
Key: 1 Value: pAßôqŞŤ‹Î2f‡&
Key: 2 Value: JAC
Key: 3 Value:                xxxxx
Key: 4 Value: admin
Key: 5 Value: pass
Key: 6 Value: ESP
Key: 7 Value:                  xxxxx
Key: 8 Value:                  xxxxx
Key: 9 Value: 5
Key: 10 Value: 1
Key: 11 Value: 
Key: 12 Value: 
Key: 13 Value: 
Key: 14 Value: 2
Key: 15 Value: 
Key: 16 Value: 
Key: 17 Value: 
Key: 18 Value: 
Key: 19 Value: ,,,,,,,,,8,,,,,,
Key: 20 Value: 
Key: 21 Value: 1
Key: 22 Value: 28BDA12E19200610,287FF896F0013C86,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,
Key: 23 Value: WATER, AIR,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,
Key: 24 Value: ,,,,,,,1,,,,,,,,,,,,,,,,,,,,,,,,,,,,
Key: 25 Value: 
Key: 26 Value: ,,1,,,,,,,,,,,,,,,1,,,,,,,,,,,,,,,,,
Key: 27 Value: 
Key: 28 Value: 
Key: 29 Value: 
Key: 30 Value: 
Key: 31 Value: 
Key: 32 Value: 
Key: 33 Value: 
Key: 34 Value: 
Key: 35 Value: 
Key: 36 Value: 
Key: 37 Value: 0,0,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,
Key: 38 Value: 
Key: 39 Value: 
Key: 40 Value: 
Key: 41 Value: 
Key: 42 Value: 
Key: 43 Value: 
Key: 44 Value: 
Key: 45 Value: 1,9,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,
Key: 46 Value: 1,10,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,
Key: 47 Value: 
Key: 48 Value: 
Key: 49 Value: 4,1,0,,2,,,,,,,,,,,,,,,,,,,,,,,,,,,,
Key: 50 Value: 3,1,0,,0,,,,,,,,,,,,,,,,,,,,,,,,,,,,
Key: 51 Value: 1,6,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,
Key: 52 Value: 
Key: 53 Value: 
Key: 54 Value: 
Key: 55 Value: 
Key: 56 Value: 
Key: 57 Value: 5,1,0,,2,,,,,,,,,,,,,,,,,,,,,,,,,,,,
Key: 58 Value: 
Key: 59 Value: 3,31,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,
Key: 60 Value: 1,31,,,,,,,,,,,,,,,,,,,,,,,,,,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,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,
Key: 78 Value: 
Key: 79 Value: 
Key: 80 Value: 1
Key: 81 Value: 0
Key: 82 Value: 20
Key: 83 Value: 
Key: 84 Value: 
Key: 85 Value: 
Key: 86 Value: 0,,0,1,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,
Key: 87 Value: 1,1,,,,,,,,,,,,,,,,,
Key: 88 Value: 
Key: 89 Value: 
Key: 90 Value: 
Key: 91 Value: 
Key: 92 Value: 
Key: 93 Value: 
Key: 94 Value: 
Key: 95 Value: 
Key: 96 Value: 0.45
Key: 97 Value: 0.45
Key: 98 Value: 0,1,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,
Key: 99 Value: 
Key: 100 Value: 
Key: 101 Value: 3
Key: 102 Value: 0
Key: 103 Value: 
Key: 104 Value: 
Key: 105 Value: ,,0,0,,,,,,,,,,
Key: 106 Value: 
Key: 107 Value: 
Creating OneWire bus for pin: 27
Initializing OneWire bus at pin 27
OneWire(pin 27) Parasite power is OFF
OneWire(pin 27) Found 2 devices:
Index 0 - address 28BDA12E19200610
Index 1 - address 287FF896F0013C86
addConditionsTurnON
0
50
addConditionsTurnOFF
0
40
addConditionsTurnON
0
50
addConditionsTurnOFF
0
40
addConditionsTurnON
0
50
addConditionsTurnOFF
0
40
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 49 0 0 0 0 0 ]
Section type: 3; size: 73
Config storage not configured
Validating storage state section with current device configuration
Storage state section validation completed. Loading elements state...
readStorage: 4; Read: [0 0 0 0 ]
Relay[0]: restored durationMs: 0
readStorage: 1; Read: [0 ]
readStorage: 4; Read: [0 0 0 0 ]
Relay[1]: restored durationMs: 0
readStorage: 1; Read: [0 ]
readStorage: 4; Read: [0 0 0 0 ]
Relay[2]: restored durationMs: 0
readStorage: 1; Read: [0 ]
readStorage: 4; Read: [0 0 0 0 ]
Relay[3]: restored durationMs: 0
readStorage: 1; Read: [0 ]
Relay[3]: restored relay state: OFF
readStorage: 4; Read: [0 0 0 0 ]
Relay[4]: restored durationMs: 0
readStorage: 1; Read: [0 ]
Relay[4]: restored relay state: OFF
readStorage: 4; Read: [0 F0 7F 45 ]
readStorage: 4; Read: [0 A0 35 45 ]
readStorage: 4; Read: [0 0 0 0 ]
readStorage: 4; Read: [0 0 C8 42 ]
readStorage: 4; Read: [0 F0 7F 45 ]
readStorage: 4; Read: [0 0 2F 45 ]
readStorage: 4; Read: [0 0 0 0 ]
readStorage: 4; Read: [0 0 C8 42 ]
readStorage: 4; Read: [0 F0 7F 45 ]
readStorage: 4; Read: [0 B0 70 45 ]
readStorage: 4; Read: [0 0 0 0 ]
readStorage: 4; Read: [0 0 C8 42 ]
Relay[0] turn OFF (duration 0 ms)
Relay[1] turn OFF (duration 0 ms)
Relay[2] turn OFF (duration 0 ms)
 **** Digital write[2], gpio: 26; value 1
Relay[2] turn OFF (duration 0 ms)
 **** Digital write[2], gpio: 26; value 1
Relay[3] turn OFF (duration 0 ms)
 **** Digital write[3], gpio: 25; value 1
Relay[3] turn OFF (duration 0 ms)
 **** Digital write[3], gpio: 25; value 1
Relay[4] turn OFF (duration 0 ms)
 **** Digital write[4], gpio: 33; value 1
Relay[4] turn OFF (duration 0 ms)
 **** Digital write[4], gpio: 33; value 1
Channel(5) value changed to 21.87
Channel(6) value changed to 21.62
Initializing network layer
Network AP/hostname: ESP-C8F09E9ACE38
Enter normal mode
Using Supla protocol version 16
Current status: [5] SuplaDevice initialized
WiFi: establishing connection with SSID: "JAC"
local IP: 192.168.1.114
subnetMask: 255.255.255.0
gatewayIP: 192.168.1.1
Signal Strength (RSSI): -62 dBm
IMPROVäIMPROVhttp://192.168.1.114Establishing NOT encrypted connection with:  xxxx      .supla.org (port: 2015)
Connected to Supla Server
Current status: [10] Register in progress
Device registered (activity timeout 120 s, server version: 19, server min version: 1)
Current status: [17] Registered and ready
Changing activity timeout to 30
Activity timeout set to 30 s
Ostatnio zmieniony wt lis 08, 2022 4:00 pm przez kotogi, łącznie zmieniany 2 razy.
Pytam tylko jak muszę.
Awatar użytkownika
pzygmunt
Posty: 18280
Rejestracja: wt sty 19, 2016 9:26 am
Lokalizacja: Paczków
Kontakt:

Do wrzucania logów używaj tagu code
kotogi
Posty: 78
Rejestracja: czw wrz 24, 2020 11:02 pm

Dzięki . poprawiłem

Poniżej ładnie widać jak różne kanały przełączają jeden przekażnik

Kod: Zaznacz cały

 **** Digital write[4], gpio: 26; value 1
Channel(4) value changed to 0
Channel(9) value changed to 0.0
Relay[4] turn ON (duration 0 ms)
 **** Digital write[4], gpio: 26; value 0
Channel(4) value changed to 1
Channel(10) value changed to 100.0
Relay[4] turn OFF (duration 0 ms)
 **** Digital write[4], gpio: 26; value 1
Channel(4) value changed to 0
Channel(10) value changed to 0.0
Relay[4] turn ON (duration 0 ms)
 **** Digital write[4], gpio: 26; value 0
Channel(4) value changed to 1
Channel(11) value changed to 100.0
Relay[4] turn OFF (duration 0 ms)
 **** Digital write[4], gpio: 26; value 1
Pytam tylko jak muszę.
krycha88
Posty: 5187
Rejestracja: pt lis 16, 2018 7:25 am
Kontakt:

Wychodzi na to, że ESP32 nie do końca sobie dobrze radzi przy jednoczesnym odczycie na różnych pinach analogowych. Muszę poczytać jak to rozwiązać lub ktoś podpowie :)
https://gui-generic-builder.supla.io/
krycha88
Posty: 5187
Rejestracja: pt lis 16, 2018 7:25 am
Kontakt:

kotogi pisze: wt lis 08, 2022 4:01 pm Dzięki . poprawiłem

Poniżej ładnie widać jak różne kanały przełączają jeden przekażnik

Kod: Zaznacz cały

 **** Digital write[4], gpio: 26; value 1
Channel(4) value changed to 0
Channel(9) value changed to 0.0
Relay[4] turn ON (duration 0 ms)
 **** Digital write[4], gpio: 26; value 0
Channel(4) value changed to 1
Channel(10) value changed to 100.0
Relay[4] turn OFF (duration 0 ms)
 **** Digital write[4], gpio: 26; value 1
Channel(4) value changed to 0
Channel(10) value changed to 0.0
Relay[4] turn ON (duration 0 ms)
 **** Digital write[4], gpio: 26; value 0
Channel(4) value changed to 1
Channel(11) value changed to 100.0
Relay[4] turn OFF (duration 0 ms)
 **** Digital write[4], gpio: 26; value 1
Poprawiłem :)
https://gui-generic-builder.supla.io/
kotogi
Posty: 78
Rejestracja: czw wrz 24, 2020 11:02 pm

Potwierdzam działa prawidłowo. Nie widzę żadnych błędów . Dzięki :D
Pytam tylko jak muszę.
nax
Posty: 1
Rejestracja: sob sty 18, 2020 6:29 pm

Janko795 pisze: pt sie 19, 2022 7:51 am Hej.

Testowałem wczoraj nowego TH R3 20A / 16A inaczej THR320D, THR316D TH Elite

Sam TH działa można ustawić GPIO (zwłaszcza w wersji 16A bo 20A ma przekaźnik sterowany dwoma GPIO i się "gryzie") - ale niestety nie może wykryć DS18B20 (jest na GPIO 25)
[...]
Na Tasmota działa wszystko idealnie pod tymi samymi GPIO.
Hej, udało Ci się coś może wymyślić z tymi modułami THR?
Pietras81
Posty: 1702
Rejestracja: ndz lut 17, 2019 6:56 am
Lokalizacja: Osielsko

Nie wiem czy w dobrym miejscu ale próbuje sobie wygenerować soft do esp32 s2 - po zaznaczeniu przekaźnika i ds mam taki oto błąd. Sam przekaźnik również bez zmian.

Błąd generowania

GUI-Generic_bv4.21_gv5.2.8_pl_c9c0ddce5c31c8583abca22659424b93/SuplaConfigESP.cpp: In member function 'HardwareSerial& SuplaConfigESP::getHardwareSerial(int8_t, int8_t)':
GUI-Generic_bv4.21_gv5.2.8_pl_c9c0ddce5c31c8583abca22659424b93/SuplaConfigESP.cpp:468:21: error: 'RX2' was not declared in this scope
else if (rxPin == RX2 || txPin == TX2) {
^~~
GUI-Generic_bv4.21_gv5.2.8_pl_c9c0ddce5c31c8583abca22659424b93/SuplaConfigESP.cpp:468:21: note: suggested alternative: 'RX'
else if (rxPin == RX2 || txPin == TX2) {
^~~
RX
GUI-Generic_bv4.21_gv5.2.8_pl_c9c0ddce5c31c8583abca22659424b93/SuplaConfigESP.cpp:468:37: error: 'TX2' was not declared in this scope
else if (rxPin == RX2 || txPin == TX2) {
^~~
GUI-Generic_bv4.21_gv5.2.8_pl_c9c0ddce5c31c8583abca22659424b93/SuplaConfigESP.cpp:468:37: note: suggested alternative: 'T12'
else if (rxPin == RX2 || txPin == TX2) {
^~~
T12
GUI-Generic_bv4.21_gv5.2.8_pl_c9c0ddce5c31c8583abca22659424b93/SuplaConfigESP.cpp:469:12: error: 'Serial2' was not declared in this scope
return Serial2;
^~~~~~~
GUI-Generic_bv4.21_gv5.2.8_pl_c9c0ddce5c31c8583abca22659424b93/SuplaConfigESP.cpp:469:12: note: suggested alternative: 'Serial1'
return Serial2;
^~~~~~~
Serial1

Error during build: exit status 1
xxxxxxxxxxxxxxxxxx
BOARD esp32:esp32:esp32s2:PartitionScheme=min_spiffs
BOARD_NAME
TEMPLATE_JSON
JSON_DEFINITION
OPTIONS -DATOMIC_FS_UPDATE -DBEARSSL_SSL_BASIC -DSUPLA_CONFIG -DSUPLA_ENABLE_GUI -DSUPLA_OTA -DSUPLA_RELAY
https://pietras-81.aqi.eco/
robertklepacki94
Posty: 941
Rejestracja: czw wrz 02, 2021 1:06 pm

U mnie ten sam problem co wyżej wstępuje już od poprzedniego piątku. Myślałem że to chwilowy błąd dlatego nic nie zgłaszałem.
Wziąłem udział w Supla Offline Party 2023
ODPOWIEDZ

Wróć do „GUI Generic”