A method for controlling a monitoring unit for the residual supply time (TR) for the gas present in a pressurized container through a valve group, the monitoring unit being included in the valve group, the valve group comprising a main structure, a rotary control element which is rotatably connected to the main structure and which is configured so as to allow a passage of a variable flow of gas through the valve group in accordance with an angular position (α) thereof about a main rotation axis (X), wherein the monitoring unit includes a control unit and a display device, the method comprising:
- a. associating with a plurality of angular positions (α1 . . . αn) respective residual time values in accordance with a selected flow (TRV);
- b. measuring the angular position (α) of the control element by means of a magnetic tunnel effect angle sensor TMR;
- c. determining a residual time value in accordance with the selected flow (TRV) corresponding to the angular position (α) of the rotary control element;
- d. measuring an intensity of the magnetic field by means of the magnetic tunnel effect angle sensor TMR;
- e. defining a limit intensity value (z) for the magnetic field;
- and
- f. displaying on the display device the residual time value in accordance with the selected flow (TRV) only if the intensity of the magnetic field measured is less than the limit value (z).