Beiträge von Attila Kovacs

    Hi,

    ich habe einen Shelly Pro 3 gekauft, um meine zwei Zirkulationspumpen damit anzusteuern. Für die drei Input-Switches habe ich drei Programme erstellt: Normal, Party, Urlaub. Jedes hat einen eigenen Zeitplan, der mit den Detached Inputs ein- oder ausgeschaltet wird.

    Was mich interessieren würde: Wie könnte ich in der App in irgendeiner Form darstellen, welches Programm aktuell eingeschaltet ist?

    Oder soll ich die digitalen Eingänge einfach immer 'an' lassen, statt sie auszuschalten? Macht das nichts aus?

    Setup:


    script:


    Ich habe ein NAS, das ohnehin immer läuft, daher konnte ich das Problem wie folgt lösen:

    Shelly-Script mit Auto-Off: Eine URL zum NAS wird aufgerufen:

    (Die NAS-IP muss angepasst werden)


    wol.php im NAS /Web Verzeichnis


    PHP
    <?php
    
    ini_set('display_errors', TRUE);
    error_reporting(E_ERROR | E_PARSE);
    
    $command = escapeshellcmd('python wol.py');
    $output = shell_exec($command);
    echo $output;
    
    ?>

    wol.py im gleichen Verzeichnis:

    Die Broadcast-IP anpassen, die MAC-Adressen in 'known_computers' anpassen und ganz unten die Aufrufe von 'wol()' anpassen (Anzahl und Namen aus 'known_computers')

    python 2.7


    Hi Michael,

    Did you have time to check it? However, I would be surprised if it were different for you. The 'status off' event is triggered by the 'Switch.set,' but it either doesn't leave the device, or it doesn't get delivered to the client. (The same goes for timers) Is there a place to report such things?

    the switching status is correctly transferred to the shared account

    I see. I'll do some research then.

    With the script above, the switch is turned off after 300ms, but the GUI keeps the blue ring over the button in shered mode.

    It was the same with a timer, however I entered 0,3s as a timeout, I'll try with timer and 1 second again. (I just don't like the countdown timer in the GUI.)

    Heh, how cool is that:


    \o/

    Ok, I have to ask again, how can I use the Shelly Pro 1 as a pushbutton on my phone?

    It should release the relais automatically.

    The Input/Output settings does nothing, it's just a placeholder in the settings.

    Also, in the Phone App it has only a caption "Input settings" but in the Shelly web there is a "Set output type" too

    but all the items in it are just another indian names for the same function:

    Set relay type

    - Set Shelly Device to a toggle switch... Act as a flip switch, one state for ON one for OFF

    - Momentary switch. Push for ON, push for OFF

    - "Edge" switch, changes state on every hit.

    This makes no sense for me. All the same.

    Is it possible that I have to reflash with some 3rd party firmware to be able to use it as a pushbutton?

    Can I write a script to achieve the same?

    I'm somewhat disappointed, is the product abandonned?

    Newbie here, just bought the Pro 1.

    There is an Input/Output setting where you can choose between switch or button mode.

    If you choose button mode and the available sub-settings, nothing happens; it remains a switch.

    It should only trigger as long as my finger is on the display in button mode.

    Firmware is the latest.

    Am I missing something?

    Regards,