wildekek / rdtech-esphome

Add Home Assistant support to your RDTech power supply
MIT License
33 stars 7 forks source link

Flash instructions #3

Closed lein1013 closed 2 years ago

lein1013 commented 2 years ago

Hi, I've got the JOY-IT RD6006 WF WLAN-Modul für JOY-IT RD6006 and tried to flash via ESPhome. I've connected a USB2serial converter with 3.3V to the board and tried with En to 3.3V and GND. Futher with GPIO0 tied to GND directly on the ESP-12F, but that it does not work. How did you flash this device?

lein1013 commented 2 years ago

I finally got the device flashed (with some google). So I'll add some notes how I solved it. I did not use "The chip-enable pin on the RD6006 should be physically disconnected or enabled trough alternative RD6006 firmware". I just connected a USB-to-TTL with 3.3V to the RD6006WF module, did a RST and flashed via ESPhome. I've also supplied th 5V and reseted the device with a jumper cable on the left upper pin of the ESP-12F (RST).

If the interface is set to WIFI the RD6006 is recognized as esphome device in Home Assistant. Unfortunately it seems that the communication needs quite a lot of ressources, since the input on the power supply directly is very laggy. To deactivate the esphome WIFI function, you can simply switch the interface to TTL. Anyway that is a really great job!