{"id":21029626,"url":"https://github.com/loafoe/prometheus-solaxrt-exporter","last_synced_at":"2025-05-15T11:31:59.129Z","repository":{"id":59968011,"uuid":"539556857","full_name":"loafoe/prometheus-solaxrt-exporter","owner":"loafoe","description":"Prometheus exporter for real-time Solax inverter data","archived":false,"fork":false,"pushed_at":"2025-05-07T00:18:44.000Z","size":154,"stargazers_count":2,"open_issues_count":3,"forks_count":0,"subscribers_count":2,"default_branch":"main","last_synced_at":"2025-05-11T05:44:21.588Z","etag":null,"topics":["prometheus-exporter","solax","solax-inverter","solax-power","solaxpower"],"latest_commit_sha":null,"homepage":"","language":"Go","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/loafoe.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE.md","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2022-09-21T15:25:54.000Z","updated_at":"2025-02-19T14:27:40.000Z","dependencies_parsed_at":"2024-11-12T07:28:27.539Z","dependency_job_id":"671f62b9-d686-4095-bc67-86dc417b5f62","html_url":"https://github.com/loafoe/prometheus-solaxrt-exporter","commit_stats":{"total_commits":28,"total_committers":2,"mean_commits":14.0,"dds":0.3928571428571429,"last_synced_commit":"35f0371e9d2fe5998cf758fb43824351109b6e13"},"previous_names":[],"tags_count":5,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/loafoe%2Fprometheus-solaxrt-exporter","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/loafoe%2Fprometheus-solaxrt-exporter/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/loafoe%2Fprometheus-solaxrt-exporter/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/loafoe%2Fprometheus-solaxrt-exporter/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/loafoe","download_url":"https://codeload.github.com/loafoe/prometheus-solaxrt-exporter/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":254330731,"owners_count":22053036,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["prometheus-exporter","solax","solax-inverter","solax-power","solaxpower"],"created_at":"2024-11-19T12:13:26.428Z","updated_at":"2025-05-15T11:31:57.491Z","avatar_url":"https://github.com/loafoe.png","language":"Go","funding_links":[],"categories":[],"sub_categories":[],"readme":"# prometheus-solaxrt-exporter\n\nPrometheus exporter for real-time Solax Inverter data readouts\n\n## Usage\n\nThis exporter is only tested with an X1-Boost-Mini Inverter with a Pocket Wifi dongle. The host should have a direct Wifi connection to the Pocket Wifi network. In practice, this means you'll probably want a dedicated compute module (Raspberry Pi) connected to this network. The default `http://5.8.8.8` hardcoded IP address is unfortunately publicly routable (pointing to a host in Russia of all places!). \n\n\u003e The exporter contains code which ensures direct connectivity to the Pocket Wifi before attempting to query the real-time API endpoint.\n\n## Install\n\nUsing Go 1.19 or newer\n\n```shell\ngo install github.com/loafoe/prometheus-solaxrt-exporter@latest\n```\n\n## Usage\n\n### Run exporter\n\n```shell\nprometheus-solaxcloud-exporter -listen 0.0.0.0:8886\n```\n\n### Ship to prometheus\n\nYou can use something like Grafana-agent to ship data to a remote write endpoint. Example:\n\n```yml\nmetrics:\n  configs:\n    - name: default\n      scrape_configs:\n        - job_name: 'solaxcloud_exporter'\n          scrape_interval: 2s\n          static_configs:\n            - targets: ['localhost:8886']\n      remote_write:\n        - url: https://prometheus.example.com/api/v1/write\n          basic_auth:\n            username: scraper\n            password: S0m3pAssW0rdH3Re\n```\n\n## Acknowledgement\n\nAPI field mappings discovered from project https://github.com/squishykid/solax -- kudos!\n\n## License\n\nLicense is MIT\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Floafoe%2Fprometheus-solaxrt-exporter","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Floafoe%2Fprometheus-solaxrt-exporter","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Floafoe%2Fprometheus-solaxrt-exporter/lists"}