action on "open" not working

  • hello everyone --

    I am using SHDW-2 with newest firmware (20200812-091523/v1.8.0@8acf41b0).


    I am trying to call local urls for logging purposes on each open and close event,
    so under "Actions" I enable both "OPEN" and "CLOSE" and enter the respective urls.

    The urls are like this, "http://192.168.x.x/local/door_open.php".
    This works perfectly well for "close", the url is called no problem.

    But on "open", the device does not call the url (even though the sensor works properly and shows as open in the shelly app).
    This isn't a problem with my "open" url/php-script not working either, I am watching my webserver log and I can see the url on "close" being called, and on "open" nothing happens.

    Any ideas on what might be going wrong? Is this a known issue?

    • Offizieller Beitrag

    Alterco knows that. There should be another hotfix for come.

    LG Michael

    Einsteigertipps / Tips for beginners

    Meine Shellys:

    In Betrieb:

    Zur Zeit über 150 Shellys, in der Regel alle Cloudverbunden

    Testboard mit fast jedem Shellytyp auf dem Markt.

    Fast 5 Jahre kein übergeordnete System. Nur mit App und WebUI mit Cloudverbindung. Sprachsteuerung mit Alexa:)

    Seit Anfang 2024 ist HomeAssistant mit am Start. Was Shelly Cloud nicht kann, bzw. Lokal gesteuert werden soll, übernimmt da übergeordnete System.

  • thank you.
    It appears they have now downgraded(?) the firmware, to
    20200701-123436/20200701-dw2@bf6353f6.
    As long as I know the problem isn't on my end I am happy to wait for the fix.

    It now seems they are not intending to offer an action on simply "open", I swear this was still an option in the app yesterday, but today it's called "open when daylight". So I suppose I'll need three rules to treat "open" depending on the light sensor.

  • Unfortunately, it seems to have become even worse now, and the sensor refused to accept any further changes to its settings in the app at this point.
    But I believe I have managed to get it to do what I want. I am describing my "solution" in case it will be helpful to others.

    The problem is to catch the sensor while it's awake. It's in "deep sleep" most of the time, which is sensible of course to save battery power.

    The problem is that both the android app and the cloud web interface seem to be incapable of handling this. The app will promise to send the updates to the sensor when it wakes up, but it does not consistently do this at all.

    What I needed to do was try to catch the sensor while it was awake, and then access its IP directly with a web browser. You will then get the a web interface provided directly by the sensor, and any values posted there will actually stick.

    The problem is to catch it while awake. I spent some time opening and closing the door and poking the button with a toothpick before I did.

    Another thing, I am not sure if this is needed, but because of the warning "Мore than 2 actions can affect the normal operation of the device", I defined "dark" as 1000 lux (and "dusk" as 1001 lux), so that the sensor will always be in "dark" mode, and then only used the "open when dark" action.