RavenSystem / esp-homekit-devices

Advanced firmware to add native Apple HomeKit and custom configurations, compatible with any SoC based on ESP32, ESP32-S, ESP32-C and ESP8266 series. (Shelly, Sonoff, Electrodragon, Tuya...)
Other
2.73k stars 358 forks source link

Shelly 2.5, configuration working with window covering - monostable connector #965

Closed michapi closed 4 years ago

michapi commented 4 years ago

I have similar situation to description below. I use mobilus ERS actuator with monostable connector which controls by impulse. If I press up button for 1-2 sec cover is rolling up till the end like in description below.

It is possible to configure shelly to working with my actuator? My configuration looks like this:

{
    "c": {
        "l": 0,
        "b": [{
            "g": 2,
            "t": 5
        }],
        "m": 120
    },
    "a": [{
        "t": 45,
        "o": 26,
        "c": 26,
        "f": 70,
        "0": {
            "r": [{
                "g": 15
            }, {
                "g": 4,
                "v": 1,
                "i": 1
            }]
        },
        "1": {
            "r": [{
                "g": 15,
                "v": 1,
                "i": 1
            },
            {
                "g": 4
            }]
        },
        "2": {
            "r": [{
                "g": 15
            }, {
                "g": 4
            }]
        },
        "f0": [{
            "g": 5,
            "p": 0
        }],
        "f1": [{
            "g": 13,
            "p": 0
        }]
    }]
}

Okay let my try to explain my situation:

I have a wall switch with 2 Push Buttons, one for up, one for down. If i press "up" for 2 sec, the window cover will start to roll up, i don't need to hold the up button for that, the cover will automatically rise till its open. When its up, i press "down" for 2 sec and it will start do go down completely. When its rolling up or down, i can press the opposite button to stop the motion.

Thats the normal behavior of most curtain controllers - i think.

Now i try to connect the shelly2.5 in between. So the relay of the shelly needs to have the inching function for 2 sec. I press the up/down button, the relay will close the circuit up/down for 2s and let go. Now i need two stop functions. If its rolling down, the relay has to trigger the up relay shortly and when its rolling up, it needs to trigger the down relay shortly.

https://github.com/RavenSystem/esp-homekit-devices/wiki/HAA-Templates#shelly25-window-covering-driver-with-external-push-buttons-status-led-and-built-in-setup-button-opening-time-18-seconds-closing-time-14-seconds-non-lineal-correction-70

This template has no inching, so the relay is closed the whole closing or opening time?

I hope you understand my situation :) Thank you for your fast response!

Originally posted by @raddi in https://github.com/RavenSystem/esp-homekit-devices/issues/718#issuecomment-572547977

stale[bot] commented 4 years ago

This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions.