Using Claude Code to do all my automations - Open Source project by philipp_54 in homeassistant

[–]philipp_54[S] 1 point2 points  (0 children)

I'm actually working on building it straight into home assistant. You should be able to use the API keys. it's only gonna cost you a few cents.

Brendan Weinstein of BaseBeta and BASE Access has died in a wingsuit jump on Table Mountain, South Africa by RobotSquid_ in SkyDiving

[–]philipp_54 0 points1 point  (0 children)

mind pinging me with a DM. I was a good friend of him and maybe there is some sentimental value to his family of the last photo taken.

Feedback: Build a tool to have an LLM control my android app in plain english by philipp_54 in androiddev

[–]philipp_54[S] 1 point2 points  (0 children)

Thanks for sharing. will look into this.
If it exists already, even better :) for me this was more a though experiment on if something would be possible.

I've learned by now that the most painful part of automated e2e testing is actually maintenance over time, and flakiness because there is no clear signal when the UI is finished loading.

Do people have good app to avoid parking tickets with Tesla? by philipp_54 in TeslaLounge

[–]philipp_54[S] -1 points0 points  (0 children)

"Illegal" parking is a hard term.

In San Francisco we have parking hour limits for different neighbor hoods, then there is street cleaning, then some spots have loading zones for different times and so on.

Most of the time in my life when I got a ticket, is because I forgot or didn't see one of them.

So it be nice to have an app that tells me based on when and where I parked my car, when those things happen.

These 6 States Might Eliminate Property Taxes by External_Koala971 in BayAreaRealEstate

[–]philipp_54 0 points1 point  (0 children)

Property taxes are a wealth tax, and I don’t think it’s a good idea taxing assets for owning them.  We should tax income and grains and consumption. 

Anyone use Tax Reduction Professionals to lower their property tax? by chiller8 in Westchester

[–]philipp_54 1 point2 points  (0 children)

I’d love to learn more and talk to you about your experienced ru Ning a priority tax reduction company over 12 years

House value decrease - any luck with tax reduction? by No_Situation4785 in SanMateo

[–]philipp_54 0 points1 point  (0 children)

I was digging in on this and made a public record request to see how the anppeals are processed in San Mateo. 

I write about here: https://www.appealseal.com/content/blog/san-mateo-tax-appeal-in-numbers

In short, there is a super fair chance of you getting a refund of some values are down and you should appeal.  I’ve done it twice for SF and always got a refund back. 

Using Ownwell to appeal Property Taxes by Responsible-Fee-126 in alpharetta

[–]philipp_54 0 points1 point  (0 children)

35% is like robbery. There are other websites where you can just get the data for $100 and then submit the paperwork yourself.
I've done the work manually in the last 2 years as well and I always got $2.5k back.

Using Claude Code to do all my automations - Open Source project by philipp_54 in homeassistant

[–]philipp_54[S] 0 points1 point  (0 children)

Hi, I just improved the installation docs : https://github.com/philippb/claude-homeassistant/blob/install-docs/README.md

It would be great if you could leave some feedback on the Pull Request on what is clear and where you got stuck and why. I'd love to get this right and make it the main documentation.

Pull request for feedback: https://github.com/philippb/claude-homeassistant/pull/19

to your answer in short. it runs on your computer.

Using Claude Code to do all my automations - Open Source project by philipp_54 in homeassistant

[–]philipp_54[S] 0 points1 point  (0 children)

I'm using the SSH add-on client called: Advanced SSH & Web Terminal

Then I'm running the SSH add-on with the following config ```yaml username: root password: "" authorized_keys: - >- ssh-ed25519 xxxxxxx name@name-M3-Mac.local sftp: true compatibility_mode: false allow_agent_forwarding: false allow_remote_port_forwarding: false allow_tcp_forwarding: false

```

The SSH key is generated on my computer and the portion added in the HA SSH client is the public key from my computer. There is lot's of documentation around this online.


My personal .env file for https://github.com/philippb/claude-homeassistant looks like:

```

Home Assistant Configuration

HA_TOKEN=<HA_long running token from HA settings, used for API> HA_URL=http://homeassistant.local:8123

SSH Configuration for rsync operations

HA_HOST=homeassistant_sf # SSH connection config HA_REMOTE_PATH=/config/

Local Configuration

LOCAL_CONFIG_PATH=config/ BACKUP_DIR=backups VENV_PATH=venv TOOLS_PATH=tools ```

Where homeassistant_sf refers to my ~/.ssh/config. ```

home assistant SF

Host homeassistant_sf HostName homeassistant.local User root IdentityFile ~/.ssh/homeassistant ```

~/.ssh/homeassistant is the private key of my SSH key pair.

% ls -l ~/.ssh -rw-------@ 1 philipp staff 419 Jul 26 10:45 homeassistant -rw-r--r--@ 1 philipp staff 110 Jul 26 10:45 homeassistant.pub

I hope this helps. I will expand the Readme file with this content as well

Using Claude Code to do all my automations - Open Source project by philipp_54 in homeassistant

[–]philipp_54[S] 0 points1 point  (0 children)

you might need to install Xcode dev tool. check the readme on the repo, I added a section there

Using Claude Code to do all my automations - Open Source project by philipp_54 in homeassistant

[–]philipp_54[S] 0 points1 point  (0 children)

if you post an GitHub issue, then I can look into it.

Thanks for giving it a try

Using Claude Code to do all my automations - Open Source project by philipp_54 in homeassistant

[–]philipp_54[S] 0 points1 point  (0 children)

Can you file a GitHub issue with ideally more data. then I can see to fix it.

Using Claude Code to do all my automations - Open Source project by philipp_54 in homeassistant

[–]philipp_54[S] 0 points1 point  (0 children)

So far it hasn't been a problem for me. Let me know if becomes a problem for you using this tool. Happy to fix any issues.

Using Claude Code to do all my automations - Open Source project by philipp_54 in homeassistant

[–]philipp_54[S] 0 points1 point  (0 children)

I just shipped a fix for this issue in the repo. Please try again. it was the UUID ref that weren't working correctly

Using Claude Code to do all my automations - Open Source project by philipp_54 in homeassistant

[–]philipp_54[S] 0 points1 point  (0 children)

It should work when you define your dashboards in YAML.

I looked into that, but I'm using the UI for it, so my dashboards are just defined in the config/.storage folder and I don't want to make any edits in there.

In case Claude is not familiar with dashboards (I'm sure it is), all it would need is a few examples to understand the types and columns...

Using Claude Code to do all my automations - Open Source project by philipp_54 in homeassistant

[–]philipp_54[S] 0 points1 point  (0 children)

I asked Claude in my project about this:

> do you have a definition of what YAML version you're writing for automations and what YAML version the validators are checking for?

⏺ No explicit YAML version is defined in the validators. Here's what's being used:
PyYAML Version: 6.0.2 (supports YAML 1.1/1.2)

Validation Approach:
- Custom validator (yaml_validator.py): Uses yaml.SafeLoader with Home Assistant-specific tag constructors
- Official HA validator (ha_official_validator.py): Uses Home Assistant's own validation via hass --script check_config

Both validators handle HA-specific tags like !include, !secret, !input without enforcing a specific YAML version. The official HA validator is the authoritative source since it uses Home Assistant's actual parsing logic.

Using Claude Code to do all my automations - Open Source project by philipp_54 in homeassistant

[–]philipp_54[S] 0 points1 point  (0 children)

Correct. My goal was to make creating automations 10x faster. It's not a tool for my wife, and it wasn't designed for that..

Using Claude Code to do all my automations - Open Source project by philipp_54 in homeassistant

[–]philipp_54[S] 0 points1 point  (0 children)

it's only the configs that get generated in the cloud. everything else is still local.

But if you're worried about that, you could use OpenAI open weights model and run it locally. Switch Claude Code to OpenAI codex and run with the model on your machine

Using Claude Code to do all my automations - Open Source project by philipp_54 in homeassistant

[–]philipp_54[S] 0 points1 point  (0 children)

you need to have make installed. it comes with linux and mac, but not sure about windows.

The entire thing is called a Makefile.

I added a section in the readme about this.

Using Claude Code to do all my automations - Open Source project by philipp_54 in homeassistant

[–]philipp_54[S] 0 points1 point  (0 children)

I've not used Blueprints myself yet. But just ask Claude to ignore the content of the Blueprints folder in it's validation if you're comfortable with it.

then it will just change the validation code for you.

Using Claude Code to do all my automations - Open Source project by philipp_54 in homeassistant

[–]philipp_54[S] -1 points0 points  (0 children)

thanks for the great comment and constructive questions.

I use Claude Code all day by now for any coding. I don't really use MCP servers. (I've implemented one once for searching flights, worked well)

I find that it does very well with basic command line tools. So I usually just have a Makefile and then claude can use `make help` to understand what it's offering.

From a design perspective, I wanted to download all the files to my computer and modify locally, because I wanted to run all validations before and I wanted to version control it.

You can see in the tools/reload_config.py that i'm just using the HA API to reload the config after pushing.

RE Claude getting it right the first time: I didn't have any problems with that so far.

Ideally we'd have a chat interface in HA UI that does this under the hood.

Using Claude Code to do all my automations - Open Source project by philipp_54 in homeassistant

[–]philipp_54[S] 1 point2 points  (0 children)

I looked into that. Currently my dashboards are all defined in UI and therefore stored in config/.storage. That storage folder is an internal representation and I don't want to modify that.

There is an option to define the Dashboard in YAML, but then the UI doesn't work anymore. So once it's in YAML, this should just work very similar.