• 1 Post
  • 8 Comments
Joined 1 year ago
cake
Cake day: June 10th, 2023

help-circle


  • My automations include:

    • Setting the lighting mode to “night mode” based on a threshold of the outside lux level, which is changed dynamically based on the reported weather condition.

    • Setting a master brightness input_number based on a threshold of the outside lux level, which is dynamically changed based on the reported weather condition. Every room then has it’s own input_number which is automatically set every time the master brightness changes, and either has additional brightness added relative to the master, or brightness subtracted.

    • At 7:30am some Jinja code starts setting a daylight temperature input_number which starts adjusting the Kelvin temperature of supported lights in the house. I’m aware that there are various integrations to do this, but they all appear to be based on the actual sun, and as a SAD sufferer I don’t understand why people would want that, especially in the winter. My solution guarantees me at least 8 hours of “daylight” regardless of what the time of year is. - The code is ridiculously simple too:

        {% set k_end = 5500 %} {% set k_start = 2000 %} {% set t_start =
        today_at('07:30') %} {% set t_end = today_at('10:30') %} {% set cv =
        ((now()|as_timestamp) - t_start|as_timestamp)|int %} {{ k_start +
        (cv/3.0857)|int }}
    
    

    Then the reverse happens starting at 6pm:

        {% set k_start = 5500 %} {% set k_end = 2000 %} {% set t_start =
        today_at('18:00') %} {% set t_end = today_at('21:00') %} {% set cv =
        ((now()|as_timestamp) - t_start|as_timestamp)|int %} {{ k_start -
        (cv/3.0857)|int }}
    
    

    My other favourite automation, is something I call Music Walk, essentially when I play music on a group of speakers, as I move about the house when the occupancy of a room changes (camera through frigate, and Zigbee motion) a script is triggered which increases the volume in that room, and starts a timer for 01:30:00 and then after occupancy has been cleared, the timer is reset to 00:05:00 and when the timer finishes - it will run the script that changed the volume originally and set it to 0.1 So it feels like as I walk into rooms the music follows me there, but really it was already playing there - just quieter.


  • Nah, can’t scroll past this one without commenting - because so many things that have been said matter of factly are just plain wrong.

    1. Dogs just like people have their own personalities, just because SOME dogs can be trained to ignore fireworks, it does not mean ALL dogs can be - some dogs - just like people, suffer from various anxieties, it can’t be helped.

    2. The main point you seem to be missing - yes you can stay in and chill with your pooch on the ACTUAL day that fireworks are expected to be going off, but what you cannot do - is stay in and chill with your pooch for weeks before and weeks after the actual day, because people randomly decide to let them off.

    The fact that you brand everyone a bad dog owner if their dog cannot tolerate fireworks though, is the thing that made me need to comment, what a stupid thing to say. That’s like saying that if your child suffers from anxiety then you are a bad parent.