Cloud Computing 8 min read

Zero‑Code Water Meter Integration on Huawei OceanConnect: Step‑by‑Step Guide

This article walks operations staff through a complete, no‑code water‑meter integration on Huawei OceanConnect, covering account registration, profile creation, codec plugin setup, and device debugging, all without writing code, buying hardware, or installing development tools.

Huawei Cloud Developer Alliance
Huawei Cloud Developer Alliance
Huawei Cloud Developer Alliance
Zero‑Code Water Meter Integration on Huawei OceanConnect: Step‑by‑Step Guide

Overview

This tutorial demonstrates how an operations professional can develop a simple water‑meter integration on Huawei OceanConnect without writing any code, purchasing devices, or deploying a development environment.

Step 1 – Apply for a trial account

Visit the Huawei Remote Lab at http://developer.huawei.com/ict/cn/remotelab , select the IoT category, choose the OceanConnect V100R001C30SPC200 environment, and request an account via the left‑hand menu. After approval you receive the portal URL, username and password by email.

Step 2 – Profile Development

Log in to the OceanConnect developer portal using the credentials from the email. In the left menu choose Profile Development → Profile Online Development . Create a new product (select "Create New Product"), set the device type to WaterMeter , and fill in fields such as device model, manufacturer ID, and manufacturer name.

After creating the product, add a service named Battery with three integer attributes: batteryLevel, batteryThreshold, and batteryStatus. Then create a command called SET_DEVICE_LEVEL with a value field.

Step 3 – Codec Plugin Development

In the left menu select Plugin Development . Choose to create a new plugin and add a message named Battery (data report) with the three attributes defined in the profile. Then add another message named SET_DEVICE_LEVEL (command) with a value field.

Step 4 – Device Integration Debugging

Register a device using the previously created WaterMeter profile, providing a device name and identifier. Add a non‑NB device simulator, enter the verification code (e.g., HuaweiSZ01), and set the device status to online.

Test data upload by selecting the Battery service in the simulator, entering values for the three attributes, and sending the message. Verify the payload in the Test Output window.

Check the uploaded data under "My Devices → History Data" to confirm successful reporting.

Test command issuance by clicking the command‑send icon, entering a value, and sending. Verify the command appears in the device’s history.

Conclusion

By following these four steps—account registration, profile creation, codec plugin development, and device debugging—you can complete a no‑code water‑meter data reporting and command‑downlink solution on Huawei OceanConnect.

IoTHuaweiDevice IntegrationOceanConnectno-code developmentWater Meter
Huawei Cloud Developer Alliance
Written by

Huawei Cloud Developer Alliance

The Huawei Cloud Developer Alliance creates a tech sharing platform for developers and partners, gathering Huawei Cloud product knowledge, event updates, expert talks, and more. Together we continuously innovate to build the cloud foundation of an intelligent world.

0 followers
Reader feedback

How this landed with the community

Sign in to like

Rate this article

Was this worth your time?

Sign in to rate
Discussion

0 Comments

Thoughtful readers leave field notes, pushback, and hard-won operational detail here.