Could you check into the possibility to create a sensor and set the sensor value to some + or - value, depending on the distance to the line?
You can then use the vario beeps to support audio, or write something yourself. No need to use a gVar.
Also, since this is a widget, add an option to the setup for sound or no sound. Then you can create the sounds in the script, no need for a telemtry sensor nor logical function.
Up to you how to implement. I like to keep the model clear and put all in the widget. Personal preference.
Could you check into the possibility to create a sensor and set the sensor value to some + or - value, depending on the distance to the line?
You can then use the vario beeps to support audio, or write something yourself. No need to use a gVar.
Also, since this is a widget, add an option to the setup for sound or no sound. Then you can create the sounds in the script, no need for a telemtry sensor nor logical function.
Up to you how to implement. I like to keep the model clear and put all in the widget. Personal preference.
:)