Skip to content

Enapter/marketplace

Repository files navigation

enapter blueprint marketplace

enapter blueprint marketplace

πŸ“˜ What is Enapter Blueprint?

Enapter Blueprints is a technology that allows integration of various devices (electrolysers, power meters, inverters, batteries, sensors, etc.) into the Enapter Cloud platform with Lua scripts.

Blueprint technology uses a simple and unified device model that consists of:

  • properties,
  • telemetry,
  • commands,
  • alerts.

It describes which charts will be shown on a dashboard on mobile app or web, which commands can be executed, when to notify you about device alerts, etc. Using this model Enapter platform understands the capabilities of the device and how it can interact with other parts of an energy system.

Blueprint Marketplace is a collection of already developed Blueprints for most common energy devices as solar inverters, batteries, relays and others. You are welcome to contribute into Enapter Blueprint Marketplace with your devices integrations.

Go through the tutorial to learn about the blueprint concept and development workflow.

video about blueprints πŸ“Ί Watch Intro Video β†’


Benefits of Integration

Integrating and monitoring of energy devices is first step for building your Energy Management System (EMS) or creating Energy Management Plan.

Energy management is the process of monitoring, controlling, and saving energy in a home or business. It is important for a number of reasons:

  • Cost savings: Energy management can help reduce energy consumption, which can lower energy bills.
  • Environmental impact: Reducing energy consumption can also help to reduce greenhouse gas emissions and other environmental impacts associated with energy production.
  • Reliability: Proper energy management can help ensure that a home or business has a stable and reliable energy supply.
  • Safety: Energy management can help identify and address any potential safety hazards related to energy use.

Blueprint Marketplace Repository Overview

Top-level directories represent energy and industrial device types. Each directory contains a number of blueprints for specific device models.

The blueprint is an entity containing all aspects pertaining to device integration. It consists of two files:

  • manifest.yml describes your device interfaces (telemetry it sends, commands it executes, alerts it raises);
  • firmware.lua implements these interfaces for the specific piece of hardware using the Lua programming language and high-level platform APIs.

There are two types of hardware that can run your blueprint:

  • a physical Enapter UCM that implements communication through RS-485, CAN, your own hardware based on UCM Kit and other standards,
  • a virtual UCM – a software element of the Enapter f 2.X (runs on an Intel-based server) that implements communication either over a local network (Ethernet) or by using a direct USB connection (serial communication).

Regardless of the underlying hardware, UCMs provide a runtime for Lua execution and expose APIs for Enapter Cloud connection, physical connections and protocols (e.g. 6-channel relay, RS-485 serial communication, Modbus RTU, Modbus TCP, etc).

How To Use These Blueprints

  1. Select a hardware (UCM or gateway) suitable for communicating with your target device.
  2. Provision your UCM to the Enapter Cloud using the mobile app or run a new virtual UCM on the Enapter Gateway.
  3. Follow one of the options below to upload a blueprint to the UCM.

β†’ Use Enapter Mobile App and Blueprint Marketplace

  1. Click More on main navigation pannel.
  2. Click Blueprint Marketplace.
  3. Find the required Blueprint and click Install Blueprint.
  4. Select the UCM from the list and confirm.

blueprinted devices in the enapter app

blueprinted devices in the enapter app

β†’ Use Web IDE

  1. Open Blueprint tab in the Enapter Cloud.
  2. Drag and drop the blueprint files into the IDE or copy and paste its contents.
  3. Press "Select Device" and choose your UCM.
  4. Press "Upload to" to upload the blueprint.

β†’ Use Enapter CLI

  1. Follow the steps described in the tutorial to get the CLI tool and your API access token.
  2. Switch the current directory to the desired blueprint.
  3. Execute the command enapter-cli devices upload --hardware-id UCMID --blueprint-dir .. Substitute UCMID with your UCM ID.

After uploading the blueprint, your device data will appear on the device page in the Enapter Cloud and the mobile application.

Blueprints Development & Contributing

Take a look at our Contributing guideline.

Community and Support

  • Β  Join our Discord community!
  • Β  Take a look on our documentation.
  • Β  Open thread on GitHub!
  • Β  Support us on ProducHunt with review.