Home › Forums › The projects hosted on the site › ABB (ex Power One) Aurora Web Inverter Monitor (WIM) › Compiling issues
- This topic has 10 replies, 2 voices, and was last updated 1 year, 8 months ago by
Renzo Mischianti.
-
AuthorPosts
-
-
18 August 2023 at 21:47 #27152
I have set up the project with Arduino IDE 2.
But I´m not able to compile the code.
Which library and version is used for WiFiManager? -
19 August 2023 at 10:52 #27170
Hi,
you can find all information in the articles.ABB Aurora Web Inverter Monitor (WIM): upload the sketch and front end – 9
Bye Renzo
-
25 August 2023 at 20:48 #27189
Thank´s a lot, but I don´t find any information about which version of the mentioned modules you used.
I set up the project with VSCode and PlatformIO and I´m using the latest available module versions. After some adaptions I compiled and flashed a version and uploaded the files which are needed for the webinterface.
But if I start the webinterface in my browser it only shows a blank page.
If I look at the page source, it´s there.
Any hints what´s going wrong?
Remark: I don´t have a PCB and I used a breadboard for testing. The RS485 interface chip is not connected but this shouldn´t make trouble. -
26 August 2023 at 18:58 #27191
Hi,
I extract my library settings for the project.esp8266/hardware/esp8266/2.4.2/cores/esp8266
esp8266/hardware/esp8266/2.4.2/variants/d1_minilibraries/ArduinoJson/6.5.0-beta
libraries/ArduinoThread
esp8266/hardware/esp8266/2.4.2/libraries/DNSServer
libraries/EMailSender
esp8266/2.4.2/libraries/ESP8266WebServer
esp8266/hardware/esp8266/2.4.2/libraries/ESP8266WiFi
esp8266/2.4.2/libraries/ESP8266mDNS
esp8266/hardware/esp8266/2.4.2/libraries/Hash
libraries/NTPClient/3.2.1
esp8266/hardware/esp8266/2.4.2/libraries/SD
esp8266/hardware/esp8266/2.4.2/libraries/SPI
libraries/Thread/0.0.2
TimeLib
Timezone
libraries/Timezone/1.2.4
libraries/WebSockets/2.3.5
WiFiManager
esp8266/hardware/esp8266/2.4.2/libraries/Wire
aurora_communication_protocolBye Renzo
-
27 August 2023 at 10:29 #27198
Great, I tried to set up the project with Arduino IDE 1.8.19 with ESP8266 core 2.4.2 but I still don´t know which WiFiManager library you used.
You are using
setSTAStaticIPConfig(_ip, _gw, _sn, _dns1, _dns2)
but I don´t find any library except ESP_WiFiManager which accepts two DNS servers as parameters.
Please tell me where to get the correct library.
Thank you very much! -
30 August 2023 at 09:34 #27219
Hi,
read the relative article about that, and you find the link on the page already linked.
I use a custom version of WiFi Manager.
Bye Renzo -
30 August 2023 at 22:37 #27223
Thanks a lot for your patience, but it´s a great puzzle for me to get all details.
I used https://github.com/xreef/WiFiManager/archive/refs/heads/master.zip and https://github.com/nailbuster/esp8266FTPServer/archive/refs/heads/master.zip.
Are these the correct libraries and versions?
The result is the same as before with my PlatformIO setup.
The webpage remains empty (blank).
I think it should show a menu on the left. What am I doing wrong? -
1 September 2023 at 09:43 #27231
Hi,
for the WiFiManager It’s ok, but disable the FTP server with the relative define for now, It’s not useful.
Bye Renzo -
1 September 2023 at 21:33 #27269
Ok, I don´t use it anymore. I use your precompiled binary
Aurora_Web_Inverter_Monitor.spiffs.bin
instead.
The webpage is still empty.
Even if I upload all files with Arduino IDE the result is the same.I think the issue it related to
aurora-web.min.js.gz
. The file is compressed but inindex.html
I foundaurora-web.min.js
. How does it work?
If I uncompress the fileaurora-web.min.js.gz
and start a local websever on my PC the menu is visible! But the uncompressed file doesn´t fit in SPIFFS of the ESP8266! -
12 September 2023 at 23:22 #27398
Dear Renzo,
what’s about the empty page?
Is there a problem with the compiled modules or with the uploaded HTML files? -
15 September 2023 at 10:43 #27399
Hi,
It’s strange, che if you do something wrong with spiffs size.
The file is correct, you can have some other information about the management of gz file in this tutorial.Web Server with esp8266 and esp32: byte array, gzipped pages and SPIFFS – 2
Bye Renzo
-
-
AuthorPosts
- You must be logged in to reply to this topic.