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, 
    just tried to get the configuration to work but I still have an issue. I use a RTL515 with an Edge 1040 with the following code:

    ###0,73535488::1#4,4!BRAKE:1:4:0:0A[-10!Car:1:4:0:0I[300]0!Night:1:4:0:0Es-3600,r3600!:1:0:0:0D=1##6,5:Varia 515:0:16777215!2,:-1,Off:0!1,Solid:4!1,Peloton:5!1,Day Flash:7!1,Night Flash:6#0::#0:0#123!:123!#16755370#0#B3843##3#0#0

    I wanted to turn it on before sunset, a break and also a solid light when a car approaches and turn it off when it's passed. however, it appears that this does not work correctly. Any ideas?
    Thanks

  • Hello.

    I use Garmin Varia RTL 515 with Garmin fenix 7X. My configuration:  

    ###0,73535488::1#2,2!CAR:1:7:0:0I]-1]0!:1:0:0:0D=1##5:Varia 515!Off:0!Solid:4!Peloton:5!Day Flash:7!Night Flash:6#0::#0:0#0#0#B3121##3#0#0


    A year of flawless operation. When vehicles (one or more) appeared, the daytime flash mode was turned on (the lamp was blinking in the rhythm of the daytime flash) until the moment when the vehicle (one or more) disappeared from the radar zone.

    The essence of the problem:
    Now, if one vehicle enters the radar zone, the lamp works in the rhythm of the daytime flash. If there are more vehicles, the lamp works chaotically, remotely similar to the daytime flash mode. As if each reaction of the radar to a vehicle triggers the daytime flash and they overlap each other.

    Please help.

  • Hi maca88, every time I switch on my Headlight(Garmin Varia UT 800) and Taillight(Garmin Varia 5515) the Light Panel on my Edge Display shows the Headlight on the left and the Taillight on the right side. But today, the headlight was on the right side of the display and the taillight on the left. Is it possible to configure the Smart bike lights, so the postion of the lights will be fixed permanently?

  • I'm one step further but I still have an issue. When the device is in Smart Mode, it detects when a car is approaching but instead of a solid light, it starts blinking. And when it lays on the table, it starts "breaking" from time to time.
    What am I doing wrong?

  • Hi,

    it detects when a car is approaching but instead of a solid light, it starts blinking

    This is unfortunately not possible as even if you put the light in the Solid mode, the firmware will override that with a flashing mode. You can see the approaching flashing patterns for each light mode here:
    https://www8.garmin.com/manuals/webhelp/GUID-C41F445D-457F-447D-88C8-FE286BF157E9/EN-US/GUID-4587F7D3-DEE0-422D-9450-D125E15C4EA0.html 

    The closest you can get to a solid light would be to use the Peleton mode for the radar filter

  • But today, the headlight was on the right side of the display and the taillight on the left. Is it possible to configure the Smart bike lights, so the postion of the lights will be fixed permanently?

    I am assuming that you accidentally inverted the lights using the built-in app settings. The fastest way to change that back is to tap on the "Off" button three times and when the app settings menu pops up, tap on the "Invert lights" toggle icon to restore the positions of the lights. 

  • Hi,

    If there are more vehicles, the lamp works chaotically, remotely similar to the daytime flash mode

    as I mentioned in the previous post, the flashing pattern that occurs when a vehicle is approaching cannot be controlled by a CIQ application like Smart Bike Lights. This is the first time I’m hearing about this. I would assume one of the following could be the issue:
    1. A recent upgrade of the Varia 515 firmware
    2. Malfunction of the light due to chip deterioration or physical damage

  • Hi @maca88 you are right, I accidentally inverted the lights using the built-in app. Now it's fixed, using the app as you recommended. Thank you very much.

  • Hi. i use Garmin Varia 515 with Edge 840 and this data field is one of the best upgrade for me. But Magicshine release this rear radar https://magicshine.com/products/seemee-r300-smart-radar-taillight?srsltid=AfmBOormvZltpgjHnyEWjYvQnz-aOqXwRpeksghTKBEeuhj2xM8E1MOG and also front light with remote control with Di2 buttons. Is any chance that this products will be controlable with Smart bike light datafield? 

  • Hi,

    In the description (https://magicshine.com/products/seemee-r300-smart-radar-taillight) it does mention that ANT+ is supported for both the radar and light for Garmin devices. If that is true, then the light should be controllable with Smart Bike Lights, but I cannot guarantee that, as it is possible that the lights ANT+ implementation can be partially implemented (similar as for Cycliq & See.Sense lights)