{"id":16769526,"url":"https://github.com/cmur2/python-veml6070","last_synced_at":"2025-04-10T19:33:52.613Z","repository":{"id":55151488,"uuid":"59962711","full_name":"cmur2/python-veml6070","owner":"cmur2","description":"A python library for accessing the VEML6070 digital UV light sensor from Vishay","archived":false,"fork":false,"pushed_at":"2023-05-12T11:34:46.000Z","size":47,"stargazers_count":9,"open_issues_count":1,"forks_count":3,"subscribers_count":2,"default_branch":"master","last_synced_at":"2025-03-24T17:12:06.030Z","etag":null,"topics":["i2c","iot","light","python","raspberrypi","sensor","smbus","uva","vishay"],"latest_commit_sha":null,"homepage":"https://mycroba.se/mirror-redirect/python-veml6070","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/cmur2.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,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2016-05-29T20:35:02.000Z","updated_at":"2022-01-03T12:39:16.000Z","dependencies_parsed_at":"2025-02-17T21:32:46.560Z","dependency_job_id":"a730cc54-57d0-40dc-9827-4f99030c1f6f","html_url":"https://github.com/cmur2/python-veml6070","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/cmur2%2Fpython-veml6070","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/cmur2%2Fpython-veml6070/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/cmur2%2Fpython-veml6070/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/cmur2%2Fpython-veml6070/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/cmur2","download_url":"https://codeload.github.com/cmur2/python-veml6070/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":248281422,"owners_count":21077423,"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":["i2c","iot","light","python","raspberrypi","sensor","smbus","uva","vishay"],"created_at":"2024-10-13T06:14:21.034Z","updated_at":"2025-04-10T19:33:52.593Z","avatar_url":"https://github.com/cmur2.png","language":"Python","funding_links":[],"categories":[],"sub_categories":[],"readme":"# python-veml6070\n\n![ci](https://github.com/cmur2/python-veml6070/workflows/ci/badge.svg?branch=master)\n\nA Python library for accessing the [VEML6070 digital UV light sensor](http://www.vishay.com/docs/84277/veml6070.pdf) from Vishay via `python-smbus` using the I2C interface.\n\nDefault settings are suitable for Raspberry Pi 2 and 3 and was successfully tested using a [breakout](https://github.com/watterott/VEML6070-Breakout).\n\nI created this Python library in style of e.g. [python-tsl2591](https://github.com/maxlklaxl/python-tsl2591) (of the TSL2591 light sensor) since I found either [python code](https://github.com/ControlEverythingCommunity/VEML6070) broken for my hardware or [code targeted at Arduino](https://github.com/kriswiner/VEML6070).\n\n## Usage\n\nConsult the [datasheet](https://www.vishay.com/docs/84277/veml6070.pdf), the [application notes](https://www.vishay.com/docs/84310/designingveml6070.pdf) and see [demo.py](demo.py) for clues how to use this library.\n\nNot all functions of the chip are supported, especially not the interrupt handling since I had no use for this. Please send pull requests for improvements and bug fixes!\n\n## Serious Flaws before September 2019\n\nIn September 2019 it was discovered (and fixed) that:\n\n- previously the sensor was never shutdown between measurements which wastes power but still takes measurements successfully\n- the UVA light intensity was calculated wrongly (too high) for `rset != RSET_240K` due to wrong compensation: higher `rset` leads to higher sampling time leads to higher absolute ADC step counts which *should* lead to every ADC step indicating a smaller amount of `W/(m*m)` of UVA power and a higher precision of the final UVA power but it wrongly behaved the opposite way. The `integration_time` worked correctly all the time.\n\n## Develop\n\nRun `make help` to find out about the available development commands.\n\n## License\n\nPython files in this repository are released under the [MIT license](LICENSE).\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fcmur2%2Fpython-veml6070","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fcmur2%2Fpython-veml6070","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fcmur2%2Fpython-veml6070/lists"}