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.76k stars 361 forks source link

Blinds configuration Sonoff 4ch pro r2 #797

Closed asbesto01 closed 4 years ago

asbesto01 commented 4 years ago

Hello everybody,

I need to create four new accessories, using four different sonoff 4ch pro r2:

1) BLIND 1 (bedroom) DEV TYPE: COVERING BOARD TYPE: 1 Device Type: 12 Closing time: 22,2 sec Opening time: 22,2 sec

2) BLIND 2 (bathroom short) DEV TYPE: COVERING BOARD TYPE: 1 Device Type: 12 Closing time: 23,8 sec Opening time: 23,8 sec

3) BLIND 3 (bathroom long)

DEV TYPE: COVERING BOARD TYPE: 1 Device Type: 12 Closing time: 32,4 sec Opening time: 32,4 sec

4) BLIND 4 (working room) DEV TYPE: COVERING BOARD TYPE: 1 Device Type: 12 Closing time: 22,2 sec Opening time: 22,2 sec

can someone pass me the correct config files? Thank you so much!!!

asbesto01 commented 4 years ago

Guys any hint? I don't know how to fix this config :)

can I adapt something like this?

Sonoff Dual 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%):

{"c":{"l":13,"b":[{"g":10,"t":5}]},"a":[{"t":45,"o":18,"c":14,"f":70,"0":{"r":[{"g":12,"v":1},{"g":5}]},"1":{"r":[{"g":12},{"g":5,"v":1}]},"2":{"r":[{"g":12},{"g":5}]},"3":{"r":[{"g":12,"i":1},{"g":5}]},"4":{"r":[{"g":12},{"g":5,"i":1}]},"f3":[{"g":0}],"f4":[{"g":9}]}]}

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.

asbesto01 commented 4 years ago

Help!!

asbesto01 commented 4 years ago

I used this config

{"c":{"l":13,"b":[{"g":10,"t":5}]},"a":[{"t":45,"o":18,"c":14,"f":100,"0":{"r":[{"g":12,"v":1},{"g":5}]},"1":{"r":[{"g":12},{"g":5,"v":1}]},"2":{"r":[{"g":12},{"g":5}]},"3":{"r":[{"g":12,"i":1},{"g":5}]},"4":{"r":[{"g":12},{"g":5,"i":1}]},"f3":[{"g":0}],"f4":[{"g":9}]}]}

On a sonoff dual r2 and works perfectly

The only major issue I have is that after I reboot the electricity, the device starts in blinds CLOSED mode.

the previous ravencores were remembering the status they had before electricity shortage (so if they were open before electricity shortage, then after reboot they started as OPEN)

Any idea on how to fix it and modify the INIT STATE?

Thanks

asbesto01 commented 4 years ago

I used this config

{"c":{"l":13,"b":[{"g":10,"t":5}]},"a":[{"t":45,"o":18,"c":14,"f":100,"0":{"r":[{"g":12,"v":1},{"g":5}]},"1":{"r":[{"g":12},{"g":5,"v":1}]},"2":{"r":[{"g":12},{"g":5}]},"3":{"r":[{"g":12,"i":1},{"g":5}]},"4":{"r":[{"g":12},{"g":5,"i":1}]},"f3":[{"g":0}],"f4":[{"g":9}]}]}

On a sonoff dual r2 and works perfectly

The only major issue I have is that after I reboot the electricity, the device starts in blinds CLOSED mode.

the previous ravencores were remembering the status they had before electricity shortage (so if they were open before electricity shortage, then after reboot they started as OPEN)

Any idea on how to fix it and modify the INIT STATE?

Thanks

@RavenSystem any help?

Gracias

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.