# DFplayer and Tasmota

**URL:** <https://discourse.nodered.org/t/dfplayer-and-tasmota/31589>\
**Category:** Hardware\
**Created:** [15 August 2020 17:21 UTC](https://discourse.nodered.org/t/dfplayer-and-tasmota/31589 "2020-08-15T17:21:51Z")\
**Posts on this page:** 6\
**Page:** 1

<div class="post-metadata">

**Author:** ![myozone](https://sea2.discourse-cdn.com/flex026/user_avatar/discourse.nodered.org/myozone/32/8904_2.png) [@myozone](https://discourse.nodered.org/u/myozone)\
**Post date:** [15 August 2020 17:21 UTC](https://discourse.nodered.org/t/dfplayer-and-tasmota/31589/1 "2020-08-15T17:21:51Z")

</div>

I've ordered a DFplayer and wondered if anyone here is using them in conjunction with Node-red and Tasmota. I'm thinking ahead and wondered how to control them to play messages when different things happen, I guess it's a simple 'Play track n' but I have no idea how to do it.

The DFPlayer is connected to an ESP8266 running Tasmota via serial

---

<div class="post-metadata">

**Author:** ![bakman2](https://sea2.discourse-cdn.com/flex026/user_avatar/discourse.nodered.org/bakman2/32/6207_2.png) [@bakman2](https://discourse.nodered.org/u/bakman2)\
**Post date:** [15 August 2020 17:28 UTC](https://discourse.nodered.org/t/dfplayer-and-tasmota/31589/2 "2020-08-15T17:28:39Z")

</div>

Perhaps you should wait until you receive the device. [Tasmota has support](https://tasmota.github.io/docs/Commands/#mp3-player) for it, so it should be a simple mqtt command.

---

<div class="post-metadata">

**Author:** ![myozone](https://sea2.discourse-cdn.com/flex026/user_avatar/discourse.nodered.org/myozone/32/8904_2.png) [@myozone](https://discourse.nodered.org/u/myozone)\
**Post date:** [15 August 2020 17:47 UTC](https://discourse.nodered.org/t/dfplayer-and-tasmota/31589/3 "2020-08-15T17:47:44Z")

</div>

You're probably right, but my ideas got the better of me 🤓. I must admit I haven't looked at the Tasmota pages for ages - it's changed quite a bit !. How would I send a MP3Track `x` = play track ?

---

<div class="post-metadata">

**Author:** ![hominidae](https://sea2.discourse-cdn.com/flex026/user_avatar/discourse.nodered.org/hominidae/32/4174_2.png) [@hominidae](https://discourse.nodered.org/u/hominidae)\
**Post date:** [15 August 2020 22:02 UTC](https://discourse.nodered.org/t/dfplayer-and-tasmota/31589/4 "2020-08-15T22:02:33Z")

</div>

the topic would be: cmd/[device-id]/MP3Track ..use the track no. as value and the Device.ID configured in the tasmota settings of the DFPlayer device.

---

<div class="post-metadata">

**Author:** ![myozone](https://sea2.discourse-cdn.com/flex026/user_avatar/discourse.nodered.org/myozone/32/8904_2.png) [@myozone](https://discourse.nodered.org/u/myozone)\
**Post date:** [16 August 2020 10:37 UTC](https://discourse.nodered.org/t/dfplayer-and-tasmota/31589/5 "2020-08-16T10:37:18Z")

</div>

Thanks @hominidae sounds simple enough - I'll give it a go when the module eventually gets here from the slow boat from China, then it's time to annoy my wife ... 😁  
No doubt I'll be back here.

---

<div class="post-metadata">

**Author:** ![system](https://us1.discourse-cdn.com/flex026/uploads/nodered/original/1X/d073cd938eafa2e558d7c2cd59003b3ef4963033.png) [@system](https://discourse.nodered.org/u/system)\
**Post date:** [15 October 2020 10:37 UTC](https://discourse.nodered.org/t/dfplayer-and-tasmota/31589/6 "2020-10-15T10:37:24Z")

</div>

Closed on 15 October 2020 10:37 UTC

This topic was automatically closed 60 days after the last reply. New replies are no longer allowed.
