{"id":37659745,"url":"https://github.com/wirepas/raspberry-gateway-image","last_synced_at":"2026-01-16T11:47:10.783Z","repository":{"id":42049834,"uuid":"291086637","full_name":"wirepas/raspberry-gateway-image","owner":"wirepas","description":"Create automatically a raspberry image containing all the needed files for a Wirepas gateway","archived":false,"fork":false,"pushed_at":"2025-11-17T14:08:49.000Z","size":52,"stargazers_count":13,"open_issues_count":6,"forks_count":9,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-11-17T16:08:59.657Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"Shell","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"apache-2.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/wirepas.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","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":"2020-08-28T15:52:29.000Z","updated_at":"2025-08-30T11:35:38.000Z","dependencies_parsed_at":"2024-09-13T18:16:48.974Z","dependency_job_id":null,"html_url":"https://github.com/wirepas/raspberry-gateway-image","commit_stats":null,"previous_names":[],"tags_count":12,"template":false,"template_full_name":null,"purl":"pkg:github/wirepas/raspberry-gateway-image","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/wirepas%2Fraspberry-gateway-image","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/wirepas%2Fraspberry-gateway-image/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/wirepas%2Fraspberry-gateway-image/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/wirepas%2Fraspberry-gateway-image/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/wirepas","download_url":"https://codeload.github.com/wirepas/raspberry-gateway-image/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/wirepas%2Fraspberry-gateway-image/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":28478371,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-01-16T06:30:42.265Z","status":"ssl_error","status_checked_at":"2026-01-16T06:30:16.248Z","response_time":107,"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-01-16T11:47:09.966Z","updated_at":"2026-01-16T11:47:10.776Z","avatar_url":"https://github.com/wirepas.png","language":"Shell","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Raspberry gateway image\n\nThe purpose of this repository is to create automatically a ready to use Raspberry Pi image containing all the needed files to setup a Wirepas gateway.\nThis image allows to easily configure the Wirepas sink and transport services as well as sink parameters from files located in the FAT32 boot partition of the Raspberry Pi which can be easily edited.\nOther Raspeberry Pi parameters like Network settings, Wi-Fi and others setting are not modified by the image.\n\n## How it works?\n\nThe Raspberry base image is built with official [RPi-Distro/pi-gen](https://github.com/RPi-Distro/pi-gen) tool.\n\nOn top of it, this image is customized with Docker tool to allow the usage of Wirepas gateway docker images that can be found on DockerHub.\n\n\n## How to configure the gateway\n\nIn a standard configuration with one sink attached to the gateway and the gateway publishing to a single broker, the gateway can be configured with the file [gateway.env](templates/gateway.env).\nThis file must be adapted to reflect your setup and copied under /boot/wirepas (after the image has been flashed to the SD-Card).\n\n### Gateway version\nGATEWAY_TAG key allows you to specify a new version of gateway.\nEditing this key will allow you to switch to a newer version in future without the need to reflash the base image. Only a reboot is needed.\nIf latest tag is used (by default), gateway will be automatically updated at each new release.\n\n### Sink configuration\nKeys starting with WM_GW_SINK_* are related to sink configuration.\n\n### Transport configuration\nKeys starting with WM_SERVICES_MQTT_* are related to broker configuration\n\nTo use the local MQTT broker installed previously, the following config can be set:\n```ini\nWM_SERVICES_MQTT_HOSTNAME=localhost\nWM_SERVICES_MQTT_PORT=1883\nWM_SERVICES_MQTT_USERNAME=\nWM_SERVICES_MQTT_PASSWORD=\nWM_SERVICES_MQTT_FORCE_UNSECURE=true\n```\n\n## How to interact locally with gateway\nAll the following commands, required to be connected to a console on the gateway (through SSH).\n\n## Connecting with SSH\nBy default, SSH is enabled on this image with following credentials:\n\nLogin  | Password\n----   | --------\nwirepas| wirepas_pw\n\nHostname is set to **wirepasgw**\n\n## Get the logs\nFrom wirepas user root folder, execute this command:\n```bash\ndocker-compose logs\n```\n\n## Observe traffic on dbus\nTo observe packets received from sink(s) on dbus, execute this command:\n```bash\ndocker run --rm -v wirepas_dbus-volume:/var/run/dbus -ti wirepas/gateway_transport_service wm-dbus-print\n```\n\n## Get/set sink(s) configuration\nTo see the current sink(s) configuration, please execute this command:\n```bash\ndocker run --rm -v wirepas_dbus-volume:/var/run/dbus wirepas/gateway_transport_service wm-node-conf list\n```\n\nwm-node-conf allows to configure sink locally too. To see its usage and different options, execute this command:\n```bash\ndocker run --rm -v wirepas_dbus-volume:/var/run/dbus wirepas/gateway_transport_service wm-node-conf\n```\n\nFor example, following command allows you to stop a sink named sink1:\n```bash\ndocker run --rm -v wirepas_dbus-volume:/var/run/dbus wirepas/gateway_transport_service wm-node-conf set -s sink1 -S False\n```\n\n# How are released image built?\n\nImages under [release tab](https://github.com/wirepas/raspberry-gateway-image/releases) are automatically build with github actions when repository is tagged.\n\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fwirepas%2Fraspberry-gateway-image","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fwirepas%2Fraspberry-gateway-image","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fwirepas%2Fraspberry-gateway-image/lists"}