Skip to content

[BUG] Possible Home Assistant Integration problem #47

@vescreative

Description

@vescreative

Description

Putting in my Home Assistant info in the CAAL setup wizard did not give me any control over my home assistant installation. I have another LLM assistant up and running so it isn't on the Home Assistant side

I'm just debugging with ChatGPT here but what finally got it to start firing off commands was this clue:

Your Home Assistant MCP server does NOT expose tools called:

HassTurnOn
HassTurnOff

Instead it exposes:

assist__HassTurnOn
assist__HassTurnOff
assist__HassLightSet
...

But CAAL’s wrapper is trying to call:

HassTurnOff ❌ (doesn't exist)

That’s why you get:

Error: Tool "HassTurnOff" not found

The light never changes because the MCP call never reaches HA.

I got it working with the following patch, but it is for some reason, very inconsistent. Sometimes it fires, sometimes it doesn't, and it doesn't work on other lights either

docker exec -it caal-agent sh -lc '
sed -i
-e "s/HassTurnOn/assist__HassTurnOn/g"
-e "s/HassTurnOff/assist__HassTurnOff/g"
/app/voice_agent.py
'

Environment

  • Deployment mode: proxmox LXC docker Nvidia GPU
  • Docker version: 20

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions