Wsparcie dla liczników z nakładką wM-Bus

[email protected]
Posts: 1585
Joined: Mon Feb 06, 2023 8:56 am
Has thanked: 18 times
Been thanked: 26 times

Post

krycha88 wrote: Tue Dec 12, 2023 3:18 pm
[email protected] wrote: Mon Dec 11, 2023 7:40 pm No właśnie nic extra ponad zwykłą komunikację supli, tak jakby SPI nie działało albo te dodatkowe gpio jakos źle ustawione, ale to jest kontrolowane w kodzie ktory dodałem z działającego licznika więc zgłupiałem jak odebrał coś w trybie config a w normalnym cisza, juz myślałem że ubilem radio xD
A może masz problem z zasilaniem? ;)
To samo urządzenie z innym softem działa zarówno pod USB laptopa gdzie je zazwyczaj trzymam jak i pod ładowarką 2A, i czemu by tryb AP działał lepiej niż client wifi? 😀
krycha88
Posts: 5575
Joined: Fri Nov 16, 2018 7:25 am
Been thanked: 5 times

Post

[email protected] wrote: Tue Dec 12, 2023 5:21 pm To samo urządzenie z innym softem działa zarówno pod USB laptopa gdzie je zazwyczaj trzymam jak i pod ładowarką 2A, i czemu by tryb AP działał lepiej niż client wifi? 😀
A co wyświetla się na uart? Czy twój kod korzysta z HardwareSerial?
https://gui-generic-builder.supla.io/
krycha88
Posts: 5575
Joined: Fri Nov 16, 2018 7:25 am
Been thanked: 5 times

Post

https://gui-generic-builder.supla.io/
[email protected]
Posts: 1585
Joined: Mon Feb 06, 2023 8:56 am
Has thanked: 18 times
Been thanked: 26 times

Post

Nie korzystam z Hardware serial.

Log z trybu konfiguracyjnego ImprovSerialComponent enabled, jak widać z Suplą się nie połączył - w sumie nie wiem czemu bad credentials xD - ale odczytał z radia i przetworzył wartość poprawnie.

Przy tym bad credentials to teraz dziwny stan bo gui nie wyświetlę, a znów w tryb konfiguracyjny nie wejdę xD
Ciekawe bo email poprawny a auth key w sumie generowany przez soft.

Z trybu normalnego albo bez tego ImprovSerialComponent to muszę przekompilować na innym komputerze.

Code: Select all

19:52:46.313 > Config read
19:52:46.313 > Key: 0 Value: ����.�ÒŶ�����
19:52:46.317 > Key: 1 Value: ��Q���b�x��S
19:52:46.317 > Key: 2 Value: SSID
19:52:46.317 > Key: 3 Value: PASSWORD
19:52:46.317 > Key: 4 Value: admin
19:52:46.333 > Key: 5 Value: pass
19:52:46.333 > Key: 6 Value: GUI Generic
19:52:46.338 > Key: 7 Value: server.supla.org
19:52:46.342 > Key: 8 Value: email
19:52:46.344 > Key: 9 Value: 1
19:52:46.351 > Key: 10 Value:
19:52:46.351 > Key: 11 Value:
19:52:46.355 > Key: 12 Value:
19:52:46.355 > Key: 13 Value: 
19:52:46.359 > Key: 14 Value:
19:52:46.359 > Key: 15 Value:
19:52:46.362 > Key: 16 Value:
19:52:46.362 > Key: 17 Value:
19:52:46.368 > Key: 18 Value:
19:52:46.368 > Key: 19 Value:
19:52:46.372 > Key: 20 Value:
19:52:46.372 > Key: 21 Value: 
19:52:46.376 > Key: 22 Value:
19:52:46.381 > Key: 23 Value:
19:52:46.381 > Key: 24 Value: ,,,,,,,1,,,,,,,,,,,,,,,,,,,,,,,,,,,,
19:52:46.387 > Key: 25 Value:
19:52:46.387 > Key: 26 Value: ,,0,,,,,,,,,,,,,,,1,,,,,,,,,,,,,,,,,
19:52:46.387 > Key: 27 Value:
19:52:46.387 > Key: 28 Value: 
19:52:46.403 > Key: 29 Value:
19:52:46.404 > Key: 30 Value:
19:52:46.404 > Key: 31 Value:
19:52:46.404 > Key: 32 Value:
19:52:46.404 > Key: 33 Value:
19:52:46.404 > Key: 34 Value:
19:52:46.404 > Key: 35 Value: 
19:52:46.420 > Key: 36 Value:
19:52:46.420 > Key: 37 Value:
19:52:46.420 > Key: 38 Value:
19:52:46.420 > Key: 39 Value:
19:52:46.420 > Key: 40 Value:
19:52:46.420 > Key: 41 Value:
19:52:46.420 > Key: 42 Value:
19:52:46.420 > Key: 43 Value: 1,16,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,
19:52:46.439 > Key: 44 Value:
19:52:46.439 > Key: 45 Value: 1,45,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,
19:52:46.439 > Key: 46 Value: 1,44,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,
19:52:46.454 > Key: 47 Value: 1,15,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,
19:52:46.467 > Key: 48 Value:
19:52:46.467 > Key: 49 Value: 
19:52:46.471 > Key: 50 Value:
19:52:46.471 > Key: 51 Value:
19:52:46.471 > Key: 52 Value:
19:52:46.471 > Key: 53 Value:
19:52:46.471 > Key: 54 Value:
19:52:46.471 > Key: 55 Value:
19:52:46.471 > Key: 56 Value: 1,43,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,
19:52:46.488 > Key: 57 Value: 1,14,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,
19:52:46.488 > Key: 58 Value:
19:52:46.501 > Key: 59 Value:
19:52:46.501 > Key: 60 Value: 
19:52:46.504 > Key: 61 Value:
19:52:46.504 > Key: 62 Value:
19:52:46.504 > Key: 63 Value:
19:52:46.504 > Key: 64 Value:
19:52:46.504 > Key: 65 Value:
19:52:46.504 > Key: 66 Value: 
19:52:46.519 > Key: 67 Value:
19:52:46.519 > Key: 68 Value:
19:52:46.521 > Key: 69 Value:
19:52:46.521 > Key: 70 Value:
19:52:46.521 > Key: 71 Value:
19:52:46.521 > Key: 72 Value:
19:52:46.521 > Key: 73 Value: 
19:52:46.536 > Key: 74 Value:
19:52:46.536 > Key: 75 Value:
19:52:46.538 > Key: 76 Value:
19:52:46.538 > Key: 77 Value:
19:52:46.538 > Key: 78 Value:
19:52:46.538 > Key: 79 Value:
19:52:46.538 > Key: 80 Value: 1
19:52:46.538 > Key: 81 Value: 0
19:52:46.552 > Key: 82 Value:
19:52:46.552 > Key: 83 Value:
19:52:46.554 > Key: 84 Value:
19:52:46.554 > Key: 85 Value:
19:52:46.554 > Key: 86 Value: 0
19:52:46.554 > Key: 87 Value:
19:52:46.554 > Key: 88 Value: 
19:52:46.570 > Key: 89 Value:
19:52:46.570 > Key: 90 Value:
19:52:46.571 > Key: 91 Value:
19:52:46.571 > Key: 92 Value:
19:52:46.571 > Key: 93 Value:
19:52:46.571 > Key: 94 Value:
19:52:46.571 > Key: 95 Value:
19:52:46.571 > Key: 96 Value: 
19:52:46.587 > Key: 97 Value:
19:52:46.587 > Key: 98 Value:
19:52:46.587 > Key: 99 Value:
19:52:46.587 > Key: 100 Value:
19:52:46.587 > Key: 101 Value:
19:52:46.587 > Key: 102 Value: 0
19:52:46.587 > Key: 103 Value: 
19:52:46.603 > Key: 104 Value:
19:52:46.603 > Key: 105 Value:
19:52:46.606 > Key: 106 Value:
19:52:46.606 > Key: 107 Value:
19:52:46.606 > Key: 108 Value:
19:52:46.606 > Key: 109 Value: 0
19:52:46.606 > Key: 110 Value: 1
19:52:46.621 > Key: 111 Value:
19:52:46.621 > Key: 112 Value:
19:52:46.622 > Key: 113 Value:
19:52:46.622 > Key: 114 Value: 3,1,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,
19:52:46.639 > Key: 115 Value:
19:52:46.639 > Key: 116 Value:
19:52:46.639 > Key: 117 Value:
19:52:46.650 > Key: 118 Value:
19:52:46.650 > Key: 119 Value: 3,,,,,,,,,,,,,,,,,,,,,,,,,,,,,
19:52:46.657 > Key: 120 Value: 02719887
19:52:46.657 > addConditionsElement:functionClient: 0, nrClient: 0, functionSensor: 0, nrSensor : 0
19:52:46.672 > Button[0]::setMulticlickTime: 450
19:52:46.673 > Index of sensor type:3
19:52:46.673 > Sensor type:apator162
19:52:46.685 > Sensor id:02719887
19:52:46.689 > GPIO: 32,19,33,23,22,21GPIO END
19:52:46.690 >
19:52:46.702 > wMBus-lib: CC1101 version '4'
19:52:46.703 > wMBus-lib: CC1101 initialized
19:52:46.706 > Receiver started.
19:52:46.710 > Supla - starting initialization
19:52:46.725 > Storage initialization
19:52:46.725 > readStorage: 8; Read: [3 0 0 FF FF FF FF 0 ]
19:52:46.735 > Storage: missing Supla tag. Rewriting...
19:52:46.739 > Wrote 8 bytes to storage at 0
19:52:46.747 > Commit
19:52:46.747 > Button[0] enabling IN as config button
19:52:46.752 > Validating storage state section with current device configuration
19:52:46.760 > Storage state section validation completed. Loading elements state...
19:52:46.769 > Pin 0, pullUp 1, invertLogic 1, state 1
19:52:46.769 > GUID: A9D3F7D92E86C392C5B693B0B8BDAC06
19:52:46.769 > Device name: GUI Generic
19:52:46.786 > Device software version: GG v7.7.21
19:52:46.786 > Initializing network layer
19:52:46.786 > Network AP/hostname: GUI-GENERIC-3CE90E94B420
19:52:46.786 > Using Supla protocol version 20
19:52:46.803 > Current status: [5] SuplaDevice initialized
19:52:46.807 > Enter normal mode
19:52:46.807 > WiFi: establishing connection with SSID: "SSID"
19:52:51.250 > Wrote 7 bytes to storage at 0
19:52:51.252 > Commit
19:52:56.770 > Warning: network is not ready (10 s)
19:52:56.965 > WiFi Station disconnected
19:52:57.753 > Connected BSSID: 32:DE:4B:9D:F1:BC
19:52:57.756 > local IP: 192.168.0.123
19:52:57.756 > subnetMask: 255.255.255.0
19:52:57.756 > gatewayIP: 192.168.0.1
19:52:57.756 > Signal strength (RSSI): -65 dBm
19:52:57.756 > Establishing NOT encrypted connection with: server.supla.org (port: 2015)
19:52:57.806 > Connected to Supla Server
19:52:57.806 > Initializing SRPC
19:52:57.823 > LAST STATE ADDED: Register in progress
19:52:57.823 > Current status: [10] Register in progress
19:52:57.823 > CH #0, type: 5010, FuncList: 0x0, default: 330, flags: 0x10000, value: [00 00 00 00 00 00 00 00]
19:52:57.839 > Send: [53 55 50 4C 41 14 01 00 00 00 45 00 00 00 61 02 00 00 72 61 66 61 6C 65 6B 6B 61 6C 77 61 6B 40 77 70 2E 70 6C 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 8E 8D 51 F6 FC E4 B4 62 1B 03 33 B4 78 F5 B0 53 A9 D3 F7 D9 2E 86 C3 92 C5 B6 93 B0 B8 BD AC 06 47 55 49 20 47 65 6E 65 72 69 63 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ]
19:52:57.973 > Send: [53 55 50 4C 41 ]
19:53:00.093 > Recv: [53 55 50 4C 41 14 01 00 00 00 46 00 00 00 07 00 00 00 05 00 00 00 78 15 01 53 55 50 4C 41 ]
19:53:00.117 > LAST STATE ADDED: Bad credentials - incorrect AuthKey or email
19:53:00.124 > Current status: [25] Bad credentials - incorrect AuthKey or email
19:53:00.124 > Deinitializing SRPC
19:53:10.124 > Establishing NOT encrypted connection with: server.supla.org (port: 2015)
19:53:10.164 > Connected to Supla Server
19:53:10.164 > Initializing SRPC
19:53:10.169 > Send: [53 55 50 4C 41 14 01 00 00 00 45 00 00 00 61 02 00 00 72 61 66 61 6C 65 6B 6B 61 6C 77 61 6B 40 77 70 2E 70 6C 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 8E 8D 51 F6 FC E4 B4 62 1B 03 33 B4 78 F5 B0 53 A9 D3 F7 D9 2E 86 C3 92 C5 B6 93 B0 B8 BD AC 06 47 55 49 20 47 65 6E 65 72 69 63 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ]
19:53:10.304 > Send: [53 55 50 4C 41 ]
19:53:12.379 > Recv: [53 55 50 4C 41 14 01 00 00 00 46 00 00 00 07 00 00 00 05 00 00 00 78 15 01 53 55 50 4C 41 ]
19:53:12.403 > Current status: [25] Bad credentials - incorrect AuthKey or email
19:53:12.412 > Deinitializing SRPC

...

19:54:11.560 > Establishing NOT encrypted connection with: server.supla.org (port: 2015)
19:54:11.598 > Connected to Supla Server
19:54:11.598 > Initializing SRPC
19:54:11.602 > Send: [53 55 50 4C 41 14 01 00 00 00 45 00 00 00 61 02 00 00 72 61 66 61 6C 65 6B 6B 61 6C 77 61 6B 40 77 70 2E 70 6C 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 8E 8D 51 F6 FC E4 B4 62 1B 03 33 B4 78 F5 B0 53 A9 D3 F7 D9 2E 86 C3 92 C5 B6 93 B0 B8 BD AC 06 47 55 49 20 47 65 6E 65 72 69 63 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ]
19:54:11.739 > Send: [53 55 50 4C 41 ]
19:54:13.829 > Recv: [53 55 50 4C 41 14 01 00 00 00 46 00 00 00 07 00 00 00 05 00 00 00 78 15 01 53 55 50 4C 41 ]
19:54:13.842 > Current status: [25] Bad credentials - incorrect AuthKey or email
19:54:13.851 > Deinitializing SRPC
19:54:17.135 > wMBus-lib: Processing T1 A frame
19:54:17.140 > Found.
19:54:17.140 > 6E4401068798710205070F977A8B006085426C042728A1EAA87AEFF2F47E663D280B3CA0EBB542996FCE7AE713173C411307DE96C740FE8D80D3B5B09014DD4F1CB0DDEBE7245497980DDE42BFC583D9DF16FE50BC481931A7E9F70147741A4E77E2CCF49CF4DEB2BC14D439653CC1243DAA4E0B92FFDBA124121339BC83D90000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000
19:54:17.183 > Getting frame.
19:54:17.183 > ........................................
19:54:17.199 > Parsing frame.
19:54:17.199 > Formatting as string.
19:54:17.203 > Removing helping characters.
19:54:17.204 > Getting meter id as number.
19:54:17.212 > Getting meter id as string.
19:54:17.216 > Getting sensor config.
19:54:17.216 > Key provided, decrypting frame.
19:54:17.220 > Getting driver.
19:54:17.222 > Meter id as number: 02719887
19:54:17.230 > Meter id as string: 87987102
19:54:17.233 > 44.77m3
19:54:17.233 > Channel(0) value changed to 44769000
19:54:23.849 > Establishing NOT encrypted connection with: server.supla.org (port: 2015)
19:54:23.895 > Connected to Supla Server
19:54:23.896 > Initializing SRPC
...
krycha88
Posts: 5575
Joined: Fri Nov 16, 2018 7:25 am
Been thanked: 5 times

Post

[email protected] wrote: Tue Dec 12, 2023 7:31 pm
Wrzuciłem twoje zmiany na:
https://gui-generic-builder.supla.io/test.php

Ale nie kompilują się źródła bo brakuje bibliotek, dorzucisz? Mogę ja to zrobić tylko napisz mi konkretnie mam wrzucić.
https://gui-generic-builder.supla.io/
[email protected]
Posts: 1585
Joined: Mon Feb 06, 2023 8:56 am
Has thanked: 18 times
Been thanked: 26 times

Post

krycha88 wrote: Fri Dec 15, 2023 12:21 pm
[email protected] wrote: Tue Dec 12, 2023 7:31 pm
Wrzuciłem twoje zmiany na:
https://gui-generic-builder.supla.io/test.php

Ale nie kompilują się źródła bo brakuje bibliotek, dorzucisz? Mogę ja to zrobić tylko napisz mi konkretnie mam wrzucić.
Ale czego brakuje? :D Jakie błędy? Jedyne co dorzuciłem to : lsatan/SmartRC-CC1101-Driver-Lib@^2.5.7

Na jednym komputerze mi się nie kompiluje przez:

Code: Select all

Compiling .pio\build\GUI_Generic_ESP32\src\Markup.cpp.o
xtensa-esp32-elf-g++: error: CreateProcess: No such file or directory
Compiling .pio\build\GUI_Generic_ESP32\src\SuplaConditions.cpp.o
xtensa-esp32-elf-g++: error: CreateProcess: No such file or directory
*** [.pio\build\GUI_Generic_ESP32\src\GUI-Generic.ino.cpp.o] Error 1
*** [.pio\build\GUI_Generic_ESP32\src\GUIGenericCommon.cpp.o] Error 1
xtensa-esp32-elf-g++: error: CreateProcess: No such file or directory
*** [.pio\build\GUI_Generic_ESP32\src\Markup.cpp.o] Error 1
xtensa-esp32-elf-g++: error: CreateProcess: No such file or directory
*** [.pio\build\GUI_Generic_ESP32\src\SuplaConditions.cpp.o] Error 1
co jest mega dziwne bo przecież to tam jest, dokładnie ten sam kod na innym komputerze bez problemu się kompiluje, ale wywala Core 1 Panic (Load Prohibited) zaraz po "SSID to long or missing!" na ESP32 , mimo, że wcześniej działało, walczę od kilku dni, żeby coś uruchomić i w sumie to już mnie nerwy biorą xD Ten branch był stworzony na podstawie działającego kodu, a teraz nawet jak wyczyszczę ESP do zera to nie działa , jeśli się zbuduje możesz zobaczyć czy jesteś w stanie uruchomić na ESP konfigurację ?

Da się jakoś zmusić Platform.io żeby czyściło całą pamięć?
[email protected]
Posts: 1585
Joined: Mon Feb 06, 2023 8:56 am
Has thanked: 18 times
Been thanked: 26 times

Post

[email protected] wrote: Fri Dec 15, 2023 12:56 pm
krycha88 wrote: Fri Dec 15, 2023 12:21 pm
[email protected] wrote: Tue Dec 12, 2023 7:31 pm
Wrzuciłem twoje zmiany na:
https://gui-generic-builder.supla.io/test.php

Ale nie kompilują się źródła bo brakuje bibliotek, dorzucisz? Mogę ja to zrobić tylko napisz mi konkretnie mam wrzucić.
Ale czego brakuje? :D Jakie błędy? Jedyne co dorzuciłem to : lsatan/SmartRC-CC1101-Driver-Lib@^2.5.7

widzę build, :

Code: Select all

GUI-Generic_test_bv5.2_gv7.8.5_pl_fd311a5a0e13ec54aaa53b7ee6ff50eb/src/sensor/WmbusMeter.h:4:10: fatal error: src/wmbus/rf_mbus.hpp: No such file or directory
 #include "src/wmbus/rf_mbus.hpp"
Ale to przecież tam jest?

Na jednym komputerze mi się nie kompiluje przez:

Code: Select all

Compiling .pio\build\GUI_Generic_ESP32\src\Markup.cpp.o
xtensa-esp32-elf-g++: error: CreateProcess: No such file or directory
Compiling .pio\build\GUI_Generic_ESP32\src\SuplaConditions.cpp.o
xtensa-esp32-elf-g++: error: CreateProcess: No such file or directory
*** [.pio\build\GUI_Generic_ESP32\src\GUI-Generic.ino.cpp.o] Error 1
*** [.pio\build\GUI_Generic_ESP32\src\GUIGenericCommon.cpp.o] Error 1
xtensa-esp32-elf-g++: error: CreateProcess: No such file or directory
*** [.pio\build\GUI_Generic_ESP32\src\Markup.cpp.o] Error 1
xtensa-esp32-elf-g++: error: CreateProcess: No such file or directory
*** [.pio\build\GUI_Generic_ESP32\src\SuplaConditions.cpp.o] Error 1
co jest mega dziwne bo przecież to tam jest, dokładnie ten sam kod na innym komputerze bez problemu się kompiluje, ale wywala Core 1 Panic (Load Prohibited) zaraz po "SSID to long or missing!" na ESP32 , mimo, że wcześniej działało, walczę od kilku dni, żeby coś uruchomić i w sumie to już mnie nerwy biorą xD Ten branch był stworzony na podstawie działającego kodu, a teraz nawet jak wyczyszczę ESP do zera to nie działa , jeśli się zbuduje możesz zobaczyć czy jesteś w stanie uruchomić na ESP konfigurację ?

Da się jakoś zmusić Platform.io żeby czyściło całą pamięć?
User avatar
Robert Błaszczak
Posts: 5222
Joined: Sat Dec 22, 2018 8:55 pm
Location: Zielona Góra
Has thanked: 37 times
Been thanked: 27 times

Post

Błędy takie:

Code: Select all

In file included from GUI-Generic_test_bv5.2_gv7.8.5_pl_fd311a5a0e13ec54aaa53b7ee6ff50eb/SuplaDeviceGUI.h:232,
                 from GUI-Generic_test_bv5.2_gv7.8.5_pl_fd311a5a0e13ec54aaa53b7ee6ff50eb/GUI-Generic_test_bv5.2_gv7.8.5_pl_fd311a5a0e13ec54aaa53b7ee6ff50eb.ino:16:
GUI-Generic_test_bv5.2_gv7.8.5_pl_fd311a5a0e13ec54aaa53b7ee6ff50eb/src/sensor/WmbusMeter.h:4:10: fatal error: src/wmbus/rf_mbus.hpp: No such file or directory
 #include "src/wmbus/rf_mbus.hpp"
          ^~~~~~~~~~~~~~~~~~~~~~~
compilation terminated.

Error during build: exit status 1
xxxxxxxxxxxxxxxxxx
BOARD esp32:esp32:d32:PartitionScheme=min_spiffs
BOARD_NAME
TEMPLATE_JSON
JSON_DEFINITION
OPTIONS -DBUILDER_TEST -DATOMIC_FS_UPDATE -DMIMETYPE_MINIMAL -DBEARSSL_SSL_BASIC -DSUPLA_CC1101 -DSUPLA_CONFIG -DSUPLA_ENABLE_GUI -DSUPLA_OTA
Pozdrawiam
Robert Błaszczak


Moja prywatna strona: www.blaszczak.pl
[email protected]
Posts: 1585
Joined: Mon Feb 06, 2023 8:56 am
Has thanked: 18 times
Been thanked: 26 times

Post

[email protected] wrote: Fri Dec 15, 2023 12:59 pm
[email protected] wrote: Fri Dec 15, 2023 12:56 pm
krycha88 wrote: Fri Dec 15, 2023 12:21 pm
Wrzuciłem twoje zmiany na:
https://gui-generic-builder.supla.io/test.php

Ale nie kompilują się źródła bo brakuje bibliotek, dorzucisz? Mogę ja to zrobić tylko napisz mi konkretnie mam wrzucić.
Ale czego brakuje? :D Jakie błędy? Jedyne co dorzuciłem to : lsatan/SmartRC-CC1101-Driver-Lib@^2.5.7

widzę build:

Code: Select all

GUI-Generic_test_bv5.2_gv7.8.5_pl_fd311a5a0e13ec54aaa53b7ee6ff50eb/src/sensor/WmbusMeter.h:4:10: fatal error: src/wmbus/rf_mbus.hpp: No such file or directory
 #include "src/wmbus/rf_mbus.hpp"
Ale to przecież tam jest? aa u Ciebie po merge'u ścieżka jest: src/src/

Na jednym komputerze mi się nie kompiluje przez:

Code: Select all

Compiling .pio\build\GUI_Generic_ESP32\src\Markup.cpp.o
xtensa-esp32-elf-g++: error: CreateProcess: No such file or directory
Compiling .pio\build\GUI_Generic_ESP32\src\SuplaConditions.cpp.o
xtensa-esp32-elf-g++: error: CreateProcess: No such file or directory
*** [.pio\build\GUI_Generic_ESP32\src\GUI-Generic.ino.cpp.o] Error 1
*** [.pio\build\GUI_Generic_ESP32\src\GUIGenericCommon.cpp.o] Error 1
xtensa-esp32-elf-g++: error: CreateProcess: No such file or directory
*** [.pio\build\GUI_Generic_ESP32\src\Markup.cpp.o] Error 1
xtensa-esp32-elf-g++: error: CreateProcess: No such file or directory
*** [.pio\build\GUI_Generic_ESP32\src\SuplaConditions.cpp.o] Error 1
co jest mega dziwne bo przecież to tam jest, dokładnie ten sam kod na innym komputerze bez problemu się kompiluje, ale wywala Core 1 Panic (Load Prohibited) zaraz po "SSID to long or missing!" na ESP32 , mimo, że wcześniej działało, walczę od kilku dni, żeby coś uruchomić i w sumie to już mnie nerwy biorą xD Ten branch był stworzony na podstawie działającego kodu, a teraz nawet jak wyczyszczę ESP do zera to nie działa , jeśli się zbuduje możesz zobaczyć czy jesteś w stanie uruchomić na ESP konfigurację ?

Da się jakoś zmusić Platform.io żeby czyściło całą pamięć?
krycha88
Posts: 5575
Joined: Fri Nov 16, 2018 7:25 am
Been thanked: 5 times

Post

Builder nie korzysta z platformIO więc musisz mu ręcznie dostarczyć biblioteki dodając je
https://github.com/krycha88/GUI-Generic ... evelop/lib
https://gui-generic-builder.supla.io/

Return to “GUI Generic”