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's already working properly, thank you for your support. This was caused by the data field for the TEMPE sensor (apps.garmin.com/.../2dcf9055-d7d7-4596-a8bb-cee883daa11f) which was supposed to solve the inability of garmin to solve the connection of its own sensor ...
    Maybe you could point this out in IQ connect.

  • Which field? Because the link you provided only shows this:

    The page you are looking for was not found.
    If you were looking for a specific app, it may no longer be available, or you may not have permission to view it.

  • Hi
    I have received such settings from the user:
    # 4587520,196641 # 177 | Days: 3: 63: 1c] 9.16667h] 1er0, S0 | Daywol: 3: 62: 1C] 2.77778er0, S0H] 2 | Daysto: 2: 5: 1C [2.77778er0, S0 | NOTGES: 3: 1: 1er0, S0C] 8.33333H] 1 | Nocwoli: 3: 2: 1er0, S0C] 1.38889h] 1 | Nightpair: 2: 62: 1S0, R0c 2.22222 | Tunnel: 2: 6: 1g [1er0, S900 | Night: 1: 6: 1S0, R0 | Radar: 2: 7: 3c] 2.22222i [200] 0 |: 1: 0: 1D = 1 # 7.6: 200RT | 2 ,:: 1 , OFF: 0 | 1, HI: 1 | 1, Med: 2 | 1, Lo: 5 | 1, Dayf: 63 | 1, Nightf: 62 # 5.4: Varia | 2 ,:: 1, OFF: 0 | 1, Solid: 4 | 1, Dayf: 7 | 1, Nightf: 6 # B3570 # 2 # 2 # 0 # 0
    With him on Edge 1030+ they work, at 830 they do not work, in the configurator on the page shows "Invalid Configuration." What am I doing wrong? I care about shaking radar light when you do not have a car ...

  • Hi,

    The configuration that you got is indeed invalid, there are spaces and invalid character sequences like "2.77778er0". Somehow the configuration that you got was formatted by something, ask the user to send you the configuration by using a different application that do not format the text. Here is a simple configuration example which will turn on the Varia light only when there is a vehicle behind you:

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

  • Hi,

    I used the data field with Smart Bike Lights and all works well. Then I have decided to try widget version, which would be faster to access. I have copied the same configuration string, but I've got Error 3. What could be wrong here? Thanks for the best app and help!

    #4587520,196641#18,8|S20H:3:2:1C]5.55556Es0,r0B[4|S15H:3:5:1C]4.16667Es0,r0B[4|S25L:2:62:1Es0,r0B]3|TUNNEL:2:62:1G[4C]0.27778|DAY:1:63:1Er0,s0|S1H:3:5:1C[6.94444Es0,r0B[4|S1L:3:62:1C[6.94444Es0,r0B]3|:1:0:1D=1#0,73404416#14,7|BRAKE1:2:4:3A[-10C]8.33333|BRAKE2:3:4:3A[-3C[8.33333C]2.77778|BRAKE3:3:4:3A[-20C[2.77778C]0.27778|TUNNEL:2:6:1G[4C]0.27778|RADAR:2:7:1I]-1]0Er0,s0|NIGHT1:1:6:1Es0,r0|:1:0:1D=1#7,6:ION Pro RT|2,:-1,Off:0|1,High:1|1,Medium:2|1,Low:5|1,Day Flash:63|1,Night Flash:62#5,4:Varia 510|2,:-1,Off:0|1,Solid:4|1,Day Flash:7|1,Night Flash:6#B3122#1#2#0#0

  • Hi,

    the Smart Bike Light configuration is not compatible with the widget as the widget does not have the smart mode. You need to configure the widget by using this link: https://maca88.github.io/BikeLightsControl/

    Here is the configuration for the widget:

    #4587520,196641##0,73404416##7,6:Ion Pro RT|2,:-1,Off:0|1,High:1|1,Medium:2|1,Low:5|1,Day Flash:63|1,Night Flash:62#5,4:Varia 510|2,:-1,Off:0|1,Solid:4|1,Day Flash:7|1,Night Flash:6#B3122#1#2#0#0

  • Hi,

    thanks for a quick replay. Do you plan to add "S" mode to the widget? S mode is why we use it. Additionally I can access widget much faster in all activity profiles. If I use data field and I want to switch to the another screen by swap (Edge 830) I hit light mode buttons in most cases, which causes switching into M mode. 

    Milos

  • Do you plan to add "S" mode to the widget?

    Due to widgets lifecycle limitations I cannot add it. For more info you can read this post: https://forums.garmin.com/developer/connect-iq/f/showcase/248492/smart-bike-lights-data-field-bike-lights-control-widget/1193083#1193083

  • i always get nonetwork with the app for cycliq lights....