{"id":34911842,"url":"https://github.com/tg44/fronius-metrics","last_synced_at":"2026-04-23T15:35:13.976Z","repository":{"id":77182910,"uuid":"346743273","full_name":"tg44/fronius-metrics","owner":"tg44","description":"A small service to gather data from Fronius inverters an send them to MQTT.","archived":false,"fork":false,"pushed_at":"2023-12-25T19:46:31.000Z","size":26,"stargazers_count":0,"open_issues_count":0,"forks_count":1,"subscribers_count":2,"default_branch":"main","last_synced_at":"2023-12-25T21:03:21.217Z","etag":null,"topics":["fronius","hacktoberfest","mqtt","prometheus","prometheus-exporter"],"latest_commit_sha":null,"homepage":"","language":"JavaScript","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/tg44.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null}},"created_at":"2021-03-11T15:12:15.000Z","updated_at":"2023-03-09T08:19:28.000Z","dependencies_parsed_at":"2023-02-24T15:30:37.536Z","dependency_job_id":null,"html_url":"https://github.com/tg44/fronius-metrics","commit_stats":null,"previous_names":[],"tags_count":0,"template":null,"template_full_name":null,"purl":"pkg:github/tg44/fronius-metrics","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/tg44%2Ffronius-metrics","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/tg44%2Ffronius-metrics/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/tg44%2Ffronius-metrics/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/tg44%2Ffronius-metrics/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/tg44","download_url":"https://codeload.github.com/tg44/fronius-metrics/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/tg44%2Ffronius-metrics/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":32187321,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-04-23T15:28:30.493Z","status":"ssl_error","status_checked_at":"2026-04-23T15:28:29.972Z","response_time":53,"last_error":"SSL_read: unexpected eof while reading","robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":false,"can_crawl_api":true,"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":["fronius","hacktoberfest","mqtt","prometheus","prometheus-exporter"],"created_at":"2025-12-26T11:27:05.741Z","updated_at":"2026-04-23T15:35:13.971Z","avatar_url":"https://github.com/tg44.png","language":"JavaScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"[![Docker Build Status](https://img.shields.io/docker/cloud/build/tg44/fronius-metrics?style=flat-square)](https://hub.docker.com/r/tg44/fronius-metrics)\n\n# fronius-metrics\n\nA small service to gather data from Fronius inverters/ohmpilot an send them to MQTT or export as prometheus metrics.\n\n## Running the app\n\n### Local install / dev\nYou need node 12, start with `npm i` and then `node app.js`.\n\nFor setting the MQTT you need to `export MQTT_URL=mqtt://localhost:1883` and `export MQTT_ENABLED=true` optionally `export MQTT_USER=\"user\" \u0026\u0026 export MQTT_PWD=\"pass\" \u0026\u0026 MQTT_TOPIC=tele/solar` before the service start.\n\nFor setting the HTTP you need to `export HTTP_ENABLED=true`.\n\nAlso you need to add `export INVERTER_HOST=\"\"`.\n\n### Docker and compose\nFor docker you can run;\n```\ndocker run -e MQTT_ENABLED=true -e MQTT_URL=\"mqtt://localhost:1883\" -e MQTT_TOPIC=tele/solar -e INVERTER_HOST=\"192.168.1.254\" ghcr.io/tg44/fronius-metrics\n```\nFor docker compose;\n```\nversion: '3.1'\nservices:\n  fronius-solar2mqtt:\n    image: ghcr.io/tg44/fronius-metrics\n    restart: unless-stopped\n    environment:\n      - INVERTER_HOST=\"192.168.1.254\" #inverter ip, can be left out\n      - HEATER_HOST=\"192.168.1.253\" #ohmpilot ip, can be left out\n      - REFRESH_RATE_SECONDS=30 #optionally you can override the api poll rate, default is 30\n      - MQTT_ENALED=true #enables mqtt default false\n      - MQTT_URL=mqtt://localhost:1883 #required for mqtt\n      - MQTT_TOPIC=tele/solar #required for mqtt\n      - MQTT_USER=user #optional\n      - MQTT_PWD=pass #optional\n      - MQTT_CLIENT_ID=myFS2MQTT_client #optional\n      - HTTP_ENALED=true #enables prometheus default false\n      - HTTP_PORT=3000 #optional\n      - NODE_METRICS_PREFIX='' #optional\n      - METRICS_PREFIX=fronius_ #optional\n```\n\n## Support\n\nPRs are always welcome!\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ftg44%2Ffronius-metrics","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Ftg44%2Ffronius-metrics","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ftg44%2Ffronius-metrics/lists"}