{"id":25999542,"url":"https://github.com/mperlet/pydect200","last_synced_at":"2025-03-05T18:29:12.102Z","repository":{"id":13657311,"uuid":"16350867","full_name":"mperlet/PyDect200","owner":"mperlet","description":"Fritz-AVM DECT200 Python API","archived":false,"fork":false,"pushed_at":"2018-11-26T09:15:28.000Z","size":31,"stargazers_count":15,"open_issues_count":3,"forks_count":7,"subscribers_count":6,"default_branch":"master","last_synced_at":"2025-03-04T04:18:10.263Z","etag":null,"topics":["api","avm","dect","fritz","fritzbox","python"],"latest_commit_sha":null,"homepage":"","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/mperlet.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}},"created_at":"2014-01-29T16:34:03.000Z","updated_at":"2024-02-09T14:56:00.000Z","dependencies_parsed_at":"2022-09-15T22:50:18.439Z","dependency_job_id":null,"html_url":"https://github.com/mperlet/PyDect200","commit_stats":null,"previous_names":["mperlet/fritzl"],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mperlet%2FPyDect200","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mperlet%2FPyDect200/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mperlet%2FPyDect200/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mperlet%2FPyDect200/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/mperlet","download_url":"https://codeload.github.com/mperlet/PyDect200/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":242078785,"owners_count":20068607,"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":["api","avm","dect","fritz","fritzbox","python"],"created_at":"2025-03-05T18:29:11.280Z","updated_at":"2025-03-05T18:29:12.093Z","avatar_url":"https://github.com/mperlet.png","language":"Python","funding_links":[],"categories":[],"sub_categories":[],"readme":"PyDect200\n======\n[![Build Status](https://travis-ci.org/mperlet/PyDect200.svg?branch=master)](https://travis-ci.org/mperlet/PyDect200)\n![pylint Score](https://mperlet.github.io/pybadge/badges/9.12.svg)\n[![Download format](http://img.shields.io/pypi/format/PyDect200.svg)](https://pypi.python.org/pypi/PY_DECT200/)\n[![Downloads](http://img.shields.io/pypi/dm/PyDect200.svg)](https://pypi.python.org/pypi/PY_DECT200/)\n[![License](http://img.shields.io/pypi/l/PyDect200.svg)](https://pypi.python.org/pypi/PY_DECT200/)\n[![Latest Version](http://img.shields.io/pypi/v/PyDect200.svg)](https://pypi.python.org/pypi/PY_DECT200/)\n\n\nControl the Fritz-AVM DECT200 (switch a electric socket)\nand Fritz-AVM PowerLine 546E\n\n### Install\n\n```\npip install PyDect200\n```\n\n### Demo\n\n#### Demo (Github Style)\n\n```\ncurl https://raw.githubusercontent.com/mperlet/PyDect200/master/Example/PyDect200_Demo.py | python\n```\n\n#### Demo (git clone)\n\n```\ngit clone git@github.com:mperlet/PyDect200.git\n\n./PyDect200/Example/PyDect200_Demo.py\n```\n\n### Example Code\n\n```\nfrom PyDect200 import PyDect200\nf = PyDect200('fitzbox_password')\n# or with username PyDect200('fritzbox_password', username='fritzbox_username')\n\nf.get_device_names()\n# {'16': 'Beleuchtung', '17': 'Fernseher'}\n\nf.get_info()\n# {u'16': u'0', u'17': u'0'}\n\nf.switch_onoff(16,1)\n#\t\t{u'DeviceID': u'16',\n#\t\t u'RequestResult': u'1',\n#\t\t u'Value': u'0',\n#\t\t u'ValueToSet': u'1'}\n\nf.get_power()\n# {u'16': 68.95, u'17': 0.0}\n```\n\n### Tested with\n\n* Python2.7 / Python3.4\n* Fritzbox 7270\n* FRITZ!OS: 06.05\n* AVM Dect200\n\n******************\n\n* Python2.7\n* Fritzbox 7490\n* FRITZ!OS: 6.36 Labor\n* Dect200\n* PowerLine 546E\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmperlet%2Fpydect200","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fmperlet%2Fpydect200","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmperlet%2Fpydect200/lists"}