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 

  • Cycliq Fly12 light is already added in the Lights Configurator, but you will see it on the list only when enabling "Individual Light Network" feature as it doesn't work well with the native Garmin light network, especially when having multiple lights.

  • Hi, I have an Edge 1040, RTL515 and Ion Pro light. When I have an activity running, during the day, my Ion Pro immediately starts day flash when starting the activity on the Edge, Often I want the light off. I navigate to the widget, set the light to off and the light does turn off. But as soon as I leave the comtrol screen to go back to my activity the loght starts flashing again. At this point it is basically impossible to ride with the light off unless I leave my Edge on the widget control screen. Am I doing something wrong?

  • Hi,

    Unfortunately, with new Edge devices (1040, 1050) the widget is terminated by Edge after closing it and the light modes are reset to the previous modes. That is why Bike Lights Control widget is useless with new devices and I advice you to use Smart Bike Lights data field instead, which doesn't have this issue.

  • Hello ,

    I'd like to donate you some money. 

    I have new unit Edge 1040 as a replacement for Edge830.

    For Edge 830 I have used this config ->

    ###0,73404416#4,4!CAR:1:4:1I]-1]0!BRAKE:1:4:1A[-10!NIGHT:1:7:1Es-1800,r0!:1:0:1D=1##5,4:Varia 510!2,:-1,Off:0!1,Solid:4!1,Day Flash:7!1,Night Flash:6#0::#0:0#B3122##2#0#0

    When I copy this onto Light config web and change the Device from Edge830 to Edge140 and update the config for the data field it does not look the same it used to. Where can be the error, please?

    Edge 830 Screen (system version 9.75)->

    Edge 1040 screen (after changing the device using Lights config web) (system version 24.19->

    Config I have used (coming from Lights config web) ->

    ###0,73404416::1#4,4!CAR:1:4:1:0I]-1]0!BRAKE:1:4:1:0A[-10!NIGHT:1:7:1:0Es-1800,r0!:1:0:0:0D=1##5,4:Varia 510:0:16777215!2,:-1,Off:0!1,Solid:4!1,Day Flash:7!1,Night Flash:6#0::#0:0#123!:123!#0#0#B3843##2#0#0

    Thank you!

  • Hi,

    The configuration is fine, so it must be one of the following:
    - "Current Configuration" app setting is set to Secondary or Tertiary. Make sure that it is set to "Primary" and the configuration value is set in the "Lights Configuration" app setting
    - Verify if the configuration was persisted after saving it. Try to reopen the settings and check if the value is still set. Usually a re-install does help in case the value doesn't persist.
    - Make sure that you are editing the right Smart Bike Lights in case you installed both "Smart Bike Lights" and "Smart Bike Lights #2" data fields

  • Thanks maca, hadn’t spotted that when installing it. Data field works great.

  • Hi, how can I do factory reset on edge 530, ion200rt and flare rt? Sometimes after recharge, ion 200 don't working or show critical battery level and don't power on

  • Hi,

    In order to reset the battery level after recharge you need to do a factory reset by pressing and holding the power button for 15 seconds (release after the second flash). After the first factory reset the ANT/Bluetooth (blue light) will be disabled, so you need to do the factory reset twice to enable it again. After that, you should see the full battery level.

  • Hi Maca

    I have one small issue where the data field occasionally (1-2 times a week) reverts to manual and the light goes to the default mode.
    The sequence this happens is as follows:

    1. Switch Edge on, lights turns on and data field stays in last used mode (ie. always "smart" mode)
    2. Edge locks on satellites.  It is at this point that the data field then changes to manual and light reverts to default mode (I had solid on one program and off in another).

    The devices I have been using the data field on are Edge 830 and Varia RCT715

    That asides, I have been using your data field for over 18 months now and would like to expressed that this data field is the most useful Connect IQ widget/field/apps I have used.  It is singlehandedly the reason behind upgrading to a touchscreen Edge device and would significantly contributes to choosing to stay with Garmin Connect IQ compatible device in the future for me.  I would love to be able to contribute some donation towards this.

  • Hi,

    I made several attempts to reproduce the described issue using Edge 1040, as I don’t have access to Edge 8030, but was unsuccessful. On Edge 1040, the satellite lock doesn’t appear to impact the current mode. Without being able to reproduce the issue, I’m unable to fix the issue.

    Until I am able to reproduce the issue, you can enable "Force Smart Mode" option in order to avoid the mode change from S to M.

    Thanks for the kind offer, but I haven’t set up a donation page yet.