C-Battery Technical Wiki

Internal Documentation & Integration Guides

Author
Published

March 31, 2026

Welcome to the C-Battery Technical Wiki

This wiki serves as the central knowledge base for C-Battery’s technical documentation.

What’s in This Wiki?

SunSpec Modbus Integration

Our battery energy storage systems communicate using the industry-standard SunSpec protocol over Modbus TCP. This section includes:

  • Complete Protocol Documentation: Detailed reference for all supported SunSpec models
  • Implementation Examples: Working Python code for common integration scenarios
  • Discovery & Connection: How to connect to and discover available models
  • Power Control: Setting charge/discharge setpoints
  • Monitoring: Reading battery status, measurements, and capabilities

Getting Started

For Integration Partners

V2 (recommended) — SunSpec-compliant control flow with proper separation of operational control and power setpoints:

  1. Read the V2 Protocol documentation for the full integration guide
  2. Refer to the V2 Register Map for exact Modbus addresses

V1 (legacy) — original implementation, uses WSetEna for on/off which is not SunSpec-compliant:

  1. SunSpec documentation
  2. Pysunspec implementation guide
  3. Register Map

Support & Contact

For technical questions or support: