ronschaeffer / video_doorbell_voice_response

Video & audio doorbell for Home Assistant: ESP32 Cam, DFPlayer Mini, ESPHome
171 stars 24 forks source link

Trouble uart communication #4

Open IcsZeta opened 2 years ago

IcsZeta commented 2 years ago

Thanks for sharing this great project! I'm currently having some trouble in connecting the wemos d1 mini/esp32cam to the DFplayer module. If I short IO1 or IO2 on the module, it works as intended (Prev or next, long press to Vol- or Vol+). But it seems not to be able to communicate with the MCU (esp8266 nor esp32).

I was checking the logs from the ESP32 and this is what happens: Immagine 2022-08-27 145957

[Command 0x4c arg 0x01] appears whenever I short IO1 ("Previous Track" command) [Send Command 0x3 arg 0x01] appears when I try to call the service "doorbell_dfplayer_play"

Therefore, ESP32cam and DFplayer module seem to communicate with each other, however calling the service won't activate the module nor start reproducing the selected .mp3.

Thanks in advance for your help!