Weather Hat Wind sensor

I have set up the weatherhat on a raspberry pi which publish the values to mqtt and into home assistant sensors. All works well with the sensors except the windspeed sensor which works well for a few hours only. Then it only sends wind speed = 0,0.
The same value shows on the lcd screen of the weatherhat.
I run the example as a service as it is been described on the pimoroni weatherhat page.