ESP8266 Sensor Server

The ESP8266 is a low-cost Wi-Fi microchip with full TCP/IP stack and microcontroller capability produced by Shanghai-based manufacturer Espressif. wikipedia

Server reports all devices seen on last scan reporting raw temperature readings in 1/16 degree Celsius.

{ "28F0BAF6": 322, "28DE9AF6": 322, "2851B4F6": 323, "28CF99F6": 320 }

We use fixed ip addresses in the 10.0.1.20 range based on the device mac address. Set with Clients ⇒ Properties ⇒ Configuration ⇒ Use fixed IP address. unifi

Four thermometers on one WiFi server. Desk: 10.0.1.20.

We forward ports in the 8020 range to each of these devices. 20 21 22 23

Our intention is to improve upon our long-running Sensor Server software which is one of the first live data sources incorporated into federated wiki. See List of Sensors

We demonstrate the parallel fetch from all three sensors using promises to overlap io. Now with timeout for offline servers.

We've aded a page that fetches and plots samples using plotly-js. We've looked up some examples that helped. lines extends plot

Source code here and in the SensorServer repo. github

esp

We should consider overlapping the temperature conversion steps when reading multiple thermometers from a single server. Replace next_sensor with convert_all and then sample_all 750ms later.

See ESP8266 Datalog for sample recordings.

deskESP_759BDA20web
28F0BAF6363
28DE9AF63611
2851B4F6362
28CF99F63612
officeESP_3C23F521web
28FF081D395-4
28FFEC6F3844
bedroomESP_3C27E222web
28FFC86F3661
28FFDA1D367
28FF3E6F369
garageESP_00C2FF150web
28FF2E41391
28FF6BCE393
28FF9763393