A smart glazing for a window, the smart glazing comprising an electrophoretic light modulator (10; 100) including: - a first substrate (11; 111) and a second substrate (12; 112), the first and second substrates being arranged with inner sides opposite to each other, multiple electrodes (210; 220) being applied to the inner side of each of the first and second substrates, each of the multiple electrodes being arranged in a pattern across the substrate, wherein applying an electric potential to the multiple electrodes results in an electro-magnetic field between the multiple electrodes, the multiple electrodes each comprising - a multiple of main-lines (211; 212; 213; 221; 222; 223) extending across the substrate in a first direction, wherein main-lines of different electrodes on a substrate are arranged alternatingly with respect to each other; - an optical layer between the first and second substrates, the optical layer comprising - a fluid comprising particles, wherein the particles are electrically charged, and wherein the particles are adapted to absorb or reflect light, wherein the electro-magnetic field between the multiple electrodes provides electrophoretic movement of the particles towards or from one of the multiple electrodes; - at least one current sensing circuit (131; 132; 133; 134) connected to one of the multiple electrodes the current sensing circuit being configured to measure a current in the electrode to which it is connected while the electrode is driven with a measuring signal applied temporarily during a measuring duration, wherein the measuring signal is an AC signal with a frequency of at most 100 Hz; and - a controller (16; 46; 150; 310) comprising a processor system (330; 1140) configured to - receive at least one current sensing signal (422; 441) during the measuring duration from the at least one current sensing circuit indicating a current in the connected electrode, - determine driving signals (511; 512; 513; 514; 611; 612; 613; 614) for the multiple electrodes from the at least one current sensing signals and from a target transparency or reflectivity, and - apply the electric potential to the multiple electrodes according to the driving signals when the measuring duration is over. - a first substrate (11; 111) and a second substrate (12; 112), the first and second substrates being arranged with inner sides opposite to each other, multiple electrodes (210; 220) being applied to the inner side of each of the first and second substrates, each of the multiple electrodes being arranged in a pattern across the substrate, wherein applying an electric potential to the multiple electrodes results in an electro-magnetic field between the multiple electrodes, the multiple electrodes each comprising - a multiple of main-lines (211; 212; 213; 221; 222; 223) extending across the substrate in a first direction, wherein main-lines of different electrodes on a substrate are arranged alternatingly with respect to each other; - an optical layer between the first and second substrates, the optical layer comprising - a fluid comprising particles, wherein the particles are electrically charged, and wherein the particles are adapted to absorb or reflect light, wherein the electro-magnetic field between the multiple electrodes provides electrophoretic movement of the particles towards or from one of the multiple electrodes; - a fluid comprising particles, wherein the particles are electrically charged, and wherein the particles are adapted to absorb or reflect light, wherein the electro-magnetic field between the multiple electrodes provides electrophoretic movement of the particles towards or from one of the multiple electrodes; - at least one current sensing circuit (131; 132; 133; 134) connected to one of the multiple electrodes the current sensing circuit being configured to measure a current in the electrode to which it is connected while the electrode is driven with a measuring signal applied temporarily during a measuring duration, wherein the measuring signal is an AC signal with a frequency of at most 100 Hz; and - a controller (16; 46; 150; 310) comprising a processor system (330; 1140) configured to - receive at least one current sensing signal (422; 441) during the measuring duration from the at least one current sensing circuit indicating a current in the connected electrode, - determine driving signals (511; 512; 513; 514; 611; 612; 613; 614) for the multiple electrodes from the at least one current sensing signals and from a target transparency or reflectivity, and - apply the electric potential to the multiple electrodes according to the driving signals when the measuring duration is over. - receive at least one current sensing signal (422; 441) during the measuring duration from the at least one current sensing circuit indicating a current in the connected electrode, - determine driving signals (511; 512; 513; 514; 611; 612; 613; 614) for the multiple electrodes from the at least one current sensing signals and from a target transparency or reflectivity, and - apply the electric potential to the multiple electrodes according to the driving signals when the measuring duration is over.