Smarta hem-integration

Översikt

Smarta hem-system blir allt bättre på att hålla inomhusluften ren. Med Atmospores API kan dessa system automatiskt justera luftrening och ventilation utifrån pollennivåerna utomhus.

Luftrening

Justera luftrenarens inställningar automatiskt baserat på utomhuspollennivåer.

Smart automatisering

Skapa automatiserade rutiner baserade på pollenprognoser och realtidsdata.

Systemkontroll

Finjustera HVAC- och ventilationssystem för optimal inomhusluftkvalitet.

Dataanalys

Spåra och analysera inomhusluftkvalitetsmätningar över tid.

Integrationsexempel

// Smart home controller integration with Atmospore API
class AirQualityController {
  constructor(apiKey, location, thresholds = { medium: 2.5, high: 5.0 }) {
    this.apiKey = apiKey;
    this.location = location;
    this.thresholds = thresholds;
    this.purifier = new SmartPurifier();
    this.hvac = new HVACSystem();
  }

  async fetchPollenLevels() {
    const response = await fetch(
      'https://pollenapi.com/v1/pollen?' + 
      new URLSearchParams({
        lat: this.location.lat.toString(),
        lon: this.location.lon.toString(),
        dt: new Date().toISOString().split('T')[0],
        forecast_days: '1',
        species: 'grass,birch'
      }),
      {
        headers: {
          'x-api-key': this.apiKey,
          'Content-Type': 'application/json'
        }
      }
    );
    const data = await response.json();
    return data.forecast[0].pollen_levels;
  }

  async monitorAndAdjust() {
    const pollenLevels = await this.fetchPollenLevels();

    // Calculate highest risk value from tracked species
    const highest = Math.max(...Object.values(pollenLevels).map(p => p.value));

    if (highest > this.thresholds.high) {
      await this.purifier.setMode('max');
      await this.hvac.enableAirCleaning(true);
    } else if (highest > this.thresholds.medium) {
      await this.purifier.setMode('auto');
      await this.hvac.enableAirCleaning(true);
    } else {
      await this.purifier.setMode('eco');
      await this.hvac.enableAirCleaning(false);
    }
  }
}

Viktiga fördelar

Automatiserad styrning

Intelligent luftkvalitetsstyrning utan att du behöver göra något

Proaktiva justeringar

Systemet reagerar innan luftkvaliteten försämras

Energieffektivitet

Optimera driften utifrån det faktiska behovet

Prestandaanalys

Detaljerad översikt över hur bra systemet fungerar

Artsövervakning

Spåra flera pollentyper samtidigt

Enhetsintegration

Enkel anslutning till dina smarta hem-enheter

Redo att förbättra ditt smarta hem-system?

Koppla realtids pollendata till din smarta hem-automatisering.

Se prenumerationer