{"id":27351502,"url":"https://github.com/mugifly/lmag-server","last_synced_at":"2025-07-14T19:35:06.823Z","repository":{"id":147133022,"uuid":"143910305","full_name":"mugifly/lmag-server","owner":"mugifly","description":"Unofficial API server for leafee mag (IoT sensor for windows and doors). Tested on Raspberry Pi.","archived":false,"fork":false,"pushed_at":"2018-08-07T18:23:12.000Z","size":4,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":2,"default_branch":"master","last_synced_at":"2025-04-19T21:17:59.817Z","etag":null,"topics":["doors","iot","sensor","unofficial"],"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/mugifly.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,"zenodo":null}},"created_at":"2018-08-07T18:11:06.000Z","updated_at":"2019-06-03T14:46:14.000Z","dependencies_parsed_at":"2023-04-13T07:46:25.624Z","dependency_job_id":null,"html_url":"https://github.com/mugifly/lmag-server","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/mugifly/lmag-server","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mugifly%2Flmag-server","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mugifly%2Flmag-server/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mugifly%2Flmag-server/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mugifly%2Flmag-server/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/mugifly","download_url":"https://codeload.github.com/mugifly/lmag-server/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mugifly%2Flmag-server/sbom","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":265336485,"owners_count":23749180,"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":["doors","iot","sensor","unofficial"],"created_at":"2025-04-12T20:01:44.168Z","updated_at":"2025-07-14T19:35:06.811Z","avatar_url":"https://github.com/mugifly.png","language":"JavaScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# lmag-server\n\nUnofficial WebAPI server for mag (door sensor)\n\n\n----\n\n\n## Notice\n\n* This software is published under testing phase.\n* This is unofficial software for the convenience of users.\n* I don't any guarantee about this software.\n* I don't have any relationship with the vendor company of the sensor product.\n\n\n----\n\n\n## Get Started\n\nIt tested on Raspberry Pi Zero W with Raspbian Stretch and Node v9.\n\n```\n$ sudo apt-get install bluetooth bluez libbluetooth-dev libudev-dev\n\n$ npm install\n\n$ sudo npm start\n```\n\nNow, you can get a sensor status with using `GET` request to WebAPI:\n`http://localhost:3000/xx:xx:xx:xx:xx:xx`\n(NOTE: `xx:xx:xx:xx:xx:xx` is a device address of your mag.)\n\nThe following JSON is an example of a response from WebAPI.\nThe status value can be \"OPEN\", \"CLOSE\" or \"UNKNOWN\".\n```\n{\n\t\"status\": \"CLOSE\"\n}\n```\n\n\n----\n\n\n## WebAPI Document\n\n #TODO\n\n\n----\n\n\n## License\n\n```\nThe MIT License (MIT)\nCopyright (c) 2018 Masanori Ohgita\n```\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmugifly%2Flmag-server","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fmugifly%2Flmag-server","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmugifly%2Flmag-server/lists"}