{"id":40837366,"url":"https://github.com/c99koder/ha-medisafe","last_synced_at":"2026-01-21T22:39:44.541Z","repository":{"id":38198780,"uuid":"450944611","full_name":"c99koder/ha-medisafe","owner":"c99koder","description":"View your medication from Medisafe Cloud in Home Assistant","archived":false,"fork":false,"pushed_at":"2023-02-28T10:01:25.000Z","size":247,"stargazers_count":14,"open_issues_count":11,"forks_count":0,"subscribers_count":3,"default_branch":"main","last_synced_at":"2024-04-14T09:13:28.680Z","etag":null,"topics":["home-assistant","homeassistant","medisafe","python"],"latest_commit_sha":null,"homepage":"","language":"Python","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"apache-2.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/c99koder.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":"CONTRIBUTING.md","funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2022-01-22T21:53:25.000Z","updated_at":"2024-03-20T22:05:49.000Z","dependencies_parsed_at":"2023-02-17T17:31:15.028Z","dependency_job_id":null,"html_url":"https://github.com/c99koder/ha-medisafe","commit_stats":null,"previous_names":[],"tags_count":3,"template":false,"template_full_name":null,"purl":"pkg:github/c99koder/ha-medisafe","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/c99koder%2Fha-medisafe","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/c99koder%2Fha-medisafe/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/c99koder%2Fha-medisafe/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/c99koder%2Fha-medisafe/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/c99koder","download_url":"https://codeload.github.com/c99koder/ha-medisafe/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/c99koder%2Fha-medisafe/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":28645551,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-01-21T21:29:11.980Z","status":"ssl_error","status_checked_at":"2026-01-21T21:24:31.872Z","response_time":86,"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":["home-assistant","homeassistant","medisafe","python"],"created_at":"2026-01-21T22:39:44.029Z","updated_at":"2026-01-21T22:39:44.533Z","avatar_url":"https://github.com/c99koder.png","language":"Python","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Medisafe\n\n[![GitHub Release][releases-shield]][releases]\n[![GitHub Activity][commits-shield]][commits]\n[![License][license-shield]](LICENSE)\n\n[![pre-commit][pre-commit-shield]][pre-commit]\n[![Black][black-shield]][black]\n\n[![hacs][hacsbadge]][hacs]\n[![Project Maintenance][maintenance-shield]][user_profile]\n\nView your medication from [Medisafe Cloud](https://www.medisafe.com/) in [Home Assistant](https://www.home-assistant.io/).\nThis integration adds sensors for today's upcoming, taken, skipped, and missed doses, plus sensors for each medication's remaining pills.\nThe integration also provides a calendar of upcoming events and a to-do list of medication that need to be refilled.\n\n![example][exampleimg]\n\n## Installation\n\n### Install with HACS (recommended)\n\n1. Add `https://github.com/c99koder/ha-medisafe` as a custom repository as Type: `Integration`\n2. Click install under \"Medisafe\" in the Integration tab\n3. Restart Home Assistant\n4. In the HA UI go to \"Configuration\" -\u003e \"Integrations\" click \"+\" and search for \"Medisafe\"\n\n### Install manually\n\n1. Using the tool of choice open the directory (folder) for your HA configuration (where you find `configuration.yaml`).\n2. If you do not have a `custom_components` directory (folder) there, you need to create it.\n3. In the `custom_components` directory (folder) create a new folder called `medisafe`.\n4. Download _all_ the files from the `custom_components/medisafe/` directory (folder) in this repository.\n5. Place the files you downloaded in the new directory (folder) you created.\n6. Restart Home Assistant\n7. In the HA UI go to \"Configuration\" -\u003e \"Integrations\" click \"+\" and search for \"Medisafe\"\n\nUsing your HA configuration directory (folder) as a starting point you should now also have this:\n\n```text\ncustom_components/medisafe/sensor.py\ncustom_components/medisafe/__init__.py\ncustom_components/medisafe/api.py\ncustom_components/medisafe/manifest.json\ncustom_components/medisafe/translations\ncustom_components/medisafe/translations/en.json\ncustom_components/medisafe/const.py\ncustom_components/medisafe/config_flow.py\n```\n\n## Configuration is done in the UI\n\nData is updated every 15 minutes, which can be adjusted by changing `SCAN_INTERVAL` in `__init__.py`.\n\nThe sample card above was built using [auto-entities](https://github.com/thomasloven/lovelace-auto-entities):\n\n```yaml\ntype: horizontal-stack\ncards:\n  - type: entity\n    entity: sensor.medication_taken\n    name: Taken\n  - type: entity\n    entity: sensor.medication_missed\n    name: Missed\n  - type: entity\n    entity: sensor.medication_dismissed\n    name: Skipped\n```\n\n```yaml\ntype: custom:auto-entities\nfilter:\n  include:\n    - attributes:\n        integration: medisafe\n  exclude:\n    - entity_id: sensor.medication_*\n    - entity_id: calendar.*\n    - entity_id: todo.*\nsort:\n  method: state\n  numeric: true\ncard:\n  type: glance\n  title: Remaining Medication\n  columns: 4\n```\n\n## Contributions are welcome!\n\nIf you want to contribute to this please read the [Contribution guidelines](CONTRIBUTING.md)\n\n## Credits\n\nThis project was generated from [@oncleben31](https://github.com/oncleben31)'s [Home Assistant Custom Component Cookiecutter](https://github.com/oncleben31/cookiecutter-homeassistant-custom-component) template.\n\nCode template was mainly taken from [@Ludeeus](https://github.com/ludeeus)'s [integration_blueprint][integration_blueprint] template\n\n## License\n\nCopyright (C) 2024 Sam Steele. Licensed under the Apache License, Version 2.0 (the \"License\"); you may not use this file except in compliance with the License. You may obtain a copy of the License at\n\nhttp://www.apache.org/licenses/LICENSE-2.0\n\nUnless required by applicable law or agreed to in writing, software distributed under the License is distributed on an \"AS IS\" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the specific language governing permissions and limitations under the License.\n\n---\n\n[integration_blueprint]: https://github.com/custom-components/integration_blueprint\n[black]: https://github.com/psf/black\n[black-shield]: https://img.shields.io/badge/code%20style-black-000000.svg?style=for-the-badge\n[commits-shield]: https://img.shields.io/github/commit-activity/y/c99koder/ha-medisafe.svg?style=for-the-badge\n[commits]: https://github.com/c99koder/ha-medisafe/commits/main\n[hacs]: https://hacs.xyz\n[hacsbadge]: https://img.shields.io/badge/HACS-Custom-orange.svg?style=for-the-badge\n[exampleimg]: example.png\n[license-shield]: https://img.shields.io/github/license/c99koder/ha-medisafe.svg?style=for-the-badge\n[maintenance-shield]: https://img.shields.io/badge/maintainer-%40c99koder-blue.svg?style=for-the-badge\n[pre-commit]: https://github.com/pre-commit/pre-commit\n[pre-commit-shield]: https://img.shields.io/badge/pre--commit-enabled-brightgreen?style=for-the-badge\n[releases-shield]: https://img.shields.io/github/release/c99koder/ha-medisafe.svg?style=for-the-badge\n[releases]: https://github.com/c99koder/ha-medisafe/releases\n[user_profile]: https://github.com/c99koder\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fc99koder%2Fha-medisafe","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fc99koder%2Fha-medisafe","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fc99koder%2Fha-medisafe/lists"}