Arduino UNO Wifi - home.html page

Dear All,

I am using Arduino UNO wifi board which has an inbuilt esp8266 module for a project to post data to server through wifi.

I would like to modify the default html pages (home.html/console.html/etc), but unable to find to modify them.

Can somebody guide me how can i add html pages or modify the existing ones.

Appreciate your soonest reply.

Thanks

(deleted)

Thanks for the reply.

I am unable to find the entry point for the default html page.

For a better clarity on what i am referring to,

  1. Set the board to AP mode.
  2. Connect to the uno wifi AP.
  3. Once connected, go to address http://192.168.240.1 from browser window.
  4. home.html page opens up with details.

I would like to modify the above default page.

Thanks

the 'factory' firmware source code of arduino.org's Arduino Uno WiFi board is here

thanks 4 the link!

if you change to WiFi Link, it would be easier for you to change the files and the firmware code, because WiFi Link firmware is Arduino sketch for the esp8266 and uses SPIFS for files.
my UnoWiFi & WiFi Link doc

Thanks for the information @Juraj

Hello,

I am using UNOWifi Firmware updater tool method to update the firmware.
It requires user1.bin and user2.bin files.

How can i generate the above bin files (windows platform) from the the 'factory' firmware source code of arduino.org's Arduino Uno WiFi board - "GitHub - bcmi-labs/Esp-Link: Control Panel and connectors for Arduino Uno WiFi".

Thank you.

you want to hold to factory firmware? it is an old version of jeelabs/esp-link. there is the build toolchain documented

I recommend you to change to WiFi Link. There is the upload of new and changed static web files with one click in IDE menu.

The WiFi Link firmware is an Arduino sketch so you can build it in Arduino IDE and upload it to ESP from Arduino IDE. There is no need for some linux toolchains like is the case with other ESP firmwares.

Building WiFi Link firmware from source files gives you possibility to build the newest version, build a branch version, build some fork version or change something in source code you need.

In subfolder data of the source codes of the WiFi Link firmware are the static web files (html, css, js) for the Web Panel. You can add your own files and they will be accessible on expected url. A plugin creates a "ESP8266 Sketch Data upload" command in Tools menu. The tool builds the SPIFFS binary and uploads it to selected port. With network port it will use OTA and it is fast.

Thanks for the information, really helpful.

I am getting the below errors using the above "WifiLink - GitHub - JAndrassy/arduino-firmware-wifilink at ota"

  1. [FIRMWARE UPLOAD]
  • Code compiles successfully

  • Below are the board settings
    Board : Arduino
    Flash Size : 4M (1M SPIFFS)
    Model : Uno Wifi

  • Below is the error message

Archiving built core (caching) in: ..\AppData\Local\Temp\arduino_cache_919503\core\core_esp8266_esp8266_arduino-esp8266_BoardModel_unowifideved,UploadSpeed_9600,FlashSize_4M1M_59f4e42f7888210d87fd73bdf442028b.a
Sketch uses 344703 bytes (33%) of program storage space. Maximum is 1044464 bytes.
Global variables use 43172 bytes (52%) of dynamic memory, leaving 38748 bytes for local variables. Maximum is 81920 bytes.

warning: espcomm_sync failed
error: espcomm_open failed
error: espcomm_upload_mem failed
error: espcomm_upload_mem failed

  1. [ESP8266 Sketch Data Upload]
  • Below is the error

SPIFFS] data : ..\ArduinoFirmwareEsp\data
[SPIFFS] size : 1004
[SPIFFS] page : 256
[SPIFFS] block : 8192
/img/favicon.ico
/img/icons.png
/img/logo.ico
/img/logo.png
/img/logoOtto.ico
/img/logoOtto.png
/img/logoPrimo.ico
/img/logoPrimo.png
/img/logoUnoWiFi.ico
/img/logoUnoWiFi.png
/index.html
/pure.css
/style.css
/ui.js
/wifi.html
/wifi.js

[SPIFFS] upload : ..\AppData\Local\Temp\arduino_build_64354/ArduinoFirmwareEsp.spiffs.bin
[SPIFFS] address: 0x300000
[SPIFFS] reset : ck
[SPIFFS] port : COM5
[SPIFFS] speed : 9600

warning: espcomm_sync failed
error: espcomm_open failed
error: espcomm_upload_mem failed

SPIFFS Upload failed!

Need help on the above erros, appreciate your soonest reply.

Thanks

the upload from IDE over serial is not supported with EspRecovery. it is slow for it.

I published a new library for the Uno WiFi and changed WiFi Link and the docs.

Uno WiFi Serial1

Thanks @Juraj

I am facing this silly issue :frowning:

[Issue]

libraries\UnoWiFiDevEdSerial1\src\UnoWiFiDevEdSerial1.cpp:23:47: fatal error: utility/twi.h: No such file or directory

#include <utility/twi.h> //from Wire library

Thanks

selected boa

suneelng:
libraries\UnoWiFiDevEdSerial1\src\UnoWiFiDevEdSerial1.cpp:23:47: fatal error: utility/twi.h: No such file or directory

selected board is "Arduino Uno WiFi"?

IDE version?

Selected board was incorrect and hence that issue.

Thanks, it works fine. :slight_smile: