====== Wifi Indoor Sensor ====== ===== Objectif ===== S'appuyer sur la solution TICK ([[:informatique:docker:influxdata_stack|]]) / ESP8266 pour collecter/stoker/restituer des mesures d'environnement. ===== Electronique ===== \\ A écrire un jour ..\\ ===== Logiciel ===== ==== Mise en place d'un point d'entrée Influxdb UDP ==== Voir [[:informatique:docker:influxdata_stack|]] -> Paragraphe UDP ==== Arduino ==== Au programme : * Wifi * NTP (ne pas garder cette partie si on veut économiser l'énergie, influxdb positionne son timestamp à réception) * DHT22 Sensor libraries * Deep Sleep (quelques ambitions de projets à batteries) Code sous Github : [[https://github.com/floriantales/Wifi_Indoor_Sensor|github.com/floriantales/Wifi_Indoor_Sensor]] ==== Grafana ==== Dashboard sous github (le sensor humidité du wemos 2 est mort suite à un branchement maladroit {{http://doku.floriantales.fr/lib/plugins/ckgedit/ckeditor/plugins/smiley/images/cry_smile.png?nolink&23x23|crying}}): \\ {{:electronique:micro_controleurs:esp8266:wireless_indoor_sensor:grafana.png?direct&800x352}} ===== Ressources ===== Le même projet : [[https://github.com/willpopski/room-sense|github.com/willpopski/room-sense]]\\ \\ Grafana Domoticz : [[https://grafana.com/dashboards/1507|https://grafana.com/dashboards/1507]]\\ UDP to Influxdb : [[https://www.influxdata.com/blog/how-to-send-sensor-data-to-influxdb-from-an-arduino-uno/|https://www.influxdata.com/blog/how-to-send-sensor-data-to-influxdb-from-an-arduino-uno/]]\\ NTP : [[https://phmarduino.wordpress.com/2018/11/27/ajouter-une-horloge-a-vos-montages-grace-a-internet/|https://phmarduino.wordpress.com/2018/11/27/ajouter-une-horloge-a-vos-montages-grace-a-internet/]]\\ NTP + BME280.h + PHPServer : [[https://github.com/TheAustrian/Wemos-D1-Mini-BME280-Weather-Station/blob/master/Arduino/weather.ino|https://github.com/TheAustrian/Wemos-D1-Mini-BME280-Weather-Station/blob/master/Arduino/weather.ino]]\\ Adafruit_BME280.h + SPI :[[https://robotzero.one/esp8266-and-bme280-temp-pressure-and-humidity-sensor-spi/|https://robotzero.one/esp8266-and-bme280-temp-pressure-and-humidity-sensor-spi/]]\\ Adafruit_BME280.h + I2C : [[http://embedded-lab.com/blog/making-simple-weather-web-server-using-esp8266-bme280/|http://embedded-lab.com/blog/making-simple-weather-web-server-using-esp8266-bme280/]]\\ Adafruit_BME280.h + I2C + send HTTP : [[https://www.hackster.io/michal-kren/simple-weather-station-with-amazing-web-monitoring-1de15c|https://www.hackster.io/michal-kren/simple-weather-station-with-amazing-web-monitoring-1de15c]]\\ SparkFunBME280.h + I2C : [[http://gilles.thebault.free.fr/spip.php?article47|http://gilles.thebault.free.fr/spip.php?article47]]\\ Seeed_BME280.h + I2C + Blynk + Antenna : [[https://www.instructables.com/id/Solar-Powered-WiFi-Weather-Station/|https://www.instructables.com/id/Solar-Powered-WiFi-Weather-Station/]]