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 

  • Is there an issue updating this, update showing as queued for 48 hours. 

  • Is there an issue updating this, update showing as queued for 48 hours. 

  • I've added more colors to choose from and also added the ability to change the text color of the active light mode button as the default color (white) does not work well for lighter colors (e.g. yellow). You need to update to version 0.24.1 in order to use the new configuration.

  • I was able to update to the latest version without any issues. You can try to re-install the data field in case it doesn't work for you and if that doesn't work, you can try to use a different software to do the update (Garmin Express or Garmin Connect Mobile).

  • For some reason I don't have the 'Smart' option now when I go into the data field on my 530,any idea why Ive lost this option? 

  • You can lose the Smart option when an external light mode change occurs (e.g. changing light mode by pressing the physical button on the light). To restore the light mode you need to:
    1. On the data screen where you have the data field press the Menu button to open the menu
    2. Navigate to Data Fields -> Connect IQ data fields -> Smart Bike Lights -> Control mode and change to Smart

    In order to avoid losing the Smart mode in the future, you can modify your configuration by enabling the "Force Smart mode" option in the Lights Configurator.

  • That's thing, only Network(N) and Manual (M) are available now which is strange as I saved the config I used to use, I also tried force Smart mode but its not there.

    ###0,73535488::1#4,3!Day:2:7:0:0I[91.44]0Er0,s0!Night:1:6:0:0Es0,r0!:1:0:0:0D=1##5:Varia 515!Off:0!Solid:4!Peloton:5!Day Flash:7!Night Flash:6#0::#0:1#0#B3121##3#1#0

  • Same. Only Network and manuał are visible on Control mode. Edge 530.

    Config 1,1!:1H]0###0,73535488::1#3,3!CAR:1:7:1:0I]-1]0!Noc:1:6:0:0Es600,s60!:1:0:0:0D=1##5:Varia 515!Off:0!Stały :4!Dzienny błysk :7!Nocny :6!Peleton:5#0::#0:1#0#B3121##3#0#0

    Also when light is in Smart mode, sometimes it Changes to manual.

  • You are right, version 0.24.0 introduced a regression bug that removed Smart mode from the menu even if you set filters for the light. This bug is now fixed with version 0.24.2, I do apologize for the inconvenience.

  • No problem and thanks for the fast response!