Monday, September 5, 2022

Automation in HASS

 

     

    Logic

     

    If deltaT > X ; TURN ON

    Else if deltaT < Y ; SHUT OFF

    Elsif ; SHUT OFF

     

    Thinking of Scenes:

    If automatic **OR** manually triggered ON, should always SHUT on deltaT < Y

     

     

    More specifically I want a time based requirement

     

    Mirror > Air for 120seconds = ON

    Mirror < Air for 120seconds = OFF

     

    In reality I have a solidly computed value of 'deltaT' which should be used

     

    deltaT > 1.5 for 120seconds = ON

    deltaT < -0.5 for 120seconds = OFF

     

    Startin here - Home Assistant Templates - A Beginner's Guide

     

     

    BEGINNERS 
UIDE

     

     

    If deltatemp > 1.5 for 120

     

    Via discord group

     

    1. Why not two numeric triggers and call the zigbee cycle in the actions?
      1. [5:10 PM]
        Are alternatively, perhaps two binary template sensors for the below and above values and use that as triggers. state on for x minutes/seconds

     

    From <https://discord.com/channels/330944238910963714/672223497736421388>

     

     

    I pointed you to a numeric_state trigger and you've used a state trigger, rarely a good choice for a value crossing a threshold

     

    1

     

    Message #templates

     

     

     

    WORKS!

     

    Start date 
July 26, 2022 at 3:00 PM 
July 26, 2022 
End date 
July 26, 2022 at 6:00 PM 
Entity 
akule coolin' ONI 
akule coolin• ON has been triggered by numeric state of sensor.deltatemp by 
PM 34 minutes ago - ShQW_race 
akule coolin' ON turned on 
4:5427 PM -44 minutes ago 
akule coolin• ON became unavailable 
4.-5427 PM 44 minutes ago

     

     

    Start date 
July 26, 2022 at 3:00 PM 
July 26, 2022 
End date 
July 26, 2022 at 6:00 PM 
Entity 
Akule coolin• OFF 
Akule coolin' OFF has been triggered by numeric state of sensor.deltatemp by DeltaTemp 
533.47 PM - 6 minutes ago - 
Akule coolin' OFF has been triggered by numeric state of sensor.deltatemp by DeltaTemp 
PM - 1 minutes ago - 
Akule coolin' OFF has been triggered by numeric state of sensor.deltatemp by DeltaTemp 
PM - 21 minutes ago ShQW_race 
Akule turned on 
PM-I hour ago

     

    Garage door was open and the air outside was cooler than the garage.  I then closed the garage door and the air temp 'bounced' back up bringing the deltaT closer w/o need for cooling.

     

     

    General / AstroTemp 
MirrorTemp 
79.5 
17:05 
AirTemp.mean MirrorTemp.mean 
17:05 
DeltaTemp.mean 
Air Temp 
80.2 
Temp Delta 
Temp History 
17.10 
Temp Delta 
17:10 
Mirror Humidity 
63.3 
2022-07-26 
— MirrorTemp.mean 
17:15 
17:15 
Air Humidity 
88.2 
79.7 
95 
60 
95 
90 
70 
55 
OpenWeather Temp 
79.6 
17:05 
AirHumidity.mean 
17:05 
MirrorHumidity.mean 
Humidity History 
17:10 
OpenWeather Temp & Humidity 
17.15 
17.15 
0 2022-07-26 17:03:31 to 2022-07-26 17:20:12 
17:20 
17:20 
OpenWeatherHumidity.mean 
17:10 
OpenWeatherTemp.mean

     

    HOME 
-0.3) 
81.3 
Out 
3HR TEMP HISTORY 
NC RADAR 
TEST 
Akule Cooling 
89.0 'F 
15min AT 
2 
1905 
DeltaTemp.mean 
Temp Delta 
Temp Delta 
19:10 
Akule temps 
MirrorTemp 
1 hour ago 
AstroCartTemp 
10 seconds ago 
DeltaTemp 
10 seconds ago 
Akule Cooling Active? 
2 hours ago 
akule coolin• ON (>1.75F for 2m) 
2 hours ago 
Akule coolin' OFF (<0.7F for 2m) 
1 hour ago 
Satellite 
20 Jul 2022 - se 
80.8 •F 
81.3 
-0.5 
Garage temps 
Home RealFeel Temperature 
17 minutes ago 
AstroCartTemp 
10 seconds ago 
Garage is -cold or *hot vs out 
10 seconds ago 
The connection has 
timed out 
The server at astrocartpcsm.sm is taking too long 
to respond. 
• The site could be temporarily unavailable or 
too busy. Try again in a few moments. 
• If you are unable to load any pages, check 
your computer's network connection. 
• If your computer or network is protected by a 
firewall or proxy, make sure that Firefox is 
permitted to access the Web. 
19:15 
Partly cloudy 
Home 
Driveway Trip 
2 hours ago 
allsky 
1 second ago 
Home 
Tue, Jul 26, 2022 
Waning Crescent 
3% 
MirrorTemp 
80.8 
Air Temp 
1.1 
Wed 
940 
7:00 PM 
850 
Thu 
960 
Fri 
970 
Partly cloudy 
Home Hourly 
Sat 
920 
10:00 PM 
8:00 PM 
830 
9:00 PM 
820 
85 OF 
0.1 in 
Sun 
780 
85 OF 
74% 
11:00 PM 
810 
OpenWeather 6hr history 
OpenWeather Temp & Humidity 
100 
- GEOCOLOR composite

     

Blog Archive