Navigator Prefabricating Marinates
Learn about our RFC process, Open RFC meetings & more.Join in the discussion! »

sma_modbus

2.2.0 • Public • Published

SMA Modbus

Introduction

The module provides easy access to the data provided by SMA devices with ModBus support.

It automatically establishes a new connection on disconnect, and parses incoming byte data to their respective format.

Typescript definitions are included out-of-the-box.

Usage

Common requests are included for some devices, such as:

  • current battery percentage of Sunny Island devices
  • power of Sunny Boy devices
  • total production of Sunny Boy devices
  • etc.

If more advanced requests are required, the library provides a easy method to access all registers with automatic data parsing.

The register values can be found on SMAs website under "Downloads" -> "Technical Information" -> "Modbus Interface". An Excel file containing all registers with datatype and description can be downloaded.

Examples

Detailed examples can be found in the examples folder on GitHub.

Keywords

Install

npm i [email protected]

Version

2.2.0

License

MIT

Unpacked Size

28.7 kB

Total Files

18

Last publish

Collaborators

  • avatar