Richard,
Your change to the "cast routine" saved some 400bytes worth of code space and probably also executes faster. Thanks!

Yeah, both of my sensors reports temperature which I believe to be 2-3°C above actual. I don't know if it's due to self heating of the sensor itself, the PCB assembly or something else but the fact that they run different code but both reports values very close to each other makes me fairly confident in the code.

Just now when I started it up again, the humidity reading was way high, around 70%.
A restart fixed it and it's now around 42% which is more inline with the other sensor. This seems to happen now and then and I'm not sure what's going on.

/Henrik.