Beiträge von Jean888

    Hello Devil,

    Thank you for your quick reply. Normally I don't block any local communication but I'll investigate this way (maybe a parameter somewhere in the WiFi router). What is strange is that it's working perfectly with a 4G connection.

    Hello,

    I have 2 Shelly Plus 1 devices connected to my local network using WiFi.

    I have a latency issue when I'm using the Shelly App on my iOS mobile connected to my local network, on both devices it takes usually more than 10s from clicking on the App button and the action to be executed (and sometime even having a 'something went wrong' message, certainly due to a response timeout). I don't have any latency when I'm using the local web interface of the devices nor when my mobile is connected to 4G network. Does anybody experienced this problem as well?

    Thank you.

    I tried to use this condition to check if an event is occurring:

    Code
     Shelly.addEventHandler(function(e) {
      if (e.component === "input:0") {
        if (e.info.event === "single_push") {

    I think this event is related to a physical button connected to the Shelly input, is there a similar event to check event on the mobile App button?

    I created a simple script that is doing more or less what I want :

    Code
        //open door during 6 seconds
        Shelly.call("Switch.set", {'id': 0, 'on': true});
        Timer.set(6000, false, function (ud) {
          Shelly.call("Switch.set", {'id': 0, 'on': true});
        }, null);
        
        //close the door after 30 seconds
        Timer.set(30000, false, function (ud) {
          Shelly.call("Switch.set", {'id': 0, 'on': true});
        }, null);

    Now the question is how to get this script executed when clicking on the application button?

    Hi there !

    I want to share here my project to use a Shelly 1 Plus device to control my automatic door equipped with a DEA NET24N automation controller (for more information: https://www.manualslib.com/manual/1680842…?page=10#manual) so I can easily give access to third person thanks to the Shelly App. It works great, only need some improvement:

    - Make it usable when mobile is connected to local Wifi (at this moment only working when mobile is connected to GSM network)

    - Create a script in order to automate the open/close door and adding a timer so only need to push the App button once instead of tree times now


    Shelly pour portail automatique.pngIMG_5973.PNGIMG_5974.PNG

    Hello,

    I just purchased a Shelly Plus 1 device to control my automatic portal door. I'm totally beginner with Shelly device. I setup the device and it's working correctly (connected to my wifi network), I set the output type as a Edge switch with a auto off timer at 0.5 so when I click on the button on the mobile app the Shelly device is sending a short ON/OFF 0.5s signal to the portal command board then the door is opening. To stop the door I have to click again to to button and click a third time to close the door.

    I'm trying to have this process automated as follow when clicking on the mobile app button:

    0.5s On/Off signal -> door is opening

    Timer 3 seconds

    0.5s On/Off signal -> door is stopped

    Timer 10 seconds

    0.5s On/Off signal -> door is closing

    I tried to do it with action based on Switch toggled off condition then adding the 2 following hit URLs:

    http://127.0.0.1/relay/0?turn=on&timer=3

    http://127.0.0.1/relay/0?turn=on&timer=10

    It seems that only the 10 seconds timer is taken into account and action is looping every 10 seconds, so I'm not sure if action is the best way to do it. Is anybody have a clue how to do this small automation when clicking on the mobile app button?

    Thank you very much for your valuable help.