Moving weather sensors around, and killing last bit of darksky.
This commit is contained in:
parent
a89593c94c
commit
074b537dee
|
@ -11,77 +11,6 @@ sensor.speedtest_upload:
|
|||
icon: mdi:upload
|
||||
friendly_name: Upload
|
||||
|
||||
|
||||
# Weather #
|
||||
# sensor.dark_sky_summary:
|
||||
# icon: mdi:leaf
|
||||
# friendly_name: Conditions
|
||||
# sensor.dark_sky_temperature:
|
||||
# icon: mdi:thermometer-lines
|
||||
# friendly_name: 'Outdoor Temperature'
|
||||
# sensor.dark_sky_apparent_temperature:
|
||||
# icon: mdi:thermometer-lines
|
||||
# friendly_name: 'Apparent Temperature'
|
||||
# sensor.dark_sky_precip:
|
||||
# icon: mdi:weather-pouring
|
||||
# friendly_name: Precipitation
|
||||
# sensor.dark_sky_precip_probability:
|
||||
# icon: mdi:weather-pouring
|
||||
# friendly_name: Precipitation Chance
|
||||
# sensor.dark_sky_precip_intensity:
|
||||
# icon: mdi:weather-pouring
|
||||
# friendly_name: Precip Intensity
|
||||
# sensor.dark_sky_humidity:
|
||||
# icon: mdi:water-percent
|
||||
# friendly_name: 'Outdoor Humidity'
|
||||
# sensor.dark_sky_cloud_coverage:
|
||||
# icon: mdi:weather-cloudy
|
||||
# friendly_name: Cloud Coverage
|
||||
# sensor.dark_sky_nearest_storm_distance:
|
||||
# icon: mdi:weather-lightning
|
||||
# friendly_name: Nearest Storm Distance
|
||||
# sensor.dark_sky_nearest_storm_bearing:
|
||||
# icon: mdi:compass-outline
|
||||
# friendly_name: Nearest Storm Bearing
|
||||
# sensor.dark_sky_wind_speed:
|
||||
# icon: mdi:weather-windy
|
||||
# friendly_name: Wind Speed
|
||||
sensor.pws_wind_mph:
|
||||
icon: mdi:weather-windy
|
||||
friendly_name: Wind Speed
|
||||
sensor.pws_wind_gust_mph:
|
||||
icon: mdi:weather-windy
|
||||
friendly_name: Wind Gusts
|
||||
sensor.pws_precip_today_in:
|
||||
icon: mdi:gauge
|
||||
friendly_name: Rain Gauge
|
||||
sensor.dark_sky_wind_bearing:
|
||||
icon: mdi:compass-outline
|
||||
friendly_name: Wind Direction
|
||||
sensor.pws_wind_dir:
|
||||
icon: mdi:compass-outline
|
||||
friendly_name: Wind Direction
|
||||
# sensor.dark_sky_ozone:
|
||||
# icon: mdi:cloud
|
||||
# sensor.dark_sky_pressure:
|
||||
# icon: mdi:weight
|
||||
# friendly_name: Pressure
|
||||
# sensor.dark_sky_dew_point:
|
||||
# icon: mdi:thermometer
|
||||
# friendly_name: Dew Point
|
||||
# sensor.dark_sky_visability:
|
||||
# icon: mdi:eye-outline
|
||||
# friendly_name: Visability
|
||||
# sensor.dark_sky_daily_low_temperature:
|
||||
# friendly_name: Todays Low
|
||||
# icon: thermometer-lines
|
||||
# sensor.dark_sky_daily_high_temperature:
|
||||
# friendly_name: Todays High
|
||||
# icon: thermometer-lines
|
||||
# sensor.dark_sky_daily_max_precip_intensity:
|
||||
# friendly_name: Rain Intensity
|
||||
# icon: gauge
|
||||
|
||||
# Jeff #
|
||||
|
||||
sensor.jeffrey_location:
|
||||
|
@ -315,12 +244,7 @@ sensor.washer_power:
|
|||
unit_of_measurement: 'w'
|
||||
sensor.washer:
|
||||
icon: mdi:power-plug
|
||||
binary_sensor.dome_doorwindow_sensor_sensor:
|
||||
device_class: Door
|
||||
sensor.security_protocol:
|
||||
icon: mdi:security
|
||||
sensor.notification_mode:
|
||||
icon: mdi:bell
|
||||
|
||||
|
||||
device_tracker.life360_jeffrey_stone:
|
||||
friendly_name: Jeffrey
|
||||
|
|
|
@ -45,6 +45,19 @@ input_boolean:
|
|||
tstorm_alarm:
|
||||
name: T-Storm Alarm
|
||||
icon: mdi:speaker-wireless
|
||||
raining:
|
||||
name: Raining
|
||||
|
||||
utility_meter:
|
||||
daily_rainfall_in:
|
||||
source: sensor.acurite_rain899_2743_rt
|
||||
cycle: daily
|
||||
weekly_rainfall_in:
|
||||
source: sensor.acurite_rain899_2743_rt
|
||||
cycle: weekly
|
||||
recent_lighting_strikes:
|
||||
source: sensor.acurite_6045m_3078_strcnt
|
||||
cycle: quarter-hourly
|
||||
|
||||
### You first need to find either your NWS Zone ID or County ID. I’m not sure which is better but I used my Zone ID here.
|
||||
### You can find your Zone ID by going to https://alerts.weather.gov/ 7, scroll down to your state and click on the “zone list” then look for the entry for your county.
|
||||
|
@ -61,6 +74,7 @@ sensor:
|
|||
zone: 34
|
||||
county: 135
|
||||
|
||||
|
||||
# - platform: mqtt
|
||||
# name: "Back Porch"
|
||||
# state_topic: "house/acurite2mqtt/Acurite-6045M_3078"
|
||||
|
@ -89,6 +103,18 @@ sensor:
|
|||
name: "Lightning total count"
|
||||
state_topic: "house/lightning/total_count"
|
||||
|
||||
- platform: mqtt
|
||||
name: "Yesterday Rain Total"
|
||||
state_topic: "house/rain/yesterday_total"
|
||||
|
||||
- platform: mqtt
|
||||
name: "Rain Guage Total"
|
||||
state_topic: "house/rain/cumlative_total"
|
||||
|
||||
- platform: mqtt
|
||||
name: "Previous Rain Guage Total"
|
||||
state_topic: "house/rain/previous_cumlative_total"
|
||||
|
||||
- platform: statistics
|
||||
name: Inside Humidity Stats
|
||||
entity_id: sensor.current_inside_humidity
|
||||
|
@ -111,6 +137,12 @@ sensor:
|
|||
masterbath_weather:
|
||||
friendly_name: Master Bath Weather
|
||||
value_template: "{{ states.sensor.acurite_tower_master_bath_t.state | round}} °F / {{ states.sensor.acurite_tower_master_bath_h.state }} %"
|
||||
rain_guage_in:
|
||||
friendly_name: Rain Guage (Inches)
|
||||
value_template: "{{ (states('sensor.acurite_rain899_2743_rt') | float / 25.4) | round(2) }}"
|
||||
todays_rainfall:
|
||||
friendly_name: Daily Rain (Inches)
|
||||
value_template: "{{ (((states('sensor.acurite_rain899_2743_rt') | float / 25.4) | round(2) ) - ((states('sensor.previous_rain_guage_total') | float ))) | round(2) }}"
|
||||
clothing_forecast:
|
||||
friendly_name: "Clothing Forecast"
|
||||
unit_of_measurement: ''
|
||||
|
@ -229,9 +261,25 @@ sensor:
|
|||
lighting_stike_count:
|
||||
friendly_name: "Lightning Strike Count"
|
||||
value_template: "{{ states.sensor.back_porch_strike_count.state }}"
|
||||
previous_rainfall:
|
||||
friendly_name: "Previous Rainfall"
|
||||
value_template: "{{ states.sensor.daily_rainfall_in.attributes.last_period }}"
|
||||
|
||||
|
||||
automation:
|
||||
|
||||
|
||||
- alias: 'record previous day rainfall'
|
||||
trigger:
|
||||
- platform: time
|
||||
at: '23:58:00'
|
||||
action:
|
||||
service: mqtt.publish
|
||||
data_template:
|
||||
topic: 'house/rain/yesterday_total'
|
||||
retain: true
|
||||
payload: "{{ states('sensor.todays_rainfall') }}"
|
||||
|
||||
- alias: Forecast Low Near Freezing
|
||||
trigger:
|
||||
- platform: numeric_state
|
||||
|
@ -267,6 +315,19 @@ automation:
|
|||
|
||||
script:
|
||||
|
||||
store_rain_total:
|
||||
sequence:
|
||||
- service: mqtt.publish
|
||||
data_template:
|
||||
topic: 'house/rain/cumlative_total'
|
||||
retain: true
|
||||
payload: "{{ ((states('sensor.acurite_rain899_2743_rt') | float / 25.4) | round(2) )}}"
|
||||
- service: mqtt.publish
|
||||
data_template:
|
||||
topic: 'house/rain/previous_cumlative_total'
|
||||
retain: true
|
||||
payload: "{{ ((states('sensor.acurite_rain899_2743_rt') | float / 25.4) | round(2) )}}"
|
||||
|
||||
store_lightning_count:
|
||||
sequence:
|
||||
- service: mqtt.publish
|
||||
|
|
Loading…
Reference in New Issue