Expandable-6-Channel-ESP32-Energy-Meter icon indicating copy to clipboard operation
Expandable-6-Channel-ESP32-Energy-Meter copied to clipboard

Issue with <esp_task_wdt.h> and a Wifi Redeclaration

Open errolsancaktar opened this issue 3 years ago • 11 comments

Just pulled newest version and trying to build via platformio. getting an error that it cant find <esp_task_wdt.h> which doesnt make sense since its part of arduino-esp32. It appears to be looking for the feedLoopWDT which i dont see declared anywhere: src/http.cpp:78:19: error: 'feedLoopWDT' was not declared in this scope Also getting two other interesting issues that dont seem to make sense.

src/http.cpp:59:51: error: no matching function for call to 'BearSSL::WiFiClientSecure::connect(const char*&, int&, int)'

errolsancaktar avatar Sep 21 '20 05:09 errolsancaktar

I just updated the platformio.ini file and got everything to build (along with some other improvements). I'm not quite sure why this was happening.

You can ignore the warnings that are output while building.

CircuitSetup avatar Sep 21 '20 23:09 CircuitSetup

That did work for me as well however now i have no mqtt. shows connected yes for a couple seconds then switches back to no,. nothing posts to mqtt.

errolsancaktar avatar Sep 23 '20 03:09 errolsancaktar

Also is there any logging methodology over the network?

errolsancaktar avatar Sep 23 '20 04:09 errolsancaktar

@errolsancaktar did you update spiffs as well? There is a new setting for json based mqtt that may need to be set.

CircuitSetup avatar Sep 23 '20 08:09 CircuitSetup

As far as logging, I was thinking of putting in some kind of virtual terminal so you can see what is going on remotely. Would that work?

CircuitSetup avatar Sep 23 '20 08:09 CircuitSetup

Yeah that would be super helpful. If you want help with a pr lemme know. Also I'm guessing no way to upload spiffs without pulling from breaker panel?

errolsancaktar avatar Sep 23 '20 14:09 errolsancaktar

You should be able to upload the spiffs.bin via the web interface.

I'm working on getting a debug output in the interface.

CircuitSetup avatar Sep 23 '20 20:09 CircuitSetup

i'm getting an 'update FAIL' when i try to upload spiffs.bin. is there another step i should take?

errolsancaktar avatar Sep 27 '20 02:09 errolsancaktar

how was the spiffs.bin compiled?

I'm still working on the debug output.

CircuitSetup avatar Oct 02 '20 14:10 CircuitSetup

Just through platformio no changes to code base

errolsancaktar avatar Oct 02 '20 17:10 errolsancaktar

@errolsancaktar did you ever figure out what was wrong with this? Updating the 6 channel code has been stalled lately.

CircuitSetup avatar Mar 23 '21 13:03 CircuitSetup