Flash problems #791
Replies: 7 comments 9 replies
-
Would help if you told us what the error said |
Beta Was this translation helpful? Give feedback.
-
Found it! Didn't expect it here :) |
Beta Was this translation helpful? Give feedback.
-
Check that you have latest version of everything. This code and arduino framework etc. |
Beta Was this translation helpful? Give feedback.
-
Possibly the user name is the problem. Dina & Kristina contains special chars. Not sure but it can be a problem |
Beta Was this translation helpful? Give feedback.
-
Had to activate buttons 😅 |
Beta Was this translation helpful? Give feedback.
-
Screen_Recording_20240823_213205_Home.Assistant.mp4The temperature adjustment definitely has a problem via home assistant (also web ui) the temp jumps back and forth wildly. |
Beta Was this translation helpful? Give feedback.
-
Hello,
I just can't get it to flash the esp8266 node mcu v3. Could it be that some steps are not documented in the manual or does any file have to be edited beforehand?
I proceeded like this:
1.from the new platformio icon, open folder ‘code’.
2. connect USB data cable to ESP module.
3. build+upload firmware via USB. (By clicking on the Right arrow at bottom of screen)
(here I already get an error message)
4. build filesystem image
5. upload filesystem image
I also tested steps 4 and 5 before step 3, unfortunately without success.
Can someone please help me?
Processing nodemcuv2 (platform: espressif8266@^4; board: nodemcuv2; framework: arduino) --------------------------------------------------------------------------------------------------------------Verbose mode can be enabled via
-v, --verbose` optionCONFIGURATION: https://docs.platformio.org/page/boards/espressif8266/nodemcuv2.html
PLATFORM: Espressif 8266 (4.0.1) > NodeMCU 1.0 (ESP-12E Module)
HARDWARE: ESP8266 160MHz, 80KB RAM, 4MB Flash
PACKAGES:
LDF: Library Dependency Finder -> https://bit.ly/configure-pio-ldf
LDF Modes: Finder ~ chain, Compatibility ~ soft
Found 47 compatible libraries
Scanning dependencies...
Dependency Graph
|-- ArduinoJson @ 6.21.2
|-- WebSockets @ 2.5.3
|-- PubSubClient @ 2.8.0
|-- ESPAsyncTCP @ 1.2.2
|-- EspSoftwareSerial @ 8.2.0
|-- DallasTemperature @ 3.11.0
|-- smarthomes
|-- BWC_unified
|-- ArduinoOTA @ 1.0
|-- ESP8266WebServer @ 1.0
|-- ESP8266WiFi @ 1.0
|-- LittleFS @ 0.1.0
|-- OneWire @ 2.3.8
|-- Ticker @ 1.0
Building in release mode
Compiling .pio\build\nodemcuv2\src\main.cpp.o
Compiling .pio\build\nodemcuv2\libb10\WebSockets\libb64\cencode.c.o
Compiling .pio\build\nodemcuv2\libb10\WebSockets\libsha1\libsha1.c.o
Compiling .pio\build\nodemcuv2\lib995\PubSubClient\PubSubClient.cpp.o
Compiling .pio\build\nodemcuv2\lib982\ghostl\ghostl\FastScheduler.cpp.o
Archiving .pio\build\nodemcuv2\libb10\libWebSockets.a
Compiling .pio\build\nodemcuv2\liba89\EspSoftwareSerial\SoftwareSerial.cpp.o
Archiving .pio\build\nodemcuv2\lib982\libghostl.a
Compiling .pio\build\nodemcuv2\libfbd\OneWire\OneWire.cpp.o
.pio\libdeps\nodemcuv2\PubSubClient\src\PubSubClient.cpp: In member function 'boolean PubSubClient::publish_P(const char*, const uint8_t*, unsigned int, boolean)':
.pio\libdeps\nodemcuv2\PubSubClient\src\PubSubClient.cpp:523:16: warning: comparison of integer expressions of different signedness: 'unsigned int' and 'int' [-Wsign-compare]
523 | return (rc == expectedLength);
| ~~~^~~~~~~~~~~~~~~~~
Archiving .pio\build\nodemcuv2\lib995\libPubSubClient.a
Archiving .pio\build\nodemcuv2\libfbd\libOneWire.a
Compiling .pio\build\nodemcuv2\lib00e\DallasTemperature\DallasTemperature.cpp.o
Compiling .pio\build\nodemcuv2\lib40c\cio\CIO_2021.cpp.o
Archiving .pio\build\nodemcuv2\liba89\libEspSoftwareSerial.a
src\main.cpp: In function 'void startNTP()':
src\main.cpp:430:80: error: no matching function for call to 'configTime(int, int, String&, const __FlashStringHelper*, const __FlashStringHelper*)'
430 | configTime(0,0,wifi_info->ip4NTP_str, F("pool.ntp.org"), F("time.nist.gov"));
| ^
In file included from src\main.h:2,
from src\main.cpp:1:
C:\Users\Dima & Kristina.platformio\packages\framework-arduinoespressif8266\cores\esp8266/Arduino.h:269:6: note: candidate: 'void configTime(int, int, const char*, const char*, const char*)'
269 | void configTime(int timezone, int daylightOffset_sec, const char* server1,
| ^~~~~~~~~~
C:\Users\Dima & Kristina.platformio\packages\framework-arduinoespressif8266\cores\esp8266/Arduino.h:269:67: note: no known conversion for argument 3 from 'String' to 'const char*'
269 | void configTime(int timezone, int daylightOffset_sec, const char* server1,
| ~~~~~~~~~~~~^~~~~~~
C:\Users\Dima & Kristina.platformio\packages\framework-arduinoespressif8266\cores\esp8266/Arduino.h:272:6: note: candidate: 'void configTime(const char*, const char*, const char*, const char*)'
272 | void configTime(const char* tz, const char* server1,
| ^~~~~~~~~~
C:\Users\Dima & Kristina.platformio\packages\framework-arduinoespressif8266\cores\esp8266/Arduino.h:272:6: note: candidate expects 4 arguments, 5 provided
Compiling .pio\build\nodemcuv2\lib40c\cio\CIO_2021HJT.cpp.o
Compiling .pio\build\nodemcuv2\lib40c\cio\CIO_4W.cpp.o
Archiving .pio\build\nodemcuv2\lib00e\libDallasTemperature.a
Compiling .pio\build\nodemcuv2\lib40c\cio\CIO_54149E.cpp.o
*** [.pio\build\nodemcuv2\src\main.cpp.o] Error 1
======================================== [FAILED] Took 14.76 seconds ========================================
`
Beta Was this translation helpful? Give feedback.
All reactions