Smart Bike Lights (Data Field) / Bike Lights Control (Widget)

I've made two open source CIQ applications to control ANT+ lights:

- Smart Bike Lights (data field): https://apps.garmin.com/en-US/apps/0d9fd828-c932-4470-9c37-fd2828881888 

      Configurator: https://maca88.github.io/SmartBikeLights/ 

- Bike Lights Control (widget): https://apps.garmin.com/en-US/apps/fa3c2332-76e3-4ba1-8528-32a0fd617ab1 

     Configurator: https://maca88.github.io/BikeLightsControl/ 

Smart Bike Lights features:
- Automatic light control (Smart mode) based on the configured filters (sunset, sunlight, speed, ...)
- Manual light control (only for Edge devices with a touch screen or devices with CIQ 3.2 and more than 32KB memory)
- Records lights modes that are displayed in Garmin Connect

Bike Lights Control features:
- Manual light control (available to all devices)

Both applications can be installed on the same device, which can be useful for low end devices (e.g. Edge 520) where "Bike Lights Control" can be used to change light modes manually and "Smart Bike Lights" for automatic light control.

Currently registered ANT+ lights:
- Bontrager Ion Pro RT
- Bontrager Ion 200 RT
- Bontrager Flare RT
- Garmin Varia RTL500
- Garmin Varia RTL510
- Garmin Varia RTL515
- Garmin Varia HL500
- Garmin Varia UT800

in case your ANT+ light is not on the list you can help by doing the following:

1. Install Bike Lights Control
2. Pair your bike light with your Garmin device
3. Open the widget:
- Edge with a touch screen: post which numbers are displayed on the buttons and what mode each button represents when pressed
- Other devices: Select the "Light modes" menu and post which numbers are displayed in the menu and what mode each menu item represents when selected

Example for Bontrager Ion Pro RT:


1 -> High steady beam
2 -> Medium steady beam
5 -> Low steady beam
63 -> Day flash
62 -> Night flash

There are some features that could be possible to add in the future, but would require Garmin to add them to the CIQ api. In case you are interested in any of the below features, consider upvoting their feature request thread:

1. Control lights based on the ambient light sensor available on some devices:
https://forums.garmin.com/developer/connect-iq/i/bug-reports/ambient-light-sensor-api-access 

  • Hi maca, the separator colour from the configuration seems to get overwritten by the ciq setting. Any tips on how to get it working?

  • Hi,

    I tried with Edge 1040 and it works for me. Which Garmin device do you have?

  • Same..! What colour have you set in CIQ?

  • In the Light Configurator I choose green and the separator is now always green no matter what color I select for "Activity color" app-setting (currently set to blue). Can you share your configuration so that I can try it out?

  • Sure - I'll be back in an hour or two to try again & share my settings with you.

  • Hey maca,

    Initially after app update. Load config into Configurator and separator defaults to activity colour. Meanwhile CIQ was set to red. Datascreen shows red.

    Next, changed Configurator to no separator. Pasted the new config into secondary and set CIQ to use secondary. Datascreen shows no line GrinOk hand

    Then, tried changing CIQ to green. Same config. Still no separator.

    To see if it just needed a 'reset', I switch back to my primary config. CIQ had green from previous step. Now separator is green.

    And lastly here's the config I'm trying to make work:

    1,1!ON:1H]1#0,1073754640::1#7,6!TUNNEL:2:4:0:0G[4Er1800,s-1800!DAY:1:8:0:0Er1800,s-1800!LOBATT:1:4:0:0B]3!SSONIC:1:2:0:0C]9.72222!CRUISN:1:3:0:0C]5.55556!:1:4:0:0D=1#0,73535488::1#8,5!EBRAKE:1:4:1:0A[-10!NCAR:3:6:0:0B[4Es-1800,r1800I]-1]0!NIGHT:2:5:0:0B[4Es-1800,r1800!DCAR:1:7:0:0I]-1]0!:1:0:0:0D=1#5,5:HL 1800:0!1,:-1!1,High:2!1,Medium:3!1,Low:4!1,Day Flash:8#5,5:Varia 515:0!1,:-1!1,Solid:4!1,Peloton:5!1,Day Flash:7!1,Night Flash:6#0::#1:1#123!:123!#0#B3843#7#3#0#0

  • Hi maca,

    thank you very much for you answer and explanation.

    I will change the value in my configuration as you suggested.

  • APangers,

    The behavior that you are seeing is exactly how it was designed to work. Because your primary configuration uses "Activity color" for the "Separator color", it will use the color set in the "Activity color" app setting. So if you don't want the "Activity color" app setting to dictating what color will be used for your primary configuration, just change it to "No separator" (as you did in the second step for the secondary config) or any other color. Does this solve the issue or I misunderstood your message?

  • Understood. I thought activity colour means it will change to whatever my profile (mtb, road etc) was set to.

    All good - I will just use no separator Slight smile

  • Unfortunately there is no API that provides the color of the current activity, that is why the "Activity color" app settings was added.