ESPHome  1.15.2
Data Structures | Typedefs | Functions | Variables
esphome::remote_base Namespace Reference

Data Structures

struct  JVCData
 
class  JVCProtocol
 
struct  LGData
 
class  LGProtocol
 
struct  NECData
 
class  NECProtocol
 
struct  PanasonicData
 
class  PanasonicProtocol
 
struct  PioneerData
 
class  PioneerProtocol
 
class  RawAction
 
class  RawBinarySensor
 
class  RawDumper
 
class  RawTrigger
 
struct  RC5Data
 
class  RC5Protocol
 
class  RCSwitchBase
 
struct  RCSwitchData
 
class  RCSwitchDumper
 
class  RCSwitchRawAction
 
class  RCSwitchRawReceiver
 
class  RCSwitchTypeAAction
 
class  RCSwitchTypeBAction
 
class  RCSwitchTypeCAction
 
class  RCSwitchTypeDAction
 
class  RemoteComponentBase
 
class  RemoteProtocol
 
class  RemoteReceiveData
 
class  RemoteReceiverBase
 
class  RemoteReceiverBinarySensor
 
class  RemoteReceiverBinarySensorBase
 
class  RemoteReceiverDumper
 
class  RemoteReceiverDumperBase
 
class  RemoteReceiverListener
 
class  RemoteReceiverTrigger
 
class  RemoteRMTChannel
 
class  RemoteTransmitData
 
class  RemoteTransmitterActionBase
 
class  RemoteTransmitterBase
 
struct  SamsungData
 
class  SamsungProtocol
 
struct  SonyData
 
class  SonyProtocol
 

Typedefs

using RCSwitchTrigger = RemoteReceiverTrigger< RCSwitchBase, RCSwitchData >
 

Functions

 DECLARE_REMOTE_PROTOCOL (JVC) template< typename... Ts > class JVCAction
 
 DECLARE_REMOTE_PROTOCOL (LG) template< typename... Ts > class LGAction
 
 DECLARE_REMOTE_PROTOCOL (NEC) template< typename... Ts > class NECAction
 
 DECLARE_REMOTE_PROTOCOL (Panasonic) template< typename... Ts > class PanasonicAction
 
 DECLARE_REMOTE_PROTOCOL (Pioneer) template< typename... Ts > class PioneerAction
 
 DECLARE_REMOTE_PROTOCOL (RC5) template< typename... Ts > class RC5Action
 
uint64_t decode_binary_string (const std::string &data)
 
uint64_t decode_binary_string_mask (const std::string &data)
 
 DECLARE_REMOTE_PROTOCOL (Samsung) template< typename... Ts > class SamsungAction
 
 DECLARE_REMOTE_PROTOCOL (Sony) template< typename... Ts > class SonyAction
 

Variables

RCSwitchBase rc_switch_protocols [9]
 

Typedef Documentation

◆ RCSwitchTrigger

Definition at line 216 of file rc_switch_protocol.h.

Function Documentation

◆ DECLARE_REMOTE_PROTOCOL() [1/8]

esphome::remote_base::DECLARE_REMOTE_PROTOCOL ( JVC  )

Definition at line 21 of file jvc_protocol.h.

◆ DECLARE_REMOTE_PROTOCOL() [2/8]

esphome::remote_base::DECLARE_REMOTE_PROTOCOL ( Pioneer  )

Definition at line 22 of file pioneer_protocol.h.

◆ DECLARE_REMOTE_PROTOCOL() [3/8]

esphome::remote_base::DECLARE_REMOTE_PROTOCOL ( Samsung  )

Definition at line 22 of file samsung_protocol.h.

◆ DECLARE_REMOTE_PROTOCOL() [4/8]

esphome::remote_base::DECLARE_REMOTE_PROTOCOL ( NEC  )

Definition at line 22 of file nec_protocol.h.

◆ DECLARE_REMOTE_PROTOCOL() [5/8]

esphome::remote_base::DECLARE_REMOTE_PROTOCOL ( Panasonic  )

Definition at line 23 of file panasonic_protocol.h.

◆ DECLARE_REMOTE_PROTOCOL() [6/8]

esphome::remote_base::DECLARE_REMOTE_PROTOCOL ( Sony  )

Definition at line 23 of file sony_protocol.h.

◆ DECLARE_REMOTE_PROTOCOL() [7/8]

esphome::remote_base::DECLARE_REMOTE_PROTOCOL ( LG  )

Definition at line 23 of file lg_protocol.h.

◆ DECLARE_REMOTE_PROTOCOL() [8/8]

esphome::remote_base::DECLARE_REMOTE_PROTOCOL ( RC5  )

Definition at line 23 of file rc5_protocol.h.

◆ decode_binary_string()

uint64_t esphome::remote_base::decode_binary_string ( const std::string &  data)

Definition at line 218 of file rc_switch_protocol.cpp.

◆ decode_binary_string_mask()

uint64_t esphome::remote_base::decode_binary_string_mask ( const std::string &  data)

Definition at line 227 of file rc_switch_protocol.cpp.

Variable Documentation

◆ rc_switch_protocols

RCSwitchBase esphome::remote_base::rc_switch_protocols
Initial value:
= {RCSwitchBase(0, 0, 0, 0, 0, 0, false),
RCSwitchBase(350, 10850, 350, 1050, 1050, 350, false),
RCSwitchBase(650, 6500, 650, 1300, 1300, 650, false),
RCSwitchBase(3000, 7100, 400, 1100, 900, 600, false),
RCSwitchBase(380, 2280, 380, 1140, 1140, 380, false),
RCSwitchBase(3000, 7000, 500, 1000, 1000, 500, false),
RCSwitchBase(10350, 450, 450, 900, 900, 450, true),
RCSwitchBase(300, 9300, 150, 900, 900, 150, false),
RCSwitchBase(250, 2500, 250, 1250, 250, 250, false)}

Definition at line 9 of file rc_switch_protocol.cpp.