PHPackages                             mstroink/steca-grid - PHPackages - PHPackages  [Skip to content](#main-content)[PHPackages](/)[Directory](/)[Categories](/categories)[Trending](/trending)[Leaderboard](/leaderboard)[Changelog](/changelog)[Analyze](/analyze)[Collections](/collections)[Log in](/login)[Sign up](/register)

1. [Directory](/)
2. /
3. [Utility &amp; Helpers](/categories/utility)
4. /
5. mstroink/steca-grid

ActiveProject[Utility &amp; Helpers](/categories/utility)

mstroink/steca-grid
===================

Collects data from StecaGrid inverter.

v0.0.1(7y ago)131PHPCI failing

Since Jul 12Pushed 5y ago2 watchersCompare

[ Source](https://github.com/mstroink/steca-grid)[ Packagist](https://packagist.org/packages/mstroink/steca-grid)[ RSS](/packages/mstroink-steca-grid/feed)WikiDiscussions master Synced 2w ago

READMEChangelog (2)Dependencies (2)Versions (3)Used By (0)

StecaGrid
=========

[](#stecagrid)

Dislaimer: i don't own a StecaGrid Inverter

Install
=======

[](#install)

`composer require mstroink/steca-grid`

run tests

`vendor/bin/phpunit`

Usage
=====

[](#usage)

### Create inverter client

[](#create-inverter-client)

```
use MStroink\StecaGrid\Inverter;

require_once 'vendor/autoload.php';

$inverter = Inverter::create('192.168.178.10'); // host
```

### Measurements

[](#measurements)

```
$measurements = $inverter->getMeasurements();

$measurements->getAcCurrent();
$measurements->getAcFrequency();
$measurements->getAcPower();
$measurements->getAcVoltage();
$measurements->getDcCurrent();
$measurements->getDcPower();
$measurements->getDcVoltage();
$measurements->getTemp();

// Measurement object
echo $measurements->getDcVoltage()->getValue(); // 123.123;
echo $measurements->getDcVoltage()->getUnit(); // V;
echo $measurements->getDcVoltage()->getType(); // DC_Voltage;

// As string
echo (string) $measurements->getDcVoltage(); // '123.123 V'

// As array
print_r($measurements->toArray()); // ['dc_voltage' => ['value' => 123.123, 'unit' => DC_Voltage, 'type' => 'V']]
print_r($measurements->toList()); // ['dc_voltage' => 123.123, 'ac_power' => 12.12]
```

### Daily

[](#daily)

```
$yield = $inverter->getYieldToday();
$yield->getTotal(); // 123.45;

//As string
echo (string) $yield; // "123.45 kWh"
```

Tests
=====

[](#tests)

```
vendor/bin/phpunit
```

###  Health Score

25

—

LowBetter than 36% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity9

Limited adoption so far

Community8

Small or concentrated contributor base

Maturity54

Maturing project, gaining track record

 Bus Factor1

Top contributor holds 100% of commits — single point of failure

How is this calculated?**Maintenance (25%)** — Last commit recency, latest release date, and issue-to-star ratio. Uses a 2-year decay window.

**Popularity (30%)** — Total and monthly downloads, GitHub stars, and forks. Logarithmic scaling prevents top-heavy scores.

**Community (15%)** — Contributors, dependents, forks, watchers, and maintainers. Measures real ecosystem engagement.

**Maturity (30%)** — Project age, version count, PHP version support, and release stability.

###  Release Activity

Cadence

Every ~913 days

Total

2

Last Release

1996d ago

Major Versions

v0.0.1 → v1.0.0-beta2021-01-10

### Community

Maintainers

![](https://avatars.githubusercontent.com/u/2270573?v=4)[mstroink](/maintainers/mstroink)[@mstroink](https://github.com/mstroink)

---

Top Contributors

[![mstroink](https://avatars.githubusercontent.com/u/2270573?v=4)](https://github.com/mstroink "mstroink (7 commits)")

###  Code Quality

TestsPHPUnit

### Embed Badge

![Health badge](/badges/mstroink-steca-grid/health.svg)

```
[![Health](https://phpackages.com/badges/mstroink-steca-grid/health.svg)](https://phpackages.com/packages/mstroink-steca-grid)
```

###  Alternatives

[neuron-core/neuron-ai

The PHP Agentic Framework.

2.0k496.1k33](/packages/neuron-core-neuron-ai)[tencentcloud/tencentcloud-sdk-php

TencentCloudApi php sdk

3661.2M46](/packages/tencentcloud-tencentcloud-sdk-php)[civicrm/civicrm-core

Open source constituent relationship management for non-profits, NGOs and advocacy organizations.

751284.3k37](/packages/civicrm-civicrm-core)[roundcube/roundcubemail

The Roundcube Webmail suite

7.0k1.4k3](/packages/roundcube-roundcubemail)[spatie/laravel-export

Create a static site bundle from a Laravel app

672139.5k6](/packages/spatie-laravel-export)[nfse-nacional/nfse-php

This is my package nfse

1523.1k](/packages/nfse-nacional-nfse-php)

PHPackages © 2026

[Directory](/)[Categories](/categories)[Trending](/trending)[Changelog](/changelog)[Analyze](/analyze)
