Smarthus-integrasjon
Oversikt
Smarthus-systemer blir stadig flinkere til å holde luften innendørs ren. Med Atmospores API kan disse systemene automatisk justere luftrensing og ventilasjon ut fra pollennivåene ute.
Luftrensing
Juster luftrenserinnstillinger automatisk basert på utendørs pollennivåer.
Smart automatisering
Opprett automatiserte rutiner basert på pollenprognoser og sanntidsdata.
Systemkontroll
Finjuster HVAC- og ventilasjonssystemer for optimal innendørs luftkvalitet.
Dataanalyse
Spor og analyser innendørs luftkvalitetsmålinger over tid.
Integrasjonseksempel
// 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);
}
}
}Viktige fordeler
Automatisert styring
Intelligent luftkvalitetsstyring uten at du trenger å gjøre noe
Proaktive justeringer
Systemet reagerer før luftkvaliteten blir dårlig
Energieffektivitet
Optimaliser driften ut fra det faktiske behovet
Ytelsesanalyse
Detaljert oversikt over hvor godt systemet fungerer
Artsovervåking
Spor flere pollentyper samtidig
Enhetsintegrasjon
Enkel tilkobling til smarthus-enhetene dine
Klar til å forbedre smarthus-systemet ditt?
Koble sanntids pollendata til smarthus-automatiseringen din.