Owntracks and CloudMQTT error - [homeassistant.components.device_tracker.owntracks] Ignoring encrypted payload because no decryption key known for topic owntracks/pl/pl6p

Hi

I have been trying for a week now buts still getting any success in getting owntracks to work.
I have set up CloudMQTT, the owntracks ios App connects to CloudMQTT without problems but I just couldnt get home assistant to work with my configuration:

mqtt:
  broker: m20.cloudmqtt.com
  port: 23761
  username: XXX
  password: XXX
  certificate: /etc/ssl/certs/ca-certificates.crt

# device trackers    
device_tracker: !include device_tracker.yaml

inside device_tracker.yaml
- platform: owntracks
max_gps_accuracy: 200
waypoints: True

I got this warning in the log -

WARNING (MainThread) [homeassistant.components.device_tracker.owntracks] Ignoring encrypted payload because no decryption key known for topic owntracks/pl/p6p.

Will someone point me to the right direction?

Thank you very much!

I’m having this same issue. Was there any resolution?

I use hassbian & raspbian so I got installation of mqtt and cloudmqtt from Mr.Bruh

HA doesn’t allow you to have double mqtt platform in configuration, so you have to bridge local mqtt and cloudmqtt. I use from this link

try to add your payload encryption key to “secret”

device_tracker:
  - platform: owntracks
    max_gps_accuracy: 200
    waypoints: True
    secret: !secret mqtt_encrypt_key
    mqtt_topic: "owntracks/#"