1. Dashboard
  2. Forum
    1. Unerledigte Themen
    2. Themen der letzten 24 Stunden
  3. Lexikon
  4. Filebase
    1. Bedienungsanleitungen
    2. Druckvorlagen
    3. Tools
  5. Anschlussdiagramme
    1. Nutzungshinweise
  • Anmelden
  • Registrieren
  • Suche
Lexikon
  • Alles
  • Artikel
  • Seiten
  • Forum
  • Filebase-Eintrag
  • Lexikon
  • Blog-Artikel
  • Erweiterte Suche
  1. Shelly Forum
  2. Lexikon

Direct Device to Device communicaton (DDD)

  • SparkyMaster
  • 28. Mai 2019 um 11:19
  • 17. Mai 2024 um 09:35
  • 9.401 mal gelesen
  • Direct Device to Device communicaton (DDD)

    Direct Device to Device communicaton (DDD)

    DIMITAR DIMITROV·SAMSTAG, 25. MAI 2019

    From firmware 1.5.0 we add option to each device to communicate with another one without server ot cloud between them. This allows many additional options.

    The main advantages of this new option are:

    1. Even if you do not have Internet devices, they can work together. For some critical situations, this is important. For example, when the crane opens, the pump must also be switched on. Or, you can add another key on the wall to control the lighting without having a connection to the lamp.

    2. Extremely fast speech - just a few milliseconds.

    3. Ability to manage other devices that have an HTTP API or acivate scene in IFTTT.

    How to control one shelly from another ?

    First you need to choose when action could happens. There is 4 possibilies at the Moment.


    • When the button is switched ON or OFF and When output is ON or OFF. The differece is that button mean phiscical action (push with hand), relay can be switched ON/OFF from scene, Schedule, Application ...

    • Different type of devices can support different Actions.

    You must activate the required option and enter the URL that is being executed.


    What commands are possible between Shelly device

    Detaled description can be found here https://shelly-api-docs.shelly.cloud/ , but we will try to make a simple for you.

    Shelly relays: 1/1PM/2/2.5/4Pro

    The command syntax to contorl them is:

    http://[deviceIP]/relay/[channel]?[command]&[command]

    if you use authorisation sintax is:

    http://user:pass@[deviceIP]/relay/[channel]?[command]&[command]

    [device IP] and [channel] - can be check from the APP in menu Settings -> Device Info.

    Channels start from 0, that’s mean Shelly2.5 have channel 0 and channel 1 for Output1 and Output2.


    Device IP


    [command] could be:

    turn=on - switch output ON

    turn=off - switch output OFF

    turn=toggle - reverese state

    On and off can be combined with timer:

    timer=X - where X is in seconds. Switch output will be turned On or OFF for X seconds and will be switched back to previews state after that.


    Examples:

    http://192.168.0.40/relay/0?turn=on Will switch output ON.

    http://192.168.0.40/relay/0?turn=on&timer=10 Will switch output ON for 10 sec.

    http://192.168.0.40/relay/0?turn=toggle Will switch the output On if OFF or vice version.

    Shelly rollers : 2/2.5

    The command syntax to control them is:


    http://[deviceIP]/roller/0?[command]&[command]


    [command] could be:

    go=open - open roller

    go=close - close roller

    g0=stop - stop roller

    roller_pos=0-100 - open roller to this position. Need to calibrate it before that.

    Open and close can be combined with duraton

    duration=X - move the roller X seconds.


    Examples:

    http://192.168.0.40/roller/0?go=open Will open the roller

    http://192.168.0.40/roller/0?turn=open&duration=5 Will opening 5 seconds.

    http://192.168.0.40/roller/0?roller_pos=30 Will Open at 30%


    Shelly Bulb/LED/RGBWW/RGBW2

    Color mode:


    The main command to contorl them is:

    http://[deviceIP]/color/0?[command]&[command]


    [command] id you choose Color mode could be:

    turn=on - switch output ON

    turn=off - switch output OFF

    turn=toggle - reverese state
    On and off can be combined with timer:

    timer=X - where X is in seconds. Switch output will be turned On or OFF for X seconds and will be switched back to previews state after that.

    red = 0 - 255 ; change red color intensity

    blue = 0 - 255 ; change blue color intensity

    green = 0 - 255 ; change green color intensity

    white = 0 - 255 ; change white color intensity

    gain = 0 - 100 ; change intensity for RGB


    Examples:

    http://192.168.0.50/color/0?

    turn=on&red=255&green=86&blue=112&white=0

    Will switch device ON and set Red, Blue, Green and White colors.

    http://192.168.0.50/color/0?turn=on&white=20 Will swith device ON and set only White

    http://192.168.0.40/color/0?go=open Will switch device ON.

    http://192.168.0.50/color/0?turn=on&gain=27 Change the intensity or RGB to 27%


    White multi-channel mode:

    The main command to contorl them is:

    http://[deviceIP]/white/[channel]?[command]& [command]

    Channels start from 0, that’s mean ShellyRGBW2 have channel 0 to 3 for Output1 tp 4.


    [command] id you choose White mode could be:

    turn=on - switch output ON

    turn=off - switch output OFF

    turn=toggle - reverese state O

    n and off can be combined with timer:

    timer=X - where X is in seconds. Switch output will be turned On or OFF for X seconds and will be switched back to previews state after that.

    brightess = 0 - 100; set birgtness level


    Examples:

    http://192.168.0.50/white/0?brightness=70 Will set intesnsity 70%.

    http://192.168.0.50/color/0?turn=on&brightness=70 Will switch device on and set intemsity to 70%



    Bilder

    • 61268990_10218371611504178_6573345479709425664_o.jpg
      • 119,54 kB
      • 1.280 × 720
    • DDD.png
      • 335,81 kB
      • 1.118 × 353
    • Zitieren

Teilen

  • Vorheriger Eintrag Device Sharing
  • Nächster Eintrag Door window assembly instructions
  • PDF

Kategorien

  1. SHELLY GEN1 205
    1. Shelly 1 81
    2. Shelly 1L 55
    3. Shelly 1PM 82
    4. Shelly 2 83
    5. Shelly 2 LED 55
    6. Shelly 2.5 88
    7. Shelly 3EM 65
    8. Shelly 4Pro 66
    9. Shelly Air 14
    10. Shelly Button 1 59
    11. Shelly Bulb 59
    12. Shelly Dimmer 66
    13. Shelly Dimmer2 61
    14. Shelly Door/Window 62
    15. Shelly Door/Window2 59
    16. Shelly Duo GU10 57
    17. Shelly Duo 57
    18. Shelly DUO RGBW 55
    19. Shelly DUO RGBW GU10 55
    20. Shelly EM 68
    21. Shelly Flood 60
    22. Shelly GAS 56
    23. Shelly H&T 67
    24. Shelly i3 58
    25. Shelly Motion 56
    26. Shelly Motion 2 6
    27. Shelly Plug 63
    28. Shelly Plug S 68
    29. Shelly Plug US 8
    30. Shelly RGBW2 75
    31. Shelly Sense 49
    32. Shelly Smoke 59
    33. Shelly TRV 17
    34. Shelly UNI 61
    35. Shelly UV-C-LED-Strip 46
    36. Shelly Vintage 57
  2. SHELLY GEN2 47
    1. Shelly PLUS 0-10V Dimmer 13
    2. Shelly PLUS 1 27
    3. Shelly PLUS 1 Mini 16
    4. Shelly PLUS 1PM 25
    5. Shelly PLUS 1PM Mini 15
    6. Shelly PLUS 2PM 20
    7. Shelly PLUS i4 / i4 DC 19
    8. Shelly PLUS H&T 12
    9. Shelly PLUS Plug S 11
    10. Shelly PLUS PM Mini 14
    11. Shelly PLUS RGBW PM 6
    12. Shelly PLUS Smoke 10
    13. Shelly PLUS UNI 8
  3. SHELLY GEN3 28
    1. Shelly 1 Gen3 9
    2. Shelly 1 Mini Gen3 9
    3. Shelly 1L/2L Gen3 6
    4. Shelly 1PM Gen3 9
    5. Shelly 1PM Mini Gen3 9
    6. Shelly 2PM Gen3 9
    7. Shelly 3EM-63T / 3EM-63W Gen3 6
    8. Shelly DALI Dimmer Gen3 7
    9. Shelly Dimmer Gen3 5
    10. Shelly Dimmer 0/1-10V PM Gen3 7
    11. Shelly EM Gen3 7
    12. Shelly H&T Gen3 5
    13. Shelly i4 Gen3 7
    14. Shelly Outdoor Plug S Gen3 4
    15. Shelly Plug S Gen3 6
    16. Shelly PM Mini Gen3 7
  4. SHELLY GEN4 13
    1. Shelly 1 Gen4 6
    2. Shelly 1 Mini Gen4 6
    3. Shelly 1PM Gen4 6
    4. Shelly 1PM Mini Gen4 6
    5. Shelly 2PM Gen4 6
    6. Shelly EM Mini Gen4 5
    7. Shelly Flood Gen4 3
  5. SHELLY PRO 91
    1. Shelly PRO 1 25
    2. Shelly PRO 1PM 25
    3. Shelly PRO 2 25
    4. Shelly PRO 2PM 25
    5. Shelly PRO 3 21
    6. Shelly PRO 3EM 18
    7. Shelly PRO EM-50 14
    8. Shelly Pro 3EM-3CT63 10
    9. Shelly Pro 3EM-400 17
    10. Shelly PRO 4PM 63
    11. Shelly Pro Dimmer 0/1-10V PM 9
    12. Shelly Pro Dimmer 1PM / 2PM 11
    13. Shelly Pro Dual Cover/Shutter PM 13
    14. Shelly Pro RGBWW PM 7
  6. SHELLY BLU 22
    1. Shelly BLU Button1 3
    2. Shelly BLU Button Tough 1 3
    3. Shelly BLU Door Window 5
    4. Shelly BLU Gateway 1
    5. Shelly BLU Gateway Gen3 3
    6. Shelly BLU H&T 4
    7. Shelly BLU Motion 5
    8. Shelly BLU RC Button 4 3
    9. Shelly BLU TRV 9
    10. Shelly BLU Wall Switch 4 3
  7. Shelly CONTROL PANELS 8
    1. Shelly Wall Display 7
    2. Shelly Wall Display X2 3
  8. Shelly QUBINO WAVE 22
    1. Shelly Wave 1 3
    2. Shelly Wave 1 Mini 2
    3. Shelly Wave 1PM 3
    4. Shelly Wave 1PM Mini 2
    5. Shelly Wave 2PM 2
    6. Shelly Wave Door/Window 2
    7. Shelly Wave i4 / i4 DC 3
    8. Shelly Wave Plug S 2
    9. Shelly Wave PM Mini 2
    10. Shelly Wave Shutter 2
    11. Shelly Wave Pro 1 3
    12. Shelly Wave Pro 1PM 3
    13. Shelly Wave Pro 2 3
    14. Shelly Wave Pro 2PM 3
    15. Shelly Wave Pro 3 3
    16. Shelly Wave Pro Dimmer 1PM / 2PM 4
    17. Shelly Wave Pro Shutter 3
  9. Shelly X 3
    1. Shelly-X-MOD1(U)-H8 0
    2. Shelly X MOD1 – DevKit DB2024R-XSM 0
    3. Shelly X MOD1 – DevKit DB2024T-XSM 0
    4. POWERED BY SHELLY Geräte 4
      1. FrankEver Smart water valve DN20 1
      2. LinkedGo Smart floor heating thermostat 1
      3. LinkedGo Smart HVAC thermostat 1
      4. Ogemray Smart relay 25A 1
  10. SHELLY ZUBEHÖR 65
    1. Shelly 1/1PM Temp Add-On 48
    2. Shelly Button 38
    3. Shelly PLUS Add-On 6
    4. Shelly LoRa Add-On 2
    5. Shelly LAN Switch 0
    6. Shelly GAS Add-On Manipulator 22
    7. Shelly PRO 3EM Switch Add-On 3
    8. Shelly Wall Switch 1
    9. Shelly Eye 19
  11. LOQED 2
    1. LOQED Touch smart lock Black 2
  12. APP, WEBUI, REST-API, MQTT & CO. 48
    1. SHELLY Cloud App Android/IOS 25
    2. MQTT 8
    3. Rest Api 13
    4. CoAP/ColoT 7
  13. SPRACHASSISTENTEN 2
    1. Alexa 1
    2. Google 1
    3. Siri 0
  14. ALTERNATIVE FIRMWARE 1
    1. Tasmota 1
  15. SONSTIGES 30
    1. Einbau 10
    2. Betrieb in Deutschland 3
    3. Bestellung Lieferung 3
    4. Video Tutorials 3

INFORMATIONEN

  1. Datenschutzerklärung
  2. Cookie-Richtlinie
  3. Nutzungsbedingungen
  4. Impressum

COMMUNITY

  1. Forum
  2. Lexikon
  3. Filebase
  4. Netiquette
Lexikon, entwickelt von www.viecode.com
Community-Software: WoltLab Suite™