diff --git a/drivers/SmartThings/hub/config.yml b/drivers/SmartThings/hub/config.yml new file mode 100644 index 0000000000..72b4519bca --- /dev/null +++ b/drivers/SmartThings/hub/config.yml @@ -0,0 +1,4 @@ +name: 'hub' +packageKey: 'hub' +description: "SmartThings driver for Hub devices" +vendorSupportInformation: "https://support.smartthings.com" diff --git a/drivers/SmartThings/hub/fingerprints.yml b/drivers/SmartThings/hub/fingerprints.yml new file mode 100644 index 0000000000..4145d94141 --- /dev/null +++ b/drivers/SmartThings/hub/fingerprints.yml @@ -0,0 +1,17 @@ +hub: + - id: "tv-hub" + deviceLabel: SmartThings Hub + hardwareType: SAMSUNG-TV-TIZEN-OPEN + deviceProfileName: tv-hub + - id: "soundbar-hub" + deviceLabel: Harman Kardon Virtuo + hardwareType: HARMAN_SPEAKER_LINUX_OPEN_HUB + deviceProfileName: soundbar-hub + - id: "refrigerator-hub" + deviceLabel: SmartThings Hub + hardwareType: SAMSUNG_DA_REFRIGERATOR_HUB + deviceProfileName: refrigerator-hub +hubThing: + - id: "hub-thing" + deviceLabel: SmartThings Hub + deviceProfileName: hub-thing diff --git a/drivers/SmartThings/hub/profiles/hub-thing.yml b/drivers/SmartThings/hub/profiles/hub-thing.yml new file mode 100644 index 0000000000..1416fe6459 --- /dev/null +++ b/drivers/SmartThings/hub/profiles/hub-thing.yml @@ -0,0 +1,13 @@ +name: hub-thing +components: + - id: main + label: main + capabilities: + - id: bridge + version: 1 + ephemeral: false + categories: + - name: Hub + categoryType: manufacturer +metadata: + ocfDeviceType: x.com.st.d.hub \ No newline at end of file diff --git a/drivers/SmartThings/hub/profiles/refrigerator-hub.yml b/drivers/SmartThings/hub/profiles/refrigerator-hub.yml new file mode 100644 index 0000000000..f0947faf04 --- /dev/null +++ b/drivers/SmartThings/hub/profiles/refrigerator-hub.yml @@ -0,0 +1,17 @@ +name: refrigerator-hub +components: + - id: main + label: main + capabilities: + - id: bridge + version: 1 + ephemeral: false + categories: + - name: Hub + categoryType: manufacturer +config: + icons: + - badge: + - iconUrl: badge://refrigerator +metadata: + ocfDeviceType: x.com.st.d.hub \ No newline at end of file diff --git a/drivers/SmartThings/hub/profiles/soundbar-hub.yml b/drivers/SmartThings/hub/profiles/soundbar-hub.yml new file mode 100644 index 0000000000..9d692551f4 --- /dev/null +++ b/drivers/SmartThings/hub/profiles/soundbar-hub.yml @@ -0,0 +1,17 @@ +name: soundbar-hub +components: + - id: main + label: main + capabilities: + - id: bridge + version: 1 + ephemeral: false + categories: + - name: Hub + categoryType: manufacturer +config: + icons: + - badge: + - iconUrl: badge://soundbar +metadata: + ocfDeviceType: x.com.st.d.hub \ No newline at end of file diff --git a/drivers/SmartThings/hub/profiles/tv-hub.yml b/drivers/SmartThings/hub/profiles/tv-hub.yml new file mode 100644 index 0000000000..de51b782bd --- /dev/null +++ b/drivers/SmartThings/hub/profiles/tv-hub.yml @@ -0,0 +1,17 @@ +name: tv-hub +components: + - id: main + label: main + capabilities: + - id: bridge + version: 1 + ephemeral: false + categories: + - name: Hub + categoryType: manufacturer +config: + icons: + - badge: + - iconUrl: badge://tv +metadata: + ocfDeviceType: x.com.st.d.hub \ No newline at end of file diff --git a/drivers/SmartThings/hub/src/init.lua b/drivers/SmartThings/hub/src/init.lua new file mode 100644 index 0000000000..e69de29bb2