use WLAN Power Plug with Pulse-Station and Imperihome

Domotica gratuit Forums How can I …? Exemples Blocky use WLAN Power Plug with Pulse-Station and Imperihome

Ce sujet a 1 réponse, 2 participants et a été mis à jour par  Andreas Brandl, il y a 6 mois et 3 semaines.

2 sujets de 1 à 2 (sur un total de 2)
  • Auteur
    Messages
  • #11824

    djandib
    Participant

    Problem:
    Actual more and more WLAN devices like Power Plug exist. Wlan Devices are not supported by Pulse-Station or Imperihome.

    Hardware:
    For my solution I use a PowerPlug, which can be used with the “Smart Life” App.
    For Example: https://www.amazon.de/dp/B075W91N3D/
    The “Smart Life”-App can be implemented in IFTTT as an THEN-Tree.

    Solution:
    1. Create a IFTTT Trigger at Pulse-Station as described here:
    https://www.pulse-station.com/ifttt-service/
    2. For the THIS look for the Service WEBHOOKS (I think former MAKER)
    3. Create a trigger: Strom-1
    https://snag.gy/rPhNZa.jpgTrigger Strom-1
    4. Fill the iftt.event with a default. E.g.” strom-1-off”
    https://snag.gy/Bpox9r.jpgifttt.event
    5. Now you can use this trigger only by change the eventname:
    event = strom-1-on = Power On
    event = strom-1-off= Power Off
    6. With this Blocky you can turn on the power:
    https://snag.gy/zm82Ku.jpgBlocky
    If you want: save this as a manually run blocky scene and use it on its own.

    Now let`s look at Imperihome:
    There aren`t any buttons for WLAN devices so we have to use Virtual Binary Switches.
    7. Create a virtual binary Switch “Strom-1-V”
    8. Create a virtual binary Switch “Strom-1-V_status”
    9. We create this blocky:
    https://snag.gy/ubFelW.jpgVirtual
    10. Finally use the virtual Binary Switch “Strom-1-V” as a new device at Imperihome

    Attention:
    If you make 2 scenes (on/off) and make them each as a new device in Imperihome, the reaction starts immediately (Step 6)
    If you make 1 scene (Step 10), the reaction starts the next cycle of the scenes.

    Feel free for any comments

    Greetings
    Andi

    #11855

    Andreas Brandl
    Participant

    After my Pulse-Station crashed several times, I think there is a bug in the IFTTT Service (but cannont confirm it 100%).
    I use now a direct request for IFTTT within a php-blocky and uninstalled the IFTTT-Service:
    USE_YOUR IFTTT_KEY = You get it at IFTTT

    $temp = file_get_contents(“https://maker.ifttt.com/trigger/”.$ifttt_event.”/with/key/USE_YOUR IFTTT_KEY”);

    blocky

    Feel free for comments
    Andi

2 sujets de 1 à 2 (sur un total de 2)

Vous devez être connecté pour répondre à ce sujet.