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.
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.
@tinexobi can you share your http connection d2c code
@tinexobi I'm working on a similar projet trying to use MQTT to send data to Azure IoT Hub, have you done it ?
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.
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.
We would like to integrate the CR1000X into our infrastructure using Google IoT Core (https://cloud.google.com/iot-core) with MQTT and JWT. Are there any plans integrating IoT Core along Azure IoT and Amazon web services?
Hi JDavis,
"MQTT support is now present in the CR6 and CR1000X dataloggers. We primarily tested it with Amazon web services."
That's great news, can you please share some information or a document to setup a data logger with Amazon Web Services.
I have done a couple of projects on (Amazon Web Services) AWS with Raspberry Pie.
Regards
Salman Faisal
This post is under review.