From d1aa1843d1deb0a4d5c7abb9800807dd1b2b90cb Mon Sep 17 00:00:00 2001 From: Alissa Dornbos <79465613+lelandblue@users.noreply.github.com> Date: Fri, 24 Jan 2025 16:14:10 -0500 Subject: [PATCH 1/5] Adding cooktop hub profile --- .../SmartThings/hub/profiles/cooktop-hub.yml | 33 +++++++++++++++++++ 1 file changed, 33 insertions(+) create mode 100644 drivers/SmartThings/hub/profiles/cooktop-hub.yml diff --git a/drivers/SmartThings/hub/profiles/cooktop-hub.yml b/drivers/SmartThings/hub/profiles/cooktop-hub.yml new file mode 100644 index 0000000000..78c6f3dfc9 --- /dev/null +++ b/drivers/SmartThings/hub/profiles/cooktop-hub.yml @@ -0,0 +1,33 @@ +name: cooktop-hub +components: + - id: main + label: main + capabilities: + - id: bridge + version: 1 + ephemeral: false + categories: + - name: Hub + categoryType: manufacturer +deviceConfig: + icons: + - group: main + badge: + - iconUrl: 'badge://cooktop' + dashboard: + states: + - component: main + capability: bridge + version: 1 + dpInfo: + - os: ios + dpUri: 'plugin://com.samsung.ios.plugin.stplugin/assets/files/index.html' + - os: android + dpUri: 'plugin://com.samsung.android.plugin.stplugin' + - os: web + dpUri: 'wwst://com.samsung.one.plugin.stplugin' + arguments: + - key: int_hub + value: 'wwst://com.samsung.one.plugin.chargerplugin' +metadata: + ocfDeviceType: x.com.st.d.hub From af305f5e804fec33288e155a5e4889e51670888a Mon Sep 17 00:00:00 2001 From: Alissa Dornbos <79465613+lelandblue@users.noreply.github.com> Date: Fri, 24 Jan 2025 16:15:26 -0500 Subject: [PATCH 2/5] Adding washer dryer profile --- .../hub/profiles/washer-dryer-hub.yml | 33 +++++++++++++++++++ 1 file changed, 33 insertions(+) create mode 100644 drivers/SmartThings/hub/profiles/washer-dryer-hub.yml diff --git a/drivers/SmartThings/hub/profiles/washer-dryer-hub.yml b/drivers/SmartThings/hub/profiles/washer-dryer-hub.yml new file mode 100644 index 0000000000..99203b4d44 --- /dev/null +++ b/drivers/SmartThings/hub/profiles/washer-dryer-hub.yml @@ -0,0 +1,33 @@ +name: washer-dryer-hub +components: + - id: main + label: main + capabilities: + - id: bridge + version: 1 + ephemeral: false + categories: + - name: Hub + categoryType: manufacturer +deviceConfig: + icons: + - group: main + badge: + - iconUrl: 'badge://washerdryer' + dashboard: + states: + - component: main + capability: bridge + version: 1 + dpInfo: + - os: ios + dpUri: 'plugin://com.samsung.ios.plugin.stplugin/assets/files/index.html' + - os: android + dpUri: 'plugin://com.samsung.android.plugin.stplugin' + - os: web + dpUri: 'wwst://com.samsung.one.plugin.stplugin' + arguments: + - key: int_hub + value: 'wwst://com.samsung.one.plugin.chargerplugin' +metadata: + ocfDeviceType: x.com.st.d.hub From 4afb82b0c17158194de8c108c34b8cab5486513a Mon Sep 17 00:00:00 2001 From: Alissa Dornbos <79465613+lelandblue@users.noreply.github.com> Date: Fri, 24 Jan 2025 16:25:11 -0500 Subject: [PATCH 3/5] Adding two unique fingerprints --- drivers/SmartThings/hub/fingerprints.yml | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/drivers/SmartThings/hub/fingerprints.yml b/drivers/SmartThings/hub/fingerprints.yml index a5701395a4..9524033de1 100644 --- a/drivers/SmartThings/hub/fingerprints.yml +++ b/drivers/SmartThings/hub/fingerprints.yml @@ -11,6 +11,14 @@ hub: deviceLabel: SmartThings Hub hardwareType: SAMSUNG_DA_REFRIGERATOR_HUB deviceProfileName: refrigerator-hub + - id: "washer-dryer-hub" + deviceLabel: SmartThings Hub + hardwareType: + deviceProfileName: washer-dryer-hub + - id: "cooktop-hub" + deviceLabel: SmartThings Hub + hardwareType: + deviceProfileName: cooktop-hub hubThing: - id: "hub-thing" deviceLabel: SmartThings Hub From 682c6530a0ce2b52f8e042309a32338d8e703f84 Mon Sep 17 00:00:00 2001 From: Alissa Dornbos <79465613+lelandblue@users.noreply.github.com> Date: Fri, 14 Feb 2025 08:13:58 -0500 Subject: [PATCH 4/5] Update washer-dryer-hub.yml --- drivers/SmartThings/hub/profiles/washer-dryer-hub.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/SmartThings/hub/profiles/washer-dryer-hub.yml b/drivers/SmartThings/hub/profiles/washer-dryer-hub.yml index 99203b4d44..a9982c9f82 100644 --- a/drivers/SmartThings/hub/profiles/washer-dryer-hub.yml +++ b/drivers/SmartThings/hub/profiles/washer-dryer-hub.yml @@ -13,7 +13,7 @@ deviceConfig: icons: - group: main badge: - - iconUrl: 'badge://washerdryer' + - iconUrl: 'badge://washer_dryer' dashboard: states: - component: main From 54e6a9f8dbeb3455190bf03dc3c2d8b08d46f5f1 Mon Sep 17 00:00:00 2001 From: Alissa Dornbos <79465613+lelandblue@users.noreply.github.com> Date: Fri, 14 Feb 2025 11:10:08 -0500 Subject: [PATCH 5/5] Adding hardwareTypes I missed filing these in earlier so adding them, while Using "_" instead of "-" --- drivers/SmartThings/hub/fingerprints.yml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/drivers/SmartThings/hub/fingerprints.yml b/drivers/SmartThings/hub/fingerprints.yml index 9524033de1..96c79841a5 100644 --- a/drivers/SmartThings/hub/fingerprints.yml +++ b/drivers/SmartThings/hub/fingerprints.yml @@ -13,11 +13,11 @@ hub: deviceProfileName: refrigerator-hub - id: "washer-dryer-hub" deviceLabel: SmartThings Hub - hardwareType: + hardwareType: SAMSUNG_WASHER_DRYER_TIZEN_OPEN deviceProfileName: washer-dryer-hub - id: "cooktop-hub" deviceLabel: SmartThings Hub - hardwareType: + hardwareType: SAMSUNG_COOKTOP_TIZEN_OPEN deviceProfileName: cooktop-hub hubThing: - id: "hub-thing"