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(8y 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 4w 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 35% 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

2041d 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

[aws/aws-sdk-php

AWS SDK for PHP - Use Amazon Web Services in your PHP project

6.2k555.0M2.8k](/packages/aws-aws-sdk-php)[neuron-core/neuron-ai

The PHP Agentic Framework.

2.0k832.6k52](/packages/neuron-core-neuron-ai)[civicrm/civicrm-core

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

762297.9k52](/packages/civicrm-civicrm-core)[tencentcloud/tencentcloud-sdk-php

TencentCloudApi php sdk

3661.3M49](/packages/tencentcloud-tencentcloud-sdk-php)[eslazarev/wildberries-sdk

Wildberries OpenAPI clients (generated).

353.6k](/packages/eslazarev-wildberries-sdk)[oat-sa/tao-core

TAO core extension

65147.9k151](/packages/oat-sa-tao-core)

PHPackages © 2026

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