Supla 16 X relay -- esp8266 + mcp23017

pork
Posts: 44
Joined: Tue Sep 18, 2018 2:16 pm

hi,

elmaya,

pleas give me your supla library, thanks :)
elmaya
Posts: 1482
Joined: Wed Jun 27, 2018 5:48 pm
Location: El Saucejo - Sevilla

pork wrote: Fri Sep 25, 2020 6:04 pm hi,

elmaya,

pleas give me your supla library, thanks :)
here you have it.
I forgot I had some changes. ;)

xxxSuplaDevice.rar
(135.27 KiB) Downloaded 281 times
pork
Posts: 44
Joined: Tue Sep 18, 2018 2:16 pm

Thank you, it works! :)
radzik_r
Posts: 385
Joined: Sun Aug 11, 2019 5:32 pm

Hello. I have a problem.
Soft enters the AccesPoint mode all the time despite being properly configured.
I checked on NodeMCU and on Wemos D1 mini.
I don't know what the matter is.
Esp cleaned.
elmaya
Posts: 1482
Joined: Wed Jun 27, 2018 5:48 pm
Location: El Saucejo - Sevilla

What version are you using?
Do you use .bin or are you compiling?


If in the configuration the WiFi parameters "SSID & Password" are not correct or the Wi-Fi network is out of coverage, the module cannot connect and as it does not have any Wi-Fi network stored, it automatically enters the configuration.

make sure you don't have any blank space
radzik_r
Posts: 385
Joined: Sun Aug 11, 2019 5:32 pm

I am using bin
I entered the configuration data many times, each time it is as if he did not remember this data and that's why the AP starts.

I can't compile because I get an error with #include <io.h>

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

after re-entering the configuration mode, I have empty fields. esp does not remember the settings entered

from the bin in the terminal I have:

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
Attachments
1616.png
1616.png (14.75 KiB) Viewed 3629 times
save.png
save.png (32.02 KiB) Viewed 3629 times
elmaya
Posts: 1482
Joined: Wed Jun 27, 2018 5:48 pm
Location: El Saucejo - Sevilla

in your serial capture I see this error:

Code: Select all

failed to mount FS
in my opinion you have not uploaded the .bin with the correct parameters.
the bin files are accompanied by an image showing the correct parameters to upload.

in this project it is:
FlashTool16.jpg
FlashTool16.jpg (283.99 KiB) Viewed 3628 times
radzik_r
Posts: 385
Joined: Sun Aug 11, 2019 5:32 pm

You are right, I inadvertently uploaded 8mbit (1Mbyte)
Now I uploaded to 16mbit (2Mbyte) and logged in.
You're great, thank you.

Is it possible for you to provide the code of 16 relays + 16 buttons to be compiled in the arduino IDE on the new library?

Are you planning blinds with a new library on MCP23017?
I plan to update PCB V2 to my driver and maybe I could do it already on the new library.
mlynoza
Posts: 2
Joined: Sat Apr 17, 2021 8:40 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 };

                                       ^
elmaya
Posts: 1482
Joined: Wed Jun 27, 2018 5:48 pm
Location: El Saucejo - Sevilla

mlynoza 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 };

                                       ^
update WiFiManager
Post Reply

Return to “Ideas and concepts”