{"id":18665338,"url":"https://github.com/robertklep/name.klep.flow-event-bus","last_synced_at":"2025-11-06T10:30:41.258Z","repository":{"id":142182126,"uuid":"124874524","full_name":"robertklep/name.klep.flow-event-bus","owner":"robertklep","description":"Homey app to implement a flow event bus","archived":false,"fork":false,"pushed_at":"2024-04-12T13:23:52.000Z","size":81,"stargazers_count":2,"open_issues_count":2,"forks_count":0,"subscribers_count":2,"default_branch":"master","last_synced_at":"2025-02-15T02:43:05.469Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"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/robertklep.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,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2018-03-12T10:48:23.000Z","updated_at":"2023-01-27T15:40:49.000Z","dependencies_parsed_at":null,"dependency_job_id":"c411e908-b71b-4d1d-a0c2-112f63c2256f","html_url":"https://github.com/robertklep/name.klep.flow-event-bus","commit_stats":null,"previous_names":[],"tags_count":4,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/robertklep%2Fname.klep.flow-event-bus","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/robertklep%2Fname.klep.flow-event-bus/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/robertklep%2Fname.klep.flow-event-bus/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/robertklep%2Fname.klep.flow-event-bus/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/robertklep","download_url":"https://codeload.github.com/robertklep/name.klep.flow-event-bus/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":239492623,"owners_count":19647993,"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":[],"created_at":"2024-11-07T08:27:16.789Z","updated_at":"2025-11-06T10:30:41.208Z","avatar_url":"https://github.com/robertklep.png","language":"JavaScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Flow Event Bus\n\nEvent bus for flows. Allows flows to:\n* send events as an action\n* trigger on events\n\n### What are events?\n\nEvents are messages to indicate that _something_ has happened. Events have a (user-definable) name, and optionally a value.\n\n### Why not use Logic's _\"a variable has changed\"_?\n\nLogic's _\"a variable has changed\"_ works well for switches, but not for buttons: buttons are unary (it only has one state, \"pressed\"), whereas switches are binary (typically two states, \"on\" or \"off\").\n\nIf you have a device that has buttons, and you are triggering on a button press, there is no specific value that you can set a variable to to indicate that the button is pressed. You either have to set the variable to some random value or use Better Logic's _\"increment a variable's value\"_ action (or something similar).\n\n### Why not use _\"Start a flow\"_?\n\nBecause using events makes decoupling easier.\n\nI have a bunch of cheap 433Mhz remote controls, for which I have created some simple \"trigger\" flows: _\"If button 1 of remote A is pressed, emit event `trigger-remote-a-1`\"_.\n\nWhenever I want to assign an action to a particular button, I create a new flow: _\"If event `trigger-remote-a-1` is received, turn on coffee machine\"_.\n\nThis decouples a specific remote from a specific device, making it easy to re-assign remotes and devices, or be more flexible in general.\n\nWith events, you can also filter on specific event values, something that's not possible with _\"Start a flow\"_.\n\n### Changelog\n\n1.0.0 (2018-03-12):\n- Initial release\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Frobertklep%2Fname.klep.flow-event-bus","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Frobertklep%2Fname.klep.flow-event-bus","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Frobertklep%2Fname.klep.flow-event-bus/lists"}