Reading10 min
Protocols in 5 Minutes: Modbus, BACnet, OCPP, OpenADR
📡 Module 2: Connect & Read Primitives
Protocols in 5 Minutes: Modbus, BACnet, OCPP, OpenADR
You do not need to master these protocols. You need to know what they are, which devices use them, and how EnergyAtIt handles them for you.
The Big 4
| Protocol | Used For | How It Works |
|---|---|---|
| Modbus TCP | Batteries, inverters, meters | Reads numbered "registers" over TCP port 502 |
| BACnet | HVAC, building automation | Reads "objects" and "properties" over UDP/IP |
| OCPP 2.0.1 | EV chargers | WebSocket-based, JSON messages |
| OpenADR 2.0b | Demand response | XML over HTTPS, event-driven |
The Other 10
EnergyAtIt also supports: IEC 61850, IEC 104, ICCP/TASE.2, DNP3, IEEE 2030.5, SNMP, MQTT, CIM/CGMES, AMI/DLMS, and SunSpec Modbus.
You don't need to know these today. You need to know they exist and that the API handles them.
How EnergyAtIt Abstracts Protocols
When you call GET /api/v1/grid-connections/1/readings, here is what happens behind the scenes:
- The API looks up the grid connection's protocol type
- It routes to the correct protocol handler (Modbus client, BACnet client, etc.)
- The handler reads the device's native registers/objects
- Results are normalised into a standard JSON format
- You get back the same structure regardless of protocol
Quick Protocol Check
# See what protocol each asset uses
curl -s -H "Authorization: $EAT_KEY" \
"https://app.energyatit.com/api/v1/assets?site_id=1" | python3 -m json.tool# See what protocol each asset uses
curl.exe -s -H "Authorization: $env:EAT_KEY" "https://app.energyatit.com/api/v1/assets?site_id=1" | ConvertFrom-Json | ConvertTo-Json -Depth 10Look for the protocol_type field in each asset. That tells you what protocol the device speaks.
Log in to track your progress and earn certifications.