{"id":35710748,"url":"https://github.com/sandervandevelde/analog-gauge-reader","last_synced_at":"2026-01-06T04:07:52.333Z","repository":{"id":329644703,"uuid":"1120290539","full_name":"sandervandevelde/analog-gauge-reader","owner":"sandervandevelde","description":"Demonstration on how to use Python and CV to get values from an analog gauge","archived":false,"fork":false,"pushed_at":"2025-12-22T14:26:56.000Z","size":15,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":0,"default_branch":"main","last_synced_at":"2025-12-22T21:11:22.944Z","etag":null,"topics":["analog","azure","cv","docker","edge","gauge","iot","mqtt","operations","python"],"latest_commit_sha":null,"homepage":"https://sandervandevelde.wordpress.com/","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/sandervandevelde.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,"zenodo":null,"notice":null,"maintainers":null,"copyright":null,"agents":null,"dco":null,"cla":null}},"created_at":"2025-12-20T22:15:25.000Z","updated_at":"2025-12-22T14:27:00.000Z","dependencies_parsed_at":null,"dependency_job_id":null,"html_url":"https://github.com/sandervandevelde/analog-gauge-reader","commit_stats":null,"previous_names":["sandervandevelde/analog-gauge-reader"],"tags_count":null,"template":false,"template_full_name":null,"purl":"pkg:github/sandervandevelde/analog-gauge-reader","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/sandervandevelde%2Fanalog-gauge-reader","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/sandervandevelde%2Fanalog-gauge-reader/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/sandervandevelde%2Fanalog-gauge-reader/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/sandervandevelde%2Fanalog-gauge-reader/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/sandervandevelde","download_url":"https://codeload.github.com/sandervandevelde/analog-gauge-reader/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/sandervandevelde%2Fanalog-gauge-reader/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":28221561,"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","status":"online","status_checked_at":"2026-01-06T02:00:07.049Z","response_time":56,"last_error":null,"robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":true,"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":["analog","azure","cv","docker","edge","gauge","iot","mqtt","operations","python"],"created_at":"2026-01-06T04:07:51.475Z","updated_at":"2026-01-06T04:07:52.327Z","avatar_url":"https://github.com/sandervandevelde.png","language":"Python","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Gauge reader\n\n## Introduction\n\nThis Docker module shows how analog gauge images from an IP camera can be read, transformed, and forwarded over MQTT.\n\nRead the full story about this repository in this [blog post](https://sandervandevelde.wordpress.com/2025/12/22/azure-iot-operations-deploying-custom-vision/)\n\n## Credits\n\nThis blog post is co-created with my colleague [Liam Huinck](https://www.linkedin.com/in/liam-huinck/). He wrote the [Python/OpenCV](https://github.com/LiamHuinck/AnalogueGaugeReader) heart of the solution.\n\n## Environment variables\n\nSeveral environment variables are needed to make this work.\n\n### Obligated\n\nThe following two variables will certainly need attention from your side.\n\n```\nrtspUri = \"rtsp://NAME:PASSWORD@IPADDRESS/stream1\"\nbrokerAddress = \"127.0.0.1\"\n```\n\n### Optional\n\nIf the following default values are good enough for you, you can keep these:\n\n```\nbrokerPort = 31883\ndeviceId = \"vision01\"\ntopic = \"vision/gauge/hygro/\"\nframeSkipInterval = 10\nangleCorrectionDegrees = 247.5\n```\n\n*Note*: The MQTT broker access works without credentials.\n\nThe MQTT topic is a concatenation of both the topic and the device id.\n\n## Credits\n\nThis repo is the result of the work done by Liam Huinck \u0026 Sander van de Velde.\n\nIf you like this repo, please give it a star or even fork it. \n\n## Disclaimer\n\nThis repo is showing how values from an analog gauge can be read.\n\nIt is not intended to be used in production as-is.\n\n## Contribute\n\nIf you see something that could be better, feel free to contribute.\n\nWe accept pull requests.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fsandervandevelde%2Fanalog-gauge-reader","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fsandervandevelde%2Fanalog-gauge-reader","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fsandervandevelde%2Fanalog-gauge-reader/lists"}