mirror of
https://github.com/lumapu/ahoy.git
synced 2025-04-30 02:36:20 +02:00
0.8.119
* fix reset values at midnight if WiFi isn't available #1620 * fix typo in English versions
This commit is contained in:
parent
85e3dea281
commit
61ee8aa91f
4 changed files with 14 additions and 8 deletions
|
@ -1,5 +1,9 @@
|
||||||
# Development Changes
|
# Development Changes
|
||||||
|
|
||||||
|
## 0.8.119 - 2024-05-16
|
||||||
|
* fix reset values at midnight if WiFi isn't available #1620
|
||||||
|
* fix typo in English versions
|
||||||
|
|
||||||
## 0.8.118 - 2024-05-10
|
## 0.8.118 - 2024-05-10
|
||||||
* possible fix reset max values #1609
|
* possible fix reset max values #1609
|
||||||
* slightly improved WiFi reconnect
|
* slightly improved WiFi reconnect
|
||||||
|
|
|
@ -148,6 +148,7 @@ void app::loop(void) {
|
||||||
//-----------------------------------------------------------------------------
|
//-----------------------------------------------------------------------------
|
||||||
void app::onNetwork(bool gotIp) {
|
void app::onNetwork(bool gotIp) {
|
||||||
mNetworkConnected = gotIp;
|
mNetworkConnected = gotIp;
|
||||||
|
if(gotIp) {
|
||||||
ah::Scheduler::resetTicker();
|
ah::Scheduler::resetTicker();
|
||||||
regularTickers(); //reinstall regular tickers
|
regularTickers(); //reinstall regular tickers
|
||||||
every(std::bind(&app::tickSend, this), mConfig->inst.sendInterval, "tSend");
|
every(std::bind(&app::tickSend, this), mConfig->inst.sendInterval, "tSend");
|
||||||
|
@ -155,6 +156,7 @@ void app::onNetwork(bool gotIp) {
|
||||||
mSunrise = 0; // needs to be set to 0, to reinstall sunrise and ivComm tickers!
|
mSunrise = 0; // needs to be set to 0, to reinstall sunrise and ivComm tickers!
|
||||||
once(std::bind(&app::tickNtpUpdate, this), 2, "ntp2");
|
once(std::bind(&app::tickNtpUpdate, this), 2, "ntp2");
|
||||||
}
|
}
|
||||||
|
}
|
||||||
|
|
||||||
//-----------------------------------------------------------------------------
|
//-----------------------------------------------------------------------------
|
||||||
void app::regularTickers(void) {
|
void app::regularTickers(void) {
|
||||||
|
|
|
@ -13,7 +13,7 @@
|
||||||
//-------------------------------------
|
//-------------------------------------
|
||||||
#define VERSION_MAJOR 0
|
#define VERSION_MAJOR 0
|
||||||
#define VERSION_MINOR 8
|
#define VERSION_MINOR 8
|
||||||
#define VERSION_PATCH 118
|
#define VERSION_PATCH 119
|
||||||
//-------------------------------------
|
//-------------------------------------
|
||||||
typedef struct {
|
typedef struct {
|
||||||
uint8_t ch;
|
uint8_t ch;
|
||||||
|
|
|
@ -340,7 +340,7 @@
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
"token": "INV_RESET_MAX_VALUES",
|
"token": "INV_RESET_MAX_VALUES",
|
||||||
"en": "Inlude reset 'max' values",
|
"en": "Include reset 'max' values",
|
||||||
"de": "Maximalwerte auch zurücksetzen"
|
"de": "Maximalwerte auch zurücksetzen"
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
|
|
Loading…
Add table
Reference in a new issue