Wednesday, December 23, 2015
Remove Firefox URL auto complete / suggest / "visit X" prompt
If you want to turn it off - you can do so by setting this browser preference:
about:config >
browser.urlbar.unifiedcomplete = False
Saturday, December 12, 2015
Control a Lifx Bulb using Flic and Tasker
I don't want to expose my Lifx bulb to the internet. (That's a discussion for another time and place). but, I wanted to use the Flic button to control my bulb. Here's how I made it work
Hardware Pre-requisites:
- A Flic button [1]
- A Lifx bulb [2]
Requirements:
- Android 4.4 or newer device. (I'm using a Nexus 4)
- Tasker [3]
- Lifx Plugin for Tasker [4]
Why:
The built in method of making Flic control a Lifx bulb is the
following.Push button -> Talks to Flic app on
phone -> Talks to Flic server -> Talks to Lifx Server
-> Talks to your Lifx Bulb
This requires too much internet access for my comfort. I wanted something that did not depend on the Internet to work.
How to configure it
- Install the Lifx plugin for Tasker.
- It will give you a very simple app outside of Tasker that
allows you to perform the basic operations to your bulb. Make
sure this works before continuing. I spent quite a bit of time
before I figured out this part.
- Create a Tasker - Task (I named this LIFX-ON)
- Choose plugin -> Lifx tasker plugin
- Setup whatever you want it to do. I configured it to turn on my bulb)
- Open the Flic app - DELETE any existing actions. (this is important, otherwise, the programmed action seems to take precedence over the notification to Tasker).
- Close the Flic app.
- Return to Tasker - create a new profile (credit: [5])
- Profile -> Context -> Event -> Plugin : Flic
- Choose the flic button, and choose your event. ( I selected ON).
- Done.
How it works
- Push the Flic button
- This talks to the Flic app over BLE
- The Flic app notifies Tasker that the button was pushed.
- Tasker executes your Lifx ON task
- Your bulb should now turn ON.
I've also created another event, this time for double click to
Turn OFF the Lifx Bulb.
Hope this helps someone.
[1]Flic : https://flic.io/
[2]Lifx: https://www.lifx.com/
[3]Tasker :
https://play.google.com/store/apps/details?id=net.dinglisch.android.taskerm&hl=en
[4] Lifx Plugin for Tasker:
https://play.google.com/store/apps/details?id=org.timothyb89.lifx.tasker
[5]
http://ideas.flic.io/forums/283403-flic-ideas/suggestions/7177881-integrated-with-tasker-the-automation-app