Oui, en fouillant dans le fichier shelly.class.php, j’ai modifié et testé avant ta beta, mais ça passe toujours pas.
J’ai fait quelques autres modififications dans le code pour gérer la différence d’url de l’api.
Avant dans les logs j’avais ça :
0479|[2022-12-03 11:29:59][DEBUG] : Loading cmd for type : on test
0480|[2022-12-03 11:29:59][DEBUG] : Call : http:///status, return : 0, content :
0493|[2022-12-03 11:30:33][DEBUG] : Loading cmd for type : shellyhtplus on test
0494|[2022-12-03 11:30:33][DEBUG] : Creating cmd : Température
0495|[2022-12-03 11:30:33][DEBUG] : Creating cmd : Humidité
0496|[2022-12-03 11:30:33][DEBUG] : Creating cmd : Batterie
0497|[2022-12-03 11:30:33][DEBUG] : Creating cmd : Online
0498|[2022-12-03 11:30:33][DEBUG] : Creating cmd : Rafraichir
0499|[2022-12-03 11:30:33][DEBUG] : Call : http://ipshellyHT+/status, return : 404, content : Not Found
Maintenant j’ai ça :
0049|[2022-12-03 19:10:57][DEBUG] : Loading cmd for type : on testshellyplusht
0050|[2022-12-03 19:10:57][DEBUG] : Call : http:///status, return : 0, content :
0051|[2022-12-03 19:11:16][DEBUG] : Loading cmd for type : shellyhtplus on testshellyplusht
0052|[2022-12-03 19:11:16][DEBUG] : Creating cmd : Température
0053|[2022-12-03 19:11:16][DEBUG] : Creating cmd : Humidité
0054|[2022-12-03 19:11:16][DEBUG] : Creating cmd : Batterie
0055|[2022-12-03 19:11:16][DEBUG] : Creating cmd : Online
0056|[2022-12-03 19:11:16][DEBUG] : Creating cmd : Rafraichir
0057|[2022-12-03 19:11:17][DEBUG] : Call : http://ipshellyHT+/rpc/Shelly.GetStatus, return : 200, content : {"ble":{},"cloud":{"connected":false},"devicepower:0":{"id": 0,"battery":{"V":5.87, "percent":93},"external":{"present":false}},"ht_ui":{},"humidity:0":{"id": 0,"rh":65.6},"mqtt":{"connected":false},"sys":{"mac":"B8D61A8B1A08","restart_required":false,"time":"19:12","unixtime":1670091155,"uptime":35,"ram_size":249752,"ram_free":144528,"fs_size":458752,"fs_free":126976,"cfg_rev":11,"kvs_rev":0,"webhook_rev":24,"available_updates":{"stable":{"version":"0.11.4"}},"wakeup_reason":{"boot":"deepsleep_wake","cause":"button"},"wakeup_period":43200},"temperature:0":{"id": 0,"tC":19.4, "tF":66.9},"wifi":{"sta_ip":"192.168.2.123","status":"got ip","ssid":"Wifi-Fouge-Salon","rssi":-41},"ws":{"connected":false}}
0058|[2022-12-03 19:11:17][DEBUG] : Webhook with : http://ipjeedom/plugins/shelly/core/api/jeeShelly.php
Pour autant le webhook ne se crée pas dans le shellyHT+.
Je testerai la maj demain.
Bonne soirée,