{"id":16998961,"url":"https://github.com/maxandersen/saveeye-homeassistant","last_synced_at":"2025-07-18T10:35:49.678Z","repository":{"id":153271325,"uuid":"625033911","full_name":"maxandersen/saveeye-homeassistant","owner":"maxandersen","description":"saveeye-homeassistant","archived":false,"fork":false,"pushed_at":"2023-04-08T09:46:10.000Z","size":3,"stargazers_count":5,"open_issues_count":1,"forks_count":1,"subscribers_count":3,"default_branch":"main","last_synced_at":"2025-03-22T07:31:35.138Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":null,"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/maxandersen.png","metadata":{"files":{"readme":"readme.adoc","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":"2023-04-07T22:15:19.000Z","updated_at":"2023-12-06T10:52:35.000Z","dependencies_parsed_at":"2023-04-28T22:01:46.177Z","dependency_job_id":null,"html_url":"https://github.com/maxandersen/saveeye-homeassistant","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/maxandersen/saveeye-homeassistant","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/maxandersen%2Fsaveeye-homeassistant","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/maxandersen%2Fsaveeye-homeassistant/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/maxandersen%2Fsaveeye-homeassistant/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/maxandersen%2Fsaveeye-homeassistant/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/maxandersen","download_url":"https://codeload.github.com/maxandersen/saveeye-homeassistant/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/maxandersen%2Fsaveeye-homeassistant/sbom","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":265742932,"owners_count":23820937,"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":[],"created_at":"2024-10-14T04:06:38.820Z","updated_at":"2025-07-18T10:35:49.670Z","avatar_url":"https://github.com/maxandersen.png","language":null,"funding_links":[],"categories":[],"sub_categories":[],"readme":"# Saveeye Homeassistant\n\nSaveye is a device that uses impulses of light to measure the amount of electricity used in your energy meter. It is available from https://saveeye.dk. \n\nIt has support for MQTT but the documentation from https://github.com/saveeye/SaveEye-HA-Guide (previously https://saveeye.dk/mqtt) does not match what data I get I created this repo to help others get started. \n\nIt is still very much a work in progress - PR's and issues are welcome.\n\n## Setup\n\nFollow the guide at https://github.com/saveeye/SaveEye-HA-Guide to get your Saveeye device setup with MQTT. If the data you receive does not match what that guide tells you try what I have below.\n\n## Homeassistant MQTT Sensors\n\nThe basic config to get a device with sensors in Homeassistant to capture current Watt and total Wh is as follows:\n\n```yaml\nmqtt:\n  sensor:\n    - state_topic: \"saveeye/telemetry\"\n      name: Device Serial Number\n      unique_id: \"saveeye_DeviceSerialNumber\"\n      device_class: \"enum\"\n      icon: mdi:identifier\n      value_template: '{{ value_json[\"saveeyeDeviceSerialNumber\"] }}'\n      device:\n        identifiers: \"SaveEye-General\"\n        manufacturer: \"SaveEye.eu\"\n        name: \"SaveEye Device\"\n        model: \"V1\"\n        \n    - unique_id: saveeye_currentConsumptionWatt\n      name: Current Consumption Watt  \n      state_topic: \"saveeye/telemetry\"\n      value_template: \"{{value_json.currentConsumptionWatt}}\"\n      device_class: power\n      unit_of_measurement: W\n      state_class: measurement\n      device:\n        identifiers: \"SaveEye-General\"\n        manufacturer: \"SaveEye.eu\"\n        name: \"SaveEye Device\"\n        model: \"V1\"\n\n    - unique_id: saveeye_totalConsumptionWh\n      name: Total Consumption Wh\n      state_topic: \"saveeye/telemetry\"\n      value_template: \"{{value_json.totalConsumptionWh}}\"\n      device_class: energy\n      unit_of_measurement: \"Wh\"\n      state_class: total_increasing\n      device:\n        identifiers: \"SaveEye-General\"\n        manufacturer: \"SaveEye.eu\"\n        name: \"SaveEye Device\"\n        model: \"V1\"\n```\n\n### Additional Sensors\n\nThe following additional sensors are available from the Saveeye device. I'm not including them by default as haven't fonud something to use them for yet:\n\n```yaml\n    - unique_id: saveeye_pulses\n      name: Pulses\n      state_topic: \"saveeye/telemetry\"\n      value_template: \"{{value_json.pulses}}\"\n      device:\n        identifiers: \"SaveEye-General\"\n        manufacturer: \"SaveEye.eu\"\n        name: \"SaveEye Device\"\n        model: \"V1\"\n    - unique_id: saveeye_latestinterval\n      name: Latest Interval\n      state_topic: \"saveeye/telemetry\"\n      value_template: \"{{value_json.latestInterval}}\"\n      device:\n        identifiers: \"SaveEye-General\"\n        manufacturer: \"SaveEye.eu\"\n        name: \"SaveEye Device\"\n        model: \"V1\"\n    - unique_id: saveeye_timesincelatestpulse\n      name: Time since latest pulse\n      state_topic: \"saveeye/telemetry\"\n      value_template: \"{{value_json.timeSinceLatestPulse}}\"\n      device:\n        identifiers: \"SaveEye-General\"\n        manufacturer: \"SaveEye.eu\"\n        name: \"SaveEye Device\"\n        model: \"V1\"\n```\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmaxandersen%2Fsaveeye-homeassistant","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fmaxandersen%2Fsaveeye-homeassistant","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmaxandersen%2Fsaveeye-homeassistant/lists"}