Calem Blogs

Blogs of CalemEAM

Calem Integration 7: Asset Integration with MQTT

MQTT (message queuing telemetry transport) is a protocol for communication with devices (IoT – internet of things). MQTT integration is available in the coming release of Calem R2024g (Jan. 2025). 

  • Asset meter readings are taken by Calem via MQTT. 
  • The readings from MQTT can be viewed at Integration | Open | MQTT Queue

1. MQTT Brokers

The first step is to configure MQTT brokers in Calem. MQTT brokers are repositories of asset meter readings. Calem connects to an MQTT broker to pull meter readings into Calem. The following is a sample MQTT broker is configured in Calem. 

$_CALEM_dist['asset_conf']['mqtt']['brokers']['b0']=array(
   'topic'=>'mymqtt/#',
   'host'=>'192.168.1.70',
   'port'=>1880
); 

2. MQTT Device Mapping

A device in MQTT is mapped to an asset meter in Calem by its device path. Set "Device (MQTT)" of an asset meter to a device path so Calem will apply meter readings from MQTT accordingly.

3. MQTT Scheduled Task

The last step in the MQTT integration is the setup of a scheduled task to pull readings from MQTT. For instance, an hourly cron job may be configured to pull readings from MQTT - see Calem Enterprise Admin Guide for more information.

A New KPI to Monitor Inventory Transfer
Explanation of Custom ABC Processes

Related Posts

By accepting you will be accessing a service provided by a third-party external to https://eam.calemeam.com/