Auto http request

  • Hello all,

    I think my need is not too complicated but i don't found solution.

    I would like, when i long push sw, that the relay go down after timer. If i push short sw, light flip between on and off classically.

    I've tried to auto send http request in the button long pressed url without result (like http://shelly:******@192.168.150.10/relay/0?turn=on&timer=45).

    Have you one idea to resolve my problem ?

    Thank you by advance

    Txus

  • Thank you Sebmai,

    I have same bad result without restrict login and localhost like ip address.

    Maybe an other idea ?

    For information, i have selected Detached Switch

    Txus

  • http://localhost/relay/0?turn=on&timer=45 should work just fine, tested several times myself.

    >100 Shellies, darunter so gut wie alles was der Hersteller produziert hat. ;)
    :!: ich beantworte grundsätzlich keine Fragen per persönlicher Nachricht:!:

  • Endeed ! i had to reboot device to unblock issue.

    Fonction is available only without restrict login. If you desable restrict login, you need to reboot device. If you do not it, buton pressed url no works (maybe a little bug).

    Thank you SebMai and Seven of nine for your help.

    Txus