Changes to serverroom sensor.
This commit is contained in:
parent
db6a6e9e30
commit
8a5ba47dfa
@ -427,10 +427,6 @@
|
||||
- 32d15eec63fe68d5770813d47da53657
|
||||
- 53a27edf581fcf40f3bc8b253b1ee369
|
||||
data: {}
|
||||
- type: turn_on
|
||||
device_id: c4ead7f6227e2ee4c43c4b0df829cd84
|
||||
entity_id: 7f7284b11f2bf50ae2f0ebeeb35411c0
|
||||
domain: switch
|
||||
mode: single
|
||||
- id: '1648485179021'
|
||||
alias: Schalte den Fernseher mit WoL ein
|
||||
|
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user