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

MQTT integration missing 'retain' flag and QoS setting #1237

Open
Net-Metrics opened this issue Aug 5, 2022 · 0 comments
Open

MQTT integration missing 'retain' flag and QoS setting #1237

Net-Metrics opened this issue Aug 5, 2022 · 0 comments

Comments

@Net-Metrics
Copy link

  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"}

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

1 participant