{"id":20563365,"url":"https://github.com/pilotak/esphome-eeprom","last_synced_at":"2025-04-14T14:42:40.016Z","repository":{"id":249307999,"uuid":"831155258","full_name":"pilotak/esphome-eeprom","owner":"pilotak","description":"Lets you write/read EEPROM in lambdas","archived":false,"fork":false,"pushed_at":"2024-12-27T20:17:22.000Z","size":17,"stargazers_count":10,"open_issues_count":1,"forks_count":1,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-03-28T03:41:20.980Z","etag":null,"topics":["eeprom","esphome","esphome-component","i2c","restore"],"latest_commit_sha":null,"homepage":"","language":"C++","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/pilotak.png","metadata":{"files":{"readme":"README.md","changelog":"CHANGELOG.md","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":"2024-07-19T19:44:55.000Z","updated_at":"2025-01-20T06:24:38.000Z","dependencies_parsed_at":"2024-08-24T10:25:45.674Z","dependency_job_id":"faa60363-a0b5-4b5e-973f-eb1df2c03904","html_url":"https://github.com/pilotak/esphome-eeprom","commit_stats":null,"previous_names":["pilotak/esphome-eeprom"],"tags_count":1,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/pilotak%2Fesphome-eeprom","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/pilotak%2Fesphome-eeprom/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/pilotak%2Fesphome-eeprom/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/pilotak%2Fesphome-eeprom/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/pilotak","download_url":"https://codeload.github.com/pilotak/esphome-eeprom/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":248898626,"owners_count":21179805,"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":["eeprom","esphome","esphome-component","i2c","restore"],"created_at":"2024-11-16T04:17:51.979Z","updated_at":"2025-04-14T14:42:40.010Z","avatar_url":"https://github.com/pilotak.png","language":"C++","funding_links":[],"categories":[],"sub_categories":[],"readme":"# esphome-eeprom\n\n[![build](https://github.com/pilotak/esphome-eeprom/actions/workflows/build.yml/badge.svg)](https://github.com/pilotak/esphome-eeprom/actions/workflows/build.yml)\n\nLets you write/read EEPROM in lambdas\n\n```yaml\nexternal_components:\n  - source: github://pilotak/esphome-eeprom\n    components: [i2c_eeprom]\n\ni2c:\n  scl: 16\n  sda: 17\n  id: i2c_1\n\ni2c_eeprom:\n  - id: eeprom_1\n    size: 16KB\n  - id: eeprom_2\n    size: 32KB\n    i2c_id: i2c_1\n    address: 0x52\n\nsome_option:\n  on_something:\n    - lambda: |-\n        uint8_t write_byte = 0b1;\n        eeprom_1-\u003eput(0x0001, write_byte);\n\n        uint8_t read_byte;\n        eeprom_1-\u003eget(0x0001, \u0026read_byte);\n        ESP_LOGD(\"eeprom\",\"Read: 0x%02X \", read_byte);\n```\n\n\u003e Multiple devices can be used at the same time.\n\n### Configuration\n\n- **size** - _(required)_ Set the EEPPROM size (**in bits**, not bytes): `1KB`, `2KB`, `4KB`, `8KB`, `16KB`, `32KB`, `64KB`, `128KB`, `256KB`, `512KB`\n- **id** - _(required)_ Unique ID for use in lambdas\n- **i2c_id** - _(optional)_ ID of the I2C bus\n- **address** - _(optional)_(default 0x50) I2C address\n- **on_setup** - _(optional)_ Automation to run after setup\n\nPlease see [example](./example.yaml) how to use it action.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fpilotak%2Fesphome-eeprom","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fpilotak%2Fesphome-eeprom","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fpilotak%2Fesphome-eeprom/lists"}