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 

  • Thank you!  I will change the setting and report if any issues

  • Hi, is it possible to add filter type Bike radar for Edge 1000? Or Edge 1000 does not support this?

    Thank you.

  • Hi, unfortunately it is not possible because Edge 1000 does not support CIQ 3, which is required for the bike radar. Here you can find the supported devices: https://developer.garmin.com/connect-iq/api-docs/Toybox/AntPlus/BikeRadar.html 

  • thank you. but these apps are awesome anyway!

  • Dear 

    At 1st I would like to thank you very much for your great affords and excellent job you have done for all community in order to increase our safety and visibility on the road!

    I like very much your software and honestly that is exactly what should be done by Garmin as standard software for all Varia devices.

    I wish to have better programing skills but… anyhow I am trying to set-up my system according to my needs but still something is not working properly. Of course it is only my fault not the system bug.

    Is it possible for you to assist with it? I guess for you it can take a few minutes but I will fight with it for an hour…

    My hardware configuration is simple: Edge 830 (Units: metrics, time format: 24h), UT 800 + RTL 510 and I would like to have the following functionality:

    • lights are starting to light if I am riding (speed >5km) and if stopped it goes off
    • default mode for day usage (after sunrise) for both devices (UT + RTL) is “Day Flash”
    • default mode for night usage (after sunset) for both devices (UT + RTL) is “Night Flash”
    • rear light flashes as a warning when cars are approaching me and also when I brake rapidly
    • all the defaults names of buttons suits me well, this is no needs to change it

    Is it possible to set-up the system like that? It seems to be simple but I am still getting difficulties with it.

    Thank you in advance for your kind help and the assistance!

    Kind Regards
    Paul

  • #0,73413136#7,4|TUNNEL:2:2:1C]0.27778G[3|DAY:2:7:1C]1.38889Er0,s0|NIGHT:2:6:1C]1.38889Es0,r0|:1:0:1D=1#0,73404416#10,6|BRAKE:2:7:5A[-10C]1.38889|RADAR:1:7:1I[140]0|TUNNEL:2:6:1G[3C]0.27778|DAY:2:7:1C]1.38889Er0,s0|NIGHT:2:6:1Es0,r0C]1.38889|:1:0:1D=1#7,6:Varia 800|2,:-1,Off:0|1,High:2|1,Medium:3|1,Low:4|1,Night Flash:6|1,Day Flash:7#5,4:Varia 510|2,:-1,Off:0|1,Solid:4|1,Day Flash:7|1,Night Flash:6#B3122#4#2#0#0

  • Thank you so much for your kind help and prompt replay, I appreciate it very much!!!

  • Hi Paul,

    here is the configuration for the mentioned requirements:

    1,1|DAY:1C]1.38889#0,73413136#2,2|NIGHT:1:6:1Es0,r0|:1:7:1D=1#0,73404416#4,4|BRAKE:1:7:1A[-20|CAR:1:7:1I]-1]0|NIGHT:1:6:1Es0,r0|:1:7:1D=1#7,6:Varia 800|2,:-1,Off:0|1,High:2|1,Medium:3|1,Low:4|1,Night Flash:6|1,Day Flash:7#5,4:Varia 510|2,:-1,Off:0|1,Solid:4|1,Day Flash:7|1,Night Flash:6#B3122#4#2#0#0

    because RTL510 has only two types of flashing, when you will rapidly break or a car will approach you in the day, only the text on your Garmin will change from "DAY" to either "CAR" or "BRAKE". For braking you can change the light mode to "Solid" if desired and also feel free to adjust the "Acceleration" filter to suits your needs.

  • Thanks a lot this is really great job you are doing for us :)

  • I see a new version of the configurator - removed the ability to load configuration? Why? Now, even when I want to improve something, I have to configure everything from scratch. In the case of simple configurations, this may be a small problem, with more complicated ones, it is a lot of work and the possibility of mistakes.
    Please restore the ability to load the configuration!