8 static const char *
const TAG =
"bedjet";
11 inline static uint8_t bedjet_fan_step_to_speed(
const uint8_t fan) {
16 inline static uint8_t bedjet_fan_speed_to_index(
const uint8_t
speed) {
return speed / 5 - 1; }
94 #define BEDJET_FAN_STEP_NAMES_ \ 96 "5%", "10%", "15%", "20%", "25%", "30%", "35%", "40%", "45%", "50%", "55%", "60%", "65%", "70%", "75%", "80%", \ 97 "85%", "90%", "95%", "100%" \ 100 static const uint8_t BEDJET_FAN_SPEED_COUNT = 20;
102 static const char *
const BEDJET_FAN_STEP_NAMES[BEDJET_FAN_SPEED_COUNT] = BEDJET_FAN_STEP_NAMES_;
103 static const std::string BEDJET_FAN_STEP_NAME_STRINGS[BEDJET_FAN_SPEED_COUNT] = BEDJET_FAN_STEP_NAMES_;
104 static const std::set<std::string> BEDJET_FAN_STEP_NAMES_SET BEDJET_FAN_STEP_NAMES_;
Enter Cool mode (fan only)
Start the M2 biorhythm/preset program.
Enter Extended Heat mode (limited to 10 hours)
BedJet is in Extended Heat mode (limited to 10 hours)
Enter Heat mode (limited to 4 hours)
BedJet is in "wait" mode, a step during a biorhythm program.
BedJet is in Dry mode (high speed, no heat)
BedJet is in Cool mode (actually "Fan only" mode)
Enter Dry mode (high speed, no heat)
Start the M1 biorhythm/preset program.
HVACMode.HEAT is handled using BTN_EXTHT.
BedJet is in Heat mode (limited to 4 hours)
Start the M3 biorhythm/preset program.
BedJet is in Turbo mode (high heat, limited time)
Acknowledge notification handled. See BedjetNotify.
BedjetHeatMode
Optional heating strategies to use for climate::CLIMATE_MODE_HEAT.
Implementation of SPI Controller mode.
Perform a connection test.
Enter Turbo mode (high heat, limited to 10 minutes)
Request a firmware update. This will also restart the Bedjet.
HVACMode.HEAT is handled using BTN_HEAT (default)