@ReinierMaas Could you also add a menu option which can be used to calibrate the distance sensor? Something that it measures the distance to the ceiling, it then gives a message with the result. That screen also contains two buttons retry and continue. If you select continue you can measure the distance to the toilet paper (I'm not sure if that distance is necessary). The distance sensor can then use those values to set the tpUsed variable.
Good plan?
@ReinierMaas Could you also add a menu option which can be used to calibrate the distance sensor? Something that it measures the distance to the ceiling, it then gives a message with the result. That screen also contains two buttons retry and continue. If you select continue you can measure the distance to the toilet paper (I'm not sure if that distance is necessary). The distance sensor can then use those values to set the tpUsed variable. Good plan?