elmaya,
pleas give me your supla library, thanks

here you have it.
Code: Select all
supla_16x16_relay_nowabiblioteka:20:16: fatal error: io.h: No such file or directory
#include <io.h>
^
compilation terminated.
exit status 1
io.h: No such file or directory
Code: Select all
*WM: [2] Portal Timeout In 270 seconds
*WM: [3] -> www.msftconnecttest.com
*WM: [2] <- Request redirected to captive portal
*WM: [3] -> www.msftconnecttest.com
*WM: [2] <- Request redirected to captive portal
*WM: [3] -> router10.teamviewer.com
*WM: [2] <- Request redirected to captive portal
*WM: [3] -> router12.teamviewer.com
*WM: [2] <- Request redirected to captive portal
*WM: [3] -> www.msftconnecttest.com
*WM: [2] <- Request redirected to captive portal
*WM: [2] <- HTTP Root
*WM: [3] -> 192.168.4.1
*WM: [3] lastconxresult: WL_IDLE_STATUS
*WM: [2] WiFi Scan ASYNC started
*WM: [2] WiFi Scan ASYNC completed in 2209 ms
*WM: [2] WiFi Scan ASYNC found: 5
*WM: [3] -> router16.teamviewer.com
*WM: [2] <- Request redirected to captive portal
*WM: [3] -> router7.teamviewer.com
*WM: [2] <- Request redirected to captive portal
*WM: [2] Portal Timeout In 291 seconds
*WM: [3] -> router13.teamviewer.com
*WM: [2] <- Request redirected to captive portal
*WM: [3] -> router14.teamviewer.com
*WM: [2] <- Request redirected to captive portal
*WM: [3] -> www.msftconnecttest.com
*WM: [2] <- Request redirected to captive portal
*WM: [3] -> www.msftconnecttest.com
*WM: [2] <- Request redirected to captive portal
*WM: [3] -> router9.teamviewer.com
*WM: [2] <- Request redirected to captive portal
*WM: [3] -> router16.teamviewer.com
*WM: [2] <- Request redirected to captive portal
*WM: [2] <- HTTP Wifi
*WM: [2] Scan is cached 21716 ms ago
*WM: [1] 5 networks found
*WM: [2] AP: -53 kedar
*WM: [2] AP: -71 Vectra-WiFi-A4D1FE
*WM: [2] AP: -84 FunBox2-5692
*WM: [2] AP: -85 Orange_Swiatlowod_8740
*WM: [2] AP: -92 Vectra-WiFi-AAB854
*WM: [3] lastconxresult: WL_IDLE_STATUS
*WM: [3] Sent config page
*WM: [3] -> router15.teamviewer.com
*WM: [2] <- Request redirected to captive portal
*WM: [3] -> router4.teamviewer.com
*WM: [2] <- Request redirected to captive portal
*WM: [3] -> router13.teamviewer.com
*WM: [2] <- Request redirected to captive portal
*WM: [3] -> router14.teamviewer.com
*WM: [2] <- Request redirected to captive portal
*WM: [2] Portal Timeout In 285 seconds
*WM: [3] -> www.msftconnecttest.com
*WM: [2] <- Request redirected to captive portal
*WM: [3] -> www.msftconnecttest.com
*WM: [2] <- Request redirected to captive portal
*WM: [3] -> router13.teamviewer.com
*WM: [2] <- Request redirected to captive portal
*WM: [3] -> router15.teamviewer.com
*WM: [2] <- Request redirected to captive portal
*WM: [3] -> router11.teamviewer.com
*WM: [2] <- Request redirected to captive portal
*WM: [3] -> router16.teamviewer.com
*WM: [2] <- Request redirected to captive portal
*WM: [3] -> router15.teamviewer.com
*WM: [2] <- Request redirected to captive portal
*WM: [3] -> router1.teamviewer.com
*WM: [2] <- Request redirected to captive portal
*WM: [2] Portal Timeout In 255 seconds
*WM: [3] -> www.msftconnecttest.com
*WM: [2] <- Request redirected to captive portal
*WM: [3] -> router2.teamviewer.com
*WM: [2] <- Request redirected to captive portal
*WM: [3] -> router5.teamviewer.com
*WM: [2] <- Request redirected to captive portal
*WM: [3] -> www.msftconnecttest.com
*WM: [2] <- Request redirected to captive portal
*WM: [2] <- HTTP WiFi save
*WM: [3] Method: POST
*WM: [2] Parameters
*WM: [2] --------------------
*WM: [2] server: svrXX.supla.org
*WM: [2] email:XXXXX@orange.pl
*WM: [2] name: Supla 16x16 relay
*WM: [2] status: SuplaDevice initialized
*WM: [2] --------------------
*WM: [3] Sent wifi save page
*WM: [2] process connect
*WM: [2] Connecting as wifi client...
*WM: [1] STA static IP:
*WM: [2] setSTAConfig static ip not set
*WM: [3] WIFI station disconnect
*WM: [1] Connecting to new AP: XXXXX
*WM: [3] Using Password: XXXXXXXX
*WM: [3] WiFi station enable
*WM: [3] enableSTA PERSISTENT ON
*WM: [1] connectTimeout not set, ESP waitForConnectResult...
wifi Station disconnected
*WM: [2] Connection result: WL_CONNECT_FAILED
*WM: [3] lastconxresult: WL_STATION_WRONG_PASSWORD
*WM: [0] [ERROR] Connect to new AP Failed
Should save config
*WM: [2] disconnect configportal
*WM: [2] restoring usermode STA
*WM: [2] wifi status: WL_CONNECT_FAILED
*WM: [2] wifi mode: STA
*WM: [1] config portal exiting
Not connected to WiFi but continuing anyway.
saving config
failed to open config file for writing
{
"Supla_server": "svrXX.supla.org",
"Email": "XXXXXXXX@orange.pl",
"Supla_name": "Supla 16x16 relay"
}config saved
wifi Station disconnected
wifi Station disconnected
ets Jan 8 2013,rst cause:2, boot mode:(3,7)
load 0x4010f000, len 1384, room 16
tail 8
chksum 0x2d
csum 0x2d
v8b899c12
~ld
p
GUID : 5d098e1e6f0648e89ccf95475548fae7
AUTHKEY : 95475548fae74c4fb2146fd40ab469f5
failed to mount FS
WIFI: establishing connection with SSID: ""
Using protocol version 10
*WM: [3] allocating params bytes: 20
*WM: [2] Added Parameter: server
*WM: [2] Added Parameter: email
*WM: [2] Added Parameter: name
*WM: [2] Added Parameter: status
*WM: [3] WIFI station disconnect
*WM: [3] WiFi station enable
*WM: [2] Disabling STA
*WM: [2] Enabling AP
*WM: [1] StartAP with SSID: Supla_16X16
*WM: [2] AP has anonymous access!
*WM: [1] AP IP address: 192.168.4.1
*WM: [3] setupConfigPortal
*WM: [1] Starting Web Portal
*WM: [3] dns server started with ip: 192.168.4.1
*WM: [2] HTTP server started
*WM: [2] WiFi Scan ASYNC started
*WM: [2] Config Portal Running, blocking, waiting for clients...
*WM: [2] WiFi Scan ASYNC completed in 2202 ms
*WM: [2] WiFi Scan ASYNC found: 7
*WM: [2] Portal Timeout In 270 seconds
*WM: [3] -> www.msftconnecttest.com
*WM: [2] <- Request redirected to captive portal
*WM: [3] -> www.msftconnecttest.com
*WM: [2] <- Request redirected to captive portal
*WM: [3] -> www.msftconnecttest.com
*WM: [2] <- Request redirected to captive portal
*WM: [2] <- HTTP Root
*WM: [3] -> 192.168.4.1
*WM: [3] lastconxresult: WL_IDLE_STATUS
*WM: [2] WiFi Scan ASYNC started
*WM: [2] WiFi Scan ASYNC completed in 2208 ms
*WM: [2] WiFi Scan ASYNC found: 6
*WM: [2] Portal Timeout In 292 seconds
*WM: [2] <- HTTP Wifi
*WM: [2] Scan is cached 5679 ms ago
*WM: [1] 6 networks found
*WM: [2] AP: -57 kedar
*WM: [2] AP: -74 Vectra-WiFi-A4D1FE
*WM: [2] AP: -85 2.4G-vnet-8FC762
*WM: [2] AP: -88 Orange_Swiatlowod_8740
*WM: [2] AP: -90 JANEK
*WM: [2] AP: -93 FunBox2-5692
*WM: [3] lastconxresult: WL_IDLE_STATUS
*WM: [3] Sent config page
*WM: [3] -> www.msftconnecttest.com
*WM: [2] <- Request redirected to captive portal
*WM: [3] -> www.msftconnecttest.com
*WM: [2] <- Request redirected to captive portal
*WM: [2] <- HTTP WiFi save
*WM: [3] Method: POST
*WM: [2] Parameters
*WM: [2] --------------------
*WM: [2] server: svrXX.supla.org
*WM: [2] email: XXXXXX@orange.pl
*WM: [2] name: Supla 16x16 relay
*WM: [2] status: SuplaDevice initialized
*WM: [2] --------------------
*WM: [3] Sent wifi save page
*WM: [2] process connect
*WM: [2] Connecting as wifi client...
*WM: [1] STA static IP:
*WM: [2] setSTAConfig static ip not set
*WM: [3] WIFI station disconnect
*WM: [1] Connecting to new AP: XXXXXX
*WM: [3] Using Password: XXXXXXXX
*WM: [3] WiFi station enable
*WM: [3] enableSTA PERSISTENT ON
*WM: [1] connectTimeout not set, ESP waitForConnectResult...
local IP: 192.168.43.58
subnetMask: 255.255.255.0
gatewayIP: 192.168.43.1
Signal Strength (RSSI): -28 dBm
*WM: [2] Connection result: WL_CONNECTED
*WM: [3] lastconxresult: WL_CONNECTED
*WM: [1] Connect to new AP [SUCCESS]
*WM: [1] Got IP Address:
*WM: [1] 192.168.43.58
Should save config
*WM: [2] disconnect configportal
*WM: [2] restoring usermode STA
*WM: [2] wifi status: WL_CONNECTED
*WM: [2] wifi mode: STA
*WM: [1] config portal exiting
connected...yeey :)
saving config
failed to open config file for writing
{
"Supla_server": "svrXX.supla.org",
"Email": "XXXXXX@orange.pl",
"Supla_name": "Supla 16x16 relay"
}config saved
wifi Station disconnected
ets Jan 8 2013,rst cause:2, boot mode:(3,7)
load 0x4010f000, len 1384, room 16
tail 8
chksum 0x2d
csum 0x2d
v8b899c12
~ld
p
GUID : 6d424603202848278778ad624b307bb5
AUTHKEY : ad624b307bb54fe9a850430fb37acb7a
failed to mount FS
WIFI: establishing connection with SSID: ""
Using protocol version 10
*WM: [3] allocating params bytes: 20
*WM: [2] Added Parameter: server
*WM: [2] Added Parameter: email
*WM: [2] Added Parameter: name
*WM: [2] Added Parameter: status
*WM: [3] WIFI station disconnect
*WM: [3] WiFi station enable
*WM: [2] Disabling STA
*WM: [2] Enabling AP
*WM: [1] StartAP with SSID: Supla_16X16
*WM: [2] AP has anonymous access!
*WM: [1] AP IP address: 192.168.4.1
*WM: [3] setupConfigPortal
*WM: [1] Starting Web Portal
*WM: [3] dns server started with ip: 192.168.4.1
*WM: [2] HTTP server started
*WM: [2] WiFi Scan ASYNC started
*WM: [2] Config Portal Running, blocking, waiting for clients...
*WM: [2] WiFi Scan ASYNC completed in 2202 ms
*WM: [2] WiFi Scan ASYNC found: 7
*WM: [2] Portal Timeout In 270 seconds
*WM: [2] Portal Timeout In 240 seconds
*WM: [2] Portal Timeout In 210 seconds
*WM: [2] Portal Timeout In 180 seconds
*WM: [2] Portal Timeout In 150 seconds
*WM: [2] Portal Timeout In 120 seconds
*WM: [3] -> www.msftconnecttest.com
*WM: [2] <- Request redirected to captive portal
*WM: [3] -> www.msftconnecttest.com
*WM: [2] <- Request redirected to captive portal
*WM: [3] -> www.msftconnecttest.com
*WM: [2] <- Request redirected to captive portal
*WM: [2] <- HTTP Root
*WM: [3] -> 192.168.4.1
*WM: [3] lastconxresult: WL_IDLE_STATUS
*WM: [2] WiFi Scan ASYNC started
*WM: [3] -> www.msftconnecttest.com
*WM: [2] <- Request redirected to captive portal
*WM: [2] WiFi Scan ASYNC completed in 2210 ms
*WM: [2] WiFi Scan ASYNC found: 6
*WM: [3] -> www.msftconnecttest.com
*WM: [2] <- Request redirected to captive portal
*WM: [2] Portal Timeout In 293 seconds
*WM: [2] <- HTTP Wifi
*WM: [2] Scan is cached 10792 ms ago
*WM: [1] 6 networks found
*WM: [2] AP: -53 kedar
*WM: [2] AP: -65 Vectra-WiFi-A4D1FE
*WM: [2] AP: -84 FunBox2-5692
*WM: [2] AP: -85 Orange_Swiatlowod_8740
*WM: [2] AP: -87 JANEK
*WM: [2] AP: -90 Vectra-WiFi-AAB854
*WM: [3] lastconxresult: WL_IDLE_STATUS
*WM: [3] Sent config page
*WM: [3] -> www.msftconnecttest.com
*WM: [2] <- Request redirected to captive portal
*WM: [3] -> www.msftconnecttest.com
*WM: [2] <- Request redirected to captive portal
*WM: [2] Portal Timeout In 276 seconds
*WM: [3] -> www.msftconnecttest.com
*WM: [2] <- Request redirected to captive portal
*WM: [3] -> www.msftconnecttest.com
*WM: [2] <- Request redirected to captive portal
*WM: [2] Portal Timeout In 246 seconds
*WM: [2] <- HTTP WiFi save
*WM: [3] Method: POST
*WM: [2] Parameters
*WM: [2] --------------------
*WM: [2] server: svrXX.supla.org
*WM: [2] email: XXXXXXXXr@orange.pl
*WM: [2] name: Supla 16x16 relay
*WM: [2] status: SuplaDevice initialized
*WM: [2] --------------------
*WM: [3] Sent wifi save page
*WM: [2] process connect
*WM: [2] Connecting as wifi client...
*WM: [1] STA static IP:
*WM: [2] setSTAConfig static ip not set
*WM: [3] WIFI station disconnect
*WM: [1] Connecting to new AP: XXXXX
*WM: [3] Using Password: XXXXXXXX
*WM: [3] WiFi station enable
*WM: [3] enableSTA PERSISTENT ON
*WM: [1] connectTimeout not set, ESP waitForConnectResult...
wifi Station disconnected
local IP: 192.168.1.42
subnetMask: 255.255.255.0
gatewayIP: 192.168.1.1
Signal Strength (RSSI): -50 dBm
*WM: [2] Connection result: WL_CONNECTED
*WM: [3] lastconxresult: WL_CONNECTED
*WM: [1] Connect to new AP [SUCCESS]
*WM: [1] Got IP Address:
*WM: [1] 192.168.1.42
Should save config
*WM: [2] disconnect configportal
*WM: [2] restoring usermode STA
*WM: [2] wifi status: WL_CONNECTED
*WM: [2] wifi mode: STA
*WM: [1] config portal exiting
connected...yeey :)
saving config
failed to open config file for writing
{
"Supla_server": "svrXX.supla.org",
"Email": "XXXXXX@orange.pl",
"Supla_name": "Supla 16x16 relay"
}config saved
wifi Station disconnected
ets Jan 8 2013,rst cause:2, boot mode:(3,7)
load 0x4010f000, len 1384, room 16
tail 8
chksum 0x2d
csum 0x2d
v8b899c12
~ld
p
GUID : a2dbeb7b52014e068d79ece56e7de57d
AUTHKEY : ece56e7de57d416daa850d9c902664de
failed to mount FS
WIFI: establishing connection with SSID: ""
Using protocol version 10
*WM: [3] allocating params bytes: 20
*WM: [2] Added Parameter: server
*WM: [2] Added Parameter: email
*WM: [2] Added Parameter: name
*WM: [2] Added Parameter: status
*WM: [3] WIFI station disconnect
*WM: [3] WiFi station enable
*WM: [2] Disabling STA
*WM: [2] Enabling AP
*WM: [1] StartAP with SSID: Supla_16X16
*WM: [2] AP has anonymous access!
*WM: [1] AP IP address: 192.168.4.1
*WM: [3] setupConfigPortal
*WM: [1] Starting Web Portal
*WM: [3] dns server started with ip: 192.168.4.1
*WM: [2] HTTP server started
*WM: [2] WiFi Scan ASYNC started
*WM: [2] Config Portal Running, blocking, waiting for clients...
*WM: [2] WiFi Scan ASYNC completed in 2201 ms
*WM: [2] WiFi Scan ASYNC found: 5
Code: Select all
failed to mount FS
Code: Select all
In file included from C:\Users\DELL\AppData\Local\Arduino15\packages\esp8266\hardware\esp8266\2.7.1/tools/sdk/libc/xtensa-lx106-elf/include/sys/stdio.h:6:0,
from C:\Users\DELL\AppData\Local\Arduino15\packages\esp8266\hardware\esp8266\2.7.1/tools/sdk/libc/xtensa-lx106-elf/include/stdio.h:63,
from C:\Users\DELL\AppData\Local\Arduino15\packages\esp8266\hardware\esp8266\2.7.1\cores\esp8266/Arduino.h:32,
from sketch\supla_8P_16B_Custom.ino.cpp:1:
C:\Users\DELL\AppData\Local\Arduino15\packages\esp8266\hardware\esp8266\2.7.1/tools/sdk/libc/xtensa-lx106-elf/include/sys/pgmspace.h:25:130: error: 'const char HTTP_HEAD []' redeclared as different kind of symbol
#define PROGMEM __attribute__((section( "\".irom.text." __FILE__ "." __STRINGIZE(__LINE__) "." __STRINGIZE(__COUNTER__) "\"")))
^
e:\arduino\libraries\WiFiManager-0.14/WiFiManager.h:25:24: note: in expansion of macro 'PROGMEM'
const char HTTP_HEAD[] PROGMEM = "<!DOCTYPE html><html lang=\"en\"><head><meta name=\"viewport\" content=\"width=device-width, initial-scale=1, user-scalable=no\"/><title>{v}</title>";
^
In file included from E:\arduino\projekty\supla_ROLETY\supla_8P_16B_Custom\supla_8P_16B_Custom.ino:10:0:
C:\Users\DELL\AppData\Local\Arduino15\packages\esp8266\hardware\esp8266\2.7.1\libraries\ESP8266WebServer\src/ESP8266WebServer.h:34:39: error: previous declaration of 'HTTPMethod HTTP_HEAD'
enum HTTPMethod { HTTP_ANY, HTTP_GET, HTTP_HEAD, HTTP_POST, HTTP_PUT, HTTP_PATCH, HTTP_DELETE, HTTP_OPTIONS };
^
update WiFiManagermlynoza wrote: Sat Apr 17, 2021 8:47 am Hello.
I am doing program compilations and I have such errors. I thought something was wrong with my version of the program and tried on a different computer, but the effect is the same.
What is wrong ?
Code: Select all
In file included from C:\Users\DELL\AppData\Local\Arduino15\packages\esp8266\hardware\esp8266\2.7.1/tools/sdk/libc/xtensa-lx106-elf/include/sys/stdio.h:6:0, from C:\Users\DELL\AppData\Local\Arduino15\packages\esp8266\hardware\esp8266\2.7.1/tools/sdk/libc/xtensa-lx106-elf/include/stdio.h:63, from C:\Users\DELL\AppData\Local\Arduino15\packages\esp8266\hardware\esp8266\2.7.1\cores\esp8266/Arduino.h:32, from sketch\supla_8P_16B_Custom.ino.cpp:1: C:\Users\DELL\AppData\Local\Arduino15\packages\esp8266\hardware\esp8266\2.7.1/tools/sdk/libc/xtensa-lx106-elf/include/sys/pgmspace.h:25:130: error: 'const char HTTP_HEAD []' redeclared as different kind of symbol #define PROGMEM __attribute__((section( "\".irom.text." __FILE__ "." __STRINGIZE(__LINE__) "." __STRINGIZE(__COUNTER__) "\""))) ^ e:\arduino\libraries\WiFiManager-0.14/WiFiManager.h:25:24: note: in expansion of macro 'PROGMEM' const char HTTP_HEAD[] PROGMEM = "<!DOCTYPE html><html lang=\"en\"><head><meta name=\"viewport\" content=\"width=device-width, initial-scale=1, user-scalable=no\"/><title>{v}</title>"; ^ In file included from E:\arduino\projekty\supla_ROLETY\supla_8P_16B_Custom\supla_8P_16B_Custom.ino:10:0: C:\Users\DELL\AppData\Local\Arduino15\packages\esp8266\hardware\esp8266\2.7.1\libraries\ESP8266WebServer\src/ESP8266WebServer.h:34:39: error: previous declaration of 'HTTPMethod HTTP_HEAD' enum HTTPMethod { HTTP_ANY, HTTP_GET, HTTP_HEAD, HTTP_POST, HTTP_PUT, HTTP_PATCH, HTTP_DELETE, HTTP_OPTIONS }; ^