Rotterdam is using rain data to asjust traffic lights. Bicycles are waiting less at intersections. They also make the amber light longer to give you time to break for farther away and avoid a fall.
https://popupcity.net/insights/rotterdam-traffic-light-prior...