Skip to content

Add remote control MCP tools for Renew devices - #66

Merged
michaelahern merged 2 commits into
michaelahern:mainfrom
devdavidkarlsson:remote-control
May 10, 2026
Merged

Add remote control MCP tools for Renew devices#66
michaelahern merged 2 commits into
michaelahern:mainfrom
devdavidkarlsson:remote-control

Conversation

@devdavidkarlsson

@devdavidkarlsson devdavidkarlsson commented Apr 27, 2026

Copy link
Copy Markdown
Contributor

Summary

  • Adds airthings-remote-control-get tool to query device state
  • Adds airthings-remote-control-set tool to set device mode (OFF, AUTO, SLEEP, BOOST, MANUAL with fan speed)
  • Uses zod schemas for input validation with descriptive parameter metadata

Depends on: michaelahern/airthings-consumer-api#46 (new getRemoteControl/setRemoteControl methods must be published first)

Test plan

  • Verify airthings-remote-control-get returns formatted mode/fan speed
  • Verify airthings-remote-control-set accepts valid modes and fan speed
  • Verify input validation rejects invalid modes and out-of-range fan speeds
  • Integration test with real Renew device after API client update

🤖 Generated with Claude Code

devdavidkarlsson and others added 2 commits April 27, 2026 13:41
Adds airthings-remote-control-get and airthings-remote-control-set tools
for querying and setting the operational mode of Renew (AP_1) devices.
Depends on airthings-consumer-api remote control support.

Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
@michaelahern
michaelahern merged commit 20c678f into michaelahern:main May 10, 2026
4 of 5 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants