DIY: Cheap wifi-based temperature/humidity sensor based on ESP8266 & DHT22

You’re lucky :wink: I implemented this in the last four commits.

The code works like this: At compile time you define how many DS18S20 you have on your bus (I tested up to four). During startup, the appropriate number of REST endpoints is created, i.e. /temperature/0 maps on the first sensor, /temperature/1 on the second and so on. During runtime the measurement routine just enumerates the devices on the bus.

I wanted to add a 304 redirect for the old /temperature endpoint to the first sensor before announcing it here, but if you keep in mind that the current master has a different semantic than described previously the functionality should already be there.

HTH,
-Mathias