pi_weather.codes module

Exit codes

pi_weather.codes.INIT_FAILURE_POLLING_EXIT_CODE: int = 70

Exit code for failed polling init

pi_weather.codes.INIT_FAILURE_INTERRUPT_EXIT_CODE: int = 71

Exit code for failed interrupt init

pi_weather.codes.INIT_FAILURE_EXIT_CODE: int = 72

Exit code for failed sensor service init

pi_weather.codes.I2C_DEVICE_NOT_FOUND_EXIT_CODE: int = 50

Exit code when requested I2C device is not found

pi_weather.codes.SENSOR_NOT_ENABLED: int = 60

Exit code for sensor not enabled