{"id":44802215,"url":"https://github.com/srcfl/srcful-gateway","last_synced_at":"2026-02-16T13:35:13.434Z","repository":{"id":222123468,"uuid":"612286769","full_name":"srcfl/srcful-gateway","owner":"srcfl","description":"Sourceful Energy Gateway: Connect your solar inverter or Utility meters to earn tokens.","archived":false,"fork":false,"pushed_at":"2025-10-19T20:57:12.000Z","size":5713,"stargazers_count":8,"open_issues_count":81,"forks_count":2,"subscribers_count":4,"default_branch":"main","last_synced_at":"2025-10-20T03:09:34.797Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":"https://sourceful.energy/","language":"Python","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/srcfl.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE.txt","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,"zenodo":null,"notice":null,"maintainers":null,"copyright":null,"agents":null,"dco":null,"cla":null}},"created_at":"2023-03-10T15:50:10.000Z","updated_at":"2025-10-14T07:22:43.000Z","dependencies_parsed_at":"2024-02-12T14:50:48.214Z","dependency_job_id":"3677bd30-0a71-4382-9c08-4ead50426555","html_url":"https://github.com/srcfl/srcful-gateway","commit_stats":null,"previous_names":["srcfl/srcful-gateway"],"tags_count":41,"template":false,"template_full_name":null,"purl":"pkg:github/srcfl/srcful-gateway","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/srcfl%2Fsrcful-gateway","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/srcfl%2Fsrcful-gateway/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/srcfl%2Fsrcful-gateway/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/srcfl%2Fsrcful-gateway/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/srcfl","download_url":"https://codeload.github.com/srcfl/srcful-gateway/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/srcfl%2Fsrcful-gateway/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":29509202,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-02-16T09:05:14.864Z","status":"ssl_error","status_checked_at":"2026-02-16T08:55:59.364Z","response_time":115,"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":[],"created_at":"2026-02-16T13:35:12.878Z","updated_at":"2026-02-16T13:35:13.424Z","avatar_url":"https://github.com/srcfl.png","language":"Python","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Sourceful Energy Gateway\n\nThe Sourceful Energy Gateway application is a bundle of services that are deployed as docker containers on a Raspberry Pi.\n\n```\n+------------+                       +------------+\n|            |                       |            |\n|  Sourceful |                       |            |\n|  Energy    |\u003c--- modbus tcp/ip ---\u003e|  Inverter  |\n|  Gateway   |                       |            |\n|            |                       |            |\n+------------+                       +------------+\n```\n\n## Setting Up the Raspberry Pi\n\nRaspberry Pi OS Lite (64-bit) is the recommended operating system.\n\n1. **Configure and Update**:\n\n   - Run `sudo raspi-config` to set locale and timezone.\n   - Update with `sudo apt-get update \u0026\u0026 sudo apt-get upgrade -y`.\n   - Restart with `sudo reboot` and log in again using SSH.\n\n2. **Enable i2c and SPI**:\n   - Use `sudo raspi-config` to enable `I2C` and `SPI` interfaces.\n   - For Rak Hotspot Miner V2, edit `/boot/firmware/config.txt` to add `dtoverlay=spi0-1cs`.\n   - Save, exit, and restart with `sudo reboot`, then log in again using SSH.\n\n## Building and Running the Project\n\nTo build and run this project, simply run the following command:\n\n```shell\ndocker-compose -f compose-rpi4.yml up\n```\n\nOr in detached mode:\n\n```shell\ndocker-compose -f compose-rpi4.yml up -d\n```\n\n## Testing\n\nTo run the tests, execute the following command:\n\nFor the `server` service:\n\n```shell\npytest server/tests/server_unit_test\npytest server/tests/server_rest_test\n```\n\nFor the `bluetooth` service:\n\n```shell\npytest bluetooth/tests/ble_unit_test\npytest bluetooth/tests/ble_rest_test\n```\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fsrcfl%2Fsrcful-gateway","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fsrcfl%2Fsrcful-gateway","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fsrcfl%2Fsrcful-gateway/lists"}