{"id":17348692,"url":"https://github.com/tkmru/remo_to_mackerel","last_synced_at":"2026-07-06T00:32:04.467Z","repository":{"id":68294968,"uuid":"189755476","full_name":"tkmru/remo_to_mackerel","owner":"tkmru","description":null,"archived":false,"fork":false,"pushed_at":"2019-06-06T10:30:11.000Z","size":123,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":2,"default_branch":"master","last_synced_at":"2025-03-27T11:43:45.872Z","etag":null,"topics":["aws-lambda","aws-lambda-python","mackerel","nature-remo","smarthome"],"latest_commit_sha":null,"homepage":null,"language":"Python","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/tkmru.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":"2019-06-01T16:37:20.000Z","updated_at":"2019-06-06T10:30:13.000Z","dependencies_parsed_at":"2023-04-12T13:01:43.109Z","dependency_job_id":null,"html_url":"https://github.com/tkmru/remo_to_mackerel","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/tkmru/remo_to_mackerel","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/tkmru%2Fremo_to_mackerel","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/tkmru%2Fremo_to_mackerel/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/tkmru%2Fremo_to_mackerel/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/tkmru%2Fremo_to_mackerel/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/tkmru","download_url":"https://codeload.github.com/tkmru/remo_to_mackerel/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/tkmru%2Fremo_to_mackerel/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":35174071,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-05-26T15:22:16.424Z","status":"online","status_checked_at":"2026-07-05T02:00:06.290Z","response_time":100,"last_error":null,"robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":true,"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":["aws-lambda","aws-lambda-python","mackerel","nature-remo","smarthome"],"created_at":"2024-10-15T16:53:13.200Z","updated_at":"2026-07-06T00:32:04.439Z","avatar_url":"https://github.com/tkmru.png","language":"Python","funding_links":[],"categories":[],"sub_categories":[],"readme":"# remo to mackerel\nThis code get my room temperature from [Nature Remo](https://nature.global/), and post it as service metrics to [Mackerel](https://mackerel.io/ja/) by AWS Lambda.\n\n![image](./img/mackerel.png)\n\n## Usage\nset Nature Remo api token, Mackerel api key to environment variable.\n\n```\n$ export REMOTOKEN=xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx\n$ export MACKERELKEY=xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx\n$ pip install requests\n$ python lambda_function.py\n```\n\n### work on AWS Lambda\n\n![image](./img/lambda.png)\n\n```\n$ mkdir packages\n$ cd packages/\n$ pip install requests -t .\n$ zip -r9 ../function.zip .\n$ zip -g function.zip lambda_function.py\n```\n\nand upload function.zip to AWS Lambda.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ftkmru%2Fremo_to_mackerel","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Ftkmru%2Fremo_to_mackerel","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ftkmru%2Fremo_to_mackerel/lists"}