mperlet / pydect200 Goto Github PK
View Code? Open in Web Editor NEWFritz-AVM DECT200 Python API
License: MIT License
Fritz-AVM DECT200 Python API
License: MIT License
OS
ProductName: Mac OS X
ProductVersion: 10.11.6
Python
Python 2.7.10
** FRITZ!OS **
FRITZ!Box Fon WLAN 7390
FRITZ!OS 06.52
Welcome to PyDect200 v0.0.14, the Python AVM-DECT200 API
Please insert your fritzbox-password:
Thank you, please wait few seconds...
Device ID: 087610161956
Device Name: FRITZ!DECT 200 #1
Device State: ON
Device Power: 0.42W
Device Energy: 772Wh
Device Temperature: inval degree Celsius
Hi!
On my recently updated fritz box devices are not found:
f = PyDect200('password')
f.get_device_names()
Expected result: devices dict.
Actual Result:
{u'inval':u'inval'}
Group Hue is a group with one device in it namely FRITZ!DECT 200 #1
Device ID: DB:55:D2-900
Device Name: Hue
Device State: ON
Device Power: HTTP/1.0 500 Internal Server ErrorContent-Length: 0Content-Type: text/plain; charset=utf-8W
Device Energy: HTTP/1.0 500 Internal Server ErrorContent-Length: 0Content-Type: text/plain; charset=utf-8Wh
Device Temperature: inval degree Celsius
Device ID: 087610161956
Device Name: FRITZ!DECT 200 #1
Device State: ON
Device Power: 0.0W
Device Energy: 775Wh
Device Temperature: inval degree Celsius
Hi, I need to use info like temperature or power usage outside your example.
Please, can you help me to assign all info extracted from PyDect200 to some variables tha can be used outside the cycle "or dev_id in info.keys():"?
I'm trying to assign it to a variable but I catch always "syntax error"...
Thanks
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.