diff --git a/kuukar/kuukar_sensors.py b/kuukar/kuukar_sensors.py index 4a059ae..ad163ce 100644 --- a/kuukar/kuukar_sensors.py +++ b/kuukar/kuukar_sensors.py @@ -34,7 +34,7 @@ class sensors: self.__brightness = (4096-float(data[2]))/4096*100 def __dht22_callback(self, data): - humidity = data[3] - temperature = data[4] + humidity = data[2] + temperature = data[3] self.__humidity = humidity self.__temperature = temperature