maca88 / SmartBikeLights

Garmin application for ANT+ bike lights
MIT License
106 stars 7 forks source link

Cannot Set Control Mode #27

Closed simonf00 closed 2 years ago

simonf00 commented 2 years ago

Hello,

First, I'd like to thank you for all your efforts on this project!!

I'm trying to use your data field with my Edge 530 and Varia RTL 515. I've installed the data field, paired the Varia, set the Light Beam Activated setting to Timer Start and set up a configuration with the Lights Configurator. Everything looks to be ok at this point as I can see, save and change the configuration in the IQC settings. The problem I'm running into is that when I try to change the Control Mode on the data screen where I have the data field, I select Connect IQ -> Smart Bike Lights, but trying to go into the settings for Control Mode, nothing happens. I'm stuck on the Connect IQ screen listing the Smart Bike Light app (see attached screenshot). I'm stuck at that step. On the Data Screen itself, it's showing I'm in "N" mode (see 2nd attached screenshot).

Any hints on how to get past this would be appreciated.

Thanks, Simon.

IMG_6889 IMG_6892

maca88 commented 2 years ago

Hi,

can you provide the configuration that you created by using Lights Configurator, so that I can test it?

simonf00 commented 2 years ago

Thanks for taking the time to check into this. Here's the config:

0,73535488#3,2!Detect:2:7:1:0H]1I]-1]0!:1:0:0:0D=1##6:Varia 515!null:-1!Off:0!Solid:4!Peloton:5!Day Flash:7!Night Flash:6#0::#0:0#B3121##3#0#0

maca88 commented 2 years ago

As I suspected your configuration is for some reason broken. Use this configuration instead:

0,73535488#3,2!Detect:2:7:1:0H]1I]-1]0!:1:0:0:0D=1##5:Varia 515!Off:0!Solid:4!Peloton:5!Day Flash:7!Night Flash:6#0::#0:0#B3121##3#0#0

Your configuration contains null:-1!, which is the reason why the settings do not open. In case you know how to reproduce such configuration that contains null:-1!, please let me know.

simonf00 commented 2 years ago

Works!! Thanks so much for your help, @maca88.

I tried to reproduce the null:-1! but unfortunately, I couldn't. I think when I initially created the config I used an example someone posted on one of the Garmin forums and changed the device from Edge 1030 to Edge 530. Maybe that has something to do with it? In any event, I tried, but couldn't get the error to show up.

maca88 commented 2 years ago

Maybe that has something to do with it?

It could be, but I cannot confirm as I also wasn't been able to reproduce it yet. Closing this issue and will open another one, once we will know how to reproduce it.