For reference i removed the filter so i allways send the commands even though they are already in the correct state.
And i change to item.sendCommand instead as skatun suggested and it seems to work now. Here is the log for a complete cycle of all the events.
(That nothing happens for sunset end and sunrise start is by design since i want the lights to turn on when the sunset starts, and turn of when the sunrise ends to get a kind of extended night since swedish nights are so short during summer)
Sunset_Event changed from OFF to ON
Sunset
Sunset: Turning on Fib_Propp2_Switch (Type=SwitchItem, State=ON, Label=Grindstolpar, Category=socket, Groups=[Outdoor, Light, NightOn, DayOff])
Sunset: Turning on Fib_Propp3_Switch (Type=SwitchItem, State=ON, Label=Altan, Category=socket, Groups=[Outdoor, Light, NightOn, DayOff])
Item 'Fib_Propp2_Switch' received command ON
Sunset: Turning on zws1 (Type=SwitchItem, State=ON, Label=ZWS1, Category=socket, Groups=[Outdoor, Light, NightOn, DayOff])
Item 'Fib_Propp3_Switch' received command ON
Item 'zws1' received command ON
Sunset: Turning on zws3 (Type=SwitchItem, State=ON, Label=ZWS3 (IP44), Category=socket, Groups=[Outdoor, Light, NightOn, DayOff])
Item 'zws3' received command ON
Sunset_Event changed from ON to OFF
Night
Sunrise_Event changed from NULL to ON
Sunrise
Sunrise_Event changed from ON to OFF
Day
Sunrise: Turning off Fib_Propp2_Switch (Type=SwitchItem, State=ON, Label=Grindstolpar, Category=socket, Groups=[Outdoor, Light, NightOn, DayOff])
Sunrise: Turning off Fib_Propp3_Switch (Type=SwitchItem, State=ON, Label=Altan, Category=socket, Groups=[Outdoor, Light, NightOn, DayOff])
Item 'Fib_Propp2_Switch' received command OFF
Sunrise: Turning off zws1 (Type=SwitchItem, State=ON, Label=ZWS1, Category=socket, Groups=[Outdoor, Light, NightOn, DayOff])
Sunrise: Turning off zws3 (Type=SwitchItem, State=ON, Label=ZWS3 (IP44), Category=socket, Groups=[Outdoor, Light, NightOn, DayOff])
Item 'Fib_Propp3_Switch' received command OFF
Item 'zws1' received command OFF
Item 'zws3' received command OFF
NightOn changed from ON to UNDEF through Fib_Propp2_Switch
DayOff changed from ON to UNDEF through Fib_Propp2_Switch
Fib_Propp2_Switch changed from ON to OFF
Fib_Propp3_Switch changed from ON to OFF
zws1 changed from ON to OFF
NightOn changed from UNDEF to OFF through zws3
DayOff changed from UNDEF to OFF through zws3
zws3 changed from ON to OFF
As a sidenote. When dealing with day/night events its a good idea to bind the items to a switch so they can be triggered manually. its a lot faster to flick a switch then it is to wait half a day for the events to trigger =)
Thanks for the help people.
/C