The TTN library is been deprecated as per the third line with the warning symbol on the page you linked to and the world may have moved on. There are other examples in the forum that are more up to date.
There may be some confusion about which direction is which - uplinks come from the device to you - you send downlinks - so you won’t receive downlink data as such unless you are entering it in the web console or from another source.
Yes, I saw this, but I did not find another API to use for python.
If I am sending confirmed data, I receive a message from gateway after successfull transmission. I expected this to be an uplink which would be visible via MQTT. At least I see it on my gateway.
Please don’t send confirmed data and if you need to keep within the allowed 10 ACKs per day for a device.
It is not clear (to me) where you receive the data. If your node transmits (uplink) and you see data in the console you should see data on mqtt as well if subscribed to the right topic(s). At least that is what I’ve been seeing for the past 4+ years.
Yes, I tried it with this API, but still do not receive data about the downlink.
As already mentioned, I used the code from A Python program to listen to your devices with MQTT
Instead of looking for uplinks, I look for downlinks.
mqttc.subscribe('+/devices/+/down')
I am aware of this. I usually send uncnf, it was just a test to check if I am receiving anything execpt uplinks.
I am running a python script locally on a RPi and want to store uplink and downlink data to a csv. But I only get uplink data.