Skip to content
This repository has been archived by the owner on Nov 25, 2024. It is now read-only.

Commit

Permalink
First version of the Philips Hue plugin for Stream Deck
Browse files Browse the repository at this point in the history
  • Loading branch information
Alexandre Colucci committed Mar 28, 2019
0 parents commit 18672e7
Show file tree
Hide file tree
Showing 67 changed files with 5,697 additions and 0 deletions.
9 changes: 9 additions & 0 deletions LICENSE
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
The MIT License

Copyright 2018 Corsair Memory, Inc

Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions:

The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software.

THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
26 changes: 26 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,26 @@

`Philips Hue` is a sample plugin demonstrating the [Stream Deck SDK](https://developer.elgato.com/documentation/stream-deck/).


# Description

The `Philips Hue` allows to control Philips Hue lights.


# Features

- code written in JavaScript
- cross-platform (macOS, Windows)
- localized

![](screenshot.png)


# Installation

In the Release folder, you can find the file `com.elgato.philips-hue.streamDeckPlugin`. If you double-click this file on your machine, Stream Deck will install the plugin.


# Source code

The Sources folder contains the source code of the plugin.
Binary file added Release/com.elgato.philips-hue.streamDeckPlugin
Binary file not shown.
75 changes: 75 additions & 0 deletions Sources/com.elgato.philips-hue.sdPlugin/de.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,75 @@
{
"Name": "Philips Hue",
"Category": "Philips Hue",
"Description": "Control your Philips Hue lights.",
"com.elgato.philips-hue.power": {
"Name": "On / Off",
"Tooltip": "Turn lights on or off.",
"States": [{
"Name": "On"
},
{
"Name": "Off"
}]
},
"com.elgato.philips-hue.color": {
"Name": "Color",
"Tooltip": "Set the color of your light."
},
"com.elgato.philips-hue.brightness": {
"Name": "Brightness",
"Tooltip": "Set the brightness of your light."
},
"com.elgato.philips-hue.scene": {
"Name": "Scene",
"Tooltip": "Set a scene."
},
"Localization": {
"PI": {
"Bridge": "Bridge",
"NoBridges": "No Bridges",
"AddBridge": "Add New",
"Lights": "Lights",
"Group": "Group",
"LightsTitle": "Lights",
"GroupsTitle": "Groups",
"NoLights": "No Lights",
"NoGroups": "No Groups",
"Color": "Color",
"Temperature": "Temperature",
"Brightness": "Brightness",
"Scene": "Scene",
"NoScenes": "No Scenes"
},
"Setup": {
"Intro": {
"Title" : "Add Bridge",
"Description": "Pair with a Philips Hue bridge to control your lights.",
"Start": "Discover Bridges",
"Close": "Not Now"
},
"Discovery": {
"Title" : "Discovering Bridges...",
"TitleNone" : "No Bridges Found",
"TitleOne" : "One Bridge Found",
"TitleMultiple" : "{{ number }} Bridges Found",
"DescriptionFound": "Start pairing now?",
"DescriptionNone": "Make sure your bridge is switched on and connected to the network.",
"Pair": "Pair",
"Close": "Close",
"Retry": "Try Again"
},
"Pairing": {
"Title" : "Pairing...",
"Description": "Please press the link button on the bridge now.",
"Close": "Close",
"Retry": "Try Again"
},
"Save": {
"Title" : "Bridge Added",
"Description": "The bridge has been paired sucessfully.",
"Save": "Done"
}
}
}
}
75 changes: 75 additions & 0 deletions Sources/com.elgato.philips-hue.sdPlugin/en.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,75 @@
{
"Name": "Philips Hue",
"Category": "Philips Hue",
"Description": "Control your Philips Hue lights.",
"com.elgato.philips-hue.power": {
"Name": "On / Off",
"Tooltip": "Turn lights on or off.",
"States": [{
"Name": "On"
},
{
"Name": "Off"
}]
},
"com.elgato.philips-hue.color": {
"Name": "Color",
"Tooltip": "Set the color of your light."
},
"com.elgato.philips-hue.brightness": {
"Name": "Brightness",
"Tooltip": "Set the brightness of your light."
},
"com.elgato.philips-hue.scene": {
"Name": "Scene",
"Tooltip": "Set a scene."
},
"Localization": {
"PI": {
"Bridge": "Bridge",
"NoBridges": "No Bridges",
"AddBridge": "Add New",
"Lights": "Lights",
"Group": "Group",
"LightsTitle": "Lights",
"GroupsTitle": "Groups",
"NoLights": "No Lights",
"NoGroups": "No Groups",
"Color": "Color",
"Temperature": "Temperature",
"Brightness": "Brightness",
"Scene": "Scene",
"NoScenes": "No Scenes"
},
"Setup": {
"Intro": {
"Title" : "Add Bridge",
"Description": "Pair with a Philips Hue bridge to control your lights.",
"Start": "Discover Bridges",
"Close": "Not Now"
},
"Discovery": {
"Title" : "Discovering Bridges...",
"TitleNone" : "No Bridges Found",
"TitleOne" : "One Bridge Found",
"TitleMultiple" : "{{ number }} Bridges Found",
"DescriptionFound": "Start pairing now?",
"DescriptionNone": "Make sure your bridge is switched on and connected to the network.",
"Pair": "Pair",
"Close": "Close",
"Retry": "Try Again"
},
"Pairing": {
"Title" : "Pairing...",
"Description": "Please press the link button on the bridge now.",
"Close": "Close",
"Retry": "Try Again"
},
"Save": {
"Title" : "Bridge Added",
"Description": "The bridge has been paired sucessfully.",
"Save": "Done"
}
}
}
}
75 changes: 75 additions & 0 deletions Sources/com.elgato.philips-hue.sdPlugin/es.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,75 @@
{
"Name": "Philips Hue",
"Category": "Philips Hue",
"Description": "Control your Philips Hue lights.",
"com.elgato.philips-hue.power": {
"Name": "On / Off",
"Tooltip": "Turn lights on or off.",
"States": [{
"Name": "On"
},
{
"Name": "Off"
}]
},
"com.elgato.philips-hue.color": {
"Name": "Color",
"Tooltip": "Set the color of your light."
},
"com.elgato.philips-hue.brightness": {
"Name": "Brightness",
"Tooltip": "Set the brightness of your light."
},
"com.elgato.philips-hue.scene": {
"Name": "Scene",
"Tooltip": "Set a scene."
},
"Localization": {
"PI": {
"Bridge": "Bridge",
"NoBridges": "No Bridges",
"AddBridge": "Add New",
"Lights": "Lights",
"Group": "Group",
"LightsTitle": "Lights",
"GroupsTitle": "Groups",
"NoLights": "No Lights",
"NoGroups": "No Groups",
"Color": "Color",
"Temperature": "Temperature",
"Brightness": "Brightness",
"Scene": "Scene",
"NoScenes": "No Scenes"
},
"Setup": {
"Intro": {
"Title" : "Add Bridge",
"Description": "Pair with a Philips Hue bridge to control your lights.",
"Start": "Discover Bridges",
"Close": "Not Now"
},
"Discovery": {
"Title" : "Discovering Bridges...",
"TitleNone" : "No Bridges Found",
"TitleOne" : "One Bridge Found",
"TitleMultiple" : "{{ number }} Bridges Found",
"DescriptionFound": "Start pairing now?",
"DescriptionNone": "Make sure your bridge is switched on and connected to the network.",
"Pair": "Pair",
"Close": "Close",
"Retry": "Try Again"
},
"Pairing": {
"Title" : "Pairing...",
"Description": "Please press the link button on the bridge now.",
"Close": "Close",
"Retry": "Try Again"
},
"Save": {
"Title" : "Bridge Added",
"Description": "The bridge has been paired sucessfully.",
"Save": "Done"
}
}
}
}
75 changes: 75 additions & 0 deletions Sources/com.elgato.philips-hue.sdPlugin/fr.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,75 @@
{
"Name": "Philips Hue",
"Category": "Philips Hue",
"Description": "Control your Philips Hue lights.",
"com.elgato.philips-hue.power": {
"Name": "On / Off",
"Tooltip": "Turn lights on or off.",
"States": [{
"Name": "On"
},
{
"Name": "Off"
}]
},
"com.elgato.philips-hue.color": {
"Name": "Color",
"Tooltip": "Set the color of your light."
},
"com.elgato.philips-hue.brightness": {
"Name": "Brightness",
"Tooltip": "Set the brightness of your light."
},
"com.elgato.philips-hue.scene": {
"Name": "Scene",
"Tooltip": "Set a scene."
},
"Localization": {
"PI": {
"Bridge": "Bridge",
"NoBridges": "No Bridges",
"AddBridge": "Add New",
"Lights": "Lights",
"Group": "Group",
"LightsTitle": "Lights",
"GroupsTitle": "Groups",
"NoLights": "No Lights",
"NoGroups": "No Groups",
"Color": "Color",
"Temperature": "Temperature",
"Brightness": "Brightness",
"Scene": "Scene",
"NoScenes": "No Scenes"
},
"Setup": {
"Intro": {
"Title" : "Add Bridge",
"Description": "Pair with a Philips Hue bridge to control your lights.",
"Start": "Discover Bridges",
"Close": "Not Now"
},
"Discovery": {
"Title" : "Discovering Bridges...",
"TitleNone" : "No Bridges Found",
"TitleOne" : "One Bridge Found",
"TitleMultiple" : "{{ number }} Bridges Found",
"DescriptionFound": "Start pairing now?",
"DescriptionNone": "Make sure your bridge is switched on and connected to the network.",
"Pair": "Pair",
"Close": "Close",
"Retry": "Try Again"
},
"Pairing": {
"Title" : "Pairing...",
"Description": "Please press the link button on the bridge now.",
"Close": "Close",
"Retry": "Try Again"
},
"Save": {
"Title" : "Bridge Added",
"Description": "The bridge has been paired sucessfully.",
"Save": "Done"
}
}
}
}
Loading

0 comments on commit 18672e7

Please sign in to comment.