Bonjour
j ai trouvé un fichier python (fbxosctrl) pour controler le Wifi et eteindre la FREEBOX sur https://github.com/skimpax/fbxosctrl
j ai installer le fichier python dans /home/pi/domoticz/scripts/python
j ai activé ce fichier : sudo chmod +x fbxosctrl.py
puis j ai suivi le tuto qui demande de lancer la fonction : sudo fbxosctrl.py --regapp
Mais cela ne fonctionne pas :
pi@raspi:~/domoticz/scripts/python $ sudo fbxosctrl.py--regapp
sudo: fbxosctrl.py--regapp: command not found
je précise que je suis débutant
Merci de m indiquer ce que j ai mal fait
Merci
Control WIFI de la FREEBOX - Besoin d aide
-
frenchyyii
- Messages : 310
- Inscription : 16 oct. 2015, 06:29
Re: Control WIFI de la FREEBOX - Besoin d aide
as tu essayé sudo python fbxosctrl.py--regapp
Re: Control WIFI de la FREEBOX - Besoin d aide
Merci de ton aide
Non ça ne fonctionne pas :
pi@raspi:~/domoticz/scripts/python $ sudo python fbxosctrl.py--regapp
python: can't open file 'fbxosctrl.py--regapp': [Errno 2] No such file or directory
Non ça ne fonctionne pas :
pi@raspi:~/domoticz/scripts/python $ sudo python fbxosctrl.py--regapp
python: can't open file 'fbxosctrl.py--regapp': [Errno 2] No such file or directory
-
Chrominator
- Messages : 1042
- Inscription : 19 déc. 2015, 07:29
- Localisation : France
Re: Control WIFI de la FREEBOX - Besoin d aide
Et avec un blanc après le y de .py ?
Essaye de comprendre ce que tu fais.
Essaye de comprendre ce que tu fais.
Un bon frein vaut mieux que deux sparadraps.
Ubuntu 24.04.3 LTS - Domoticz 2025.1 (build 16782)
Pentium G3220T 2.6GHz - 4Go DDR3
RFXtrx433 USB Ver Pro1/1043
Z-Stick GEN5 Version: 1.6-1136-g07ea22bb
Rtl433 RTL-SDR receiver
RFLink Gateway
Zigbee SLZB-06
Ubuntu 24.04.3 LTS - Domoticz 2025.1 (build 16782)
Pentium G3220T 2.6GHz - 4Go DDR3
RFXtrx433 USB Ver Pro1/1043
Z-Stick GEN5 Version: 1.6-1136-g07ea22bb
Rtl433 RTL-SDR receiver
RFLink Gateway
Zigbee SLZB-06
Re: Control WIFI de la FREEBOX - Besoin d aide
excuse moi
voila la reponce :
pi@raspi:~/domoticz/scripts/python $ sudo python fbxosctrl.py --regapp
Traceback (most recent call last):
File "fbxosctrl.py", line 41, in <module>
from zeroconf import Zeroconf
ImportError: No module named zeroconf
voila la reponce :
pi@raspi:~/domoticz/scripts/python $ sudo python fbxosctrl.py --regapp
Traceback (most recent call last):
File "fbxosctrl.py", line 41, in <module>
from zeroconf import Zeroconf
ImportError: No module named zeroconf
Re: Control WIFI de la FREEBOX - Besoin d aide
J avance : j ai installer Zeroconf
pi@raspi:~/domoticz/scripts/python $ sudo python fbxosctrl.py --regapp
No registration params found!
You should launch 'fbxosctrl --regapp' once to register to the Freebox Server first.
pi@raspi:~/domoticz/scripts/python $ sudo python fbxosctrl.py --regapp
No registration params found!
You should launch 'fbxosctrl --regapp' once to register to the Freebox Server first.