trza Posted November 23, 2014 Share Posted November 23, 2014 Hey guys, there were some bugs in the last release I put that that prevented you from using the "All lights" command. I've fixed this in the new version, 2.3. DOWNLOAD This is a fantastic workflow! Thank you for the time you've put in. I don't want to start barking ideas but this is more of a question: When I set (with my phone) to a preset (lets say blue rain) and then use alfred to save the preset (hue-preset-save or whatever) can it save that current config? Or is saving presets in alfred only for if you've set the lights up through alfred. I ask because I set to a preset using my phone and then saved the preset with alfred but when i go back to that preset through alfred, it doesnt seem to work Link to comment
benknight Posted December 1, 2014 Author Share Posted December 1, 2014 This is a fantastic workflow! Thank you for the time you've put in. I don't want to start barking ideas but this is more of a question: When I set (with my phone) to a preset (lets say blue rain) and then use alfred to save the preset (hue-preset-save or whatever) can it save that current config? Or is saving presets in alfred only for if you've set the lights up through alfred. I ask because I set to a preset using my phone and then saved the preset with alfred but when i go back to that preset through alfred, it doesnt seem to work Interesting. That *should* actually work. Can you repeat the action maybe a few times and tell me if it's consistently failing? Link to comment
rgrgeo Posted September 26, 2015 Share Posted September 26, 2015 How do you delete presets? I attempted save presets twice and each time only 6-7 of lights included in preset actually turned on. I would like to delete these save presets but see no instruction for how to do so. Can you delete save presets, if so how? Link to comment
benknight Posted September 26, 2015 Author Share Posted September 26, 2015 (edited) How do you delete presets? I attempted save presets twice and each time only 6-7 of lights included in preset actually turned on. I would like to delete these save presets but see no instruction for how to do so. Can you delete save presets, if so how? Use the "-hue" keyword to find the "Open Presets Storage – Use this to delete, rename, or backup presets" option. This opens the a directory in Finder. To delete the preset, just delete the folder pertaining to that preset. Edited September 26, 2015 by benknight rgrgeo 1 Link to comment
Dorv Posted December 31, 2015 Share Posted December 31, 2015 Wonderful work. Just upgraded from the original workflow, and I have to be honest, I miss the simplicity of commands like "Hue Off" and "Hue Movies" Link to comment
bongobong Posted October 6, 2016 Share Posted October 6, 2016 Hey there guys, this is a brilliant workflow but did anyone work out how to have a preset triggered by just "Hue Party" or "Hue Concentrate" etc? Link to comment
benknight Posted October 7, 2016 Author Share Posted October 7, 2016 18 hours ago, bongobong said: Hey there guys, this is a brilliant workflow but did anyone work out how to have a preset triggered by just "Hue Party" or "Hue Concentrate" etc? You can trigger any preset with "hue preset <preset name>" Link to comment
bongobong Posted October 9, 2016 Share Posted October 9, 2016 On 07/10/2016 at 4:20 PM, benknight said: You can trigger any preset with "hue preset <preset name>" Thanks. I was sort of hoping i could get it to go "hp <preset name> or some such. Thanks! Link to comment
benknight Posted October 31, 2016 Author Share Posted October 31, 2016 On 10/9/2016 at 0:02 PM, bongobong said: Thanks. I was sort of hoping i could get it to go "hp <preset name> or some such. Thanks! @bongobong Actually this is possible with some light editing of the workflow source. Here's a rough guide: 1. Open Alfred Preference, go to "Workflows" and select this workflow. 2. Create a new script filter: + > Inputs > Script Filter 3. Double click the new script filter (it will be at the bottom probably) 4. Edit the filter accordingly: Set to "Argument optional" Set the Keyword to whatever you like, such as "hp" to use your example Set the Placeholder title to whatever you like, e.g. "Set Philips Hue Controller preset..." In the "script" box, enter python -m logic.filters "presets {query}" - 4. Profit Let me know if it works out for you! Link to comment
benknight Posted October 31, 2016 Author Share Posted October 31, 2016 On 10/9/2016 at 0:02 PM, bongobong said: Thanks. I was sort of hoping i could get it to go "hp <preset name> or some such. Thanks! @bongobong I think it's also worth noting you can create a hotkey for a specific preset if you're always setting to the same preset. More info here: https://github.com/benknight/hue-alfred-workflow#hotkeys Link to comment
Serge Posted May 5, 2018 Share Posted May 5, 2018 (edited) I’ve tested several apps to control Hue from the Mac and wasn’t really satisfied. This workflow it’s the best thing that I found to do the job. Especially the possibility to use hotkeys. A huge thanks to you, benknight! Edited March 16 by Serge Link to comment
Serge Posted March 16 Share Posted March 16 (edited) Since I've installed macOS 12.3, the workflow doesn't work anymore. I got this : [00:33:12.716] Philips Hue Controller[Hotkey] Processing complete [00:33:12.718] Philips Hue Controller[Hotkey] Passing output 'groups:0:on' to Run Script [00:33:12.783] ERROR: Philips Hue Controller[Run Script] /bin/bash: /usr/bin/python: No such file or directory [00:33:12.784] Philips Hue Controller[Run Script] Processing complete [00:33:12.786] Philips Hue Controller[Run Script] Passing output '' to Post Notification [00:33:12.786] Philips Hue Controller[Run Script] Passing output '' to Write Text File Edited March 16 by Serge dylan1267 1 Link to comment
JamieKeene Posted March 21 Share Posted March 21 +1 here – it looks like MacOS 12.3 has removed both Python 2 and PHP, and the current Hue script will need work to migrate to them. There's an issue report on https://github.com/benknight/hue-alfred-workflow/issues/64, though no ETA for a fix (given the developer doesn't have Hue lights any more). Serge 1 Link to comment
vitor Posted March 21 Share Posted March 21 @Serge @JamieKeene See the Updated Third-Party Python 2 Workflows GitHub page. It explains the situation, links to instructions on regaining access to Python 2 and includes a fixed version of this Workflow. JamieKeene and Serge 2 Link to comment
swadish Posted May 12 Share Posted May 12 The information you shared above is great. I have been reading all details you described here. In this you described very well. If I want any more guideline I will contact you here https://www.alfredforum.com/topic/2723-philips-floridalottery-hue-controller-workflow/ Link to comment
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now