I have a RAK2287 gateway/application server/network server. I have successfully written a python script to access the uplink messages from my node, using paho-mqtt.
I would now like to schedule downlinks using MQTT. I have found this page (https://www.chirpstack.io/application-server/integrations/mqtt/) and I’ve attempted to follow it, using paho-mqtt’s connect(), subscribe() and publish() commands. Unfortunately, despite my best efforts, I can’t schedule a downlink.
I don’t know what’s wrong because I don’t know of anywhere in chirpstack I can go to see why my MQTT messages are being rejected. Can anyone help with debugging?
It’s probably working for reasons you aren’t expecting. You’re setting confirmed to a string, which may be interpreted as not-false. I wouldn’t rely on this behavior, though.
@bconway actually you are correct, I posted the code before I corrected it (was too happy it worked eventually ). It should be True, capital T, without quotes, to avoid passing it as a text.