{"id":16398229,"url":"https://github.com/bradjc/thinq2-influxdb","last_synced_at":"2025-02-23T09:26:03.732Z","repository":{"id":145687400,"uuid":"477953382","full_name":"bradjc/thinq2-influxdb","owner":"bradjc","description":"Publish Thinq2 data to InfluxDB 1.x.","archived":false,"fork":false,"pushed_at":"2022-04-05T13:33:57.000Z","size":5,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-01-04T20:14:14.181Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"Python","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/bradjc.png","metadata":{"files":{"readme":"README.md","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":"2022-04-05T02:54:02.000Z","updated_at":"2022-04-05T02:54:29.000Z","dependencies_parsed_at":null,"dependency_job_id":"ad2bbf4d-291e-4577-bc64-cbc0cb572973","html_url":"https://github.com/bradjc/thinq2-influxdb","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/bradjc%2Fthinq2-influxdb","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/bradjc%2Fthinq2-influxdb/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/bradjc%2Fthinq2-influxdb/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/bradjc%2Fthinq2-influxdb/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/bradjc","download_url":"https://codeload.github.com/bradjc/thinq2-influxdb/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":240295048,"owners_count":19778823,"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-11T05:12:09.860Z","updated_at":"2025-02-23T09:26:03.710Z","avatar_url":"https://github.com/bradjc.png","language":"Python","funding_links":[],"categories":[],"sub_categories":[],"readme":"Thinq2 to InfluxDB 1.x\n======================\n\nThis tool listens for Thinq2 messages and pushes them to an InfluxDB 1.x\ndatabase.\n\nI've only tried this with an LG washing machine.\n\nSetup\n-----\n\nFirst you need to get an oauth token.\n\n```\nsudo pip3 install poetry\ngit clone https://github.com/tinkerborg/thinq2-python\ncd thinq2-python\npoetry install\nCOUNTRY_CODE=US LANGUAGE_CODE=en-US poetry run python example.py\n```\n\nThat will create `state.json`. Copy that file to this repo.\n\nThen you need to install the thinq2 library after running `poetry install`:\n\n```\nsudo pip install git+https://github.com/tinkerborg/thinq2-python\n```\n\n\n\n### Config Files\n\n`/etc/swarm-gateway/influx-lgthinq.conf`:\n\n```\nurl=\nport=\nusername=\npassword=\ndatabase=\n```\n\nand\n\n`/etc/swarm-gateway/lgthinq.conf`:\n\n```\ndevice_id=\nlocation_general=\n```\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fbradjc%2Fthinq2-influxdb","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fbradjc%2Fthinq2-influxdb","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fbradjc%2Fthinq2-influxdb/lists"}