Flic Home

    Community

    • Login
    • Search
    • Popular
    • Users

    Flic for Mac?

    To the Flic Blog ->
    21
    37
    68711
    Loading More Posts
    • Oldest to Newest
    • Newest to Oldest
    • Most Votes
    Reply
    • Reply as topic
    Log in to reply
    This topic has been deleted. Only users with topic management privileges can see it.
    • markinnewy
      markinnewy last edited by

      Hello,

      I have the app installed and working fine with some applescripts. However, for some reason, the app won't run a simple shell script. I have a script (Toggle.sh) that uses the 'lightsd' deamon to toggle my lifx lights. This is the script's contents:

      #!/bin/bash
      . lightsd --prefix/share/lightsd/lightsc.sh
      lightsc power_toggle ${*:-'"d073d503a71f"'}

      I've made sure this file is executable. From the terminal, I can type either sh Toggle.sh, or, ./Toggle.sh and it works perfectly. However, when I assign this script to a flic action, and click the button, nothing happens. The logs show "HaxWithFlic: Script return value:" and then nothing further.

      Can anyone help?

      anton 1 Reply Last reply Reply Quote 0
      • anton
        anton FlicTeam @frank last edited by

        @frank said in Flic for Mac?:

        said in Flic for Mac?:

        press scan if you want to add a new Flic

        Hi, I just downloaded and installed the app. I have a flic-icon in my menubar but when I scan for my Flic I get the error message that no Flic was found in the proximity. Even when pressing the Flic button really close to my laptop, it doesn't find it. The button works well with the iPhone app. How do I move forward?

        Thanks
        Frank

        I have noticed once before, on one mac, that the Bluetooth stack in the computer, for some reason, stopped delivering advertisement packets to the application layer. This may be what has happened to you as well. I have no idea why it happened, but when it happened to me I actually had to restart the computer for it to be solved. If you can try doing that then it would be great. If you are still having issues after that, then I will have to take a closer look.

        1 Reply Last reply Reply Quote 0
        • frank
          frank last edited by frank

          said in Flic for Mac?:

          press scan if you want to add a new Flic

          Hi, I just downloaded and installed the app. I have a flic-icon in my menubar but when I scan for my Flic I get the error message that no Flic was found in the proximity. Even when pressing the Flic button really close to my laptop, it doesn't find it. The button works well with the iPhone app. How do I move forward?

          Thanks
          Frank

          anton 1 Reply Last reply Reply Quote 0
          • anton
            anton FlicTeam @sandra.kaercher last edited by

            @sandra.kaercher said in Flic for Mac?:

            I'm using the lockscreen.applescript that came with the file but I'm getting a "File not executable. File path is not executable. /User/MYNAME/Documents/lockscreen.applescript" error. The sleep.sh script seems to work fine.

            Anyone experienced this?

            Hello, I don't exactly know which script you are referring to since the repository does not contain a script named 'lockscreen.applescript'. The error , however, suggests that you are trying to execute a file that you do not have permission to execute. You can look up the file permissions by going to the correct path in the terminal and then run ls -l. Here is an article that explains file permissions in more details if you are curious. But in short, you should see at lest one 'x' in the file permission list for that file. If not, then simply run chmod +x your_script_file to add the execute permission.

            Did any of this help? 😛

            1 Reply Last reply Reply Quote 0
            • sandra.kaercher
              sandra.kaercher last edited by

              I'm using the lockscreen.applescript that came with the file but I'm getting a "File not executable. File path is not executable. /User/MYNAME/Documents/lockscreen.applescript" error. The sleep.sh script seems to work fine.

              Anyone experienced this?

              anton 1 Reply Last reply Reply Quote 0
              • pknickle
                pknickle last edited by

                Thank you for this! I'm using my Flic as a doorbell for my recording studio (the Hue lights blink when it is pressed) and while using my phone worked, I would sometimes wander out of range with it. Having the Flic on my desktop computer allows the whole system to be much more reliable!

                1 Reply Last reply Reply Quote 0
                • marco.roth
                  marco.roth @anton last edited by

                  @anton LOL, I didn't see that there is a Hue script. I am using a self written ruby script to control my Hue's. I solved the "toggle"-Feature script-based with a status check on the Hue bridge.

                  1 Reply Last reply Reply Quote 0
                  • anton
                    anton FlicTeam @marco.roth last edited by

                    @marco.roth said in Flic for Mac?:

                    This is awesome 😊

                    I controll Hue's with my flic. The only thing, which would be nice if you can "toggle" for example the click event.

                    The first click will turn on the lights and the second click will turn them off.
                    So that every 2nd click an other script will be executed. So it would work like a normal light switch 🙂

                    Thanks!

                    Are you using the Philips Hue script that is in the repository? The reason why I am asking is since it should toggle between on/off. Although it would be a nice feature to have the toggle ability directly in the app. Although when we release our official Flic app for Mac it will have native Philips hue support of course.

                    /A

                    marco.roth 1 Reply Last reply Reply Quote 0
                    • marco.roth
                      marco.roth last edited by

                      This is awesome 😊

                      I controll Hue's with my flic. The only thing, which would be nice if you can "toggle" for example the click event.

                      The first click will turn on the lights and the second click will turn them off.
                      So that every 2nd click an other script will be executed. So it would work like a normal light switch 🙂

                      anton 1 Reply Last reply Reply Quote 0
                      • dominik
                        dominik last edited by

                        works great - 10.11.4 on MacBook Pro (Retina, 15-inch, Mid 2015)

                        1 Reply Last reply Reply Quote 0
                        • anton
                          anton FlicTeam @krishnavamsi last edited by

                          @krishnavamsi said in Flic for Mac?:

                          Today installed the same on MAC and integrated lifx bulb through flic button.

                          Cool! I think other people might want to know how you did the LIFX integration 🙂

                          1 Reply Last reply Reply Quote 0
                          • anton
                            anton FlicTeam @jonmichaels last edited by

                            @jonmichaels said in Flic for Mac?:

                            @anton I'm not sure how you're judging interest in the the Mac app, but I'd just like to add my name to the list of people saying "This is great!" Also, I would love to be able to add more than one button. What's the best way to find out when there's been an update to the app?

                            Thanks, I appreciate the comment 🙂 Well I think by now we are very convinced that we will move ahead and create a complete app for mac. We have many great ideas, such as adding the option for it to support our fliclib client/server TCP protocol (as used in our Linux SDK). That way we could easily send and receive events between different devices on the network, but also between different apps on the computer, which I think would be cool. Also, porting over much of the cloud/LAN actions from our mobile apps is a no-brainer as well.

                            The only thing that we are not sure about at this moment is if we should do a quick fix to the current mac app to add multiple button support before we move over and start working on the big update.

                            Regarding updates to the app, there are currently no good way to to know for sure when there's been an update to the app. Minor updates will be pushed to GitHub without notice, but with larger updates we will most certainly post here on the forum as well, perhaps even send an email update about it. In the future we will of course have a version check in the app so that it can send a notification when there is an update available.

                            1 Reply Last reply Reply Quote 0
                            • krishnavamsi
                              krishnavamsi last edited by

                              Today installed the same on MAC and integrated lifx bulb through flic button.

                              anton 1 Reply Last reply Reply Quote 0
                              • jonmichaels
                                jonmichaels @anton last edited by

                                @anton I'm not sure how you're judging interest in the the Mac app, but I'd just like to add my name to the list of people saying "This is great!" Also, I would love to be able to add more than one button. What's the best way to find out when there's been an update to the app?

                                anton 1 Reply Last reply Reply Quote 0
                                • anton
                                  anton FlicTeam @alundqu last edited by

                                  @alundqu said in Flic for Mac?:

                                  Is it possible to connect several Flic buttons to one Mac?

                                  Currently not, but we will add that in a later version as soon as possible.

                                  jonmichaels 1 Reply Last reply Reply Quote 0
                                  • alundqu
                                    alundqu last edited by

                                    Is it possible to connect several Flic buttons to one Mac?

                                    anton 1 Reply Last reply Reply Quote 1
                                    • anton
                                      anton FlicTeam @hoechst last edited by

                                      @flic146 said in Flic for Mac?:

                                      Works great for me, even committed code to github, which sends the mac to sleep.

                                      Have you thought about open-sourcing the tool, and not just the scripts?

                                      Yes I have thought about that, but we have not made any decisions yet. We will think about it.

                                      1 Reply Last reply Reply Quote 0
                                      • hoechst
                                        hoechst last edited by

                                        Works great for me, even committed code to github, which sends the mac to sleep.

                                        Have you thought about open-sourcing the tool, and not just the scripts?

                                        anton 1 Reply Last reply Reply Quote 0
                                        • jed.firestone
                                          jed.firestone last edited by

                                          This is FANTASTIC!!!!

                                          1 Reply Last reply Reply Quote 0
                                          • brushmedia
                                            brushmedia last edited by

                                            genius!
                                            had it all installed and running some iTunes scripts in minutes. thanks guys!

                                            1 Reply Last reply Reply Quote 0
                                            • First post
                                              Last post