Bonjour,
Tout d'abord super ce plugins
S'installe sans soucis...
Par contre sur la mini, la fonction reboot ne fonctionne pas :
Code : Tout sélectionner
2022-06-18 06:20:59.825 Error: freebox: Call to function 'onCommand' failed, exception details:
2022-06-18 06:20:59.828 Error: freebox: Traceback (most recent call last):
2022-06-18 06:20:59.829 Error: freebox: File "/opt/domoticz/userdata/plugins/PluginDomoticzFreebox/plugin.py", line 322, in onCommand
2022-06-18 06:20:59.829 Error: freebox: _plugin.onCommand(Unit, Command, Level, Hue)
2022-06-18 06:20:59.829 Error: freebox: File "/opt/domoticz/userdata/plugins/PluginDomoticzFreebox/plugin.py", line 243, in onCommand
2022-06-18 06:20:59.829 Error: freebox: f.reboot()
2022-06-18 06:20:59.829 Error: freebox: File "/opt/domoticz/userdata/plugins/PluginDomoticzFreebox/freebox.py", line 287, in reboot
2022-06-18 06:20:59.829 Error: freebox: v_result = self.com("system/reboot/")
2022-06-18 06:20:59.829 Error: freebox: File "/opt/domoticz/userdata/plugins/PluginDomoticzFreebox/freebox.py", line 97, in com
2022-06-18 06:20:59.829 Error: freebox: return self._com(method,data,{"X-Fbx-App-Auth": self.session})
2022-06-18 06:20:59.829 Error: freebox: File "/opt/domoticz/userdata/plugins/PluginDomoticzFreebox/freebox.py", line 41, in _com
2022-06-18 06:20:59.829 Error: freebox: res = urlopen(request,timeout=4).read()
2022-06-18 06:20:59.829 Error: freebox: File "/usr/lib/python3.7/urllib/request.py", line 222, in urlopen
2022-06-18 06:20:59.829 Error: freebox: return opener.open(url, data, timeout)
2022-06-18 06:20:59.830 Error: freebox: File "/usr/lib/python3.7/urllib/request.py", line 531, in open 2022-06-18 06:20:59.830 Error: freebox: response = meth(req, response)
2022-06-18 06:20:59.830 Error: freebox: File "/usr/lib/python3.7/urllib/request.py", line 641, in http_response
2022-06-18 06:20:59.830 Error: freebox: 'http', request, response, code, msg, hdrs)
2022-06-18 06:20:59.830 Error: freebox: File "/usr/lib/python3.7/urllib/request.py", line 569, in error 2022-06-18 06:20:59.830 Error: freebox: return self._call_chain(*args)
2022-06-18 06:20:59.830 Error: freebox: File "/usr/lib/python3.7/urllib/request.py", line 503, in _call_chain 2022-06-18 06:20:59.830 Error: freebox: result = func(*args)
2022-06-18 06:20:59.831 Error: freebox: File "/usr/lib/python3.7/urllib/request.py", line 649, in http_error_default
2022-06-18 06:20:59.831 Error: freebox: raise HTTPError(req.full_url, code, msg, hdrs, fp)
2022-06-18 06:20:59.831 Error: freebox: urllib.error.HTTPError: HTTP Error 404: Not Found
Je vais essaye de debugger... PB de droit apparemment.
Cordialement.