Changes to serverroom sensor.
This commit is contained in:
parent
db6a6e9e30
commit
8a5ba47dfa
@ -427,10 +427,6 @@
|
|||||||
- 32d15eec63fe68d5770813d47da53657
|
- 32d15eec63fe68d5770813d47da53657
|
||||||
- 53a27edf581fcf40f3bc8b253b1ee369
|
- 53a27edf581fcf40f3bc8b253b1ee369
|
||||||
data: {}
|
data: {}
|
||||||
- type: turn_on
|
|
||||||
device_id: c4ead7f6227e2ee4c43c4b0df829cd84
|
|
||||||
entity_id: 7f7284b11f2bf50ae2f0ebeeb35411c0
|
|
||||||
domain: switch
|
|
||||||
mode: single
|
mode: single
|
||||||
- id: '1648485179021'
|
- id: '1648485179021'
|
||||||
alias: Schalte den Fernseher mit WoL ein
|
alias: Schalte den Fernseher mit WoL ein
|
||||||
|
@ -158,11 +158,11 @@ sensor:
|
|||||||
id: humid_outdoor
|
id: humid_outdoor
|
||||||
|
|
||||||
- platform: homeassistant
|
- platform: homeassistant
|
||||||
entity_id: sensor.luftdruck
|
entity_id: sensor.serverroom_luftdruck
|
||||||
id: airpressure
|
id: airpressure
|
||||||
|
|
||||||
- platform: homeassistant
|
- platform: homeassistant
|
||||||
entity_id: sensor.serveraum_temperatur
|
entity_id: sensor.serverroom_serveraum_temperatur
|
||||||
id: temp_serverroom
|
id: temp_serverroom
|
||||||
|
|
||||||
- platform: homeassistant
|
- platform: homeassistant
|
||||||
@ -437,7 +437,7 @@ display:
|
|||||||
it.print(375, 130, id(mdi_small), TextAlign::BASELINE_CENTER, ""); // water percent icon
|
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
|
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.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");
|
it.print(205, 80, id(sensor_unit), TextAlign::BASELINE_LEFT, "µS/h");
|
||||||
}
|
}
|
||||||
|
@ -1,8 +1,20 @@
|
|||||||
esphome:
|
substitutions:
|
||||||
name: serverroom
|
name: "serverroom"
|
||||||
friendly_name: "Serverraum Luft"
|
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:
|
wifi:
|
||||||
ssid: "Voltage-legacy"
|
ssid: "Voltage-legacy"
|
||||||
@ -23,7 +35,6 @@ logger:
|
|||||||
|
|
||||||
# Enable Home Assistant API
|
# Enable Home Assistant API
|
||||||
api:
|
api:
|
||||||
password: !secret api
|
|
||||||
encryption:
|
encryption:
|
||||||
key: !secret apikey
|
key: !secret apikey
|
||||||
|
|
||||||
@ -33,11 +44,11 @@ ota:
|
|||||||
# Initialize I²C
|
# Initialize I²C
|
||||||
i2c:
|
i2c:
|
||||||
- id: bus_a
|
- id: bus_a
|
||||||
sda: 32
|
sda: 4
|
||||||
scl: 25
|
scl: 3
|
||||||
scan: true
|
scan: true
|
||||||
|
|
||||||
# DHT22 sensor
|
# BMP280 sensor
|
||||||
sensor:
|
sensor:
|
||||||
- platform: bmp280
|
- platform: bmp280
|
||||||
i2c_id: bus_a
|
i2c_id: bus_a
|
||||||
|
Loading…
Reference in New Issue
Block a user