{"id":20976919,"url":"https://github.com/pixelbrackets/lametric-notification-broadcast","last_synced_at":"2025-12-29T02:33:44.085Z","repository":{"id":145819700,"uuid":"303943150","full_name":"pixelbrackets/lametric-notification-broadcast","owner":"pixelbrackets","description":"Receive a message and forward it to multiple LaMetric devices in your network – Mirror of https://gitlab.com/pixelbrackets/lametric-notification-broadcast/","archived":false,"fork":false,"pushed_at":"2022-04-04T08:47:48.000Z","size":28,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":2,"default_branch":"master","last_synced_at":"2025-03-06T18:29:38.887Z","etag":null,"topics":["broadcast","lametric","notification","php"],"latest_commit_sha":null,"homepage":"https://gitlab.com/pixelbrackets/lametric-notification-broadcast/","language":"PHP","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/pixelbrackets.png","metadata":{"files":{"readme":"README.md","changelog":"CHANGELOG.md","contributing":"CONTRIBUTING.md","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,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2020-10-14T07:56:36.000Z","updated_at":"2020-11-13T15:00:42.000Z","dependencies_parsed_at":null,"dependency_job_id":"f9491b77-c03b-4a79-859e-f702b4038643","html_url":"https://github.com/pixelbrackets/lametric-notification-broadcast","commit_stats":null,"previous_names":[],"tags_count":2,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/pixelbrackets%2Flametric-notification-broadcast","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/pixelbrackets%2Flametric-notification-broadcast/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/pixelbrackets%2Flametric-notification-broadcast/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/pixelbrackets%2Flametric-notification-broadcast/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/pixelbrackets","download_url":"https://codeload.github.com/pixelbrackets/lametric-notification-broadcast/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":243381241,"owners_count":20281917,"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":["broadcast","lametric","notification","php"],"created_at":"2024-11-19T04:56:19.514Z","updated_at":"2025-12-29T02:33:39.015Z","avatar_url":"https://github.com/pixelbrackets.png","language":"PHP","readme":"# LaMetric Notification Broadcast\n\n[![Version](https://img.shields.io/packagist/v/pixelbrackets/lametric-notification-broadcast.svg?style=flat-square)](https://packagist.org/packages/pixelbrackets/lametric-notification-broadcast/)\n[![Build Status](https://img.shields.io/gitlab/pipeline/pixelbrackets/lametric-notification-broadcast?style=flat-square)](https://gitlab.com/pixelbrackets/lametric-notification-broadcast/pipelines)\n[![Made With](https://img.shields.io/badge/made_with-php-blue?style=flat-square)](https://gitlab.com/pixelbrackets/lametric-notification-broadcast#requirements)\n[![License](https://img.shields.io/badge/license-gpl--2.0--or--later-blue.svg?style=flat-square)](https://spdx.org/licenses/GPL-2.0-or-later.html)\n[![Contribution](https://img.shields.io/badge/contributions_welcome-%F0%9F%94%B0-brightgreen.svg?labelColor=brightgreen\u0026style=flat-square)](https://gitlab.com/pixelbrackets/lametric-notification-broadcast/-/blob/master/CONTRIBUTING.md)\n\nReceive a message and forward it to multiple LaMetric devices in your network.\n\n![Screenshot](./docs/screenshot.png)\n\n## Vision\n\nThis project provides a way to send a message to multiple LaMetric devices\nin a local network.\n\nThis allows setting up one notification endpoint only in other services,\nand not register all devices individually.\n\nThe endpoint also reduces the payload structure to a minimum by default.\n\nThis project does not display data permanently. Use an indicator app like\n»[My Data (DIY)](https://apps.lametric.com/apps/my_data__diy_/8942)« instead.\n\n## Requirements\n\n- PHP\n\n## Installation\n\nPackagist Entry https://packagist.org/packages/pixelbrackets/lametric-notification-broadcast/\n\n- Point your webserver to the `web` directory\n- Copy `data/subscriptions.template.json` and rename it to\n`data/subscriptions.json`.\n\n## Source\n\nhttps://gitlab.com/pixelbrackets/lametric-notification-broadcast/\n\nMirror https://github.com/pixelbrackets/lametric-notification-broadcast/\n\n## Usage\n\n1. Register each LaMetric in `data/subscriptions.json`\n   - For field `ip` see [Device IP Discovery](https://lametric-documentation.readthedocs.io/en/latest/guides/first-steps/first-local-notification.html#discover-ip-address)\n   - For field `token` see [API Key Listing](https://lametric-documentation.readthedocs.io/en/latest/guides/first-steps/first-local-notification.html#find-api-key)\n1. Send a request with JSON payload to the local project instance\n\n   HTTPie example request for domain `localhost.local`\n   ```bash\n   http POST localhost.local/hook message=\"Hi\" icon=\"26175\"\n   ```\n\n### Options\n\n- JSON body\n  - `message` – string – Text that will be displayed - Keep it short, if it is too long it will scroll\n  - `icon` (optional) – string – ID of an icon in the\n    [LaMetric Icon Gallery](https://developer.lametric.com/icons)\n\n## License\n\nGNU General Public License version 2 or later\n\nThe GNU General Public License can be found at http://www.gnu.org/copyleft/gpl.html.\n\n## Author\n\nDan Untenzu (\u003cmail@pixelbrackets.de\u003e / [@pixelbrackets](https://pixelbrackets.de))\n\n## Changelog\n\nSee [./CHANGELOG.md](CHANGELOG.md)\n\n## Contribution\n\nThis script is Open Source, so please use, patch, extend or fork it.\n\n[Contributions](CONTRIBUTING.md) are welcome!\n","funding_links":[],"categories":[],"sub_categories":[],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fpixelbrackets%2Flametric-notification-broadcast","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fpixelbrackets%2Flametric-notification-broadcast","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fpixelbrackets%2Flametric-notification-broadcast/lists"}