diff --git a/docs/FAQ.md b/docs/FAQ.md index 1b73503..9b64a1d 100644 --- a/docs/FAQ.md +++ b/docs/FAQ.md @@ -40,6 +40,11 @@ * Yes, the standard Arduino libraries `SPI.h` and `Wire.h` both work well within the HomeSpan environment. Typically the code to read from an SPI or I2C device is implemented within the `loop()` method of a HomeSpan Service with any initialization being done in the constructor for that Service. See [TemperatureSensorI2C](https://github.com/HomeSpan/TempSensorI2C) for an illustrative example. +#### Can you add a Web Server to HomeSpan? + +* Yes, provided you implement your Web Server using standard ESP32-Arduino libraries, such as `WebServer.h`. See [ProgrammableHub](https://github.com/HomeSpan/ProgrammableHub) for an illustrative example of how to easily integrate a Web Server into HomeSpan. This project also covers various other advanced topics, including TCP slot management, dynamic creation of Accessories, and saving arbitrary data in the ESP32's NVS. +* Note *ESP32AsyncWebServer* cannot be used since it requires a TCP stack that is unfortunately incompatible with HomeSpan. + --- [↩️](README.md) Back to the Welcome page