fstercq / freepybox Goto Github PK
View Code? Open in Web Editor NEWManage your freebox in Python using the Freebox OS API
Manage your freebox in Python using the Freebox OS API
Bonjour,
Tu sembles très bien informé sur les API de Free qui ne sont pas encore documentées !
Sais-tu s'il existe une API pour éteindre la Freebox ? J'ai vu les API Player qui permettent de zapper sur une chaine (tout en allumant la Freebox) en utilisant player/{player_id}/api/{player_api_version}/control/open
, et donc je me demandais si quelque chose d'équivalent existe pour l'éteindre ?
Merci 🙏
Using exemple-wan.py, i have this error message :
fbx_connection_status_details = fbx.connection.get_status_details()
AttributeError: 'Freepybox' object has no attribute 'connection'
exemple-wan.py is running on form Ubuntu 20.04 / Python 3
Freebox POP server (v8) is used
Would it be possible to make a new release of this library on PyPI? I'm using it in a component for Home Assistant (see this PR) and they require all third party dependencies to be fetchable from PyPI. Since you've merged a few changes lately, would you mind publishing a new version?
Hello, I am trying to reboot my FreeboxV6 why this command:
fbx.system.reboot()
And I am getting the following error: insufficient_rights
.
Details:
pi@raspberrypi:~/freepybox $ python3 freeboxV6-reboot.py
Traceback (most recent call last):
File "freeboxV6-reboot.py", line 23, in <module>
fbx.system.reboot()
File "/home/pi/freepybox/freepybox/api/system.py", line 18, in reboot
self._access.post('system/reboot')
File "/home/pi/freepybox/freepybox/access.py", line 39, in post
raise HttpRequestError(resp['error_code'])
freepybox.exceptions.HttpRequestError: insufficient_rights
It seems that requested rights allowed to this app are not sufficient for reboot.
I had to edit freebox application permission to allow 'edit Freebox settings':
Could you help me to fix that please?
Regards,
Hello,
est-ce possible de désactiver SSL pour utiliser le LAN au lieu de l'adresse publique ?
Ca serait utile pour tester le statut de la connexion (get_status
) car dans le cas où la box n'a plus de connexion internet, la connexion vers l'API échoue.
Merci d'avance !
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.