MIVO Connect M-Bus Data Gateway

Learn how to setup your MIVO Connect M-Bus Data Gateway to Datacake

Overview

MIVO Connect is an open gateway for collecting meter and sensor data across a property via wired or wireless M-Bus. It can export metrics simultaneously to billing systems (IMD), building control systems, and energy-monitoring platforms. Data is acquired through built-in or external interfaces, including M-Bus, Wireless M-Bus, M-Bus over IP, Modbus RTU/TCP, and EcoGuard Wireless.

MIVO Connect is fully compatible to Datacake. Add your devices via our API templates and start collecting data right away.

Add your MIVO Gateway to Datacake

  1. Click on +Add Device

  2. Select API device and click on Next.

  3. Search for the MIVO Connect M-Bus Data Gateway in our list of templates. Select it and click on Next.

4. Add your device's serial number. If you don't have one yet or you are not sure which one to use, you can proceed to give your device and name and you can always come back to modify the serial number later. Datacake will auto-generate one.

  1. Select the plan of your device. If you have a package, select your billing plan and click on "Add device".

Now that your device has been successfully created, we need to configure your MIVO Gateway and create the webhook to fetch its data.

Navigate to your device's Configuration. Under Product & Hardware, when scrolling down, you will see an HTTP Payload Decoder section, and below it an HTTP endpoint URL. Please copy it to your clipboard, as we will need it later on.

Second screenshot

Configure your MIVO Gateway

  1. Open the wizard using the magic wand in the upper right corner

  2. Choose “Create an integration” and click on next

  3. Choose “Periodic value export” and click on next

  1. Give the periodic value export a name. Choose the meter/sensor group which you want to send data from. Set data resolution, delivery interval and choose delivery format as “MIVO JSON (HTTP/S)”.

  1. Choose the values you are interested in sending to Datacake

  2. Remember the HTTP endpoint URL you copied earlier, from Datacake? If not, check out the Second screenshot. Enter the endpoint URL in this field and click Finish, and you are done!

You should see some payloads coming in after a few minutes. If that is not the case, the problem might be the serial number we entered before. You might have to change the serial number of your device. If you don't know what serial number to use, we recommend you checking out what is coming to the platform. The MIVO device sends data from different meters. To see the raw payloads coming in, click on "Show Logs", next to the HTTP Payload Decoder section.

Final configurations and conclusions

This device is modular, so the template was created to recognise the measurements from one single meter at a time. If you went to the "Show Logs" section and analysed what the device is sending, you will notice there is a "UnitSerial", for the whole device. Inside of it you have "Readings", which contain the data from different modules, each of which has a different MeterNumber. Use the MeterNumber as the serial number of your device, for the payload decoder to recognise the measurements.

// This is how the payloads look like:
{
   "UnitSerial":"XXXXXX",
   "ProtocolVersion":2,
   "Readings":[
      {
         "ID":"GAV0000XXXX-X-XXX",
         "Name":"Main office meter",
         "MeterNumber":"METERNUMBER",
         "MType":"Electricity",
         "Time":"2025-09-16T08:10:04Z",
         "Values":[
            {
               "Code":"ElectricityImportedActiveEnergyTotal",
               "Unit":"Wh",
               "Value":2388635
            },
            {
               "Code":"ElectricityImportedReactiveEnergyTotal",
               "Unit":"varh",
               "Value":1416200
            },
            {
               "Code":"ElectricityActivePowerTotal",
               "Unit":"W",
               "Value":618.8
            },
            {
               "Code":"ElectricityReactivePowerTotal",
               "Unit":"var",
               "Value":-306.3
            },
            {
               "Code":"ElectricityApparentPowerTotal",
               "Unit":"VA",
               "Value":915.8
            },
            {
               "Code":"ElectricityPowerfactorTotal",
               "Unit":"None",
               "Value":0.675
            },
            {
               "Code":"ElectricityAverageLineToLineVoltage",
               "Unit":"V",
               "Value":405.2
            }            },
            {
               "Code":"ElectricityReactivePowerPhase1",
               "Unit":"var",
               "Value":-78.8
            },
            {
               "Code":"ElectricityReactivePowerPhase2",
               "Unit":"var",
               "Value":-92.3
            },
            {
               "Code":"ElectricityReactivePowerPhase3",
               "Unit":"var",
               "Value":-131.5
            }...
            ...
            ...
         ]
      }
   ]
}

Each of your meters will have to be a separate device in Datacake. Enter its respective MeterNumber as serial number and start collecting data from your energy meters.

Last updated

Was this helpful?