console icon indicating copy to clipboard operation
console copied to clipboard

MQTT integration missing 'retain' flag and QoS setting

Open Net-Metrics opened this issue 2 years ago • 0 comments

  1. Are you using Helium hosted Console or running your own open source Console? Nova

  2. If you are on Helium hosted Console, which url are you currently on? https://console-vip.helium.com/

  3. If you are experiencing bugs in Helium hosted Console, please specify your Organization name and Device ID (ex. 3483050b-284d-47e2-8eda-e087fc03a753).

Please describe your issue:

I am using the mqtt integration to forward uplinks to a third-party logging system. I need to set the 'retain' flag on my messages so the remote system knows to insert them into its' database, but there is no option to set this in console. In order to publish to an mqtt broker the following should be set

image

As well as payload, there should be settings for QoS, and the retainFlag

Here is a snippet from my published message, there is NO setting entered for the retainFlag

Thu Aug 04 2022 14:15:33 GMT+0000 (Coordinated Universal Time) Client: 50fc99bd-3b15-4e28-a753-519498725ce9 topic: nm101/50fc99bd-3b15-4e28-a753-xxxxxxxxxxxx/rx to broker 9be2bbe8-5c11-4f6b-a742-xxxxxxxxxxxx qOs: 0 retain: User id: 93f70c89-1318-11ed-9db1-xxxxxxxxxxxx {"app_eui":"70B3D57ED0xxxxxx","dc":{"balance":553515,"nonce":4},"decoded":{"payload":{"humidity":49,"temperature":25.2},"status":"success"},"dev_eui":"A81758FFFExxxxxx","devaddr":"66080048","fcnt":26312,"hotspots":[{"channel":2,"frequency":867.5,"hold_time":0,"id":"11K8VJGRV8S35FhY9rTo3m1natH3whXHZyTfvre71w3iSxxxxxx","lat":56.02851426678691,"long":-4.3804078450874915,"name":"harsh-pearl-chimpanzee","reported_at":1659622531794,"rssi":-81.0,"snr":11.800000190734863,"spreading":"SF7BW125","status":"success"}],"id":"50fc99bd-3b15-4e28-a753-519498725ce9","metadata":{"adr_allowed":true,"cf_list_enabled":false,"labels":[{"id":"6a85e45c-a879-4363-95e1-7b1f8ce316b3","name":"Elsys","organization_id":"e8c4bbd7-f83a-4edf-822c-xxxxxxxxxxxx"}],"multi_buy":1,"new_rx_delay":1,"organization_id":"e8c4bbd7-f83a-4edf-822c-xxxxxxxxxxxx","preferred_hotspots":[],"rx_delay":3,"rx_delay_actual":3,"rx_delay_state":"rx_delay_established","rx_delay_timing_ans_device_ack":false},"name":"roomsensor","payload":"AQD8AjE=","payload_size":5,"port":5,"raw_packet":"QGYIAEiAyGYFBLvZOrQkY48h","replay":false,"reported_at":1659622531794,"type":"uplink","uuid":"174dd90a-a44a-4d87-a7be-0281471fad49"}

Net-Metrics avatar Aug 05 '22 21:08 Net-Metrics