ESPHome  2024.2.0
Data Structures | Enumerations | Variables
esphome::voice_assistant Namespace Reference

Data Structures

class  ConnectedCondition
 
class  IsRunningCondition
 
class  StartAction
 
class  StartContinuousAction
 
class  StopAction
 
class  VoiceAssistant
 

Enumerations

enum  State {
  State::IDLE, State::START_MICROPHONE, State::STARTING_MICROPHONE, State::WAIT_FOR_VAD,
  State::WAITING_FOR_VAD, State::START_PIPELINE, State::STARTING_PIPELINE, State::STREAMING_MICROPHONE,
  State::STOP_MICROPHONE, State::STOPPING_MICROPHONE, State::AWAITING_RESPONSE, State::STREAMING_RESPONSE,
  State::RESPONSE_FINISHED
}
 

Variables

VoiceAssistantglobal_voice_assistant = nullptr
 

Enumeration Type Documentation

◆ State

Enumerator
IDLE 
START_MICROPHONE 
STARTING_MICROPHONE 
WAIT_FOR_VAD 
WAITING_FOR_VAD 
START_PIPELINE 
STARTING_PIPELINE 
STREAMING_MICROPHONE 
STOP_MICROPHONE 
STOPPING_MICROPHONE 
AWAITING_RESPONSE 
STREAMING_RESPONSE 
RESPONSE_FINISHED 

Definition at line 36 of file voice_assistant.h.

Variable Documentation

◆ global_voice_assistant

VoiceAssistant * esphome::voice_assistant::global_voice_assistant = nullptr

Definition at line 689 of file voice_assistant.cpp.