Compare commits

...

4 Commits

9 changed files with 33 additions and 17 deletions

View File

@ -1 +1 @@
2022.12.6
2023.2.0

View File

@ -22,7 +22,6 @@ logger:
# Enable Home Assistant API
api:
password: !secret api
encryption:
key: !secret apikey

View File

@ -28,7 +28,6 @@ logger:
# Enable Home Assistant API
api:
password: !secret api
encryption:
key: !secret apikey

View File

@ -22,7 +22,6 @@ logger:
# Enable Home Assistant API
api:
password: !secret api
encryption:
key: !secret apikey
@ -59,6 +58,10 @@ sensor:
count_mode:
rising_edge: DISABLE
falling_edge: INCREMENT
# Hardware counter alows only 13us debounce, so we set it OFF:
use_pcnt: False
# When hw counter is OFF then we may set our filter time to SBM20 190 us Deadtime value or any other (also in microseconds):
internal_filter: 190us
update_interval: 60s
accuracy_decimals: 3
id: dose_meter
@ -66,7 +69,7 @@ sensor:
- sliding_window_moving_average: # 5-minutes moving average (MA5) here
window_size: 5
send_every: 1
- multiply: 0.0054 # SBM20 tube conversion factor of pulses into µSv/Hour
- multiply: 0.0057 # SBM20 tube conversion factor of pulses into µSv/Hour
- platform: integration
name: "Gesamte Strahlungsdosis"
unit_of_measurement: "µSv"
@ -75,7 +78,9 @@ sensor:
accuracy_decimals: 5
time_unit: min # integrate values every next minute
filters:
- multiply: 0.00009 # obtained doze (from mkSv/hour into mkSv/minute) conversion factor: 0.0054 / 60 minutes = 0.00009; so pulses * 0.00009 = doze every next minute, µSv.
# obtained dose. Converting from mkSv/hour into mkSv/minute: [mkSv/h / 60] OR [mkSv/h * 0.0166666667].
# if my_dose_meter in CPM, then [0.0054 / 60 minutes] = 0.00009; so CPM * 0.00009 = dose every next minute, mkSv.
- multiply: 0.0166666667
text_sensor:
- platform: homeassistant
entity_id: sun.sun

View File

@ -61,7 +61,6 @@ logger:
# Enable Home Assistant API
api:
password: !secret api
encryption:
key: !secret apikey

View File

@ -19,7 +19,6 @@ wifi:
# Enable Home Assistant API
api:
password: !secret api
encryption:
key: !secret apikey

View File

@ -38,14 +38,6 @@ i2c:
# DHT22 sensor
sensor:
# - platform: dht
# model: dht22
# pin: 22
# temperature:
# name: "Temperatur Serverraum"
# humidity:
# name: "Luftfeuchtigkeit Serverraum"
# update_interval: 60s
- platform: bmp280
i2c_id: bus_a
temperature:

View File

@ -61,7 +61,6 @@ logger:
# Enable Home Assistant API
api:
password: !secret api
encryption:
key: !secret apikey

24
utility_meters.yaml Normal file
View File

@ -0,0 +1,24 @@
internet_usage_in_monthly:
source: sensor.snmp_wan_in
name: Monthly internet traffic in
cycle: monthly
internet_usage_out_monthly:
source: sensor.snmp_wan_out
name: Monthly internet traffic out
cycle: monthly
internet_usage_in_daily:
source: sensor.snmp_wan_in
name: Daily internet traffic in
cycle: daily
internet_usage_out_daily:
source: sensor.snmp_wan_out
name: Daily internet traffic out
cycle: daily
internet_usage_in_hourly:
source: sensor.snmp_wan_in
name: Hourly internet traffic in
cycle: hourly
internet_usage_out_hourly:
source: sensor.snmp_wan_out
name: Hourly internet traffic out
cycle: hourly