This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#include "wled.h" | |
#include <Arduino.h> | |
#include <Wire.h> | |
#include <BME280I2C.h> //BME280 sensor | |
void UpdateBME280Data(); | |
#define Celsius // Show temperature mesaurement in Celcius otherwise is in Fahrenheit | |
BME280I2C bme; // Default : forced mode, standby time = 1000 ms | |
// Oversampling = pressure ×1, temperature ×1, humidity ×1, filter off, |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#include <WiFi.h> | |
#include <esp_wpa2.h> | |
#include <esp_wifi.h> | |
#include <time.h> | |
#include <InfluxDbClient.h> // https://github.com/tobiasschuerg/InfluxDB-Client-for-Arduino | |
#include <Wire.h> | |
#include <Adafruit_BME280.h> // https://github.com/adafruit/Adafruit_BME280_Library | |
#define HOSTNAME "ESP32 Temperature Sensor" | |
#define LOCATION "1000 chem" |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
blueprint: | |
name: Motion-activated Switch | |
domain: automation | |
input: | |
motion_entity: | |
name: Motion Sensor | |
selector: | |
entity: | |
domain: binary_sensor | |
device_class: motion |
OlderNewer