-
Notifications
You must be signed in to change notification settings - Fork 34
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
set-bridge successfull, but shows "Bridge connection failed" on next command #20
Comments
@dolbertz, sorry for the delay in getting back to you. I just tried a clean install of 2.3 and I wasn't able to reproduce the issue described. It seems like the workflow is finding your bridge but the connection is timing out when the workflow attempts to communicate with it. This is difficult to troubleshoot remotely, but let's try this first:
I'm hoping you might figure out what's going on at some point along the way there. If you're able to send commands using the API debug tool, yet the workflow still isn't working, then I would be concerned that perhaps you're not the only one and would ask to debug your setup further and would probably proceed by sending you a few commands to execute in your terminal. |
Thanks for your reply! I could successfully run the debug console: create a new developer, see a list of my "lights" and turn one off and on. That also worked, when I used the username your workflow created and stored in ~/Library/Application Support/Alfred 2/Workflow Data/hue-alfred-workflow/settings.json. But the file ~/Library/Caches/com.runningwithcrayons.Alfred-2/Workflow Data/hue-alfred-workflow/lights.json only contains an empty hash: {}. Please let me know how I can further help you in debugging this! There is a debug.log inside the workflow source code, but the last entry is from 2014-10-23. You probably should remove it from the package :) Here some info about my setup that might be helpful:
Thanks! |
What do you get back when you run this API command: |
I sent you the information via email as I rather would not share that informaton with everybody. |
Thanks! I took a look over your API data and the reason became clear: you have nothing but dimmable plug-ins on your Hue system, and sadly the workflow currently only supports Hue bulbs. These are the many kinds of lights that are supported by the Hue system: http://www.developers.meethue.com/documentation/supported-lights I have a ticket to add support here: #10. It's my top priority at this point and I plan on pushing an update for this soon, hopefully within a week. Thanks for your patience! |
Hey Dirk, Can you uninstall any previous versions of the workflow, install the one Thanks! On Sat, Jan 31, 2015 at 10:18 PM, Dirk Olbertz notifications@github.com
|
I now can switch my lights on/off and also set the brightness! Great! I didn't use the presets and I don't mind that the workflow shows options that I cannot use (eg. "Color Loop"-Effect). Thanks! |
Oh thanks for reminding me about the effects. I'll make sure I get rid of On Mon, Feb 2, 2015 at 11:41 AM, Dirk Olbertz notifications@github.com
|
I'm running Yosemite 10.10.1, Alfred 2.5.1 (308) and the current version of your workflow. I did not update, as I just set up hue at my house.
-hue set-bridge gives a "success"-Notification, but when I enter "hue", it just shows me that "Bridge connection failed" and I should use "-hue set-bridge" first. I also tried that twice, but still the same outcome.
I also opened up the console, but could not see any errors. What can I do to help you figuring this out? I also use homebrew and a different php version than what comes with Yosemite. Is there any script I could run on the command line to see what's going on?
The text was updated successfully, but these errors were encountered: