Skip to content

Instantly share code, notes, and snippets.

View Zhang-Siyang's full-sized avatar

张思扬 Zhang-Siyang

View GitHub Profile
@Zhang-Siyang
Zhang-Siyang / esp8266-dht-webthing.ino
Created May 28, 2019 14:08 — forked from marians/esp8266-dht-webthing.ino
ESP8266 publishing DHT temperature and humidity via Web Thing API
/**
* Publishing DHT temperature and humidity via the Web Thing API.
*
* This should work with DHT11, DHT21, DHT22 alike thanks to
* device auto detection in the markruys/arduino-DHT library.
*
* This will make the device available under http://livingroom.local/
* for msdns-aware clients.
*
* Dependencies: