diff --git a/rpi/hardware/light/lora_light_sensor_reader.py b/rpi/hardware/light/lora_light_sensor_reader.py index f47e667b..97bb6e8b 100644 --- a/rpi/hardware/light/lora_light_sensor_reader.py +++ b/rpi/hardware/light/lora_light_sensor_reader.py @@ -22,6 +22,6 @@ class LoraLightSensorReader(SerialReader): if match: try: data = json.loads(match.group()) - print("Received JSON:", data) + self.__notify(str(data)) except json.JSONDecodeError: print("Received invalid JSON:", match.group()) \ No newline at end of file