Yeah, I can copy/paste fine thanks to having an ultra wide. It’s the 400 error I can’t get past.
Solution:
Go to the 3 dots at top-right corner of your browser. You’ll find a button to zoom out the web page, by doing that all the link would be visible in a single line. Now you can directly click on the link and it will direct you to claude’s authentication page.
Let me know if its helpful!
thank you for me this worked at the end, I zoomed completely out, closed the side bar, but the link was not fully display in one line on a 13,3" MacBook Air, so I moved the windows to a 27" Monitor and scaled to fullscreen and voila, one line, just clicked on it and copy back worked fine. Thanks a lot for this hint.
I figured it out. When pasting the auth code back in, use CTRL+SHIFT+Insert
Oh you genius. It’s working. Thank you very much. Although I have no hair left now from pulling it out for a week. I should have read a bit further down the Claude Code authorisation instructions. It’s tmux so copy and paste needs slightly different considerations. It explains it in detail. D’oh!![]()
After also wrestling with the authentication a little bit too, this is genuinely awesome.
For anyone wondering - to copy, highlight the text with ctrl + shift pressed down, and then press c.
To paste into the terminal, either use ctrl + shift +v or shift + Insert
This is in the readme but it’s easy to get flustered so hopefully this helps.
I basically rebuilt ALL my automations that were based on ZHA and are now all migrated into Z2M, along with a bunch of optimisations, no longer using any blueprints (just logic inside normal Hass automations), got rid of the few Node-Red automations I had and made them in Hass too… like… this was ridiculously useful and efficient.
A tip for people - If you figure a process out that is likely to be repetetive, e.g. I have a bit of yaml in my Z2M config that converts how smart switches are presented to Hass from a switch to a light, if you tell it to store the process, it seems to reduce how many tokens it takes, or at least speed up how quickly it makes the change.
do you then ctrl + v to paste it? It just keeps giving me oauth failure errors., got the link in 1 line
Goddamn you genius! Thank you. I was getting so angry lol
Is it possible to change to a local llm?
Hello,
I cannot start addon.
HA instance is on proxmox.
Manuall triggering “claude” finished with response: “killed”
[INFO] Checking for Claude Code updates...
[WARN] Update check failed, continuing...
/bin/bash: line 2: 34 Killed claude mcp remove homeassistant -s user 2> /dev/null
/bin/bash: line 2: 49 Killed claude mcp remove playwright -s user 2> /dev/null
[INFO] Pre-authorized read-only MCP tools
[INFO] Playwright MCP disabled
/bin/bash: line 2: 59 Killed claude mcp add-json homeassistant '{"command":"hass-mcp"}' -s user
[2026/04/29 17:00:28:1782] N: ttyd 1.7.7-40e79c7 (libwebsockets 4.3.3-unknown)
[2026/04/29 17:00:28:1811] N: tty configuration:
[2026/04/29 17:00:28:1811] N: start command: tmux new-session -A -s claude
[2026/04/29 17:00:28:1811] N: close signal: SIGHUP (1)
[2026/04/29 17:00:28:1811] N: terminal type: xterm-256color
[2026/04/29 17:00:28:1811] N: max clients: 5
Same Problem here, also HAOS on proxmox.
Edit: Please use the version provided by @sproft as this version will eventually incorporate my changes as well.
My version will cease to be maintained once that has happened because I will switch to his version.
There seems to be no activity on this App since January.
I found some things that I didn't like and forked the repository to be able to adjust things quickly and without interfering with the original repository.
The result is this: GitHub - umrath/claude-hass-app: App to use Claude Code inside of Homeassistant. Forked from Home Assistant add-ons by Robson Felix. · GitHub
Its focus is security.
I removed a bunch of rights from the app which I found excessive and unecessary.
same issue with this being killed everytime i try to start your app @umrath
Paste me the exact error message (or open an issue) if it fails and I will try to get it fixed.
Update: The fork had the same issue. The most recent release (1.2.75) should address it. Please report back if that’s the case or if you still have issues.
(The intermediate 1.7.4 was broken.)
This implementation is not able to do it.
GitHub - umrath/mistralvibe-hass-app · GitHub should be - but I have not tested it yet.
Hey everyone. For those of you who’ve run into the Killed startup loop on Proxmox/HAOS, auto-update never picking up new Claude Code releases, the OAuth paste flow with 400 errors, or the first-launch jq: error: ... settings.json: No such file or directory that have come up several times in this thread, I forked Robson’s app and shipped v1.2.65 with fixes aimed at exactly those issues. I also stripped the repo down to just the Claude Code app so it’s faster to install and has a smaller surface area for folks who only want Claude in HA.
Full credit to @robsonfelix. This is built directly on his work, and the fork exists to pick up specific issues faster, not to replace his repo. The Monocle and Playwright Browser apps live on in the upstream repository.
Announcement thread with the full v1.2.65 changelog and one-click install: Claude Code for Home Assistant: slim fork v1.2.65 (Proxmox "Killed" fix, working auto-update, smoother OAuth)
If you’ve been stuck on any of the above, please try it and reply on the new thread (or open a GitHub issue) with what you see. I’d rather chase a real log than guess.
ctrl + shift + v worked for me
got it working and its fixed quite a few of my error codes that I hadnt a clue how to fix but it very quickly gets expensive using credits, might have to uninstall and just use the desktop version instead ![]()
Sorry, just come across this thread ... can someone advise which link (repository) should I be using the install this? There seemd to be a few different versions?
Hello, shameless self plug here.
You can try my version, as I will try to incorporate the security changes from @umrath as he graciously gave me permission to use them.
And @robsonfelix hasn't updated his version in the last few months.
You can drop an Issue in the github if you have any problems.