# Control multiple LEDs on Flex via website API?

**URL:** <https://forums.blinkstick.com/t/control-multiple-leds-on-flex-via-website-api/376>\
**Category:** Support\
**Created:** [January 18, 2016, 3:51pm UTC](https://forums.blinkstick.com/t/control-multiple-leds-on-flex-via-website-api/376 "2016-01-18T15:51:36Z")\
**Posts on this page:** 7\
**Page:** 1

<div class="post-metadata">

**Author:** ![schellenberg](https://forums.blinkstick.com/letter_avatar_proxy/v4/letter/s/cc9497/32.png) [@schellenberg](https://forums.blinkstick.com/u/schellenberg)\
**Post date:** [January 18, 2016, 3:51pm UTC](https://forums.blinkstick.com/t/control-multiple-leds-on-flex-via-website-api/376/1 "2016-01-18T15:51:36Z")

</div>

Is there some way to target a specific LED in a Blinkstick Flex when sending information over the website API? I am able to easily control the FIRST LED via the web, but cannot do anything with the other 31.

---

<div class="post-metadata">

**Author:** ![arvydas](https://forums.blinkstick.com/user_avatar/forums.blinkstick.com/arvydas/32/242_2.png) [@arvydas](https://forums.blinkstick.com/u/arvydas)\
**Post date:** [February 2, 2016, 4:00pm UTC](https://forums.blinkstick.com/t/control-multiple-leds-on-flex-via-website-api/376/2 "2016-02-02T16:00:13Z")

</div>

Do you want to do this using BlinkStick Client application or an API implementation?

---

<div class="post-metadata">

**Author:** ![schellenberg](https://forums.blinkstick.com/letter_avatar_proxy/v4/letter/s/cc9497/32.png) [@schellenberg](https://forums.blinkstick.com/u/schellenberg)\
**Post date:** [February 3, 2016, 4:41pm UTC](https://forums.blinkstick.com/t/control-multiple-leds-on-flex-via-website-api/376/3 "2016-02-03T16:41:17Z")

</div>

Hopefully using the Python API, as the Client Application crashes when I attempt to link it to [blinkstick.com](http://blinkstick.com) (“Unfortunately BlinkStick Client has crashed ☹ Details available in log… The application will now close.”).

Using the Python API, I can successfully control the first LED, as mentioned above. However, I’m not sure how to allow for targeting the other 31 LEDs on the BlinkStick Flex.

---

<div class="post-metadata">

**Author:** ![arvydas](https://forums.blinkstick.com/user_avatar/forums.blinkstick.com/arvydas/32/242_2.png) [@arvydas](https://forums.blinkstick.com/u/arvydas)\
**Post date:** [February 4, 2016, 9:38am UTC](https://forums.blinkstick.com/t/control-multiple-leds-on-flex-via-website-api/376/4 "2016-02-04T09:38:54Z")

</div>

@schellenberg Would you be able to send me the logs to info at blinkstick dot com?

The website API was designed for original BlinkStick with just one LED. Things have advanced and I wasn’t sure that anybody was using the website to control BlinkSticks 😃 I’ll update the website and the client application to allow control of patterns, colors and LED indexes. Will keep you updated.

Would you be able to let me know what kind of control you need so that I could implement it according to your needs? Your ideas and requirements would be very helpful! 😄

---

<div class="post-metadata">

**Author:** ![schellenberg](https://forums.blinkstick.com/letter_avatar_proxy/v4/letter/s/cc9497/32.png) [@schellenberg](https://forums.blinkstick.com/u/schellenberg)\
**Post date:** [February 5, 2016, 9:25pm UTC](https://forums.blinkstick.com/t/control-multiple-leds-on-flex-via-website-api/376/5 "2016-02-05T21:25:51Z")

</div>

As per your request, I sent you an email with the relevant log info (looks like ‘log4net’ is the culprit).

In terms of what kind of control I need, it’s pretty modest. I teach computer science, and would like to set it up so that students in the lab can update the LEDs with a specific RGB value. This requires an API call that adds an additional parameter to set\_color, perhaps something like  
set\_color(self, LED\_number=0, channel=0, index=0, red=0, green=0, blue=0, name=None, hex=None).

---

<div class="post-metadata">

**Author:** ![arvydas](https://forums.blinkstick.com/user_avatar/forums.blinkstick.com/arvydas/32/242_2.png) [@arvydas](https://forums.blinkstick.com/u/arvydas)\
**Post date:** [February 6, 2016, 1:11am UTC](https://forums.blinkstick.com/t/control-multiple-leds-on-flex-via-website-api/376/6 "2016-02-06T01:11:06Z")

</div>

Indeed it’s log4net. I can see that you are using RC1. This issue has been fixed in later releases. Please download RC4 available in the first post:

> [@BlinkStick Client 2.0-rc release](https://forums.blinkstick.com/t/blinkstick-client-2-0-rc-release/342):
>
> I’m pleased to announce the long awaited release of BlinkStick Client application. The application has been completely redesigned with a massive amount of new features. Please note that all your current notifications can not be imported to the new application. Features at a glance Supports all BlinkStick devices (Original BlinkStick, Pro, Flex and Nano) Supports all LEDs on devices Completely rewritten LED animation engine Completely rewritten ambilight notification with support for DirectX ga…

---

<div class="post-metadata">

**Author:** ![gperez](https://forums.blinkstick.com/letter_avatar_proxy/v4/letter/g/4af34b/32.png) [@gperez](https://forums.blinkstick.com/u/gperez)\
**Post date:** [March 27, 2017, 9:01am UTC](https://forums.blinkstick.com/t/control-multiple-leds-on-flex-via-website-api/376/7 "2017-03-27T09:01:52Z")

</div>

Hi @arvydas,

We are also using the Website API. In fact, We have just one of those, but we plan to deploy many of them in our customer’s premises to trigger their attention (computer notifications are not enough for us).

We’d like to trigger different patterns to notify the user. We’d love to fire the pattern via web API, but having those preset would be fine too.

Do you plan to implement that? We’d really love to have it, it’d be a killer feature for us.

Thank you,

Gustau
