@urbanus in your wiring, did you flip around the leds? (i.e. did you connect the longer pin to the gpio pins instead of to vcc? With your wiring, are the leds on when there is no traffic? My guess is that you have reversed the connections. Which is fine, but by default the leds will be on.