arendst / Tasmota

Alternative firmware for ESP8266 and ESP32 based devices with easy configuration using webUI, OTA updates, automation using timers or rules, expandability and entirely local control over MQTT, HTTP, Serial or KNX. Full documentation at
https://tasmota.github.io/docs
GNU General Public License v3.0
21.69k stars 4.72k forks source link

NeoPool make compiler setting available by user_config_override.h #21645

Closed curzon01 closed 2 weeks ago

curzon01 commented 2 weeks ago

Description:

Following compiler settings for NeoPool can alternatively now also be set within user_config_override.h:

// Modbus settings
#define NEOPOOL_MODBUS_SPEED         19200
#define NEOPOOL_MODBUS_ADDRESS       1      // Modbus address, "WIFI" uses 1, "EXTERN" defaults also 1
#define NEOPOOL_READ_REGISTER        0x04   // Modbus function code used to read register
#define NEOPOOL_WRITE_REGISTER       0x10   // Modbus function code used to write register
#define NEOPOOL_READ_TIMEOUT           25   // Modbus read data timeout in ms
#define NEOPOOL_CACHE_INVALID_TIME     30   // Modbus data cache invalidation time in s

// Pool LED RGB lights with different programs, the individual programs can be selected
// by switching them off and on again for a defined time when the LED is switched on.
// Default timings for LED light program step sequence (NPLight 3)
#define NEOPOOL_LIGHT_PRG_WAIT       30     // Pool LED RGB light delay before start prg light if light was off (in ms)
#define NEOPOOL_LIGHT_PRG_DELAY      15     // Pool LED RGB light default next light prg delay (in ms)
#define NEOPOOL_LIGHT_PRG_DELAY_MIN  5      // Pool LED RGB light next light prg delay min (in ms)
#define NEOPOOL_LIGHT_PRG_DELAY_MAX  100    // Pool LED RGB light next light prg delay max (in ms)

Checklist: