Our full technical support staff does not monitor this forum. If you need assistance from a member of our staff, please submit your question from the Ask a Question page.

Log in or register to post/reply in the forum.


tinexobi Sep 11, 2020 06:29 AM

I'm using a CR300 DataLogger in an Azure IoT project. After collecting data from sensors I was able to send data to IoT Hub over HTTP protocol, using the CRBasic HTTPPost() command. Azure IoT hub allows D2C messages to be sent over HTTP, AMQP or MQTT.

I'm more interested more in using the MQTT protocol. Had anyone tried, or succeeded to send messages over MQTT from CRBasic until now?  If yes, please provide me with a short example, or any other hints.

JDavis Sep 11, 2020 12:28 PM

MQTT support on the CR300 is in development stage still. I suggest configuring notifications on your campbellsci.com website account to notify you when a new datalogger OS version is available.

Until there is a new OS release, you will need to rely on the HTTP solution you have working.

gregroe Mar 23, 2021 10:41 PM

@tinexobi can you share your http connection d2c code

wveilleux May 28, 2021 06:25 AM

@tinexobi I'm working on a similar projet trying to use MQTT to send data to Azure IoT Hub, have you done it ?

JDavis May 28, 2021 02:37 PM

MQTT support is now present in the CR6 and CR1000X dataloggers. We primarily tested it with Amazon web services. I know of at least one customer that was successful using Azure IoT.

Do be aware that a good understanding of MQTT is necessary.

wveilleux May 31, 2021 07:48 AM

Great ! We are using CR1000X for our PoC to send data to Azure IoT. Could we have support from Campbell Scientific to help us configuring the CR1000X ? We already know MQTT and my understanding is to know how to setup the JSON file into the CRBasic to make it work.

Log in or register to post/reply in the forum.