Follow the explanation in WEBServer and create the 3 versions of the Hello World Web Server.
Modify the WEB server to provide temperature and humidity measured with the SHT30. The easiest way to accomplish this is static text like in the Hello World HTML page into which the measurements can be inserted. This can be done with utemplates, which are provided by picoweb
. Have a look in the utemplates README.MD and in the examples directory of picoweb to understand how this is implemented.
This is how your WEB site for SHT30 measurements might look like (screen dump of the solution script):
The above exercise has a major flaw: For each measurement you must reload the entire page. It would be much nicer it the WEB page could be updated whenever a new is requested.