Beiträge von ashp8i

    Hi sjds65,

    many thanks for your reply that really does help I have a post in the home assistant forum which I will repost: -

    Shelly PLUS i4 Wall Switch Example Automation

    This should give you a single automation covering all the buttons and possible actions, that can be mapped by yaml or gui, however would love to turn this into a blueprint

    Thanks,

    Ash

    Hi there, Isn´t there a GUI where I can perform this task without needing to type commands?

    See if you can raise this as a feature request with shelly,

    I’m using Home Assistant to make this easier to manage using automations and blueprints another way is to use Node-Red

    Use the guide for DDD available here: - ddd_communication.pdf

    here is the part you need: -

    What commands are possible between a Shelly device

    Detailed 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 syntax 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.

    [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

    go=stop - stop roller

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

    Open and close can be combined with the duration

    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?go=to_pos&roller_pos=30 Will Open at 30%

    e.g. for lights would be

    http://192.168.0.40/light/0?turn=on

    maybe others can confirm

    I’m aware this product is fairly new, has any attempted to create a blueprint for it. Really want all actions in one automation per button, even better all actions for all buttons under one automation would greatly help configuration as I have like 10 of these to setup replacing Zigbee buttons that keep falling off the network :)