|
| | 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.
|
| |
| void | stateReset (void) override |
| | Reset the internal state to auto fan, cooling, 23° Celsius.
|
| |
| void | setRaw (const uint8_t new_code[], const uint16_t length=kHitachiAc344StateLength) override |
| | Set the internal state from a valid code for this protocol.
|
| |
| stdAc::state_t | toCommon (void) const override |
| | Convert the current internal state into its stdAc::state_t equivalent.
|
| |
| void | send (const uint16_t repeat=kHitachiAcDefaultRepeat) override |
| | Create and send the IR message to the A/C.
|
| |
| void | setSwingV (const bool on) |
| | Control the vertical swing setting.
|
| |
| bool | getSwingV (void) const |
| | Get the current vertical swing setting.
|
| |
| void | setSwingH (const uint8_t position) |
| | Control the horizontal swing setting.
|
| |
| uint8_t | getSwingH (void) const |
| | Get the current horizontal swing setting.
|
| |
| String | toString (void) const override |
| | Convert the internal state into a human readable string.
|
| |
| | IRHitachiAc424 (const uint16_t pin, const bool inverted=false, const bool use_modulation=true) |
| | Class constructor.
|
| |
| int8_t | calibrate (void) |
| | Run the calibration to calculate uSec timing offsets for this platform.
|
| |
| void | begin (void) |
| | Set up hardware to be able to send a message.
|
| |
| void | on (void) |
| | Change the power setting to On.
|
| |
| void | off (void) |
| | Change the power setting to Off.
|
| |
| void | setPower (const bool on) |
| | Change the power setting.
|
| |
| bool | getPower (void) const |
| | Get the value of the current power setting.
|
| |
| void | setTemp (const uint8_t temp, bool setPrevious=true) |
| | Set the temperature.
|
| |
| uint8_t | getTemp (void) const |
| | Get the current temperature setting.
|
| |
| virtual void | setFan (const uint8_t speed) |
| | Set the speed of the fan.
|
| |
| uint8_t | getFan (void) const |
| | Get the current fan speed setting.
|
| |
| uint8_t | getButton (void) const |
| | Get the Button/Command setting of the A/C.
|
| |
| void | setButton (const uint8_t button) |
| | Set the Button/Command pressed setting of the A/C.
|
| |
| void | setSwingVToggle (const bool on) |
| | Set the Vertical Swing toggle setting of the A/C.
|
| |
| bool | getSwingVToggle (void) const |
| | Get the Vertical Swing toggle setting of the A/C.
|
| |
| void | setMode (const uint8_t mode) |
| | Set the operating mode of the A/C.
|
| |
| uint8_t | getMode (void) const |
| | Get the operating mode setting of the A/C.
|
| |
| uint8_t * | getRaw (void) |
| | Get a PTR to the internal state/code for this protocol.
|
| |
| virtual uint8_t | convertFan (const stdAc::fanspeed_t speed) const |
| | Convert a stdAc::fanspeed_t enum into it's native speed.
|
| |
| virtual stdAc::fanspeed_t | toCommonFanSpeed (const uint8_t speed) const |
| | Convert a native fan speed into its stdAc equivalent.
|
| |
Class for handling detailed Hitachi 344-bit A/C messages.