{"id":23656356,"url":"https://github.com/reelyactive/barnacles-mqtt","last_synced_at":"2026-02-06T15:34:29.496Z","repository":{"id":270039539,"uuid":"909131357","full_name":"reelyactive/barnacles-mqtt","owner":"reelyactive","description":"Distribute ambient IoT sensor data from Pareto Anywhere open source middleware via MQTT.  We believe in an open Internet of Things.","archived":false,"fork":false,"pushed_at":"2024-12-31T17:06:33.000Z","size":47,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-09-08T18:17:54.942Z","etag":null,"topics":["dynamb","iot","mqtt","pareto-anywhere","raddec","spatem"],"latest_commit_sha":null,"homepage":"https://www.reelyactive.com/pareto/anywhere/integrations/mqtt/","language":"JavaScript","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/reelyactive.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":"CONTRIBUTING.md","funding":null,"license":"LICENSE","code_of_conduct":"CODE_OF_CONDUCT.md","threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":"SECURITY.md","support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null,"zenodo":null}},"created_at":"2024-12-27T20:12:54.000Z","updated_at":"2025-05-17T19:30:21.000Z","dependencies_parsed_at":"2025-04-12T04:30:52.357Z","dependency_job_id":null,"html_url":"https://github.com/reelyactive/barnacles-mqtt","commit_stats":null,"previous_names":["reelyactive/barnacles-mqtt"],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/reelyactive/barnacles-mqtt","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/reelyactive%2Fbarnacles-mqtt","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/reelyactive%2Fbarnacles-mqtt/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/reelyactive%2Fbarnacles-mqtt/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/reelyactive%2Fbarnacles-mqtt/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/reelyactive","download_url":"https://codeload.github.com/reelyactive/barnacles-mqtt/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/reelyactive%2Fbarnacles-mqtt/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":29166875,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-02-06T14:37:12.680Z","status":"ssl_error","status_checked_at":"2026-02-06T14:36:22.973Z","response_time":59,"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":["dynamb","iot","mqtt","pareto-anywhere","raddec","spatem"],"created_at":"2024-12-28T21:29:19.279Z","updated_at":"2026-02-06T15:34:29.477Z","avatar_url":"https://github.com/reelyactive.png","language":"JavaScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"barnacles-mqtt\n==============\n\n__barnacles-mqtt__ distributes ambient IoT sensor data via MQTT.\n\n![Overview of barnacles-mqtt](https://reelyactive.github.io/barnacles-mqtt/images/overview.png)\n\n__barnacles-mqtt__ ingests a real-time stream of _raddec_ \u0026 _dynamb_ objects from [barnacles](https://github.com/reelyactive/barnacles/) and/or _spatem_ objects from [chimps](https://github.com/reelyactive/chimps/) which it publishes via MQTT.  It couples seamlessly with reelyActive's [Pareto Anywhere](https://www.reelyactive.com/pareto/anywhere/) open source IoT middleware.\n\n__barnacles-mqtt__ is a lightweight [Node.js package](https://www.npmjs.com/package/barnacles-mqtt) that can run on resource-constrained edge devices as well as on powerful cloud servers and anything in between.\n\n\nTopics\n------\n\n__barnacles-mqtt__ observes the following topic hierarchy which matches the `/devices` API of [barterer](https://github.com/reelyactive/barterer/), with an optional prefix:\n- \"paretoanywhere\" (or `topicPrefix`: see [Options](#Options))\n- \"devices\"\n- [deviceId]\n- [deviceIdType]\n- raddec / dynamb / spatem\n\nFor instance, a _dynamb_ associated with a Bluetooth Low Energy device having the public address `001122334455` would be published to `paretoanywhere/devices/001122334455/2/dynamb`\n\nThe MQTT single-level wildcard (+) can be used to subscribe to all event types for a given device, for example: `paretoanywhere/devices/001122334455/2/+`\n\nThe MQTT multi-level wildcard (#) can be used to subscribe to all events from all devices, for example: `paretoanywhere/#`\n\n\nOptions\n-------\n\n__barnacles-mqtt__ supports the following options:\n\n| Property      | Default            | Description                       | \n|:--------------|:-------------------|:----------------------------------|\n| client        | null               | Optional instantiated MQTT client |\n| url           | \"mqtt://localhost\" | Local MQTT broker                 |\n| clientOptions | {}                 | See [mqtt.Client(, options)](https://github.com/mqttjs/MQTT.js?tab=readme-ov-file#client) |\n| topicPrefix   | \"paretoanywhere\"   | Precedes /devices/...             |\n| printErrors   | false              | Print MQTT errors?                |\n\n__barnacles-mqtt__ will use any existing MQTT client provided via the `client` option, else it will instantiate its own, observing any `url` and `clientOptions` properties.\n\n\nContributing\n------------\n\nDiscover [how to contribute](CONTRIBUTING.md) to this open source project which upholds a standard [code of conduct](CODE_OF_CONDUCT.md).\n\n\nSecurity\n--------\n\nConsult our [security policy](SECURITY.md) for best practices using this open source software and to report vulnerabilities.\n\n\nLicense\n-------\n\nMIT License\n\nCopyright (c) 2024 [reelyActive](https://www.reelyactive.com)\n\nPermission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the \"Software\"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions:\n\nThe above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software.\n\nTHE SOFTWARE IS PROVIDED \"AS IS\", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR \nIMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, \nFITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE \nAUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER \nLIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, \nOUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN \nTHE SOFTWARE.","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Freelyactive%2Fbarnacles-mqtt","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Freelyactive%2Fbarnacles-mqtt","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Freelyactive%2Fbarnacles-mqtt/lists"}