A method for disinfection of water in a water line comprising a) connecting a disinfection device to the water line and applying current to the device, wherein the device is adapted to receive water from the water line and for the disinfected water to exit the device, the disinfection device comprising i) an electrochemical chamber for electrolysis of water entering the chamber from the water line, wherein the chamber has one or more pairs of electrodes made of a conductive material selected from copper, aluminium, titanium, doped diamond, tin, silver, nickel, platinum, iron, lead, and oxides thereof, and alloys thereof, ii) an electrode connector (20, 22) configured for applying current to the electrodes, when current is applied to the electrode connectors, iii) a polarity reversing unit configured for reversing the polarity of the electrode connectors (20, 22) when current is applied to the electrode connectors, iv) a sterile filter unit adapted to receive the water from the electrochemical chamber, and for the filtered water to exit the sterile filter unit as disinfected water, v) a connecting means (12, 18, 32, 34, 36, 38) for transporting the water in the water line from the electrochemical chamber to the sterile filter unit, vi) a control unit adapted to communicate with one or more selected from the group consisting of the electrochemical chamber, and the polarity reversing unit, and vii) a flow signal unit for measuring a volume velocity of the water entering the electrochemical device, and capable of providing volume velocity data to the control unit; b) using the polarity reversing unit to control the reversal of the polarity of the electrode connectors (20, 22), c) dosing electrical current according to a user setting, and based on data from the flow signal unit, and d) leading water from the water line to the disinfection device, and out of the device thereby providing the disinfected water. a) connecting a disinfection device to the water line and applying current to the device, wherein the device is adapted to receive water from the water line and for the disinfected water to exit the device, the disinfection device comprising i) an electrochemical chamber for electrolysis of water entering the chamber from the water line, wherein the chamber has one or more pairs of electrodes made of a conductive material selected from copper, aluminium, titanium, doped diamond, tin, silver, nickel, platinum, iron, lead, and oxides thereof, and alloys thereof, ii) an electrode connector (20, 22) configured for applying current to the electrodes, when current is applied to the electrode connectors, iii) a polarity reversing unit configured for reversing the polarity of the electrode connectors (20, 22) when current is applied to the electrode connectors, iv) a sterile filter unit adapted to receive the water from the electrochemical chamber, and for the filtered water to exit the sterile filter unit as disinfected water, v) a connecting means (12, 18, 32, 34, 36, 38) for transporting the water in the water line from the electrochemical chamber to the sterile filter unit, vi) a control unit adapted to communicate with one or more selected from the group consisting of the electrochemical chamber, and the polarity reversing unit, and vii) a flow signal unit for measuring a volume velocity of the water entering the electrochemical device, and capable of providing volume velocity data to the control unit; i) an electrochemical chamber for electrolysis of water entering the chamber from the water line, wherein the chamber has one or more pairs of electrodes made of a conductive material selected from copper, aluminium, titanium, doped diamond, tin, silver, nickel, platinum, iron, lead, and oxides thereof, and alloys thereof, ii) an electrode connector (20, 22) configured for applying current to the electrodes, when current is applied to the electrode connectors, iii) a polarity reversing unit configured for reversing the polarity of the electrode connectors (20, 22) when current is applied to the electrode connectors, iv) a sterile filter unit adapted to receive the water from the electrochemical chamber, and for the filtered water to exit the sterile filter unit as disinfected water, v) a connecting means (12, 18, 32, 34, 36, 38) for transporting the water in the water line from the electrochemical chamber to the sterile filter unit, vi) a control unit adapted to communicate with one or more selected from the group consisting of the electrochemical chamber, and the polarity reversing unit, and vii) a flow signal unit for measuring a volume velocity of the water entering the electrochemical device, and capable of providing volume velocity data to the control unit; b) using the polarity reversing unit to control the reversal of the polarity of the electrode connectors (20, 22), c) dosing electrical current according to a user setting, and based on data from the flow signal unit, and d) leading water from the water line to the disinfection device, and out of the device thereby providing the disinfected water.