mirror of
https://github.com/dalathegreat/Battery-Emulator.git
synced 2025-10-03 09:49:32 +02:00
we are hitting NTP so user can choose their emulator timezone or favourite ntp server
This commit is contained in:
parent
e064a04a52
commit
cca68fc90b
1 changed files with 8 additions and 0 deletions
|
@ -66,3 +66,11 @@ volatile float CHARGER_MIN_HV = 200; // Min permissible output (VDC) of cha
|
||||||
volatile float CHARGER_MAX_POWER = 3300; // Max power capable of charger, as a ceiling for validating config
|
volatile float CHARGER_MAX_POWER = 3300; // Max power capable of charger, as a ceiling for validating config
|
||||||
volatile float CHARGER_MAX_A = 11.5; // Max current output (amps) of charger
|
volatile float CHARGER_MAX_A = 11.5; // Max current output (amps) of charger
|
||||||
volatile float CHARGER_END_A = 1.0; // Current at which charging is considered complete
|
volatile float CHARGER_END_A = 1.0; // Current at which charging is considered complete
|
||||||
|
|
||||||
|
#ifdef PERIODIC_BMS_RESET_AT
|
||||||
|
// A list of rules for your zone can be obtained from https://github.com/esp8266/Arduino/blob/master/cores/esp8266/TZ.h
|
||||||
|
const char* time_zone =
|
||||||
|
"GMT0BST,M3.5.0/1,M10.5.0"; // TimeZone rule for Europe/London including daylight adjustment rules (optional)
|
||||||
|
const char* ntpServer1 = "pool.ntp.org";
|
||||||
|
const char* ntpServer2 = "time.nist.gov";
|
||||||
|
#endif
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue