# MQTT Uplink Message format - Can it be changed?

**URL:** <https://www.thethingsnetwork.org/forum/t/mqtt-uplink-message-format-can-it-be-changed/25111>\
**Category:** v2 Backend\
**Created:** [April 17, 2019, 12:39am UTC](https://www.thethingsnetwork.org/forum/t/mqtt-uplink-message-format-can-it-be-changed/25111 "2019-04-17T00:39:36Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![DCH\_Project](https://www.thethingsnetwork.org/forum/user_avatar/www.thethingsnetwork.org/dch_project/32/40350_2.png) [@DCH\_Project](https://www.thethingsnetwork.org/forum/u/DCH_Project)\
**Post date:** [April 17, 2019, 12:39am UTC](https://www.thethingsnetwork.org/forum/t/mqtt-uplink-message-format-can-it-be-changed/25111/1 "2019-04-17T00:39:36Z")

</div>

Hi Everyone

The standard MQTT uplink message format is : `<AppID>/devices/<DevID>/up`

Q1: Can we modify this to conform to Brick or Haystack tagging ontology ([http://vcharpenay.github.io/hto/doc.htm](http://vcharpenay.github.io/hto/doc.htm))  
`<AppID>/devices/<DevID>/up`

See: [http://www.automatedbuildings.com/news/jan17/interviews/brick1.JPG](http://www.automatedbuildings.com/news/jan17/interviews/brick1.JPG)

Even if we could configure a sensor to have an alias MQTT topic that conforms to this haystack (or other) format

Q2: If the above is NOT available if I had a private TTN Server, can I modify the source to make it do the above in Q1?

I look forward to your replies

DCH

---

<div class="post-metadata">

**Author:** ![kersing](https://www.thethingsnetwork.org/forum/user_avatar/www.thethingsnetwork.org/kersing/32/44777_2.png) [@kersing](https://www.thethingsnetwork.org/forum/u/kersing)\
**Post date:** [April 17, 2019, 6:45am UTC](https://www.thethingsnetwork.org/forum/t/mqtt-uplink-message-format-can-it-be-changed/25111/2 "2019-04-17T06:45:24Z")

</div>

A1. No, if it doesn’t match it doesn’t match. No modifications possible.  
A2. No need for a private TTN instance, just run some software that translates between the formats and talks MQTT. And you (probably) need a MQTT broker as well.

---

<div class="post-metadata">

**Author:** ![system](https://www.thethingsnetwork.org/forum/uploads/default/original/3X/6/2/6250ea44fd2b0d6259489e1a92748df681e1f970.png) [@system](https://www.thethingsnetwork.org/forum/u/system)\
**Post date:** [June 16, 2019, 6:45am UTC](https://www.thethingsnetwork.org/forum/t/mqtt-uplink-message-format-can-it-be-changed/25111/3 "2019-06-16T06:45:29Z")

</div>

This topic was automatically closed 60 days after the last reply. New replies are no longer allowed.
