![SW2-shot-lens-flare_720x-2](https://i0.wp.com/www.switchdoc.com/wp-content/uploads/2021/04/SW2-shot-lens-flare_720x-2.gif?resize=678%2C381&ssl=1)
WeatherRack2 Error Codes
Certain data values coming from the WeatherRack2 indicate errors. You should scan for these values and modify your data appropriately.
Here is a chart of the error values, their hex codes and the decimal equivalents. For example, a value of 131067 from the light sensor means there is no light, so change your incoming value to 0.
![WeatherRack2](https://i0.wp.com/www.switchdoc.com/wp-content/uploads/2022/12/WR2Errors.png?resize=678%2C511&ssl=1)