Changes to serverroom sensor.
This commit is contained in:
@@ -158,11 +158,11 @@ sensor:
|
||||
id: humid_outdoor
|
||||
|
||||
- platform: homeassistant
|
||||
entity_id: sensor.luftdruck
|
||||
entity_id: sensor.serverroom_luftdruck
|
||||
id: airpressure
|
||||
|
||||
- platform: homeassistant
|
||||
entity_id: sensor.serveraum_temperatur
|
||||
entity_id: sensor.serverroom_serveraum_temperatur
|
||||
id: temp_serverroom
|
||||
|
||||
- platform: homeassistant
|
||||
@@ -437,7 +437,7 @@ display:
|
||||
it.print(375, 130, id(mdi_small), TextAlign::BASELINE_CENTER, ""); // water percent icon
|
||||
it.print(95, 80, id(mdi_small), TextAlign::BASELINE_LEFT, ""); // radioactive icon
|
||||
|
||||
if(outdoor_radiation > 0 && outdoor_radiation < 100) {
|
||||
if(outdoor_radiation >= 0) {
|
||||
it.printf(200, 80, id(sub_sensor_font), TextAlign::BASELINE_RIGHT, "%2.2f", outdoor_radiation);
|
||||
it.print(205, 80, id(sensor_unit), TextAlign::BASELINE_LEFT, "µS/h");
|
||||
}
|
||||
|
@@ -1,8 +1,20 @@
|
||||
esphome:
|
||||
name: serverroom
|
||||
substitutions:
|
||||
name: "serverroom"
|
||||
friendly_name: "Serverraum Luft"
|
||||
platform: ESP32
|
||||
board: nodemcu-32s
|
||||
|
||||
esphome:
|
||||
name: ${name}
|
||||
friendly_name: ${friendly_name}
|
||||
name_add_mac_suffix: false
|
||||
project:
|
||||
name: sensor.outdoor
|
||||
version: "0.8"
|
||||
min_version: 2022.1.0
|
||||
|
||||
esp32:
|
||||
board: esp32-c3-devkitm-1
|
||||
framework:
|
||||
type: arduino
|
||||
|
||||
wifi:
|
||||
ssid: "Voltage-legacy"
|
||||
@@ -23,7 +35,6 @@ logger:
|
||||
|
||||
# Enable Home Assistant API
|
||||
api:
|
||||
password: !secret api
|
||||
encryption:
|
||||
key: !secret apikey
|
||||
|
||||
@@ -33,11 +44,11 @@ ota:
|
||||
# Initialize I²C
|
||||
i2c:
|
||||
- id: bus_a
|
||||
sda: 32
|
||||
scl: 25
|
||||
sda: 4
|
||||
scl: 3
|
||||
scan: true
|
||||
|
||||
# DHT22 sensor
|
||||
# BMP280 sensor
|
||||
sensor:
|
||||
- platform: bmp280
|
||||
i2c_id: bus_a
|
||||
|
Reference in New Issue
Block a user