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 

    • It looks that even peleton mode is not supported on 520.. Well never mind, it will be used as Radar display for my wife...  Pls is edge explorer compatible with "bike radar" feature? 
  • You should be able to set the light mode to "Peloton" from Edge 520 by using Smart Bike Lights. The limitation of Peloton mode is that it is always on, so it won't satisfy your requirement for having the light turned off during the day, but it will flash when a fast vehicle will approach you.

    is edge explorer compatible with "bike radar" feature? 

    Yes, Edge Explore has CIQ 3.0 and therefore the bike radar filter should work on it.

  • Please can you provide config for the peleton mode (varia 515 + edge 520)? I will try it - do I understand properly, that the peleton mode has got less brightness then default? (after power on). 

    And thank you very much for your support. 

    Mb

  • Here is the configuration:

    1,1!:1H]0###0,73535488#3,3!DAY:1:5:0:0Er0,s0!NIGHT:1:4:0:0Es0,r0!:1:0:0:0D=1###B2067##3#0#0

    during daytime it will use Peloton mode and Solid mode during nighttime. I also added a global filter to turn off the light in case the activity is not running.

    do I understand properly, that the peleton mode has got less brightness then default?

    Yes, that's correct.

  • First of all, thank you for this great app.
    Unfortunately, I do not get it when the Varia is in standby and I turn on the Garmin 1040 and start an activity it does not automatically switch to smart mode. Only when I swipe to the Smartbike Light data field activates the smart mode.

  • Hi maca88, 

    Please check my configuration… I’m interesting to have brake solid light when I’m slowing down, daytime when the car is in the range of varia 515 radar, and also it’s nice to have a global filter to turn off the light in case the activity is not running…. And maybe during the nightime switch from daytime to solidThinking

    varia RTL 515

    varia UT800

    Edge 830

    Could you help me?

    #0,73413136:1,1194496973#1,1!:1:0:0:0D=1#0,73535488:1,1194910757#2,2!BRAKE:1:4:1:0A[-10!:1:0:0:0D=1#7,6:Varia 800!2,:-1,Off:0!1,Day Flash:7!1,High:2!1,Medium:3!1,Low:4!1,Night Flash:6#6,5:Varia 515!2,:-1,Off:0!1,Day Flash:7!1,High:4!1,Peleton:5!1,Night Flash:6#0::#0:0#B3122#4#3#0#0

     

  • Was the light in Smart mode ("S") when you swiped to the data screen where the data field is located? I would need to check this on a Edge 1040, but from my testing with Edge 1000, the data field is initialized along with the Smart mode even if is not located on the first data screen.

  • Yes it was in Smart mode ("S") when I swiped to the data screen where the data field is located.

  • Hi,

    here is the configuration:

    1,1!:1H]0#0,73413136:1,1194496973#2,2!NIGHT:1:3:0:0Es0,r0!:1:0:0:0D=1#0,73535488:1,1194910757#4,4!NIGHT:1:4:0:0Es0,r0!BRAKE:1:4:1:0A[-10!RADAR:1:7:0:0I]-1]0!:1:0:0:0D=1#7,6:Varia 800!2,:-1,Off:0!1,Day Flash:7!1,High:2!1,Medium:3!1,Low:4!1,Night Flash:6#6,5:Varia 515!2,:-1,Off:0!1,Day Flash:7!1,High:4!1,Peleton:5!1,Night Flash:6#0::#0:0#123!:123!#B3122#4#3#0#0

    feel free to modify the sunset/sunrise offsets to your needs.