Raspberry PI integration
I would be really glad if it was possible to let my Raspberry pi connect to the Flic-button instead of my phone.
In that way the automation would work even if I am not at home.
Soft launch of our Linux SDK today!! Please have a look at the lib and comment at Github.
Can someone share a instructions how to install and configure Flic to Rasperry Pi and can it be used without IFTTT
I do this on a Pi using fliclib and node-red, but it isn't easy or intuitive (though in the last week that I have had it set up, it works well, and I am very happy with it). If I were one of the developers I would put major effort into interfaces for the Pi and other dedicated always-on machines. I don't see the appeal as a portable button for an already portable device like a cellphone. I will never use the flic with my phone--its real utility is as a versatile, programmable physical interface to all kinds of home automation devices.
Is anything Happening Regarding the lib? No Updates in a long tme...
Fabian Bergmark commented
A developer has created a Flic plugin for Home Assisant (https://home-assistant.io/). http://ideas.flic.io/forums/283403-flic-ideas/suggestions/16999762-home-assistant-home
Check it out!
Use Raspberry Pi instead of a mobile device - as server
why don't you just publish the docs? so we can implement the stuff we need ourselves instead of letting everyone wait forever on some hard-to-handle binary blobs. (and why did you deploy some complicated proprietary onboarding procedure in the first place).
i'm pretty tired of reading pcap files and disassembling machine code just to be able to make use of my hardware. it's one button, it should be simple to use and simple to re-use.
I found Flic when searching, looking for a simple programmable button for home automation. My primary requirement is being able to talk to a static device in my home (an RPi3 will fit this nicely), so the fact that this capability exists is what just sold me on Flic. Going to buy some Flics now and get this party started. Thank you for this!
Fabian Bergmark commented
Post a issue on github if you don't manage to get the SDK running, and I will assist you. That way other developers can see and comment.
Patrick Fink commented
Did you someone successfully install the Linux SDK on Raspberry Pi 2 + Rasbbian? I'm running in a bunch of dependency problems when trying to build and install the newest version of Bluez...
@Anomymous : the repo contains readme and samples, the library itself is available at https://github.com/50ButtonsEach/fliclib-linux-dist/releases
Am I missing something, or the Github release contains only a README.md file to download? :O
Awesome! Thanks! :)
Pär Stålberg commented
Finally a SDK!
Finally a use for my Raspberry pi.
Patrick Fink commented
@Pierre DOMINIQUE: I think it's just an Android-Pi-bridge, they're not talking about a SDK for Raspbian.
Pierre DOMINIQUE commented
Joel Goldwein commented
For a half decent Android bridge, suggest LC Optimus Fuel Phone which can be found new for about $20 (try Net10). I've been able to get 4-5 flics to link to the BLE, and combined with Endpoint Example App (https://community.smartthings.com/t/tutorial-creating-a-rest-smartapp-endpoint/4331) Flic: using an HTTP request gives pretty direct access to SM functions. No IFTTT needed.
Two routes to solve this:
1. add a BLE dongle to the Pi and reverse engineer the protocol, similar to the post here on Dec 03 (ideal, but requires a bit of deeper tech knowledge and some patience to get it right... make sure you share you knowledge if you work this out!)
2. purchase a low-end Android that you leave on charge next to the Pi, install the app on the droid and use IFTTT with webhook or similar to send HTTP messages to the Pi for each button push
The 2nd route is overkill using a whole phone as just a BLE-to-internet bridge, although you can pick up droids dirt cheap
This route would also have performance (time) issues; the droid needs to talk to IFTTT which then needs to talk back to the Pi. The round trip could take several seconds, which may or may not be an issue for you usage
It also has security issues; you would need to open up a port on your router firewall for IFTTT to communicate with your Pi
This idea (and a few other SDK related ideas as well) is getting more and more votes, but not even the most popular ideas are ever attracting any feedback from the Flic makers.
I think this ideas section is mainly a fake and if we ever want Flic support on other platforms we'll have to reverse ngineer the communication protocol of the Flics and hack our own solution.
Paolo Bianchi commented
I think it'd be enough to have a node-red node for flic. It'd be awesome.
Hope to hear from the team soon about it.
Some sort of SDK please. This would allow RPi, general Linux, OS X, etc support. Having these buttons tied to an iOS/Android device really limits their potential.