The device for automatic determination of anion and/or cation levels in urine, which comprises: a) at least one sampling unit, b) at least one turbidity measuring unit, c) at least one reagent solution storage unit, said reagent solution is suitable for detecting anions and/or cations by selective precipitation reaction, d) at least a pump for delivering a reagent solution corresponding to the precipitation reaction with the specific ion, e) at least one unit for collecting and transmitting data, and f) at least one control unit, g) a housing for mounting it to a vertical supporting structure, enclosing the units and designed for urine collection, characterized in that - further comprising a human machine interface, i.e. HMI, and - the sampling unit contains at least one electromechanical unit enabling the horizontal and vertical movements of the sample vessels, and where the anion and/or cation detected in the urine is selected from Na+, K+, Ca+, Mg2+, I-, Se2-, Li+, P043- ions, and where the automatic detection is not based on enzymatic reactions, but is a urine analysis method based on precipitation.