Strange output, but why and how to solve it

I'm suggesting that you might want to prove to yourself that that code reads the sensors as you expect. There's no need for all the ethernet stuff until you can. I'm assuming that the serial output is showing zero though - is it?