xAI Conversation

Introducing my latest work: xAI Conversation for Home Assistant.

November 21, 2025 Update :sparkles:

:rocket: xAI Conversation v1.1.0 just dropped!

  • All latest Grok models instantly available in config flow
  • Auto-detect sensor for new Grok models (the second xAI releases them)
  • New Grok-powered Image Analysis (vision) service
  • Pricing sensors for every model (input / output / cached per 1M tokens)

Full changelog → Releases · pajeronda/xai_conversation · GitHub


October 19, 2025 Update :sparkles:

I present to you my new project, xAI Conversation, much more elaborated than the previous one, which consists of two parts:

  1. a. an assistant for Assist conversation with peculiar features, such as conversation memory on the xAI server (meaning I only send the last message, not the whole conversation, as is the case with the Home Assistant standard), conversation continuity between the same user’s devices (switching from PC, tablet, to smartphone for the same user), and executing multiple actions in the same request;
  2. b. an integrated code editor optimized for Home Assistant, in a card for your dashboard, for assistance, creation, and modification, based on xAI’s “Grok Code Fast 1” model.

You can find everything in these repositories:

  1. https://github.com/pajeronda/xai_conversation
  2. https://github.com/pajeronda/grok-code-fast-card/

And much more. I hope you can benefit from it! :wave:

Assist

Grok Code Fast

Sensors

2 Likes

:dart: Overview

This release significantly improves reliability and performance of the integration, with special focus on optimization for resource-constrained devices (Raspberry Pi, Proxmox VMs) and critical bug fixes.


:sparkles: What’s New

:rocket: Performance Improvements

  • Separate API vs Local Timing: Now you can see how much time the xAI API takes vs local processing
    • Helps identify if slowness comes from the API or your system
    • Visible in INFO logs chat_start and chat_end with api_time and local_process_time
  • Faster Operations: Save operations (tokens, memory) no longer block conversations
    • Everything is saved in background while you continue talking to the assistant
    • Less waiting time between voice commands
  • Reduced System Load: Optimizations for Raspberry Pi and low-power devices
    • Reduced CPU usage when not necessary
    • Better log handling (no resource waste when logging is disabled)