Why would you make the 'invalid value' 0? How do you measure an 0 degrees temperature then? (it's less of a issue with humidity)
Do you have an idea why some sensors might be way off.
My application will use long cables (10-30m). What are the risks associated with this?