Commit Graph

42 Commits

Author SHA1 Message Date
BMO (OpenClaw) fa0af8da60 feat: add configurable agent ID support
Allow users to configure which OpenClaw agent the integration communicates
with, instead of always defaulting to the implicit 'main' agent.

Changes:
- const.py: add CONF_AGENT_ID, DEFAULT_AGENT_ID='main', ATTR_AGENT_ID
- api.py: accept agent_id in constructor; _headers() now includes the
  x-openclaw-agent-id header on every request; async_send_message and
  async_stream_message accept an optional per-call agent_id override
- config_flow.py: expose agent_id as a text field in both the manual
  setup step and the options flow (Settings → Integrations → Configure)
- __init__.py: read agent_id from options/data and pass it to the API
  client; add optional agent_id field to the send_message service schema
  so automations can address a specific agent per-call
- services.yaml: document the new agent_id field on send_message
- strings.json / translations/en.json: add UI labels for the new option

The gateway routing header x-openclaw-agent-id is always sent; when
agent_id is 'main' (the default) the gateway behaviour is unchanged.
A per-call override on send_message takes precedence over the config.

Implemented with assistance from an AI coding agent (BMO) with human
review. Bot-assisted contribution reviewed by a human before submission.
2026-02-26 13:50:07 -06:00
techartdev 0f5357e7c7 Add event and button entities, select entity for model switching, and update changelog to version 0.1.56 2026-02-25 15:24:23 +02:00
techartdev d1187a3818 timeout override in settings 2026-02-23 16:45:34 +02:00
techartdev bb13ac9237 Bump version to 0.1.55, fix chat scrolling issues, restore requestAnimationFrame, and improve entity ID lookups 2026-02-23 16:38:24 +02:00
techartdev 013e4d3702 Update version to 0.1.53, fix chat scrolling issues, and prevent scroll anchoring artifacts 2026-02-23 16:05:58 +02:00
techartdev 99aaef05c1 Add HTTPS/SSL support and enhance connection handling
- Implemented HTTPS/SSL support for OpenClaw gateways in `lan_https` mode.
- Added configuration options for SSL certificate verification.
- Improved auto-discovery for `lan_https` access mode.
- Updated documentation in README and changelog for new features and fixes.
- Fixed connection errors related to SSL certificate verification.
2026-02-23 11:49:21 +02:00
techartdev 8f82526bb9 Bump version to 0.1.51, fix chat input focus loss, and update card version 2026-02-23 11:14:18 +02:00
techartdev bee2fd5a45 Update version to 0.1.50 and enhance voice behavior, chat consistency, and auto-scroll functionality 2026-02-21 19:07:53 +02:00
techartdev 21649dd441 Update version to 0.1.49 and enhance voice mode stability and chat functionality 2026-02-21 02:39:39 +02:00
techartdev 2fe88a7170 Update version to 0.1.48 and improve chat-card gateway status detection 2026-02-21 01:47:43 +02:00
techartdev 6bd3047c71 Update version to 0.1.47 and improve TTS fallback handling and voice-mode responsiveness 2026-02-21 01:34:43 +02:00
techartdev 6d37734cf9 Update version to 0.1.46 and enhance TTS resilience with automatic voice fallback and error reporting 2026-02-21 01:23:57 +02:00
techartdev 14c5d946a5 voice mode fixes 2026-02-21 00:58:59 +02:00
techartdev 4aba4bd18d Update version to 0.1.44 and fix chat-card settings sync, wake-word disable reliability, and browser voice listening status 2026-02-21 00:51:06 +02:00
techartdev dfb4718e09 Update version to 0.1.43 and enhance conversation continuity with stable fallback session IDs 2026-02-21 00:40:47 +02:00
techartdev f070299c26 Update version to 0.1.42 and add browser voice language integration with fixes for voice replies and configuration options 2026-02-21 00:12:15 +02:00
techartdev de7ef4ac99 Update version to 0.1.41 and enhance integration with voice mode fixes, gateway connection status, and updated documentation 2026-02-20 23:37:58 +02:00
techartdev faa962d8bc Update version to 0.1.40 and add OpenClaw Gateway tools endpoint integration with new service and event support 2026-02-20 23:18:37 +02:00
techartdev 367541044c Update version to 0.1.39 and align chat requests with OpenClaw session behavior 2026-02-20 23:10:32 +02:00
techartdev 9ed13e4e96 Update version to 0.1.37 and improve chat session handling with session_id in payloads 2026-02-20 22:55:29 +02:00
techartdev bfd973bbff Update version to 0.1.36 and enhance changelog with fixes for voice mode and message deduplication 2026-02-20 22:18:05 +02:00
techartdev 76c16a5111 fixing messages in stt mode 2026-02-20 22:04:04 +02:00
techartdev e5510cd6ab stt fixes 2026-02-20 21:46:24 +02:00
techartdev 9f226c2ea9 Add voice input provider options and update integration settings
- Introduced configurable voice input provider option: `browser` or `assist_stt`.
- Enhanced chat card to support Home Assistant STT transcription mode for manual mic input.
- Updated integration settings to expose voice provider through websocket payload.
- Adjusted continuous voice mode availability based on selected voice provider.
- Updated version to 0.1.32 in manifest and chat card files.
2026-02-20 21:31:01 +02:00
techartdev 58df9f352f no speech fixes 2026-02-20 20:47:44 +02:00
techartdev 0227a68001 fix voice language selection from voice settings 2026-02-20 20:42:26 +02:00
techartdev e29bbdb128 voice fixes when conversation is stopped 2026-02-20 20:36:25 +02:00
techartdev d1b3fb1d57 breve webspeech config, type animation fixes, voice language fixes 2026-02-20 20:16:48 +02:00
techartdev ab76d093e1 readme update, brave browser workaround for voice 2026-02-20 19:33:55 +02:00
techartdev f94a62ef7b voice mode fix attempt 1000 2026-02-20 19:23:49 +02:00
techartdev 98fa3a7518 vocie locale fixes 2026-02-20 19:12:54 +02:00
techartdev 06d8302ee4 script cleanup 2026-02-20 18:54:50 +02:00
techartdev 29736d9147 script cache fix 2026-02-20 18:47:00 +02:00
techartdev 0445c595ef Update changelog for version 0.1.16, add configurable wake-word support, optional always-on voice mode, and websocket settings endpoint; enhance chat card voice recognition and context handling. 2026-02-20 17:21:14 +02:00
techartdev c0f9e5c42e Update changelog for version 0.1.13, add native Assist entity exposure support, enhance context handling in chat service, and introduce helper for entity exposure context. 2026-02-20 16:49:13 +02:00
techartdev 2331ec0d8d Update changelog for version 0.1.12, improve response parsing for nested OpenAI-compatible payloads, and enhance assistant message extraction in conversation agent. 2026-02-20 16:43:48 +02:00
techartdev e6fb9e2914 Update changelog for version 0.1.11, enhance assistant message extraction, add fallback event emission on API errors, and improve custom card registration 2026-02-20 16:26:59 +02:00
techartdev 612deda8b9 Update changelog for version 0.1.9, enhance Lovelace resource registration, improve frontend registration retries, and update minimum Home Assistant version 2026-02-20 16:12:41 +02:00
techartdev b89ad7528a Update changelog for version 0.1.7, resolve chat card startup race, enhance frontend registration with retries, and add MIT license file 2026-02-20 15:44:50 +02:00
techartdev c3311a6376 Update changelog for version 0.1.6, fix integration loading issues, and enhance frontend registration process 2026-02-20 15:34:11 +02:00
techartdev 2308ddfc45 Update changelog for version 0.1.5, add automatic Lovelace resource registration, and enhance chat card functionality 2026-02-20 14:37:00 +02:00
techartdev e9cd5e1fff first commit 2026-02-20 13:07:28 +02:00