|
IRremoteESP8266
|
Class for handling detailed Hitachi 344-bit A/C messages. More...
#include <ir_Hitachi.h>


Public Member Functions | |
| IRHitachiAc344 (const uint16_t pin, const bool inverted=false, const bool use_modulation=true) | |
| Class constructor for handling detailed Hitachi_AC344 43 byte A/C messages. More... | |
| void | stateReset (void) override |
| Reset the internal state to auto fan, cooling, 23° Celsius. More... | |
| void | setRaw (const uint8_t new_code[], const uint16_t length=kHitachiAc344StateLength) override |
| Set the internal state from a valid code for this protocol. More... | |
| stdAc::state_t | toCommon (void) const override |
| Convert the current internal state into its stdAc::state_t equivalent. More... | |
| void | send (const uint16_t repeat=kHitachiAcDefaultRepeat) override |
| Create and send the IR message to the A/C. More... | |
| void | setSwingV (const bool on) |
| Control the vertical swing setting. More... | |
| bool | getSwingV (void) const |
| Get the current vertical swing setting. More... | |
| void | setSwingH (const uint8_t position) |
| Control the horizontal swing setting. More... | |
| uint8_t | getSwingH (void) const |
| Get the current horizontal swing setting. More... | |
| String | toString (void) const override |
| Convert the internal state into a human readable string. More... | |
Public Member Functions inherited from IRHitachiAc424 | |
| IRHitachiAc424 (const uint16_t pin, const bool inverted=false, const bool use_modulation=true) | |
| Class constructor. More... | |
| int8_t | calibrate (void) |
| Run the calibration to calculate uSec timing offsets for this platform. More... | |
| void | begin (void) |
| Set up hardware to be able to send a message. More... | |
| void | on (void) |
| Change the power setting to On. More... | |
| void | off (void) |
| Change the power setting to Off. More... | |
| void | setPower (const bool on) |
| Change the power setting. More... | |
| bool | getPower (void) const |
| Get the value of the current power setting. More... | |
| void | setTemp (const uint8_t temp, bool setPrevious=true) |
| Set the temperature. More... | |
| uint8_t | getTemp (void) const |
| Get the current temperature setting. More... | |
| virtual void | setFan (const uint8_t speed) |
| Set the speed of the fan. More... | |
| uint8_t | getFan (void) const |
| Get the current fan speed setting. More... | |
| uint8_t | getButton (void) const |
| Get the Button/Command setting of the A/C. More... | |
| void | setButton (const uint8_t button) |
| Set the Button/Command pressed setting of the A/C. More... | |
| void | setSwingVToggle (const bool on) |
| Set the Vertical Swing toggle setting of the A/C. More... | |
| bool | getSwingVToggle (void) const |
| Get the Vertical Swing toggle setting of the A/C. More... | |
| void | setMode (const uint8_t mode) |
| Set the operating mode of the A/C. More... | |
| uint8_t | getMode (void) const |
| Get the operating mode setting of the A/C. More... | |
| uint8_t * | getRaw (void) |
| Get a PTR to the internal state/code for this protocol. More... | |
| virtual uint8_t | convertFan (const stdAc::fanspeed_t speed) const |
| Convert a stdAc::fanspeed_t enum into it's native speed. More... | |
| virtual stdAc::fanspeed_t | toCommonFanSpeed (const uint8_t speed) const |
| Convert a native fan speed into its stdAc equivalent. More... | |
Static Public Member Functions | |
| static uint8_t | convertSwingH (const stdAc::swingh_t position) |
| Convert a standard A/C horizontal swing into its native setting. More... | |
| static stdAc::swingh_t | toCommonSwingH (const uint8_t pos) |
| Convert a native horizontal swing postion to it's common equivalent. More... | |
Static Public Member Functions inherited from IRHitachiAc424 | |
| static uint8_t | convertMode (const stdAc::opmode_t mode) |
| Convert a stdAc::opmode_t enum into its native mode. More... | |
| static stdAc::opmode_t | toCommonMode (const uint8_t mode) |
| Convert a native mode into its stdAc equivalent. More... | |
Class for handling detailed Hitachi 344-bit A/C messages.
|
explicit |
Class constructor for handling detailed Hitachi_AC344 43 byte A/C messages.
| [in] | pin | GPIO to be used when sending. |
| [in] | inverted | Is the output signal to be inverted? |
| [in] | use_modulation | Is frequency modulation to be used? |
|
static |
Convert a standard A/C horizontal swing into its native setting.
| [in] | position | A stdAc::swingh_t position to convert. |
| uint8_t IRHitachiAc344::getSwingH | ( | void | ) | const |
Get the current horizontal swing setting.
| bool IRHitachiAc344::getSwingV | ( | void | ) | const |
Get the current vertical swing setting.
|
overridevirtual |
Create and send the IR message to the A/C.
| [in] | repeat | Nr. of times to repeat the message. |
Reimplemented from IRHitachiAc424.
|
overridevirtual |
Set the internal state from a valid code for this protocol.
| [in] | new_code | A valid code for this protocol. |
| [in] | length | Size (in bytes) of the code for this protocol. |
Reimplemented from IRHitachiAc424.
| void IRHitachiAc344::setSwingH | ( | const uint8_t | position | ) |
Control the horizontal swing setting.
| [in] | position | The position to set the horizontal swing to. |
| void IRHitachiAc344::setSwingV | ( | const bool | on | ) |
Control the vertical swing setting.
| [in] | on | True, turns on the feature. False, turns off the feature. |
|
overridevirtual |
Reset the internal state to auto fan, cooling, 23° Celsius.
Reimplemented from IRHitachiAc424.
|
overridevirtual |
Convert the current internal state into its stdAc::state_t equivalent.
Reimplemented from IRHitachiAc424.
|
static |
Convert a native horizontal swing postion to it's common equivalent.
| [in] | pos | A native position to convert. |
|
overridevirtual |
Convert the internal state into a human readable string.
Reimplemented from IRHitachiAc424.
1.8.17