The use of the ESP8266 in the world of IoT

User avatar
By flo17
#84115 Hello Everyone,

We have a project at school (bachelor degrees) to develop a IoT system for external application (greenhouse, chicken coop,...).
We want to use an architecture with 3 layers :
    Cloud App with user frontend
    Central Unit (Rpi connected to the Internet) - Bridge between cloud and edge devices + administration
    Edge devices (ESP) with differents sensors/actuators

I am currently working on the esp side and looking to find the best way to preconfigure the ESP from the RPI. The idea is that the user have to connect the new ESP to the Rpi (by USB or Serial) to add it to the system. A new image will be compiled with correct Wifi and MQTT settings and flashed to the board.

I have already used EspEasy and Sonoff-Tasmota for previous projects and I would like to know if is it possible to configure the "devices" (sensors/actuators) from source files or by terminal ?

Best regards

P.S. Sorry for spelling mystakes, english is not my mother tongue ;)