This commit is contained in:
Mark Qvist 2025-01-26 14:12:13 +01:00
parent 120d29db75
commit c873b9fa33
14 changed files with 9 additions and 6595 deletions

View file

@ -2,9 +2,13 @@ import RNS
import time
import threading
from collections import deque
from sbapp.mqtt import client as mqtt
from .sense import Telemeter, Commands
if RNS.vendor.platformutils.get_platform() == "android":
import pmqtt.client as mqtt
else:
from sbapp.pmqtt import client as mqtt
class MQTT():
QUEUE_MAXLEN = 65536
SCHEDULER_SLEEP = 1