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.72k stars 357 forks source link

relay4 trigger once when device power on #1473

Closed justlight220 closed 3 years ago

justlight220 commented 3 years ago

Hi, after flash fullhaaboot.bin firmware, relay4 not tigger when device power on but, after setting up wifi , relay4 tigger once when device power on. is any solution can fix it?

Device: Sonoff 4ch pro r3 Json Config

{
    "c": {
        "l": 13,
        "b": [
            {
                "g": 0,
                "t": 5
            }
        ]
    },
    "a": [
        {
            "i": 0.5,
            "0": {
                "r": [
                    {
                        "g": 15
                    }
                ]
            },
            "1": {
                "r": [
                    {
                        "g": 15,
                        "v": 1
                    }
                ]
            },
            "b": [
                {
                    "g": 14
                }
            ]
        },
        {
            "i": 0.5,
            "0": {
                "r": [
                    {
                        "g": 12
                    }
                ]
            },
            "1": {
                "r": [
                    {
                        "g": 12,
                        "v": 1
                    }
                ]
            },
            "b": [
                {
                    "g": 0
                }
            ]
        },
        {
            "i": 0.5,
            "0": {
                "r": [
                    {
                        "g": 5
                    }
                ]
            },
            "1": {
                "r": [
                    {
                        "g": 5,
                        "v": 1
                    }
                ]
            },
            "b": [
                {
                    "g": 9
                }
            ]
        },
        {
            "i": 0.5,
            "0": {
                "r": [
                    {
                        "g": 4
                    }
                ]
            },
            "1": {
                "r": [
                    {
                        "g": 4,
                        "v": 1
                    }
                ]
            },
            "b": [
                {
                    "g": 10
                }
            ]
        }
    ]
}
justlight220 commented 3 years ago

device power on video https://user-images.githubusercontent.com/75196944/125927185-6fbb224d-2e0e-43f1-ad0f-f233da2c587c.mov

RavenSystem commented 3 years ago

Which GPIO uses relay 4?

justlight220 commented 3 years ago

relay use GPIO 15 button use GPIO 14

Screen Shot 2021-07-16 at 6 16 48 PM
RavenSystem commented 3 years ago

Let me some minutes to rebuild a beta version.

Daveblanche commented 3 years ago

Awesome!

On 16 Jul 2021, at 11:28, José Antonio Jiménez Campos @.***> wrote:

Let me some minutes to rebuild a beta version.

— You are receiving this because you are subscribed to this thread. Reply to this email directly, view it on GitHub https://github.com/RavenSystem/esp-homekit-devices/issues/1473#issuecomment-881346607, or unsubscribe https://github.com/notifications/unsubscribe-auth/ARL3AVTPEVKMWVGRD5LJGSTTYACWPANCNFSM5APGF46Q.

RavenSystem commented 3 years ago

Try beta v6.53.1:

https://github.com/RavenSystem/haabeta

justlight220 commented 3 years ago

I'm not sure update success or not update use these step

  1. change Custom server for updates: to github.com/RavenSystem/haabeta/releases/download/6.53.1
  2. change port to 443
  3. enable Secure connection
  4. selected Update all now (HAA OTA v4.9.0)
  5. click save
  6. screen show ok

setup mode still show Home Accessory Architect v6.3.0 what other step need to do?

Screen Shot 2021-07-16 at 8 49 49 PM
RavenSystem commented 3 years ago

Change Custom server for updates to: github.com/RavenSystem/haabeta/releases/latest/download

And do other steps again.

justlight220 commented 3 years ago

It works. Thank for your help.

RavenSystem commented 3 years ago

Can you try last BETA version 6.54.0, please?

justlight220 commented 3 years ago

Also work. relay4 not trigger when power on.

Screen Shot 2021-07-17 at 12 24 55 AM
RavenSystem commented 3 years ago

Many thanks.

You can leave beta repo removing all content of "Custom server for updates".

HAA v6.4.0 has been released including changes about this matter.

justlight220 commented 3 years ago

Got it. Thank you for your help.