{"id":22352093,"url":"https://github.com/bertreb/pimatic-ina219","last_synced_at":"2025-03-26T12:10:55.891Z","repository":{"id":57324267,"uuid":"318806812","full_name":"bertreb/pimatic-ina219","owner":"bertreb","description":"Pimatic plugin for the INA219 current and power i2c sensor","archived":false,"fork":false,"pushed_at":"2023-04-15T18:36:44.000Z","size":325,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-03-18T11:35:45.204Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"CoffeeScript","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/bertreb.png","metadata":{"files":{"readme":"README.md","changelog":"HISTORY.md","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":"2020-12-05T14:20:35.000Z","updated_at":"2023-04-15T18:31:26.000Z","dependencies_parsed_at":"2022-09-21T00:54:56.831Z","dependency_job_id":null,"html_url":"https://github.com/bertreb/pimatic-ina219","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/bertreb%2Fpimatic-ina219","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/bertreb%2Fpimatic-ina219/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/bertreb%2Fpimatic-ina219/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/bertreb%2Fpimatic-ina219/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/bertreb","download_url":"https://codeload.github.com/bertreb/pimatic-ina219/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":245650496,"owners_count":20650105,"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-12-04T12:17:06.548Z","updated_at":"2025-03-26T12:10:55.835Z","avatar_url":"https://github.com/bertreb.png","language":"CoffeeScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# pimatic-ina219   \n\nPimatic plugin for the INA219 current and power i2c sensor\n\n![](assets/ina219.png)  \n\nThis plugin makes an ina219 based device available in Pimatic. The Ina219 device is connected via the I2C port of your computer.\nThe plugin is tested on a raspberry pi.\n\nThe plugin can be installed via the plugins page of Pimatic.\n\n## Config of the plugin\n```\n{\n  debug: \"Debug mode. Writes debug messages to the Pimatic log, if set to true.\"\n}\n```\n\n## Config of an Ina219 Device\n\nAfter installation of the plugin (and restart) devices can be added via the devices pages in Pimatic.\n\nDevice configuraton:\n\n```\n{\n device: \"Device number to use (prefix /dev/i2c- is automatically added)\"\n   default: 1\n address: \"Address of the sensor\"\n   enum: [0x40,0x41,0x44,0x45]\n   default: 0x40\n interval: \"Sensor read interval in ms\"\n   default: 10000\n}\n```\n\nThe Ina219 provides 2 attributes\n- Voltage (V)\n- Current (A)\n\nThe attributes are updated and visible in the Gui every \\\u003cinterval\\\u003e milliseconds.\n\n\n---\nThis plugin is based on the Ina219 library from [brettmarl](https://github.com/brettmarl/node-ina219#readme).\n\nThe minimum node requirement for this plugin is node v8!\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fbertreb%2Fpimatic-ina219","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fbertreb%2Fpimatic-ina219","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fbertreb%2Fpimatic-ina219/lists"}