Bonjour,
Depuis qq temps maintenant on peut mettre plusieurs urls actions (5 en tout) sur un shelly.
J’ai un shelly 1 (firmware 1.9.0) en « detached switch » au nivaeu de mon portillon qui envoie une requête http à un autre shelly sur mon carillon lorsqu’on appuis sur l’interrupteur. Cela fonctionnait bien auparavant sauf si je venait à re-sauvegarder mon shelly dans le plugin.
Depuis la maj, j’ai l’impression que le plugin va régulièrement mettre à jour les url dans le module.
De ma compréhension du changelog de la dernière version du plugin, on peut faire directement la configuration que je veux dans le shelly. J’ai donc fait :
Malheureusement, quand je sauvegarde tout disparait :
Dans les logs j’ai (j’ai viré l’apikey )
[2020-12-28 16:28:45][DEBUG] : Loading cmd for type : shelly1 on Portillon
[2020-12-28 16:28:46][DEBUG] : Call : http://192.168.2.71/status, return : 200
[2020-12-28 16:28:46][DEBUG] : Webhook with : http://192.168.2.50/plugins/shelly/core/api/jeeShelly.php
[2020-12-28 16:28:46][DEBUG] : Call : http://192.168.2.71/settings/actions/?index=0&enabled=true&name=out_on_url&urls[]=http://192.168.2.50/plugins/shelly/core/api/jeeShelly.php%3Fapikey%26id%3D90%26relay%3D0%26value%3Dout_on_url, return : 200
[2020-12-28 16:28:49][DEBUG] : Call : http://192.168.2.71/settings/actions/?index=0&enabled=true&name=out_off_url&urls[]=http://192.168.2.50/plugins/shelly/core/api/jeeShelly.php%3Fapikey%26id%3D90%26relay%3D0%26value%3Dout_off_url, return : 200
[2020-12-28 16:28:52][DEBUG] : Actions for longpush_url0 : Array
[2020-12-28 16:28:52][DEBUG] : Action values
[2020-12-28 16:28:52][DEBUG] : Call : http://192.168.2.71/settings/actions/?index=0&enabled=true&name=longpush_url&urls[]=http://192.168.2.50/plugins/shelly/core/api/jeeShelly.php%3Fapikey%26relay%3D0%26value%3Dlongpush_url, return : 200
[2020-12-28 16:28:55][DEBUG] : Actions for shortpush_url0 : Array
[2020-12-28 16:28:55][DEBUG] : Action values
[2020-12-28 16:28:55][DEBUG] : Call : http://192.168.2.71/settings/actions/?index=0&enabled=true&name=shortpush_url&urls[]=http://192.168.2.50/plugins/shelly/core/api/jeeShelly.php%3Fapikey%26id%3D90%26relay%3D0%26value%3Dshortpush_url, return : 200
[2020-12-28 16:28:58][DEBUG] : Actions for btn_on_url0 : Array
[2020-12-28 16:28:58][DEBUG] : Action values
[2020-12-28 16:28:58][DEBUG] : Call : http://192.168.2.71/settings/actions/?index=0&enabled=true&name=btn_on_url&urls[]=http://192.168.2.50/plugins/shelly/core/api/jeeShelly.php%3Fapikey%26id%3D90%26relay%3D0%26value%3Dbtn_on_url, return : 200
[2020-12-28 16:29:01][DEBUG] : Actions for btn_off_url0 : Array
[2020-12-28 16:29:01][DEBUG] : Action values
[2020-12-28 16:29:01][DEBUG] : Call : http://192.168.2.71/settings/actions/?index=0&enabled=true&name=btn_off_url&urls[]=http://192.168.2.50/plugins/shelly/core/api/jeeShelly.php%3Fapikey%26id%3D90%26relay%3D0%26value%3Dbtn_off_url, return : 200
Je ne vois pas la traduction de la commande jeedom en URL, j’ai le même comportement si je mets une url directement.
Ce qui me trouble aussi c’est que lorsque la page se rafraichit lors de la sauvegarde de l’équipement, je vois beaucoup plus de champs que ce qui me sont affichés
D’après ma compréhension les positions en 0 sont reservé au fonctionnement du plugin (ex: Action Bouton On 0). Je devrais donc mettre ma configuration dans « Action Bouton On 1 » mais je n’ai pas ce champs. → à priori cela correspond au relais pas au numéro de l’action
Merci d’avance pour votre aide
ben