claudiu-cristea / solar-relay
Reads the live power from an inverter that supports Modbus/TCP API and turns ON or OFF a list of configured relays, depending on whether the measured produced power is between the configured thresholds.
1.x-dev
2026-05-05 07:01 UTC
Requires
- php: ^8.4
- ext-pcntl: *
- monolog/monolog: ^3.10
- symfony/yaml: ^8.0
Requires (Dev)
- phpstan/phpstan: ^2.1
- slevomat/coding-standard: ^8.28
- squizlabs/php_codesniffer: ^4.0
This package is auto-updated.
Last update: 2026-05-05 07:07:44 UTC
README
Reads the live power from an inverter that supports Modbus/TCP API and turns ON or OFF a list of configured relays, depending on whether the measured produced power is between the configured thresholds.
Installation and configuration
Use composer to install the package:
composer require claudiu-cristea/solar-relay
Create a config file by copying the example.config.yml file as config.yml
and edit it to your needs.
Running
Run the bin/solar-relay command.