diff --git a/kuukar/kuukar_sensors.py b/kuukar/kuukar_sensors.py index 8b81d36..03fff7a 100644 --- a/kuukar/kuukar_sensors.py +++ b/kuukar/kuukar_sensors.py @@ -44,7 +44,7 @@ class sensors: return self.__humidity def __light_sensor_callback(self, data): - self.__brightness = data[2] + self.__brightness = (4096-float(data[2]))/4096*100 def __dht22_callback(self, data): humidity = data[3]