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.66k stars 355 forks source link

Garage door opener Eachen GD-DC5 #884

Closed hejsiri closed 4 years ago

hejsiri commented 4 years ago

I bought an interesting and well-made device for opening the garage door on AliExpress. has 1 opening sensor. all accessories to facilitate assembly. has ewelink software. I changed soft to HAA but I have a problem with JSON configuration. I have no idea what are the gpio of the relay, sensor, button and LED. did any of you have experience with this device and help? this can be found on the internet under the name EACHEN GD-DC5. Will this device work with HAA? on the motherboard I see 2 connectors for flashing. the other is labeled MCU. what is this? 0D778CED-5BEA-4660-BAFD-21EDA2D9428E 9D1D7FA9-A811-49F6-8C9D-727E2558CFA7 F9BF9A99-7D6F-4BEE-BAD0-7C476ABF05D2

tonysprenk commented 4 years ago

Looks like this device might communicate through serial commands with a secondary micro controller. This is not yet supported by HAA but @ravensystem has confirmed that it will be in an upcoming release.

hejsiri commented 4 years ago

will you need to reprogram 2 systems separately? how does such a device work?

tonysprenk commented 4 years ago

No the esp chip sends serial commands to the second controller telling it what to do.

wwns commented 4 years ago

Here's a sample code

`void setup() { Serial.begin(9600); }

void loop() { byte close[] = {0xA0, 0x01, 0x01, 0xA2}; Serial.write(close, sizeof(close)); delay(2000);

byte open[] = {0xA0, 0x01, 0x00, 0xA1}; Serial.write(open, sizeof(open)); delay(2000);
} `

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.

Thiso6 commented 3 years ago

Hi, I successfully flashed tasmota by using the 4 pins (VDD, GND, RX, TX) of the WIFI part (not MCU). I'm now trying to configure it properly

Be2daErtin commented 3 years ago

Hi, I successfully flashed tasmota by using the 4 pins (VDD, GND, RX, TX) of the WIFI part (not MCU). I'm now trying to configure it properly

Hi, Did you manage to get it working?

Thiso6 commented 3 years ago

Yes it is working properly. The problem is that the microcontroller unit (MCU) is in conflict with the tasmota control. That caused it to keep toggling. The solution is to remove the MCU and the solder some bypass wires. It is running perfectly now. I followed this thread: https://community.home-assistant.io/t/gd-dc5-tasmota-ha/149245/22

gogreenpower commented 3 years ago

Hi, I successfully flashed tasmota by using the 4 pins (VDD, GND, RX, TX) of the WIFI part (not MCU). I'm now trying to configure it properly

Any idea how to access those 4 pins on this style of board?

20210219_093936