Author Topic: Hue plugin not finding bridge ?  (Read 4231 times)

0 Members and 1 Guest are viewing this topic.

NightSpeed

  • Jr. Member
  • **
  • Posts: 35
  • Karma: 0
    • View Profile
Hue plugin not finding bridge ?
« on: July 07, 2016, 01:34:58 PM »
I recently bought the Phillips hue and the plugin is having a hard time connecting to the bridge. I tried hard reset and nothing happened its paring with the Phillips website and app fine and i checked to make sure the IP addresses are the same and they are any suggestions ?

jitterjames

  • Administrator
  • Hero Member
  • *****
  • Posts: 7714
  • Karma: 116
    • View Profile
    • VoxCommando
Re: Hue plugin not finding bridge ?
« Reply #1 on: July 08, 2016, 08:47:06 AM »
This does not belong in bug reports yet.

I've never had any issues connecting or heard of anyone who has.

Did you create a firewall exception the first time you ran VoxCommando?

To test you can start by disabling your firewall completely.

And of course VC must be running on the same subnet of your LAN as the Hue.

If you are getting some sort of error message when you connect please give us the exact message and tell us exactly what steps you have followed.

To make things go faster please review this page: http://voxcommando.com/mediawiki/index.php?title=Getting_support  (particularly the "When You Ask" section and below).
« Last Edit: July 08, 2016, 01:54:37 PM by jitterjames »

NightSpeed

  • Jr. Member
  • **
  • Posts: 35
  • Karma: 0
    • View Profile
Re: Hue plugin not finding bridge ?
« Reply #2 on: July 10, 2016, 07:39:45 PM »
Thank you i will look into this further and get back to you.

jitterjames

  • Administrator
  • Hero Member
  • *****
  • Posts: 7714
  • Karma: 116
    • View Profile
    • VoxCommando
Re: Hue plugin not finding bridge ?
« Reply #3 on: July 15, 2016, 10:56:20 AM »
I think that Philips made a drastic change to the way new users connect to the Hue.

I'm working on a solution right now.

jitterjames

  • Administrator
  • Hero Member
  • *****
  • Posts: 7714
  • Karma: 116
    • View Profile
    • VoxCommando
Re: Hue plugin not finding bridge ?
« Reply #4 on: July 15, 2016, 06:19:05 PM »
Here is an updated version of the plugin that will hopefully fix the problems created by the changes to the Philips api.

First completely close VoxCommando.

Then replace the Hue.dll in your VC\Plugins\Hue folder with the attached file.

After downloading and replacing the file you will probably need to "unblock" the dll file.  Right click the file then click "properties", and then click the "Unblock" button at the bottom right (if there is one).


.dll removed, get the latest version of VC instead.
« Last Edit: September 20, 2016, 12:08:38 PM by jitterjames »

NightSpeed

  • Jr. Member
  • **
  • Posts: 35
  • Karma: 0
    • View Profile
Re: Hue plugin not finding bridge ?
« Reply #5 on: July 15, 2016, 08:00:31 PM »
You sir are awesome I can not thank you enough :D. Buying a license to help the support of this great project !!!!
« Last Edit: July 15, 2016, 08:03:49 PM by NightSpeed »

NightSpeed

  • Jr. Member
  • **
  • Posts: 35
  • Karma: 0
    • View Profile
Re: Hue plugin not finding bridge ?
« Reply #6 on: July 16, 2016, 12:02:46 AM »
Now I get a new problem everything was working and Its all fine but I randomly got an error that says SRGS: can't compile grammar into cfg!. 'one-of' must contain at least one "item" element.

Just checked groups and it only is missing grammars for the hue group folder i have. All actions still trigger it's just the grammar that seems to be the issue.
« Last Edit: July 16, 2016, 12:13:15 AM by NightSpeed »

jitterjames

  • Administrator
  • Hero Member
  • *****
  • Posts: 7714
  • Karma: 116
    • View Profile
    • VoxCommando
Re: Hue plugin not finding bridge ?
« Reply #7 on: July 16, 2016, 07:38:17 AM »
Is that with the stock commands or did you modify them?

If you modified them please send me your voice commands XML and payload files.

NightSpeed

  • Jr. Member
  • **
  • Posts: 35
  • Karma: 0
    • View Profile
Re: Hue plugin not finding bridge ?
« Reply #8 on: July 16, 2016, 06:23:30 PM »
Found the problem!! after poking around i found that i didnt add a payload to one of the commands

Ethans room "on":true, "sat": {1}

just removed it and bam it works n problem !! thanks sorry for the inconvenience

RayneD17

  • Jr. Member
  • **
  • Posts: 2
  • Karma: 0
    • View Profile
Re: Hue plugin not finding bridge ?
« Reply #9 on: July 18, 2016, 06:40:44 PM »
Hello,
I'll start with I'm a newbie like many, but have been doing my best to learn this. I too had problems connecting to my hue and thought it was just my lack of understanding. My problem is Vox can't seem to connect to my hue bridge, and I can't figure why after going through the forums, and reading and reading. I updated the hue.dll file as stated and unblocked the file. I know I'm missing something, and a point in the right direction would be greatly helpful. Anyway, I hope I meet the criteria for posting. So here we go.

I'm am running VoxCommando version 2.2.0.9
I open the Hue plugin from Vox, get my bridge IP, click connect, and this is the error message I get:

Unexpected error: System.IO.FileNotFoundException: Could not load file or assembly 'Newtonsoft.Json, Version=7.0.0.0, Culture=neutral,
PublicKeyToken='30ad4fe6b2a6aeed' or one of its dependencies. The system cannot find the file specified.
File name: 'Newtonsoft.Json, Version=7.0.0.0, Culture=neutral,
PublicKeyToken='30ad4fe6b2a6aeed'
     at vcPlugin.vcHue.creatNewUser()
     at vcPlugin.ctlMain.btnConnect_Click(Object sender, EventArgs e)

WRN: Assembly binding logging is turned OFF.
To enable assemble bind failure logging, set the registry value
[HKLM\Software\Microsoft\Fusion!EnableLog] (DWORD) to 1.
Note: There is some performance penalty associated with assembly bind failure logging.
To turn this feature off, remove the registry value
[HKLM\Software\Microsoft\Fusion!EnableLog]

I can't connect to my hue bridge, I'm sure I'll have fun and etc later after, but for now I'm not sure of the direction to head in to solve my problem. (First post, trying to follow the forum rules and such best I can)
     



nime5ter

  • Administrator
  • Hero Member
  • *****
  • Posts: 1999
  • Karma: 61
    • View Profile
    • Getting Started with VoxCommando
Re: Hue plugin not finding bridge ?
« Reply #10 on: July 18, 2016, 07:19:53 PM »
Welcome to the forum.

You're using a relatively old version of VC, and it's possible that with this brand new version of the Hue plugin there is a compatibility issue.

Please try updating to one of the recent releases of VC currently on the downloads page (http://voxcommando.com/home/downloads/), then follow the instructions for replacing the Hue plugin once again and let us know how it goes.

Updating versions is quite straightforward: http://voxcommando.com/mediawiki/index.php?title=FAQ#How_do_I_install_updates_when_they_are_released.3F

TIPS: POST VC VERSION #. Explain what you want VC to do. Say what you've tried & what happened, or post a video demo. Attach VC log. Link to instructions followed.  Post your command (xml)

RayneD17

  • Jr. Member
  • **
  • Posts: 2
  • Karma: 0
    • View Profile
Re: Hue plugin not finding bridge ?
« Reply #11 on: July 18, 2016, 07:45:23 PM »
I can not believe I didn't see that. I read it about updating, looked at it, checked it, and for some reason it just didn't click. I'm so sorry, and thank you so much for the help. It works, and very well now. :)

nime5ter

  • Administrator
  • Hero Member
  • *****
  • Posts: 1999
  • Karma: 61
    • View Profile
    • Getting Started with VoxCommando
Re: Hue plugin not finding bridge ?
« Reply #12 on: July 18, 2016, 10:32:12 PM »
No problem. Thanks for providing a clear description of the problem, including all the relevant information.

Knowing the version number you had installed and the error message you received made it easier to suggest a course of action. :)

The new Hue plugin will be integrated into the next release, which should make it easier for everyone.
TIPS: POST VC VERSION #. Explain what you want VC to do. Say what you've tried & what happened, or post a video demo. Attach VC log. Link to instructions followed.  Post your command (xml)

jitterjames

  • Administrator
  • Hero Member
  • *****
  • Posts: 7714
  • Karma: 116
    • View Profile
    • VoxCommando
Re: Hue plugin not finding bridge ?
« Reply #13 on: July 19, 2016, 05:46:14 PM »
I just uploaded 2.2.2.2 which includes the updated Hue plugin