Skip to content
This repository has been archived by the owner on Jul 18, 2020. It is now read-only.

fix for whc #201

Merged
merged 43 commits into from
Oct 16, 2018
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
43 commits
Select commit Hold shift + click to select a range
2a7a726
Update update.md
Hyrules Sep 23, 2017
050188f
Update update.md
Hyrules Oct 8, 2017
419fcc0
Update update.md
Hyrules Oct 8, 2017
f7245d5
Update update.md
Hyrules Oct 8, 2017
8f19b04
Update update.md
Hyrules Oct 8, 2017
b8cf47b
Update update.md
Hyrules Oct 8, 2017
7c331ae
Update update.md
Hyrules Oct 8, 2017
55d1273
Update update.md
Hyrules Oct 9, 2017
265b311
Update update.md
Hyrules Oct 9, 2017
a2a7bbe
Update update.md
Hyrules Oct 9, 2017
d34e03c
Create appveyor.yml
Hyrules Oct 9, 2017
caa9cf7
Update appveyor.yml
Hyrules Oct 9, 2017
bf67350
Update appveyor.yml
Hyrules Oct 9, 2017
013ee59
Update appveyor.yml
Hyrules Oct 9, 2017
5e4ea5a
Delete appveyor.yml
Hyrules Oct 9, 2017
82f5667
Merge pull request #121 from Hyrules/dev
Hyrules Oct 21, 2017
07aab22
Update update.md
Hyrules Oct 21, 2017
683824d
Update README.md
Hyrules Oct 21, 2017
8ba11f2
Fixed bug in links of readme.md
mdenhoedt Oct 29, 2017
5949f99
Merge pull request #123 from mdenhoedt/patch-1
Hyrules Nov 7, 2017
ff554a2
Update README.md
Hyrules Nov 16, 2017
856fa1c
Merge pull request #142 from Hyrules/dev
Hyrules Dec 24, 2017
bcdb1e7
Update update.md
Hyrules Dec 24, 2017
228778e
Update update.md
Hyrules Jan 1, 2018
9bf6ae6
Update update.md
Hyrules Jan 2, 2018
31ddee1
Merge pull request #164 from Hyrules/dev
Hyrules Mar 4, 2018
9a61b10
Update update.md
Hyrules Mar 4, 2018
0b60cdd
Update README.md
Hyrules Apr 8, 2018
f65f375
Update README.md
Hyrules Apr 8, 2018
fe3ac8e
Update README.md
Hyrules Apr 12, 2018
baface4
Create issue_template.md
Hyrules Apr 12, 2018
9156714
Create ISSUE_TEMPLATE.md
Hyrules Apr 12, 2018
37cd6a7
Delete issue_template.md
Hyrules Apr 12, 2018
65c546c
Merge pull request #185 from Hyrules/dev
Hyrules Jul 9, 2018
a03e15a
Update update.md
Hyrules Jul 10, 2018
9db7ad6
Update update.md
Hyrules Jul 10, 2018
7e37038
Merge pull request #187 from Hyrules/dev
Hyrules Jul 10, 2018
d4b9442
Update update.md
Hyrules Jul 10, 2018
b2c463c
Update README.md
Hyrules Jul 19, 2018
5e12509
Merge pull request #197 from Hyrules/dev
Hyrules Oct 6, 2018
bafa989
Update update.md
Hyrules Oct 6, 2018
2c2b291
Fix Bridge constructor invocation to ensure API key is set properly.
Aneurysm9 Oct 9, 2018
0441549
Merge pull request #198 from Aneurysm9/master
Hyrules Oct 16, 2018
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
25 changes: 25 additions & 0 deletions ISSUE_TEMPLATE.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,25 @@
Before submitting a request please make sure you are running the latest version of WinHue
available in the release section of this site. Support will not be done on older version.

### Your setup

WinHue version : (eg. 3.0.2400.0)
Bridge api version : (1.16)
Light model : (if you have a problem with a particular light)

### Expected behavior and actual behavior

...

### Actual behavior

...

### Steps to reproduce the problem

1) ...
2) ...
3) ...

In the case of a crash, please make sure to add a logfile containg the crash located in the %APPDATA%\WinHue3
to the issue you are opening.
21 changes: 17 additions & 4 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,7 @@
<b>Requirements :</b> <br/>
- [Microsoft Dot Net Framework 4.5.1](https://www.microsoft.com/en-ca/download/details.aspx?id=40773) <br/>
- [Visual C++ 2010 Redistributable](https://www.microsoft.com/en-ca/download/details.aspx?id=5555)<br/>
- [A complete Philips Hue Light system including some philips hue lights and bridge (Api version 1.16 or greater)](https://www2.meethue.com/en-us/products/starter-kits#filters=STARTER_KITS_SU&sliders=&support=&price=&priceBoxes=&page=&layout=12.subcategory.p-grid-icon)

<b>Description :</b>

Expand All @@ -21,15 +22,27 @@ WinHue is a windows desktop application to control the philips hue lighting syst

<b>Install Procedure :</b>

1. Download the [latest release](https://github.com/Hyrules/WinHue3/releases/download/RC2/WinHue.3.RC.2.Setup.zip)
1. Download the [latest release](https://github.com/Hyrules/WinHue3/releases/latest)
2. Install the release.
3. Pair the bridge with WinHue.
4. Have fun !

<b>Usage : </b>
- See the [Usage wiki](../../wiki/Basic Usage) page for WinHue usage.<br/>
- See the [Console wiki](../../wiki/Console usage) page for the Console usage.<br/>

- See the [Usage wiki](../../wiki/Basic-Usage) page for WinHue usage.<br/>
- See the [Console wiki](../../wiki/Console-usage) page for the Console usage.<br/>

<b> FAQ : </b>
- Does WinHue work with x system ?
Answer : No WinHue is made to be used with the philips hue system and api and won't work with other systems.
- Does WinHue work with alexa ?
Answer : If you have alexa and philips hue bulbs without any bridge WinHue won't work. WinHue will only work with a bridge and philips hue bulbs.
- Can you make WinHue work with x system :
Answer : My goal was and still is to have a Windows application be able to control the philips hue lighting system. In other words no but feel free to fork my project and try to adapt it yourself. The Hue API is too deeply embedded inside WinHue that it will most likely need a complete rework of the code to be able to make it work with other system.

<b> Looking for an app to control LIFX ? </b>

You can try WinLIFX : https://hyrules.github.io/WinLIFX/

<b>Licence : </b>

[Creative Commons Attribution Non-Commercial License V2.0](https://creativecommons.org/licenses/by-nc/2.0/)
Expand Down
4 changes: 2 additions & 2 deletions update.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
{
"Version":"3.0.240.0",
"URL": "https://github.com/Hyrules/WinHue3/releases/download/RC2/WinHue.3.RC.2.Setup.exe",
"Version":"3.0.3028.0",
"URL": "https://github.com/Hyrules/WinHue3/releases/download/1.0/WinHue.3.0.3028.0.Setup.exe",
"BridgeVersion": "1.16.0"
}
8 changes: 6 additions & 2 deletions whc/ConsoleHandler.cs
Original file line number Diff line number Diff line change
Expand Up @@ -1036,8 +1036,12 @@ public static void ExecuteCommand(string[] args)
{
if(WinHueSettings.bridges.BridgeInfo.ContainsKey(WinHueSettings.bridges.DefaultBridge))
{
string ip = WinHueSettings.bridges.BridgeInfo[WinHueSettings.bridges.DefaultBridge].ip;
_bridge = new Bridge(IPAddress.Parse(ip), WinHueSettings.bridges.DefaultBridge, WinHueSettings.bridges.BridgeInfo[WinHueSettings.bridges.DefaultBridge].apikey);
string mac = WinHueSettings.bridges.DefaultBridge;
var bridgeSettings = WinHueSettings.bridges.BridgeInfo[mac];
string ip = bridgeSettings.ip;
string name = bridgeSettings.name;
string apiKey = bridgeSettings.apikey;
_bridge = new Bridge(IPAddress.Parse(ip), mac, name, apiKey);
if (_bridge != null && _error == false)
{
extra = ObjOpts.Parse(extra);
Expand Down