Home Assistant

412 readers
1 users here now

Home Assistant is open source home automation that puts local control and privacy first. Powered by a worldwide community of tinkerers and DIY...

founded 2 years ago
MODERATORS
976
 
 
This is an automated archive made by the Lemmit Bot.

The original was posted on /r/homeassistant by /u/iApexxx on 2025-04-19 12:40:08+00:00.


Hey everyone!

I'm a really forgetful person, and honestly I've been having trouble remembering to log my hours at work. A "brilliant" home automation idea came to my mind, and I've decided to learn how to build a custom integration, and well, write about it.

Any feedback is appreciated, and I've also linked the repositories at the end of the post, the Clockify integration is not so useful, while the DeepSeek one I'm sure you can fit somewhere into your smart home :).

977
 
 
This is an automated archive made by the Lemmit Bot.

The original was posted on /r/homeassistant by /u/imwjd on 2025-04-20 01:56:47+00:00.

978
 
 
This is an automated archive made by the Lemmit Bot.

The original was posted on /r/homeassistant by /u/o2pb on 2025-04-20 01:29:40+00:00.


I've had this automation running for about a month, and its hilarious. Amuses every visitor I get, and knocks down my ego a few pegs every time I come home. You can of course adjust the "spice level" of the responses by tweaking the instructions prompts.

Prerequisites:

  • Camera
  • Motion sensor or more advanced person detection sensor
  • A speaker
  • Door opened sensor
  • OpenAI and/or Google Gemini API token (I found Gemini better, but its heavy rate limited so I use both). You can also use a local model.
  • LLM vision plugin
  • Quality TTS platform with natural sounding voices (I use ElevenLabs) as this works a lot better when the AI doesn't sound like a robot

What happens:

  1. Person or motion is detected on the cameras for a few seconds
  2. Camera stills are analyze using an LLM and a non-politically correct description is played over the PA speaker inside the house as an FYI of who's outside/coming
  3. If the person comes inside (door opens) they get a personal roast based on their description from the previous LLM call.

Here is the script

alias: Person Detection - Front

description: ""

triggers:

  • trigger: state

entity_id:

  • binary_sensor.driveway_person_detected

to: "on"

for:

hours: 0

minutes: 0

seconds: 3

  • trigger: state

entity_id:

  • binary_sensor.porch_motion_sensor_motion_detection

to: "on"

for:

hours: 0

minutes: 0

seconds: 2

conditions: []

actions:

  • type: turn_on

device_id: 53b3ef12acc92505d47e0f628ab40031

entity_id: ea7f14f1cedc0194bd7bcf97923f08b7

domain: light

brightness_pct: 100

  • action: llmvision.image_analyzer

metadata: {}

data:

remember: true

use_memory: false

include_filename: false

target_width: 1280

max_tokens: 100

temperature: 0.8

generate_title: true

expose_images: true

provider: 01JQM2QBVXMZAGNZ3SMW63A8YB

image_entity:

  • camera.driveway_medium_resolution_channel

  • camera.front_door_medium_resolution_channel

message: >-

About You

You perform detailed security camera image analysis at almost a forensic

level. You will be shown one or more still frames from multiple security

cameras facing the driveway of a house.

Analysis Instructions

If you see a person or a new car (especially on the road) in the frame,

describe the person or car in a single sentence, use crass humor. Here

is an example: "At the front of the house there is a white delivery

truck (the kind kidnappers use) and another pedo looking (you know the type) person

wearing a tasteless orange vest carrying a large purple box". This is

just an example, be creative, and brief.

Don't describe what the individual camera is showing, only the complete

scene where a visitor is coming by the house. Don't say first image, 2nd

image, analyze both as a single thing. Don't focus on the surroundings,

focus on one or two specific details about the person from the image,

and be brief. People can be detected on the edges of the images, so look

carefully. Avoid saying "rolled out of bed" or "looks like he owns the

place" as you seem to say that a lot, be very specific and creative in

your description.

If you don't see people or new cars, say something like "Something is

happening out front, but I'm not sure what exactly" (feel free to

rephrase, just keep it short).

Things to ignore

There are usually 2 Teslas parked in the bottom of the frame, so don't

mention those unless one is missing. There may also be a white truck or

car in the top left corner of the frame, these are neighbor’s cars and

this is normal.

model: gpt-4o

response_variable: person_description

  • action: media_player.volume_set

metadata: {}

data:

volume_level: 0.7

target:

entity_id:

  • media_player.voice_box

  • action: tts.speak

metadata: {}

data:

cache: true

media_player_entity_id: media_player.voice_box

message: "{{ person_description.response_text }}"

target:

entity_id: tts.elevenlabs

  • wait_for_trigger:

  • trigger: state

entity_id:

  • binary_sensor.qolsys_panel_front_door

to: "on"

for:

hours: 0

minutes: 0

seconds: 3

timeout:

hours: 0

minutes: 3

seconds: 0

milliseconds: 0

continue_on_timeout: false

  • action: google_generative_ai_conversation.generate_content

metadata: {}

data:

prompt: >-

There is a person(s) entering the front door of a house, say a very

personalized greeting that will play over the PA system to this person

right after they enter. Do a short (2-3 sentences max), not politically

correct and funny roast (you can use profanity, as its all in good fun)

based on the description of the person and event. Dont say anything else

except the short roast directed at them, and be random as this prompt

will be used many times. Be sure to focus on the specifics of the

persons description, and always mention them all in your roast. Then

welcome them into the house and suggest a task or activity they can do.

Be creative and controversial.

The camera detected the following event:

{{person_description.response_text}}

response_variable: visitor_roast

  • action: tts.speak

metadata: {}

data:

cache: false

media_player_entity_id: media_player.voice_box

message: "{{visitor_roast.text}}"

target:

entity_id: tts.elevenlabs

  • if:

  • condition: sun

before: sunset

after: sunrise

then:

  • action: light.turn_off

metadata: {}

data: {}

target:

device_id: 53b3ef12acc92505d47e0f628ab40031

mode: single

I just added a similar style pipeline for the outside speaker where you get a kinder/less crass commentary and questions about why you are there, when someone is standing at the door. Together these work quite well as you get some playful banter outside, and some brutal commentary when you walk in.

This might get annoying real fast, but so far I love it. Gemini's roasts are far better than GPT4o, can't wait to try this with Grok3 in unhinged mode.

979
 
 
This is an automated archive made by the Lemmit Bot.

The original was posted on /r/homeassistant by /u/WonderfulCloud9935 on 2025-04-19 23:41:30+00:00.

980
 
 
This is an automated archive made by the Lemmit Bot.

The original was posted on /r/homeassistant by /u/ForsakenConversation on 2025-04-19 22:23:04+00:00.

981
 
 
This is an automated archive made by the Lemmit Bot.

The original was posted on /r/homeassistant by /u/ApolloAutomation on 2025-04-19 16:33:35+00:00.

982
 
 
This is an automated archive made by the Lemmit Bot.

The original was posted on /r/homeassistant by /u/stray_r on 2025-04-19 12:00:30+00:00.

983
 
 
This is an automated archive made by the Lemmit Bot.

The original was posted on /r/homeassistant by /u/coiarm on 2025-04-19 09:29:33+00:00.

984
 
 
This is an automated archive made by the Lemmit Bot.

The original was posted on /r/homeassistant by /u/Robochan on 2025-04-18 20:11:43+00:00.


Something took my raspberry pi down and now I have to turn all my basement lights on manually, Siri won’t adjust my nest thermostat, my Lutron pico remotes won’t control my outlets and my curtains won’t open at dawn. This is kinda rough to be honest. Is there a way to setup a backup failover host?

985
 
 
This is an automated archive made by the Lemmit Bot.

The original was posted on /r/homeassistant by /u/Dmgsecurity on 2025-04-19 05:17:08+00:00.

986
 
 
This is an automated archive made by the Lemmit Bot.

The original was posted on /r/homeassistant by /u/Curious_Mongoose_228 on 2025-04-18 22:13:37+00:00.

Original Title: Say entirely hypothetically somebody forwarded a port from their router and had it protected only by a HA account with a strong password while exposed to the internet. How quickly would their home burn down?


Seriously though, it seems everybody uses Nabu Casa or Tailscale etc. or some other VPN/tunneling scenario. Is the only risk in the described scenario a brute force password attack? Wouldn’t that be apparent from the login attempts? What is the risk I’m not accounting for in doing this? Hypothetically, I mean.

987
 
 
This is an automated archive made by the Lemmit Bot.

The original was posted on /r/homeassistant by /u/Neflhiem on 2025-04-18 21:11:33+00:00.

988
 
 
This is an automated archive made by the Lemmit Bot.

The original was posted on /r/homeassistant by /u/Narrow_Quail_9190 on 2025-04-18 19:58:42+00:00.


I have been wanting to learn Home assistant and ESP home for a long time and decided to fix this annoying issue as my first project!

I used 2 ESP32s, a 0-10V proportional ball valve and an NTC temp probe. I wanted to measure the outside ground temp to decide when to turn on the ball valve just enough to trickle the water before the ground gets to freezing temperature. Easier ways to do it but I learned a lot more doing it this way!

I made a big dumb video about it too if you're into that kind of thing:

989
 
 
This is an automated archive made by the Lemmit Bot.

The original was posted on /r/homeassistant by /u/Equivalent_Map8474 on 2025-04-18 19:38:17+00:00.


I guess you would like to get notifications on your phone when something happens. Are you constantly connected to your home VPN?

990
 
 
This is an automated archive made by the Lemmit Bot.

The original was posted on /r/homeassistant by /u/Singhmandeep23 on 2025-04-18 18:21:42+00:00.

991
 
 
This is an automated archive made by the Lemmit Bot.

The original was posted on /r/homeassistant by /u/himslm01 on 2025-04-18 15:02:19+00:00.

992
 
 
This is an automated archive made by the Lemmit Bot.

The original was posted on /r/homeassistant by /u/Proud_Car_2307 on 2025-04-18 11:19:24+00:00.


Thinking of upgrading my home with some smart tech, but I don’t want to waste money on gimmicks. What devices have actually made a difference in your daily routine? Looking for practical, time-saving stuff—bonus if it works well with Google or Alexa.

993
 
 
This is an automated archive made by the Lemmit Bot.

The original was posted on /r/homeassistant by /u/Wgolyoko on 2025-04-18 10:31:47+00:00.

994
 
 
This is an automated archive made by the Lemmit Bot.

The original was posted on /r/homeassistant by /u/1dayillgetfrontpage on 2025-04-18 02:23:44+00:00.

995
 
 
This is an automated archive made by the Lemmit Bot.

The original was posted on /r/homeassistant by /u/WhoFlungPooh on 2025-04-18 00:50:55+00:00.

996
 
 
This is an automated archive made by the Lemmit Bot.

The original was posted on /r/homeassistant by /u/banterjsmoke on 2025-04-17 20:03:51+00:00.

997
 
 
This is an automated archive made by the Lemmit Bot.

The original was posted on /r/homeassistant by /u/amthen on 2025-04-17 15:23:03+00:00.


Hi there!

Let's gather all those recent inspiring Home Assistant dashboards into one thread! Seeing your creative layouts, card choices, and data displays is super helpful and enjoyable.

Hopefully, this will give both new and current users ideas for their own setups – for data, cards, style, and layout.

Share your dashboards and let's inspire each other! 😊

998
 
 
This is an automated archive made by the Lemmit Bot.

The original was posted on /r/homeassistant by /u/TechWhizGuy on 2025-04-17 10:57:06+00:00.


Hey, I've been searching for a ZigBee CO alarm, any recommendations?

Edit: Not looking for a CO alarm—just smoke detectors as a means to react early in case of a fire.

999
 
 
This is an automated archive made by the Lemmit Bot.

The original was posted on /r/homeassistant by /u/GuySie on 2025-04-17 14:22:35+00:00.

1000
 
 
This is an automated archive made by the Lemmit Bot.

The original was posted on /r/homeassistant by /u/GuySie on 2025-04-17 14:00:49+00:00.

view more: ‹ prev next ›