Skip to content

Commit

Permalink
CHAD-13561: Add support for FanControl's Rocking functionality (#1578)
Browse files Browse the repository at this point in the history
Add driver support for the Fan Control cluster's Rocking attributes.
  • Loading branch information
hcarter-775 authored Sep 3, 2024
1 parent 7b3f00b commit 191899f
Show file tree
Hide file tree
Showing 17 changed files with 590 additions and 21 deletions.
2 changes: 1 addition & 1 deletion drivers/SmartThings/matter-thermostat/fingerprints.yml
Original file line number Diff line number Diff line change
Expand Up @@ -76,7 +76,7 @@ matterGeneric:
deviceLabel: Matter Fan
deviceTypes:
- id: 0x002B
deviceProfileName: fan
deviceProfileName: fan-generic
- id: "matter/air-purifier"
deviceLabel: Matter Air Purifier
deviceTypes:
Expand Down
Original file line number Diff line number Diff line change
@@ -0,0 +1,28 @@
name: air-purifier-ac-rock-wind
components:
- id: main
label: Main
capabilities:
- id: airPurifierFanMode
version: 1
- id: fanSpeedPercent
version: 1
- id: fanOscillationMode
version: 1
- id: windMode
version: 1
- id: firmwareUpdate
version: 1
- id: refresh
version: 1
categories:
- name: AirPurifier
- id: activatedCarbonFilter
label: Activated carbon filter
capabilities:
- id: filterState
version: 1
- id: filterStatus
version: 1
categories:
- name: AirPurifier
Original file line number Diff line number Diff line change
@@ -0,0 +1,26 @@
name: air-purifier-ac-rock
components:
- id: main
label: Main
capabilities:
- id: airPurifierFanMode
version: 1
- id: fanSpeedPercent
version: 1
- id: fanOscillationMode
version: 1
- id: firmwareUpdate
version: 1
- id: refresh
version: 1
categories:
- name: AirPurifier
- id: activatedCarbonFilter
label: Activated carbon filter
capabilities:
- id: filterState
version: 1
- id: filterStatus
version: 1
categories:
- name: AirPurifier
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
name: air-purifier-hepa-ac-wind-thermostat-humidity-fan-heating-only-nostate-nobattery-aqs-pm10-pm25-ch2o-meas-pm10-pm25-ch2o-no2-tvoc-level
name: air-purifier-hepa-ac-rock-wind-thermostat-humidity-fan-heating-only-nostate-nobattery-aqs-pm10-pm25-ch2o-meas-pm10-pm25-ch2o-no2-tvoc-level
components:
- id: main
label: Main
Expand All @@ -7,6 +7,8 @@ components:
version: 1
- id: fanSpeedPercent
version: 1
- id: fanOscillationMode
version: 1
- id: windMode
version: 1
- id: thermostatHeatingSetpoint
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
name: air-purifier-hepa-ac-aqs-co2-tvoc-meas-co2-radon-level
name: air-purifier-hepa-ac-rock-wind
components:
- id: main
label: Main
Expand All @@ -7,15 +7,9 @@ components:
version: 1
- id: fanSpeedPercent
version: 1
- id: airQualityHealthConcern
- id: fanOscillationMode
version: 1
- id: carbonDioxideHealthConcern
version: 1
- id: carbonDioxideMeasurement
version: 1
- id: radonHealthConcern
version: 1
- id: tvocMeasurement
- id: windMode
version: 1
- id: firmwareUpdate
version: 1
Expand All @@ -24,7 +18,7 @@ components:
categories:
- name: AirPurifier
- id: hepaFilter
label: Hepa Filter
label: Hepa filter
capabilities:
- id: filterState
version: 1
Expand All @@ -33,7 +27,7 @@ components:
categories:
- name: AirPurifier
- id: activatedCarbonFilter
label: Activated Carbon Filter
label: Activated carbon filter
capabilities:
- id: filterState
version: 1
Expand Down
Original file line number Diff line number Diff line change
@@ -0,0 +1,35 @@
name: air-purifier-hepa-ac-rock
components:
- id: main
label: Main
capabilities:
- id: airPurifierFanMode
version: 1
- id: fanSpeedPercent
version: 1
- id: fanOscillationMode
version: 1
- id: firmwareUpdate
version: 1
- id: refresh
version: 1
categories:
- name: AirPurifier
- id: hepaFilter
label: Hepa filter
capabilities:
- id: filterState
version: 1
- id: filterStatus
version: 1
categories:
- name: AirPurifier
- id: activatedCarbonFilter
label: Activated carbon filter
capabilities:
- id: filterState
version: 1
- id: filterStatus
version: 1
categories:
- name: AirPurifier
Original file line number Diff line number Diff line change
@@ -0,0 +1,28 @@
name: air-purifier-hepa-rock-wind
components:
- id: main
label: Main
capabilities:
- id: airPurifierFanMode
version: 1
- id: fanSpeedPercent
version: 1
- id: fanOscillationMode
version: 1
- id: windMode
version: 1
- id: firmwareUpdate
version: 1
- id: refresh
version: 1
categories:
- name: AirPurifier
- id: hepaFilter
label: Hepa filter
capabilities:
- id: filterState
version: 1
- id: filterStatus
version: 1
categories:
- name: AirPurifier
Original file line number Diff line number Diff line change
@@ -0,0 +1,26 @@
name: air-purifier-hepa-rock
components:
- id: main
label: Main
capabilities:
- id: airPurifierFanMode
version: 1
- id: fanSpeedPercent
version: 1
- id: fanOscillationMode
version: 1
- id: firmwareUpdate
version: 1
- id: refresh
version: 1
categories:
- name: AirPurifier
- id: hepaFilter
label: Hepa filter
capabilities:
- id: filterState
version: 1
- id: filterStatus
version: 1
categories:
- name: AirPurifier
Original file line number Diff line number Diff line change
@@ -0,0 +1,18 @@
name: air-purifier-rock-wind
components:
- id: main
capabilities:
- id: airPurifierFanMode
version: 1
- id: fanSpeedPercent
version: 1
- id: fanOscillationMode
version: 1
- id: windMode
version: 1
- id: firmwareUpdate
version: 1
- id: refresh
version: 1
categories:
- name: AirPurifier
Original file line number Diff line number Diff line change
@@ -0,0 +1,16 @@
name: air-purifier-rock
components:
- id: main
capabilities:
- id: airPurifierFanMode
version: 1
- id: fanSpeedPercent
version: 1
- id: fanOscillationMode
version: 1
- id: firmwareUpdate
version: 1
- id: refresh
version: 1
categories:
- name: AirPurifier
17 changes: 17 additions & 0 deletions drivers/SmartThings/matter-thermostat/profiles/fan-generic.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,17 @@
name: fan-generic
components:
- id: main
capabilities:
- id: airConditionerFanMode
version: 1
- id: fanSpeedPercent
version: 1
- id: firmwareUpdate
version: 1
- id: refresh
version: 1
categories:
- name: Fan
metadata:
mnmn: SmartThingsEdge
vid: generic-fan
21 changes: 21 additions & 0 deletions drivers/SmartThings/matter-thermostat/profiles/fan-rock-wind.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,21 @@
name: fan-rock-wind
components:
- id: main
capabilities:
- id: airConditionerFanMode
version: 1
- id: fanSpeedPercent
version: 1
- id: fanOscillationMode
version: 1
- id: windMode
version: 1
- id: firmwareUpdate
version: 1
- id: refresh
version: 1
categories:
- name: Fan
metadata:
mnmn: SmartThingsEdge
vid: generic-fan-rock-wind
19 changes: 19 additions & 0 deletions drivers/SmartThings/matter-thermostat/profiles/fan-rock.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,19 @@
name: fan-rock
components:
- id: main
capabilities:
- id: airConditionerFanMode
version: 1
- id: fanSpeedPercent
version: 1
- id: fanOscillationMode
version: 1
- id: firmwareUpdate
version: 1
- id: refresh
version: 1
categories:
- name: Fan
metadata:
mnmn: SmartThingsEdge
vid: generic-fan-rock
19 changes: 19 additions & 0 deletions drivers/SmartThings/matter-thermostat/profiles/fan-wind.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,19 @@
name: fan-wind
components:
- id: main
capabilities:
- id: airConditionerFanMode
version: 1
- id: fanSpeedPercent
version: 1
- id: windMode
version: 1
- id: firmwareUpdate
version: 1
- id: refresh
version: 1
categories:
- name: Fan
metadata:
mnmn: SmartThingsEdge
vid: generic-fan-wind
Loading

0 comments on commit 191899f

Please sign in to comment.