Methods and devices for monitoring and/or controlling delivery of a fluid to a patient monitor a level of the fluid and generate an alarm and/or block flow of the fluid through a flexible delivery tube to the patient in response to detecting that the fluid level has dropped below a predetermined level. A device for monitoring and/or controlling delivery of the fluid to a patient is removeably mountable to a fluid delivery assembly having the delivery tube. When the device is configured to control delivery of the fluid, the device automatically reconfigures from a first configuration in which fluid is allowed to flow through the delivery tube to a second configuration in which the delivery tube is in a deformed state via the device to block flow of fluid through the delivery tube upon the device detecting that the fluid level is below the predetermined level.