Skip to content

Commit

Permalink
Add support for Garmin Varia TL300
Browse files Browse the repository at this point in the history
  • Loading branch information
maca88 committed Jul 19, 2022
1 parent d36f135 commit 0f1201a
Show file tree
Hide file tree
Showing 2 changed files with 26 additions and 0 deletions.
1 change: 1 addition & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -88,6 +88,7 @@ The initial control mode will be determined based on the configuration from the
- Bontrager Ion 200 RT
- Bontrager Ion 800 RT
- Bontrager Flare RT
- Garmin Varia TL300
- Garmin Varia RTL500
- Garmin Varia RTL501
- Garmin Varia RTL510
Expand Down
25 changes: 25 additions & 0 deletions Source/light-configurator/src/constants.js
Original file line number Diff line number Diff line change
Expand Up @@ -405,6 +405,14 @@ const garminVariaRtl515 = [
{ id: 6, name: 'Night Flash' }
];

const garminVariaTl300 = [
{ id: 0, name: 'Off' },
{ id: 2, name: 'High' },
{ id: 3, name: 'Medium' },
{ id: 4, name: 'Low' },
{ id: 7, name: 'Day Flash' }
];

const seeSenseIcon2 = [
{ id: 0, name: 'Off' },
{ id: 1, name: 'Steady 100%' },
Expand Down Expand Up @@ -470,6 +478,23 @@ export const taillightList = [
]
}
},
{
id: 12,
name: 'Garmin Varia TL300',
modes: garminVariaTl300,
individualNetworkOnly: false,
lightModes: [0, 67121680], // 67121680
defaultLightPanel: {
shortName: 'Varia 300',
buttonGroups: [
[controlMode, garminVariaTl300[0]],
[garminVariaTl300[1]],
[garminVariaTl300[2]],
[garminVariaTl300[3]],
[garminVariaTl300[4]],
]
}
},
{
id: 4,
name: 'Garmin Varia RTL500',
Expand Down

0 comments on commit 0f1201a

Please sign in to comment.