Blinkstick --connect does not exist


Using the latest python script I cannot setup access for the API interface

blinkstick --connect 1234566
BlinkStick control script 1.1.7
© Agile Innovative Ltd 2013-2014

Usage: blinkstick [options] [color]

blinkstick: error: no such option: --connect

I have checked the latest source code and I cannot see any mention of this option



There is no --connect option. Please use blinkstick --help and find the right options. I think you are looking for --serial?


Thanks for the reply, but I am looking for connect, as described here Control BlinkStick Remotely


The feature has been removed in order to simplify BlinkStick Python package. There is an example script showing how to achieve exactly the same result


Where should we preferably put that script in the file hierarchy, and will it run as a deamon as soon as the device starts?

EDIT: Oh wow sorry for bringing an old topic back, I never noticed the year it was posted and it was what came from a search.

I’ll answer my own question, in case it helps someone else figure out what to do.

In order to have the python script to run at boot, using “supervisor” on the Raspberry Pi:

  • Install supervisor (sudo apt install supervisor)

  • Create a directory in /var/log/ called blinkstick_remote (sudo mkdir -p /var/log/blinkstick_remote)

  • Create a python file called in /usr/local/bin/

  • Copy the script from Example: Control Remotely with your own access code included, but be careful to add the following at the top of the script:
    #!/usr/bin/python (this will be important later on)

  • Once the file is made, make sure to grant it execute rights (sudo chmod +x /usr/local/bin/

  • Create a file called blinkstick_remote.conf in /etc/supervisor/conf.d/ and put the following content


  • run sudo service supervisor restart to let it relaunch its service, or reboot the Raspberry Pi.

You can check if the service runs with htop (you’ll see an entry /usr/bin/python /usr/local/bin/ as a process). If there’s any problem with the script, you can check the logs in /var/log/blinkstick_remote to troubleshoot the problem.

If the line #!/usr/bin/python is missing in the python script, supervisor will not be able to execute the script with the following error message in the logs: supervisor: couldn't exec /usr/local/bin/ ENOEXEC

If all is well, you’ll be able to control your BlinkStick from the Dashboard

Pro-Tip: If you’re behind a restrictive firewall that doesn’t allow port 9292 to go through, replace it with port 80 and it will still work (thanks to the BlinkStick dev who opened it not too long ago!)