Skip to content

Instantly share code, notes, and snippets.

View timmo001's full-sized avatar
🫖
HTTP418

Aidan Timson timmo001

🫖
HTTP418
View GitHub Profile
@timmo001
timmo001 / keycap-cutout.scad
Created November 27, 2025 16:08
OpenSCAD file to use in makerworld's makerlab parametric model maker
/* [Colors] */
Base_Color = "#FFFFFF"; // color
SVG_Color = "#A9A9A9"; // color
/* [SVG] */
SVG_File = "default.svg"; // svg file
/* [Keys] */
// DSA=7mm; XDA=9mm
Keycap_Height = 7.5;
@timmo001
timmo001 / index.html
Created November 13, 2025 12:30
View Transitions and Shadow DOM
<h1>Just DOM 👍</h1>
<section>
<button id="none">Toggle</button>
<hr>
<div class="test"></div>
</section>
<h1>Externally styled ::part()s 👍</h1>
<with-part class="section">
<template shadowrootmode="open">
<button id="none">Toggle</button>
@timmo001
timmo001 / requirements.txt
Last active April 4, 2024 01:30
System Bridge Connector WebSocket Client Test
systembridgeconnector>=5.0.0.dev2
@timmo001
timmo001 / conversation-agent-weather-response-no-llm.yaml
Last active February 4, 2024 20:17
Conversation Agent - Weather update (No LLM)
blueprint:
name: Conversation Agent - Weather update (No LLM)
description: A blueprint for a conversation agent that provides weather updates (no LLM)
domain: automation
input:
response_text:
name: Response Text
description: The response text to use when the weather is requested
default: >-
The current weather is {{ states(weather_entity) }} with a temperature of {{
@timmo001
timmo001 / conversation-agent-weather-response.yaml
Last active December 20, 2024 21:17
Conversation Agent - Weather update
blueprint:
name: Conversation Agent - Weather update
description: A blueprint for a conversation agent that provides weather updates
domain: automation
input:
agent_id:
name: Agent ID
description: The ID of the conversation agent (Using OpenAI or related LLM service)
selector:
conversation_agent:
@timmo001
timmo001 / install.ps1
Created December 18, 2023 15:48
Install System Bridge - Windows
Write-Host "Make sure you have ran clone.ps1 and have winget, Git and Python 3.12 installed before running this script!"
Read-Host -Prompt "Press Enter to continue"
Write-Output "Upgrading Python 3.12..."
winget upgrade Python.Python.3.12
Write-Output "Update pip, setuptools and wheel..."
python -m pip install --upgrade pip setuptools wheel
Write-Output "Uninstall any existing packages..."
@timmo001
timmo001 / clone.ps1
Created December 18, 2023 15:47
Clone System Bridge - Windows
Write-Host "Make sure you have winget, GitHub CLI, Git and Python 3.12 installed before running this script!"
Read-Host -Prompt "Press Enter to continue"
Write-Output "Upgrading GitHub CLI..."
winget upgrade GitHub.CLI
Write-Output "Upgrading Git..."
winget upgrade Git.Git
Write-Output "Upgrading Python 3.12..."
@timmo001
timmo001 / conversation_agent_agenda_input_text.yaml
Last active January 30, 2024 00:30
Conversation Agent Agenda to Input Text
blueprint:
name: "Conversation Agent Agenda to Input Text"
description: |-
# Conversation Agent Agenda to Input Text
Conversation agent outputs input text based on the upcoming calendar agenda, location, and weather. Based on [@allenporter](https://github.com/allenporter)'s [Conversation Agent Agenda Notification](https://gist.github.com/allenporter/e70d9eb090c7dbdd593cf526e07b4abe) Blueprint.
## Setup
- Create an [input_text](https://www.home-assistant.io/integrations/input_text/) entity with a character limit of at least 200 characters. This will be used to store the output of the conversation agent. For example, `input_text.agenda`.
@timmo001
timmo001 / camera-snapshot-actions.yaml
Last active December 14, 2020 18:11
Camera snapshot and actions when binary sensor is triggered
blueprint:
name: Camera snapshot and actions when binary sensor is triggered
description: >-
Creates a snapshot and triggers a subsequent action when a binary sensor is triggered
domain: automation
input:
binary_sensor:
name: Binary sensor
description: The sensor wich triggers the snapshot creation
selector:
- cards:
- entity: climate.central_heating
hide:
mode: true
state: true
sensors:
- entity: sensor.living_room_humidity
name: Humidity
- entity: sensor.outside_temperature
name: Outside Temperature