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 

  • Hello, unfortunately I can only speak English poorly, so here is an automatic translation!
    can you  insert a button, for the sound of the radar alert in this data field or wiget to turn "on and off" 
    Ursula
  • Hello,

    Unfortunately I cannot do that because Connect IQ does not have an API for changing the radar alert sound.

  • I don't understand, I had a chat earlier with someone who developed a widget, but he dos'nt allowed to put it in the store, because Garmin doesn't give permission.... so there must be a way

  • As far as I know it is not possible, the following is the only API available for the radar:

    https://developer.garmin.com/connect-iq/api-docs/Toybox/AntPlus/BikeRadar.html

    as you can see, there isn't any method that would allow to turn off/on the alert sound.

  • Hello ,

    my old Varia 510 Radar light died. I have new Varia 515 Radar light availabl, however this very code does not work.

    Could you be so kind and paste the update code here, please?

    THANK YOU!

  • You can import your 510 configuration string into the lights configuratior, change the device to a 515, export it again & coy it to the app settings on your device 

  • Thank you, however right now I have added another data screen with one data field for my new cycling profile on my new Edge 530 and can see small icon at the bottom of the screen instead of full control page with buttons I used to have on Edge 830 Disappointed

  • Hello,

    AFAIK the "Light Panel" (full control page with buttons) is available for Edge touch screen devices (Edge 1030/1000/Explore/820/830). I hope someone will correct what I wrote if I am wrong,
    BTW, check the Smart Bike Lights Manual:

    Smart Bike Lights features:
    - Manual light control (only for Edge devices with a touch screen or devices with CIQ 3.2 and more than 32KB memory)

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

  • As pointed out, the light panel is available only for Edge touch screen devices. In order to manually changing the light modes on Edge 530, you need to use the data field on-device settings.

  • Hi guys, please can you help me configure string for using Ion 200 RT and Varia radar 510?

    I thought I can use same modes as for UT-800 but I got error 3.

    My current string looks like this:

    #4587520,196641#1,1!:1:0:0:0D=1#0,73404416#4,4!Car:1:7:0:0I[300=1!Night:1:6:0:0Es1200,r60!Brake:1:4:0:0A[-20!:1:0:0:0D=1#6,6:Ion200!1,High:1!1,Medium:2!1,Low:5!1,Night Flash:62!1,Day Flash:63!1,Off:0#5,5:Varia 510!1,:-1!1,Day Flash:7!1,Night Flash:6!1,Solid:4!1,Off:0#0::#0:0#123!:123!#B3570#2#2#0#0

    I wanted to have buttons High, Medium, Low, Night flash, Day flash and off. But obviously, ION 200 does not support same modes like Garmin light.

    Thanks a lot!