Compare commits
4 Commits
bc6964ce5f
...
4131b60c8f
Author | SHA1 | Date | |
---|---|---|---|
4131b60c8f | |||
1c48bac6f2 | |||
5235e48023 | |||
b0a8c08983 |
@ -1 +1 @@
|
|||||||
2022.12.6
|
2023.2.0
|
@ -22,7 +22,6 @@ logger:
|
|||||||
|
|
||||||
# Enable Home Assistant API
|
# Enable Home Assistant API
|
||||||
api:
|
api:
|
||||||
password: !secret api
|
|
||||||
encryption:
|
encryption:
|
||||||
key: !secret apikey
|
key: !secret apikey
|
||||||
|
|
||||||
|
@ -28,7 +28,6 @@ logger:
|
|||||||
|
|
||||||
# Enable Home Assistant API
|
# Enable Home Assistant API
|
||||||
api:
|
api:
|
||||||
password: !secret api
|
|
||||||
encryption:
|
encryption:
|
||||||
key: !secret apikey
|
key: !secret apikey
|
||||||
|
|
||||||
|
@ -22,7 +22,6 @@ logger:
|
|||||||
|
|
||||||
# Enable Home Assistant API
|
# Enable Home Assistant API
|
||||||
api:
|
api:
|
||||||
password: !secret api
|
|
||||||
encryption:
|
encryption:
|
||||||
key: !secret apikey
|
key: !secret apikey
|
||||||
|
|
||||||
@ -59,6 +58,10 @@ sensor:
|
|||||||
count_mode:
|
count_mode:
|
||||||
rising_edge: DISABLE
|
rising_edge: DISABLE
|
||||||
falling_edge: INCREMENT
|
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
|
update_interval: 60s
|
||||||
accuracy_decimals: 3
|
accuracy_decimals: 3
|
||||||
id: dose_meter
|
id: dose_meter
|
||||||
@ -66,7 +69,7 @@ sensor:
|
|||||||
- sliding_window_moving_average: # 5-minutes moving average (MA5) here
|
- sliding_window_moving_average: # 5-minutes moving average (MA5) here
|
||||||
window_size: 5
|
window_size: 5
|
||||||
send_every: 1
|
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
|
- platform: integration
|
||||||
name: "Gesamte Strahlungsdosis"
|
name: "Gesamte Strahlungsdosis"
|
||||||
unit_of_measurement: "µSv"
|
unit_of_measurement: "µSv"
|
||||||
@ -75,7 +78,9 @@ sensor:
|
|||||||
accuracy_decimals: 5
|
accuracy_decimals: 5
|
||||||
time_unit: min # integrate values every next minute
|
time_unit: min # integrate values every next minute
|
||||||
filters:
|
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:
|
text_sensor:
|
||||||
- platform: homeassistant
|
- platform: homeassistant
|
||||||
entity_id: sun.sun
|
entity_id: sun.sun
|
||||||
|
@ -61,7 +61,6 @@ logger:
|
|||||||
|
|
||||||
# Enable Home Assistant API
|
# Enable Home Assistant API
|
||||||
api:
|
api:
|
||||||
password: !secret api
|
|
||||||
encryption:
|
encryption:
|
||||||
key: !secret apikey
|
key: !secret apikey
|
||||||
|
|
||||||
|
@ -19,7 +19,6 @@ wifi:
|
|||||||
|
|
||||||
# Enable Home Assistant API
|
# Enable Home Assistant API
|
||||||
api:
|
api:
|
||||||
password: !secret api
|
|
||||||
encryption:
|
encryption:
|
||||||
key: !secret apikey
|
key: !secret apikey
|
||||||
|
|
||||||
|
@ -38,14 +38,6 @@ i2c:
|
|||||||
|
|
||||||
# DHT22 sensor
|
# DHT22 sensor
|
||||||
sensor:
|
sensor:
|
||||||
# - platform: dht
|
|
||||||
# model: dht22
|
|
||||||
# pin: 22
|
|
||||||
# temperature:
|
|
||||||
# name: "Temperatur Serverraum"
|
|
||||||
# humidity:
|
|
||||||
# name: "Luftfeuchtigkeit Serverraum"
|
|
||||||
# update_interval: 60s
|
|
||||||
- platform: bmp280
|
- platform: bmp280
|
||||||
i2c_id: bus_a
|
i2c_id: bus_a
|
||||||
temperature:
|
temperature:
|
||||||
|
@ -61,7 +61,6 @@ logger:
|
|||||||
|
|
||||||
# Enable Home Assistant API
|
# Enable Home Assistant API
|
||||||
api:
|
api:
|
||||||
password: !secret api
|
|
||||||
encryption:
|
encryption:
|
||||||
key: !secret apikey
|
key: !secret apikey
|
||||||
|
|
||||||
|
24
utility_meters.yaml
Normal file
24
utility_meters.yaml
Normal 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
|
Loading…
Reference in New Issue
Block a user