ESPHome  1.15.2
Data Structures | Enumerations | Functions
esphome::dfplayer Namespace Reference

Data Structures

class  DFPlayer
 
class  DFPlayerFinishedPlaybackTrigger
 
class  DFPlayerIsPlayingCondition
 
class  PlayFileAction
 
class  PlayFolderAction
 
class  SetDeviceAction
 
class  SetEqAction
 
class  SetVolumeAction
 

Enumerations

enum  EqPreset {
  NORMAL = 0, POP = 1, ROCK = 2, JAZZ = 3,
  CLASSIC = 4, BASS = 5
}
 
enum  Device { USB = 1, TF_CARD = 2 }
 

Functions

 DFPLAYER_SIMPLE_ACTION (NextAction, next) DFPLAYER_SIMPLE_ACTION(PreviousAction
 
 DFPLAYER_SIMPLE_ACTION (SleepAction, sleep) DFPLAYER_SIMPLE_ACTION(ResetAction
 
reset DFPLAYER_SIMPLE_ACTION (StartAction, start) DFPLAYER_SIMPLE_ACTION(PauseAction
 
reset pause DFPLAYER_SIMPLE_ACTION (StopAction, stop) DFPLAYER_SIMPLE_ACTION(RandomAction
 

Enumeration Type Documentation

◆ Device

Enumerator
USB 
TF_CARD 

Definition at line 21 of file dfplayer.h.

◆ EqPreset

Enumerator
NORMAL 
POP 
ROCK 
JAZZ 
CLASSIC 
BASS 

Definition at line 12 of file dfplayer.h.

Function Documentation

◆ DFPLAYER_SIMPLE_ACTION() [1/4]

esphome::dfplayer::DFPLAYER_SIMPLE_ACTION ( NextAction  ,
next   
)

◆ DFPLAYER_SIMPLE_ACTION() [2/4]

esphome::dfplayer::DFPLAYER_SIMPLE_ACTION ( SleepAction  ,
sleep   
)

◆ DFPLAYER_SIMPLE_ACTION() [3/4]

reset esphome::dfplayer::DFPLAYER_SIMPLE_ACTION ( StartAction  ,
start   
)

◆ DFPLAYER_SIMPLE_ACTION() [4/4]

reset pause esphome::dfplayer::DFPLAYER_SIMPLE_ACTION ( StopAction  ,
stop   
)