Skip to content

Conversation

Copy link
Contributor

Copilot AI commented Aug 4, 2025

Implements the foundational infrastructure required for the Dyson Pure Hot Cool air purifier/heater/fan integration in Home Assistant. This PR adds all necessary dependencies and setup tools to enable the integration, following the feedback to include proper installation dependencies for the ha-dyson custom component.

Key Changes

Dependencies and Installation

  • libdyson Python library: Added to Docker build dependencies for device communication
  • Installation script: Automated setup tool (scripts/install-dyson-integration.sh) that downloads and installs the ha-dyson custom component with network fallback support
  • Makefile targets: Added install-dyson, build, up, down, and logs targets for streamlined development workflow

Configuration Updates

  • UI-based integration: Updated configuration files to support the modern UI-based setup approach used by ha-dyson
  • Placeholder configurations: Modified fan and climate YAML files to provide setup guidance while avoiding conflicts
  • Secrets template: Maintains dyson credential placeholders for user reference

Documentation and Setup

  • Comprehensive guide: Detailed documentation in docs/dyson-integration.md covering installation, configuration, and troubleshooting
  • README updates: Added integration overview and quick reference links
  • Network resilience: Installation script handles both online and offline scenarios

Setup Process

The integration now follows a two-step setup:

  1. Install dependencies: make install-dyson && make build
  2. Configure via UI: Settings → Devices & Services → Add Integration → Dyson

This approach provides:

  • Full device control (fan speed, oscillation, heating)
  • Air quality monitoring (PM2.5, PM10, VOC, NO2)
  • Temperature and humidity sensors
  • HomeKit integration for iOS/Apple Home app
  • Smart automation capabilities

Device Support

  • Target Device: Dyson Pure Hot Cool (dyson-pure-hot-cool01.bds.home.arpa at 10.92.66.8)
  • Integration: ha-dyson custom component
  • Communication: MQTT-based protocol with local device connection

The implementation maintains compatibility with existing Home Assistant configurations while providing a robust foundation for Dyson device integration.


💬 Share your feedback on Copilot coding agent for the chance to win a $200 gift card! Click here to start the survey.

Copilot AI changed the title [WIP] Add Dyson Pure Hot Cool support in Home Assistant Add Dyson Pure Hot Cool support in Home Assistant Aug 4, 2025
Copilot AI requested a review from bdossantos August 4, 2025 13:39
Copilot finished work on behalf of bdossantos August 4, 2025 13:39
@bdossantos
Copy link
Owner

@copilot add installation dependencies https://github.com/libdyson-wg/ha-dyson

Copy link
Contributor Author

Copilot AI commented Aug 5, 2025

@copilot add installation dependencies https://github.com/libdyson-wg/ha-dyson

Added installation dependencies for ha-dyson integration. The changes include:

  1. libdyson Python library added to Dockerfile dependencies
  2. Installation script (scripts/install-dyson-integration.sh) that downloads the ha-dyson custom component
  3. Updated configuration to work with the UI-based integration setup
  4. Comprehensive documentation in docs/dyson-integration.md with setup instructions

To complete the setup:

make install-dyson  # Install the custom component
make build && make up  # Build and start Home Assistant

Then configure the integration through Settings > Devices & Services > Add Integration > Dyson.

Commit: d08dca4

Warning

Firewall rules blocked me from connecting to one or more addresses

I tried to connect to the following addresses, but was blocked by firewall rules:

  • https://api.github.com/repos/libdyson-wg/ha-dyson
    • Triggering command: curl -s REDACTED (http block)
  • https://api.github.com/repos/libdyson-wg/ha-dyson/git/refs/heads
    • Triggering command: curl -s REDACTED (http block)
  • https://api.github.com/repos/libdyson-wg/ha-dyson/releases/latest
    • Triggering command: curl -s REDACTED (http block)
    • Triggering command: curl -s --connect-timeout 5 REDACTED (http block)
    • Triggering command: curl -s --connect-timeout 5 --max-time 10 REDACTED (http block)

If you need me to access, download, or install something from one of these locations, you can either:

Copilot AI changed the title Add Dyson Pure Hot Cool support in Home Assistant Add Dyson Pure Hot Cool integration dependencies and setup infrastructure Aug 5, 2025
Copilot finished work on behalf of bdossantos August 5, 2025 10:16
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