Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Not Receiving Specific Messages in MQTT Subscription #31

Open
oddbjorn-larsen opened this issue May 31, 2024 · 1 comment
Open

Not Receiving Specific Messages in MQTT Subscription #31

oddbjorn-larsen opened this issue May 31, 2024 · 1 comment

Comments

@oddbjorn-larsen
Copy link

Description:
I am trying to receive values such as zoom_factor and recording_state for a Matrice 300 RTK with an H20T camera using the latest DJI Cloud API. Despite subscribing to all possible topics, I am not receiving messages related to changes in zoom factor or camera mode.

Configuration:

I have configured my cloud-sdk to subscribe to all potential topics:

cloud-sdk:
  mqtt:
    # Topics that need to be subscribed when initially connecting to mqtt, multiple topics are divided by ",".
    inbound-topic: sys/product/+/status,thing/product/+/requests,thing/product/+/response,thing/product/+/events,thing/product/+/commands,thing/product/+/osd,thing/product/+/state,thing/product/+/services,thing/product/+/services_reply,thing/product/+/events_reply,thing/product/+/requests_reply,thing/product/+/property/set,thing/product/+/property/set_reply,thing/product/+/drc/up,thing/product/+/drc/down

Steps Taken:

  1. Subscribed to the following topics:

    • sys/product/+/status
    • thing/product/+/requests
    • thing/product/+/response
    • thing/product/+/events
    • thing/product/+/commands
    • thing/product/+/osd
    • thing/product/+/state
    • thing/product/+/services
    • thing/product/+/services_reply
    • thing/product/+/events_reply
    • thing/product/+/requests_reply
    • thing/product/+/property/set
    • thing/product/+/property/set_reply
    • thing/product/+/drc/up
    • thing/product/+/drc/down
  2. Built a custom frontend and monitored messages in the cloud_api_sample container.

  3. Ensured the device configuration is supposed to push updates on relevant changes.

Problem:
No messages are received when changing the zoom factor or switching the camera mode. I expect to see messages for these events in the subscribed topics but the logs are empty for these specific changes.

Questions:

  1. Do I need to set specific properties to pushMode=1 for these messages to be sent?
  2. Is there any additional configuration required on the device or in the DJI Cloud API to receive these specific messages?
  3. Could there be a delay or another reason for these messages not appearing in the MQTT logs?

Environment:

  • Device: Matrice 300 RTK / H20T
  • API Version: 1.10.0 DJI Cloud API
  • MQTT Broker: Configured with EMQX Broker
@darius-luca-tech
Copy link

Hi there,

I am currently facing the EXACT same problem as you do...Do you managed to find a proper fix for it?

Luca

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants