1
0
Fork 0
mirror of https://github.com/lumapu/ahoy.git synced 2025-07-17 16:27:12 +02:00

fixed timezone for time sync from browser (thx @DanielR92)

This commit is contained in:
lumapu 2022-10-12 12:38:23 +02:00
parent 6bf6e357ca
commit dbdc2ad5ab
4 changed files with 8 additions and 9 deletions
tools/esp8266

View file

@ -125,7 +125,7 @@ void app::loop(void) {
mPayload[iv->id].txId = p->packet[0];
DPRINTLN(DBG_DEBUG, F("Response from devcontrol request received"));
iv->devControlRequest = false;
if (p->packet[12] == ActivePowerContr && p->packet[13] == 0x00) {
if ((p->packet[12] == ActivePowerContr) && (p->packet[13] == 0x00)) {
if (p->packet[10] == 0x00 && p->packet[11] == 0x00)
DPRINTLN(DBG_INFO, F("Inverter ") + String(iv->id) + F(" has accepted power limit set point ") + String(iv->powerLimit[0]) + F(" with PowerLimitControl ") + String(iv->powerLimit[1]));
else