{"id":15373864,"url":"https://github.com/boly38/lo-mqtt-nodejs","last_synced_at":"2026-02-14T03:39:27.539Z","repository":{"id":227543830,"uuid":"769187699","full_name":"boly38/lo-mqtt-nodejs","owner":"boly38","description":"Live Objects NodeJS MQTT client","archived":false,"fork":false,"pushed_at":"2025-09-18T13:00:22.000Z","size":169,"stargazers_count":0,"open_issues_count":1,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-10-05T01:33:54.332Z","etag":null,"topics":["command","config","data-messages","firmware-update","geolocation","liveobjects","mqtt","test"],"latest_commit_sha":null,"homepage":"","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/boly38.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":".github/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,"zenodo":null,"notice":null,"maintainers":null,"copyright":null,"agents":null,"dco":null,"cla":null}},"created_at":"2024-03-08T14:21:01.000Z","updated_at":"2024-09-08T19:09:33.000Z","dependencies_parsed_at":"2025-10-05T01:30:57.736Z","dependency_job_id":"0b7f22f8-aa2c-4022-b7ac-d993d43fc66a","html_url":"https://github.com/boly38/lo-mqtt-nodejs","commit_stats":null,"previous_names":["boly38/lo-mqtt-nodejs"],"tags_count":2,"template":false,"template_full_name":null,"purl":"pkg:github/boly38/lo-mqtt-nodejs","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/boly38%2Flo-mqtt-nodejs","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/boly38%2Flo-mqtt-nodejs/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/boly38%2Flo-mqtt-nodejs/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/boly38%2Flo-mqtt-nodejs/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/boly38","download_url":"https://codeload.github.com/boly38/lo-mqtt-nodejs/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/boly38%2Flo-mqtt-nodejs/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":29434608,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-02-14T03:34:37.767Z","status":"ssl_error","status_checked_at":"2026-02-14T03:34:09.092Z","response_time":53,"last_error":"SSL_connect returned=1 errno=0 peeraddr=140.82.121.5:443 state=error: 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":["command","config","data-messages","firmware-update","geolocation","liveobjects","mqtt","test"],"created_at":"2024-10-01T13:56:37.111Z","updated_at":"2026-02-14T03:39:27.527Z","avatar_url":"https://github.com/boly38.png","language":"JavaScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Archived\r\n\r\n- !! this repository was a temp fork of https://github.com/DatavenueLiveObjects/Start-here-nodeJS\r\n- !! Archived\r\n\r\n# lo-mqtt-nodejs - Live Objects MQTT Client\r\n[![scheduled npm audit](https://github.com/boly38/lo-mqtt-nodejs/actions/workflows/audit.yml/badge.svg)](https://github.com/boly38/lo-mqtt-nodejs/actions/workflows/audit.yml)\r\n\r\nThis project includes **Live Objects Client code samples for the MQTT protocol**.\r\n- LiveObjects [official help](https://liveobjects.orange-business.com/#/cms/documentation-faq) includes [a dev. guide mqtt section](https://liveobjects.orange-business.com/doc/html/lo_manual_v2.html#MQTT_API)\r\n- Samples are written in JavaScript for node.js.\r\n- Samples require minimal common environment described in \"Quick start\" below.\r\n\r\n## Quick start\r\n\r\n### Download\r\n\r\nClone this repository from GitHub:\r\n\r\n````bash\r\n$ git clone https://github.com/boly38/lo-mqtt-nodejs.git\r\n````\r\n\r\n### Prerequisites\r\n\r\n1. Install NodeJs (https://nodejs.org/en/download/)\r\n2. Install samples dependencies (from package.json, example, https://github.com/mqttjs/MQTT.js)\r\n````bash\r\nnpm install\r\n````\r\n\r\n### Setup your own private environment\r\n\r\n- copy the template in a private file\r\n````bash\r\ncp .env.template .env.dontpush.myEnv1\r\ncp .env.template .env.dontpush.myEnv2\r\n````\r\n- edit `.env.dontpush.myEnv1`\r\n- application rely on `.env` file\r\n````bash\r\ncp .env.dontpush.myEnv1 .env\r\n````\r\n### Start lo-device\r\n[lo-device](./src/device-mode/lo-device.js) - a mqtt client using `device mode`.\r\nThis client is able to :\r\n- connect, disconnect, forceReconnect.\r\nand via features:\r\n- receive and handle command, process firmware updates, process config update.\r\n- publish current config/resource, send data messages.\r\n\r\nThe client \"controller\" asks to the user the order via terminal and input.\r\n\r\nController features:\r\n- geolocation: generates X devices from given square : ex. `europe`, `france`, `lyon`.\r\n\r\nTo start the client:\r\n```bash\r\n node ./src/device-mode/lo-device.js\r\n ```\r\n\r\n\r\nThen use `h` to display help.\r\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fboly38%2Flo-mqtt-nodejs","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fboly38%2Flo-mqtt-nodejs","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fboly38%2Flo-mqtt-nodejs/lists"}