Jump to content

LIFred: Control your LIFX smart bulbs


Recommended Posts

LIFred: Control your LIFX smart bulbs

 

Description

LIFred is a customizable Alfred Workflow to control your LIFX smart bulbs.

You can

  • turn on/off some/all.
  • set the color to some/all bulbs.
  • let some/all bulbs breathe in a specific color.
  • let some/all bulbs pulse in a specific color.

All of these actions work from the local network or over the internet.

pOCBXYk.png

Settings

You can show or hide all actions or bulbs to make the workflow fit your needs.

 

Getting started

Download the latest version from here and follow the instructions on how to set it up. 

 

Edited by 0x6368
Link to comment
  • 7 months later...
  • 9 months later...

I've just tried to configure the workflow by disabling scenes etc. Now I get this error whenever I try to use the bulbs:

 

E, [2016-12-15 12:03:00 #90813] ERROR -- de.bieg-software.LIFred: A fatal error has occurred. You may seek help in the Alfred supporting site, forum or raise an issue in the bug tracking site.
  #<NoMethodError: undefined method `each' for nil:NilClass>
  ./lifx_script_filter.rb:136:in `block in <main>'  
/Users/olivergierke/Library/Application Support/Alfred 3/Alfred.alfredpreferences/workflows/user.workflow.122C1428-C9D2-4AF8-81E7-2068B1211383/bundle/ruby/2.0.0/gems/alfred-workflow-2.0.5/lib/alfred.rb:82:in `with_friendly_error'  
./lifx_script_filter.rb:15:in `<main>'

Has anyone seen that before?

Link to comment
  • 4 years later...

I'm typing into Alfred `configure Lifred` (without hitting enter) and alfred switches to searching google, instead of allowing me to input the API key. 

 

Any top tips on this?

 

Thanks in advance.

Link to comment
Posted (edited)

Amazing. Taking me to the next level, thank you! I have attached the log of the error below: 

 

16:24:26.827] ERROR: LIFred[Script Filter] Code 1: /System/Library/Frameworks/Ruby.framework/Versions/2.6/usr/lib/ruby/2.6.0/rubygems/core_ext/kernel_require.rb:54:in `require': cannot load such file -- alfred (LoadError)
	from /System/Library/Frameworks/Ruby.framework/Versions/2.6/usr/lib/ruby/2.6.0/rubygems/core_ext/kernel_require.rb:54:in `require'
	from ./lifx_config_script_filter.rb:10:in `<main>'

 

The `require` file isn't being found? Or perhaps deprecated? 

Edited by gillt10
Link to comment

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 account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...