ESPHome
2026.11.0-dev
Loading...
Searching...
No Matches
esphome
components
heatpumpir
receiver_mitsubishi_heavy.h
Go to the documentation of this file.
1
#pragma once
2
3
#include "
esphome/components/remote_base/remote_base.h
"
4
5
namespace
esphome::heatpumpir
{
6
7
class
HeatpumpIRClimate;
8
10
inline
constexpr
uint8_t
MITSUBISHI_HEAVY_FRAME_LENGTH
= 11;
11
14
bool
decode_mitsubishi_heavy_frame
(
remote_base::RemoteReceiveData
&data, uint8_t frame[
MITSUBISHI_HEAVY_FRAME_LENGTH
],
15
HeatpumpIRClimate
&climate);
16
18
void
decode_mitsubishi_heavy_zmp
(
const
uint8_t frame[
MITSUBISHI_HEAVY_FRAME_LENGTH
],
HeatpumpIRClimate
&climate);
19
20
}
// namespace esphome::heatpumpir
esphome::heatpumpir::HeatpumpIRClimate
Definition
heatpumpir.h:102
esphome::remote_base::RemoteReceiveData
Definition
remote_base.h:55
esphome::heatpumpir
Definition
heatpumpir.cpp:13
esphome::heatpumpir::decode_mitsubishi_heavy_frame
bool decode_mitsubishi_heavy_frame(remote_base::RemoteReceiveData &data, uint8_t frame[MITSUBISHI_HEAVY_FRAME_LENGTH], HeatpumpIRClimate &climate)
Read a Mitsubishi Heavy frame into frame, check its prefix and inverted byte pairs,...
Definition
receiver_mitsubishi_heavy.cpp:96
esphome::heatpumpir::decode_mitsubishi_heavy_zmp
void decode_mitsubishi_heavy_zmp(const uint8_t frame[MITSUBISHI_HEAVY_FRAME_LENGTH], HeatpumpIRClimate &climate)
Apply the ZMP-specific fields (fan, preset, swing) of a validated frame.
Definition
receiver_mitsubishi_heavy_zmp.cpp:21
esphome::heatpumpir::MITSUBISHI_HEAVY_FRAME_LENGTH
constexpr uint8_t MITSUBISHI_HEAVY_FRAME_LENGTH
Bytes in a Mitsubishi Heavy IR frame, prefix included.
Definition
receiver_mitsubishi_heavy.h:10
remote_base.h
Generated by
1.12.0