# Scripting library for MQTT modules

**URL:** <https://forum.inductiveautomation.com/t/scripting-library-for-mqtt-modules/36681>\
**Category:** Maker\
**Created:** [July 14, 2020, 1:38pm UTC](https://forum.inductiveautomation.com/t/scripting-library-for-mqtt-modules/36681 "2020-07-14T13:38:17Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![smcfarlane](https://sea1.discourse-cdn.com/inductiveautomation/user_avatar/forum.inductiveautomation.com/smcfarlane/32/42150_2.png) [@smcfarlane](https://forum.inductiveautomation.com/u/smcfarlane)\
**Post date:** [July 14, 2020, 1:38pm UTC](https://forum.inductiveautomation.com/t/scripting-library-for-mqtt-modules/36681/1 "2020-07-14T13:38:17Z")

</div>

Is there a scripting library for the MQTT modules from Cirrus? Their documentation has a couple of how-tos but I can’t find a list of all the functions available like in the Ignition manual.

[https://docs.chariot.io/display/CLD80/Gateway+Script+MQTT+Publishing](https://docs.chariot.io/display/CLD80/Gateway+Script+MQTT+Publishing)

In the tutorial for publishing a tag using a gateway script they use the following function

system.cirruslink.engine.publish(` `“Chariot SCADA”` `, ` `“a/b/c”` `, str(` `“hello world”` `).encode(), ` `0` `, ` `0` `)

Is there a reference for all of the available functions?

---

<div class="post-metadata">

**Author:** ![smcfarlane](https://sea1.discourse-cdn.com/inductiveautomation/user_avatar/forum.inductiveautomation.com/smcfarlane/32/42150_2.png) [@smcfarlane](https://forum.inductiveautomation.com/u/smcfarlane)\
**Post date:** [August 5, 2020, 1:10pm UTC](https://forum.inductiveautomation.com/t/scripting-library-for-mqtt-modules/36681/2 "2020-08-05T13:10:51Z")

</div>

Is topic bumping allowed here? Seems to me that there is a lot of talk about MQTT so it seems weird there is not a scripting function reference available somewhere.

---

<div class="post-metadata">

**Author:** ![Kevin.McClusky](https://avatars.discourse-cdn.com/v4/letter/k/47e85d/32.png) [@Kevin.McClusky](https://forum.inductiveautomation.com/u/Kevin.McClusky)\
**Post date:** [August 6, 2020, 3:55am UTC](https://forum.inductiveautomation.com/t/scripting-library-for-mqtt-modules/36681/3 "2020-08-06T03:55:17Z")

</div>

I don’t know if there is a reference on their website, but if you have the modules installed you can certainly go to a script editor in the Ignition Designer, type “system.” and then hit \<ctrl-space\> and get the list of functions available and their documentation to show up directly in the script editor. Should work in any script editor anywhere in Ignition.
