Respect values over 11.1s.
This commit is contained in:
@@ -9,8 +9,11 @@ namespace trbc {
|
||||
constexpr uint16_t kMinTimerMs = MIN_TIMER_MS;
|
||||
constexpr uint16_t kMaxTimerMs = MAX_TIMER_MS;
|
||||
constexpr uint16_t kTimerStepMs = 100;
|
||||
constexpr uint16_t kTasmotaTenthsLimitMs = 11100;
|
||||
constexpr uint16_t kTasmotaSecondsStartMs = 12000;
|
||||
|
||||
uint16_t clampTimerMs(int valueMs);
|
||||
uint16_t normalizeTimerMs(int valueMs);
|
||||
uint16_t adjustTimerMs(uint16_t currentMs, int ticks);
|
||||
uint16_t tasmotaPulseTimeValue(uint16_t timerMs);
|
||||
|
||||
|
||||
@@ -7,4 +7,4 @@
|
||||
#define TASMOTA_HOST "192.168.1.50"
|
||||
#define INITIAL_TIMER_MS 5000
|
||||
#define MIN_TIMER_MS 2000
|
||||
#define MAX_TIMER_MS 10000
|
||||
#define MAX_TIMER_MS 13000
|
||||
|
||||
@@ -7,5 +7,5 @@
|
||||
#define WIFI_PASSWORD "!Sternenlabor99!"
|
||||
#define TASMOTA_HOST "192.168.240.101"
|
||||
#define INITIAL_TIMER_MS 5000
|
||||
#define MIN_TIMER_MS 2000
|
||||
#define MAX_TIMER_MS 13000
|
||||
#define MIN_TIMER_MS 0
|
||||
#define MAX_TIMER_MS (2 * 60 * 1000)
|
||||
|
||||
Reference in New Issue
Block a user