This commit is contained in:
2025-12-27 14:54:13 +01:00
parent e29f8a7085
commit 3ff93b4124

View File

@@ -22,6 +22,6 @@ class LoraLightSensorReader(SerialReader):
if match: if match:
try: try:
data = json.loads(match.group()) data = json.loads(match.group())
print("Received JSON:", data) self.__notify(str(data))
except json.JSONDecodeError: except json.JSONDecodeError:
print("Received invalid JSON:", match.group()) print("Received invalid JSON:", match.group())