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

Data Structures

class  DFPlayer
 
class  DFPlayerFinishedPlaybackTrigger
 
class  DFPlayerIsPlayingCondition
 
class  PlayFileAction
 
class  PlayFolderAction
 
class  PlayMp3Action
 
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
 
reset pause random DFPLAYER_SIMPLE_ACTION (VolumeUpAction, volume_up) DFPLAYER_SIMPLE_ACTION(VolumeDownAction
 

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/5]

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

◆ DFPLAYER_SIMPLE_ACTION() [2/5]

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

◆ DFPLAYER_SIMPLE_ACTION() [3/5]

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

◆ DFPLAYER_SIMPLE_ACTION() [4/5]

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

◆ DFPLAYER_SIMPLE_ACTION() [5/5]

reset pause random esphome::dfplayer::DFPLAYER_SIMPLE_ACTION ( VolumeUpAction  ,
volume_up   
)