Skip to content

Prometheus exporter for Solax inverter data over the modbus protocol

License

Notifications You must be signed in to change notification settings

maltsaar/prometheus-solaxmodbus-exporter-php

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

8 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

prometheus-solaxmodbus-exporter-php

Prometheus exporter for Solax inverter data over the modbus protocol

Requirements

Solax Pocket Wi-Fi 3.0

This seems to be the only dongle that supports modbus. I've also tested the Pocket LAN 3.0 and that definitely doesn't work.

image

Solax X3-Hybrid inverter

Other Solax inverters should work fine if you correctly define the registers in the registers.yml file.

image

Usage

Build the container

docker build . -t prometheus-solaxmodbus-exporter-php

Running the container

Make sure to properly set the 3 environment variables in docker-compose.yml

docker compose up -d

Check if it works

curl localhost:8065/metrics

This URL returns data in prometheus text-based format

curl localhost:8065/json

This URL returns data in json format

About

Prometheus exporter for Solax inverter data over the modbus protocol

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published