-
Notifications
You must be signed in to change notification settings - Fork 5
Installation ESP
Yurik72 edited this page Jan 22, 2019
·
5 revisions
Installation on the ESP
- Download a sketch from the HomeController folder
- There are two option how to compile:
- Using Arduino IDE
- Using MS Visual Studio plugin - Visual micro
Expanation how to compile and upload at this moment out of scope. "Google" can help to find that. Sketch is contains #if defined section for both board ESP8266/ESP32 and will be compiled without error by both option above
- Upload a scketch into your chip
- Upload an initial data into SPIFS. That can be done by both tools mentioned above. Hovewer most importnat is to upload filebrowse.html. After that you can upload and change/delete any file on your SPIF file system
- Power and start your ESP chip. Initially captive portal will appear and what you need, just to setup a connection to your home WIFI. As well you can define other option:
- Hostname is quite important becasue that is a subject for any further configuration. If you are not define that , default will be HomeController
- MQTT parameter: host, port, user, pwd. Can be defined at this step or later by advanced user by editing config.json file within filebrowse.html