|
| | IRArgoAC_WREM3 (const uint16_t pin, const bool inverted=false, const bool use_modulation=true) |
| | Class constructor.
|
| |
| void | sendSensorTemp (const uint8_t degrees, const uint16_t repeat=kArgoDefaultRepeat) |
| | Send current room temperature for the iFeel feature as a silent IR message (no acknowledgement from the device) (WREM3)
|
| |
| argo_ac_remote_model_t | getModel (void) const |
| | Get device model.
|
| |
| argoFan_t | getFan (void) const |
| |
| argoFlap_t | getFlap (void) const |
| |
| argoMode_t | getMode (void) const |
| |
| void | setEco (const bool on) |
| | Turn on/off the Economy mode (lowered power mode)
|
| |
| bool | getEco (void) const |
| | Get the status of Economy function.
|
| |
| void | setFilter (const bool on) |
| | Turn on/off the Filter mode (not supported by Argo Ulisse)
|
| |
| bool | getFilter (void) const |
| | Get status of the filter function.
|
| |
| void | setLight (const bool on) |
| | Turn on/off the device Lights (LED)
|
| |
| bool | getLight (void) const |
| | Get status of device lights.
|
| |
| void | setChannel (const uint8_t channel) |
| | Set the IR channel on which to communicate.
|
| |
| uint8_t | getChannel (void) const |
| | Get the currently set transmission channel.
|
| |
| void | setConfigEntry (const uint8_t paramId, const uint8_t value) |
| | Set the config data to send Valid only for argoIrMessageType_t::CONFIG_PARAM_SET message.
|
| |
| std::pair< uint8_t, uint8_t > | getConfigEntry (void) const |
| | Get the config entry previously set.
|
| |
| void | setCurrentTimeMinutes (uint16_t currentTimeMinutes) |
| | Set current clock (as minutes, counted from 0:00) E.g. 13:38 becomes 818 (13*60+38)
|
| |
| uint16_t | getCurrentTimeMinutes (void) const |
| | Retrieve current time.
|
| |
| void | setCurrentDayOfWeek (argoWeekday dayOfWeek) |
| | Set current day of week.
|
| |
| argoWeekday | getCurrentDayOfWeek (void) const |
| | Get current day of week.
|
| |
| void | setTimerType (const argoTimerType_t timerType) |
| | Set timer type.
|
| |
| argoTimerType_t | getTimerType (void) const |
| | Get currently set timer type.
|
| |
| void | setDelayTimerMinutes (const uint16_t delayMinutes) |
| | Set delay timer delay in minutes (10-minute increments only) Max is 1190 (19h50m)
|
| |
| uint16_t | getDelayTimerMinutes (void) const |
| | Get current delay timer value.
|
| |
| void | setScheduleTimerStartMinutes (const uint16_t startTimeMinutes) |
| | Set schedule timer on time (time when the device should turn on) (10-minute increments only)
|
| |
| uint16_t | getScheduleTimerStartMinutes (void) const |
| | Get schedule timer ON time.
|
| |
| void | setScheduleTimerStopMinutes (const uint16_t stopTimeMinutes) |
| | Set schedule timer off time (time when the device should turn off) (10-minute increments only)
|
| |
| uint16_t | getScheduleTimerStopMinutes (void) const |
| | Get schedule timer OFF time.
|
| |
| void | setScheduleTimerActiveDays (const std::set< argoWeekday > &days) |
| | Set the days when the schedule timer shall be active.
|
| |
| std::set< argoWeekday > | getScheduleTimerActiveDays (void) const |
| | Get the days when shedule timer shall be active (as set)
|
| |
| uint8_t | getTimerActiveDaysBitmap (void) const |
| | Get the days when shedule timer shall be active (as bitmap)
|
| |
| String | toString (void) const |
| | Convert the current internal state into a human readable string (WREM3).
|
| |
| stdAc::state_t | toCommon (void) const |
| | Convert the current internal state into its stdAc::state_t equivalent.
|
| |
| | IRArgoACBase (const uint16_t pin, const bool inverted=false, const bool use_modulation=true) |
| | Class constructor.
|
| |
| void | send (const uint16_t repeat=kArgoDefaultRepeat) |
| | Send the current internal state as an IR message.
|
| |
| 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) |
| | Set the internal state to have the power on.
|
| |
| void | off (void) |
| | Set the internal state to have the power off.
|
| |
| void | setPower (const bool on) |
| | Set the internal state to have the desired power.
|
| |
| bool | getPower (void) const |
| | Get the power setting from the internal state.
|
| |
| void | setTemp (const uint8_t degrees) |
| | Set the temperature.
|
| |
| uint8_t | getTemp (void) const |
| | Get the current temperature setting.
|
| |
| void | setSensorTemp (const uint8_t degrees) |
| | Set the value for the current room temperature.
|
| |
| uint8_t | getSensorTemp (void) const |
| | Get the currently stored value for the room temperature setting.
|
| |
| void | setFan (const argoFan_t fan) |
| | Set the desired fan mode (WREM3).
|
| |
| void | setFanEx (const argoFan_t fan) |
| |
| argoFan_t | getFanEx (void) const |
| | -Ex for backw. compat w/ IRArgoAC
|
| |
| void | setFlap (const argoFlap_t flap) |
| | Set the desired flap mode.
|
| |
| void | setFlapEx (const argoFlap_t flap) |
| |
| argoFlap_t | getFlapEx (void) const |
| | -Ex for backw. compat w/ IRArgoAC
|
| |
| void | setMode (const argoMode_t mode) |
| | Set the desired operation mode.
|
| |
| void | setModeEx (const argoMode_t mode) |
| |
| argoMode_t | getModeEx (void) const |
| | -Ex for backw. compat w/ IRArgoAC
|
| |
| void | setMax (const bool on) |
| | Control the current Max setting. (i.e. Turbo)
|
| |
| bool | getMax (void) const |
| | Is the Max (i.e. Turbo) setting on?
|
| |
| void | setNight (const bool on) |
| | Turn on/off the Night mode. i.e. Sleep.
|
| |
| bool | getNight (void) const |
| | Get the status of Night mode. i.e. Sleep.
|
| |
| void | setiFeel (const bool on) |
| | Turn on/off the iFeel mode.
|
| |
| bool | getiFeel (void) const |
| | Get the status of iFeel mode.
|
| |
| void | setMessageType (const argoIrMessageType_t msgType) |
| | Set the message type of the next command (setting this resets state)
|
| |
| argoIrMessageType_t | getMessageType (void) const |
| | Get the message type.
|
| |
| uint8_t * | getRaw (void) |
| | Get the raw state of the object, suitable to be sent with the appropriate IRsend object method.
|
| |
| uint16_t | getRawByteLength () const |
| | Get actual raw state byte length for the current state.
|
| |
| void | setRaw (const uint8_t state[], const uint16_t length) |
| | Set the raw state of the object.
|
| |
|
| void | _stateReset (ArgoProtocolWREM3 *state, argoIrMessageType_t messageType=argoIrMessageType_t::AC_CONTROL) |
| |
| void | stateReset (argoIrMessageType_t messageType=argoIrMessageType_t::AC_CONTROL) |
| | Reset the internals of the object to a known good state.
|
| |
| void | _checksum (ArgoProtocolWREM3 *state) |
| |
| void | checksum (void) |
| | Update the checksum for the internal state.
|
| |
| static uint16_t | getRawByteLength (const ArgoProtocolWREM3 &raw, argoIrMessageType_t messageTypeHint=argoIrMessageType_t::AC_CONTROL) |
| |
| static uint8_t | calcChecksum (const uint8_t state[], const uint16_t length) |
| | Calculate the checksum for a given state (WREM-3).
|
| |
| static uint8_t | getChecksum (const uint8_t state[], const uint16_t length) |
| | Retrieve the checksum value from transmitted state.
|
| |
| static stdAc::opmode_t | toCommonMode (const argoMode_t mode) |
| | Convert a native mode into its stdAc equivalent.
|
| |
| static stdAc::fanspeed_t | toCommonFanSpeed (const argoFan_t speed) |
| | Convert a native fan speed into its stdAc equivalent.
|
| |
| static stdAc::swingv_t | toCommonSwingV (const uint8_t position) |
| | Convert a native flap mode into its stdAc equivalent (WREM3).
|
| |
| static stdAc::ac_command_t | toCommonCommand (const argoIrMessageType_t command) |
| | Convert a native message type into its stdAc equivalent.
|
| |
| ArgoProtocolWREM3 | _ |
| | The raw protocol data.
|
| |
| uint16_t | _length |
| |
| argoIrMessageType_t | _messageType |
| |
| IRsend | _irsend |
| | instance of the IR send class
|
| |
| void | setPower (const bool on) |
| | Set the internal state to have the desired power.
|
| |
| bool | getPower (void) const |
| | Get the power setting from the internal state.
|
| |
| void | setFan (argoFan_t fan) |
| | Set the desired fan mode (WREM3).
|
| |
| void | setMode (argoMode_t mode) |
| | Set the desired operation mode.
|
| |
| argoIrMessageType_t | getMessageType (const uint8_t state[], const uint16_t length) |
| | Get message type from raw WREM-3 data.
|
| |
| uint16_t | getRawByteLength (const ArgoProtocol &, argoIrMessageType_t messageType) |
| | Get actual raw state byte length for the current state _param 1st param ignored: WREM-2 does not caryy type in payload, allegedly.
|
| |
| uint16_t | getRawByteLength (const ArgoProtocolWREM3 &raw, argoIrMessageType_t) |
| | Get actual raw state byte length for the current state.
|
| |
| void | _stateReset (ArgoProtocol *state, argoIrMessageType_t) |
| | Reset the given state to a known good state.
|
| |
| void | _stateReset (ArgoProtocolWREM3 *state, argoIrMessageType_t messageType) |
| | Reset the given state to a known good state.
|
| |
| void | _checksum (ArgoProtocol *state) |
| | Update the checksum for a given state (WREM2).
|
| |
| void | _checksum (ArgoProtocolWREM3 *state) |
| | Update the checksum for a given state (WREM3).
|
| |
| uint8_t | calcChecksum (const uint8_t state[], const uint16_t length) |
| | Calculate the checksum for a given state (WREM-3).
|
| |
| stdAc::swingv_t | toCommonSwingV (const uint8_t position) |
| | Convert a native flap mode into its stdAc equivalent (WREM3).
|
| |
Supports Argo A/C SAC-WREM3 IR remote protocol.