Skip to content

Instantly share code, notes, and snippets.

@peyanski
Created September 17, 2026 07:40
Show Gist options
  • Select an option

  • Save peyanski/0c06e091526684bf3cb7dd57ebb9e0af to your computer and use it in GitHub Desktop.

Select an option

Save peyanski/0c06e091526684bf3cb7dd57ebb9e0af to your computer and use it in GitHub Desktop.
Takes a picture of a room and asks AI to find every item in it. Sorts the items into simple groups, like Furniture and Electronics. Made for home insurance records.
alias: AI Room Scan - Insurance Item List
description: >-
Takes a picture of a room and asks AI to find every item in it. Sorts the
items into simple groups, like Furniture and Electronics. Made for home
insurance records.
triggers:
- trigger: state
entity_id:
- input_button.scan_room_now
- trigger: time
at: '09:00:00'
enabled: false
conditions: []
actions:
- action: ai_task.generate_data
metadata: {}
data:
task_name: List items in room for insurance
instructions: >-
Look at this picture of a room. List each identifiable item on a new
row, starting with a hyphen. This list is for home insurance.
entity_id: ai_task.ollama_ai_task_qwen3_5_0_8b
attachments:
media_content_id: media-source://camera/camera.bbq_rlc_522_fluent
media_content_type: application/vnd.apple.mpegurl
metadata:
title: BBQ RLC-522 Fluent
thumbnail: /api/camera_proxy/camera.bbq_rlc_522_fluent
media_class: video
children_media_class: null
navigateIds:
- {}
- media_content_type: app
media_content_id: media-source://camera
response_variable: ai_response
alias: Generate Data - Local LLM
- action: ai_task.generate_data
metadata: {}
data:
task_name: List items in room for insurance
instructions: >-
Look at this picture of a room. Find every item you can see, even small
ones. Sort the items into simple groups, like Furniture, Electronics,
Appliances, Decor, and Other. Under each group, write a bullet list of
the items. This list is for home insurance, so be clear and do not skip
anything.
entity_id: ai_task.ollama_ai_task_gemma4_cloud
attachments:
media_content_id: media-source://camera/camera.bbq_rlc_522_fluent
media_content_type: application/vnd.apple.mpegurl
metadata:
title: BBQ RLC-522 Fluent
thumbnail: /api/camera_proxy/camera.bbq_rlc_522_fluent
media_class: video
children_media_class: null
navigateIds:
- {}
- media_content_type: app
media_content_id: media-source://camera
response_variable: ai_response
alias: Generate Data - Cloud LLM
enabled: false
- action: persistent_notification.create
metadata: {}
data:
notification_id: room_scan_list
title: Room Item List - {{ now().strftime('%Y-%m-%d %H:%M') }}
message: '{{ ai_response.data | default(''No items found.'') }}'
- action: notify.send_message
metadata: {}
enabled: true
target:
entity_id: notify.file
data:
message: '{{ ai_response.data | default(''No items found.'') }}'
mode: single
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment