{"id":20310173,"url":"https://github.com/ktooi/pyam232x","last_synced_at":"2026-05-07T20:42:37.171Z","repository":{"id":62578634,"uuid":"337410211","full_name":"ktooi/pyam232x","owner":"ktooi","description":"Measure and show temperature, humidity and discomfort from AM2321/AM2322.","archived":false,"fork":false,"pushed_at":"2022-10-12T16:57:13.000Z","size":47,"stargazers_count":0,"open_issues_count":1,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-02-15T03:46:54.805Z","etag":null,"topics":["raspberry","raspberry-pi","sensor"],"latest_commit_sha":null,"homepage":"https://pypi.org/project/pyam232x/","language":"Python","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/ktooi.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2021-02-09T13:17:12.000Z","updated_at":"2022-10-12T16:58:21.000Z","dependencies_parsed_at":"2022-11-03T21:01:48.568Z","dependency_job_id":null,"html_url":"https://github.com/ktooi/pyam232x","commit_stats":null,"previous_names":[],"tags_count":2,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ktooi%2Fpyam232x","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ktooi%2Fpyam232x/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ktooi%2Fpyam232x/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ktooi%2Fpyam232x/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/ktooi","download_url":"https://codeload.github.com/ktooi/pyam232x/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":241809619,"owners_count":20023787,"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":["raspberry","raspberry-pi","sensor"],"created_at":"2024-11-14T17:30:22.957Z","updated_at":"2026-05-07T20:42:32.138Z","avatar_url":"https://github.com/ktooi.png","language":"Python","funding_links":[],"categories":[],"sub_categories":[],"readme":"# pyam232x\n\n[![Version](https://badge.fury.io/py/pyam232x.svg)](https://pypi.org/project/pyam232x/) [![Downloads](https://static.pepy.tech/personalized-badge/pyam232x?period=total\u0026units=international_system\u0026left_color=grey\u0026right_color=brightgreen\u0026left_text=Downloads)](https://pepy.tech/project/pyam232x) [![CodeQL](https://github.com/ktooi/pyam232x/workflows/CodeQL/badge.svg)](https://github.com/ktooi/pyam232x/actions?query=workflow%3ACodeQL+branch%3Amain) [![doctest](https://github.com/ktooi/pyam232x/workflows/doctest/badge.svg)](https://github.com/ktooi/pyam232x/actions?query=workflow%3Adoctest+branch%3Amain) [![pep8](https://github.com/ktooi/pyam232x/workflows/pep8/badge.svg)](https://github.com/ktooi/pyam232x/actions?query=workflow%3Apep8+branch%3Amain)\n\npyam232x は、 AM2321/AM2322 という温湿度センサーを制御する為のコマンドと API 一式です。\n\n## Overview\n\nこのモジュールは、 AM2321/AM2322 から値を読み取って画面に出力するコマンドと、 AM2321/AM2322 を制御する為の API を提供します。\n\n## Getting Started\n\n### Prerequisites\n\n本モジュールは AM2322 を実装済みの下記環境で動作確認を行っています。\n\n*   Raspberry Pi 4 Model B (4GB)\n*   OS:\n\n    ```\n    $ lsb_release -a\n    No LSB modules are available.\n    Distributor ID: Raspbian\n    Description:    Raspbian GNU/Linux 10 (buster)\n    Release:        10\n    Codename:       buster\n    ```\n*   Python: 2.7.16, 3.7.3\n\n### Installing\n\n1.  pyam232x をインストールします。\n\n    ```\n    pip install pyam232x\n    ```\n\n以上。\n\n### Usage\n\n*   気温を取得する。\n\n    ```\n    $ am232x temperature\n    17.9\n    ```\n*   湿度を取得する。\n\n    ```\n    $ am232x humidity\n    35.1\n    ```\n*   不快指数を取得する。\n\n    ```\n    $ am232x discomfort\n    66.282484\n    ```\n*   JSON 形式で気温、湿度、不快指数を取得する。\n\n    ```\n    $ am232x json\n    {\"discomfort\": 66.282484, \"temperature\": 21.6, \"humidity\": 35.1}\n    ```\n\n## Configuration\n\n\n\n## Authors\n\n*   **Kodai Tooi** [GitHub](https://github.com/ktooi), [Qiita](https://qiita.com/ktooi)\n\n## License\n\nThis project is licensed under the MIT License - see the [LICENSE](LICENSE) file for details\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fktooi%2Fpyam232x","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fktooi%2Fpyam232x","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fktooi%2Fpyam232x/lists"}