ESP8266 SPIFFS JSON SoftAP MQTT Store (wifi Station, mqtt server and mqtt port)

Completed Posted 4 years ago Paid on delivery
Completed Paid on delivery

ESP8266 SPIFFS JSON SoftAP MQTT Store (wifi Station, mqtt server and mqtt port)

ESP8266 Arduino sketch including soft access point option and mqtt server information store to a json file (this is like Wifimanager by tzapu) but i need fresh embedded code so you should use below library only

#include <FS.h>

#include <ESP8266WiFi.h> //esp8266/Arduino

#include <ESP8266WebServer.h> //esp8266/Arduino

#include <WiFiClient.h>

#include <ArduinoJson.h> //bblanchon/ArduinoJson

#include <PubSubClient.h> //knolleary/pubsubclient

When Trigger GPIO D0

Like

#define AP_PIN D0 // GPIO D0 /// PRESS BUTTON // softAPConfig will start

[login to view URL](AP, 12345678, channel, hidden, max_connection)

[--

([login to view URL](ssid, password, 1, 1)

(Will hide SoftAP SSID)

SoftAP IP address = [login to view URL]

--]

Browser input field on webpage will (follow attached image)

--wifi ssid--

--wifi password--

--mqtt server--

--mqtt port--

==Save==

Save data to Json file "/[login to view URL]" like below

{

"ssid":"myrouterssid"

"Password":"12345678"

"mqtt_server":"[login to view URL]",

"mqtt_port":"1883"

}

Will save credential make a url like

[login to view URL]

After save data to esp show successful message

When ESP Start information load from "/[login to view URL]" and connect to wifi and mqtt server automatically

If i need to change wifi or mqtt server then press 1 GPIO PIN High and softAPConfig will start for 60 second if no change then esp restart and previous data load from "/[login to view URL]" file

I have a sketch you should also include in your sketch

Please see attached file

Arduino Electronics Microcontroller C Programming

Project ID: #21332096

About the project

7 proposals Remote project Active 4 years ago

Awarded to:

MarcoCiau

Hi friend, I'm interested in the position of project you recently posted, particularly being from Embedded Systems. I have strong C/C++ skills and experience with ESP8266 and ESP32 MCU's programming. Feel free to co More

$98 USD in 2 days
(19 Reviews)
5.9

7 freelancers are bidding on average $98 for this job

Muratzz

How are you? I am a Senior Electronics and Embedded Engineer with the areas of expertise in Home Automation System and Embedded System, product prototyping, Schematic & PCB design and firmware development for systems. More

$100 USD in 2 days
(4 Reviews)
3.0
uxiaojuan2019

I have worked as developer embedded system with microcontroller such as DSP, FPGA/CPLD, PIC, PLC and so on. In there years, I have experiences about electronics engineering, power converter, communication such as SCI, More

$60 USD in 3 days
(8 Reviews)
2.7
JackKarl

Hi,dear. I have just read your project and I felt happy to see it. I have experienced for +7 years in this field. Particularly, I have ever done the job like this as you want. I want to hear your advice and discuss in More

$150 USD in 2 days
(2 Reviews)
1.0
JiangZhengHe

Hello. Thank you for the job posting As an electronic engineer, I have been working in PCB design/layout and firmware programming field for 10+ years. Here are some of the experiences that I worked ago. - Schematic and More

$100 USD in 7 days
(1 Review)
1.0
krishnesh865

5 day is the maximum time which I would take to complete the task. As you can can check my profile I have already worked on nodemcu, and protocols like Mqtt, I have also experience of developing web apps for IoT.

$66 USD in 5 days
(0 Reviews)
0.0