[24-May-2025 00:49:40 UTC] PHP Warning:  Cannot modify header information - headers already sent by (output started at /home/ineyhcom/esp1.wafaiot.my.id/index.php:137) in /home/ineyhcom/esp1.wafaiot.my.id/index.php on line 305
[24-May-2025 00:49:40 UTC] PHP Warning:  Cannot modify header information - headers already sent by (output started at /home/ineyhcom/esp1.wafaiot.my.id/index.php:137) in /home/ineyhcom/esp1.wafaiot.my.id/index.php on line 309
[24-May-2025 00:49:51 UTC] PHP Warning:  Cannot modify header information - headers already sent by (output started at /home/ineyhcom/esp1.wafaiot.my.id/index.php:137) in /home/ineyhcom/esp1.wafaiot.my.id/index.php on line 305
[24-May-2025 00:49:51 UTC] PHP Warning:  Cannot modify header information - headers already sent by (output started at /home/ineyhcom/esp1.wafaiot.my.id/index.php:137) in /home/ineyhcom/esp1.wafaiot.my.id/index.php on line 309
[24-May-2025 01:30:38 UTC] PHP Warning:  require_once(../config/db.php): failed to open stream: No such file or directory in /home/ineyhcom/esp1.wafaiot.my.id/index.php on line 3
[24-May-2025 01:30:38 UTC] PHP Fatal error:  require_once(): Failed opening required '../config/db.php' (include_path='.:/opt/alt/php74/usr/share/pear') in /home/ineyhcom/esp1.wafaiot.my.id/index.php on line 3
[24-May-2025 01:30:42 UTC] PHP Warning:  require_once(../config/db.php): failed to open stream: No such file or directory in /home/ineyhcom/esp1.wafaiot.my.id/index.php on line 3
[24-May-2025 01:30:42 UTC] PHP Fatal error:  require_once(): Failed opening required '../config/db.php' (include_path='.:/opt/alt/php74/usr/share/pear') in /home/ineyhcom/esp1.wafaiot.my.id/index.php on line 3
[24-May-2025 01:31:01 UTC] PHP Warning:  require_once(../config/db.php): failed to open stream: No such file or directory in /home/ineyhcom/esp1.wafaiot.my.id/index.php on line 3
[24-May-2025 01:31:01 UTC] PHP Fatal error:  require_once(): Failed opening required '../config/db.php' (include_path='.:/opt/alt/php74/usr/share/pear') in /home/ineyhcom/esp1.wafaiot.my.id/index.php on line 3
[24-May-2025 01:31:31 UTC] PHP Warning:  require_once(../config/db.php): failed to open stream: No such file or directory in /home/ineyhcom/esp1.wafaiot.my.id/index.php on line 3
[24-May-2025 01:31:31 UTC] PHP Fatal error:  require_once(): Failed opening required '../config/db.php' (include_path='.:/opt/alt/php74/usr/share/pear') in /home/ineyhcom/esp1.wafaiot.my.id/index.php on line 3
[24-May-2025 01:31:37 UTC] PHP Warning:  require_once(../config/db.php): failed to open stream: No such file or directory in /home/ineyhcom/esp1.wafaiot.my.id/index.php on line 3
[24-May-2025 01:31:37 UTC] PHP Fatal error:  require_once(): Failed opening required '../config/db.php' (include_path='.:/opt/alt/php74/usr/share/pear') in /home/ineyhcom/esp1.wafaiot.my.id/index.php on line 3
[24-May-2025 01:31:38 UTC] PHP Warning:  require_once(../config/db.php): failed to open stream: No such file or directory in /home/ineyhcom/esp1.wafaiot.my.id/index.php on line 3
[24-May-2025 01:31:38 UTC] PHP Fatal error:  require_once(): Failed opening required '../config/db.php' (include_path='.:/opt/alt/php74/usr/share/pear') in /home/ineyhcom/esp1.wafaiot.my.id/index.php on line 3
[24-May-2025 01:31:40 UTC] PHP Warning:  require_once(../config/db.php): failed to open stream: No such file or directory in /home/ineyhcom/esp1.wafaiot.my.id/index.php on line 3
[24-May-2025 01:31:40 UTC] PHP Fatal error:  require_once(): Failed opening required '../config/db.php' (include_path='.:/opt/alt/php74/usr/share/pear') in /home/ineyhcom/esp1.wafaiot.my.id/index.php on line 3
[24-May-2025 01:31:53 UTC] PHP Warning:  require_once(../config/db.php): failed to open stream: No such file or directory in /home/ineyhcom/esp1.wafaiot.my.id/index.php on line 3
[24-May-2025 01:31:53 UTC] PHP Fatal error:  require_once(): Failed opening required '../config/db.php' (include_path='.:/opt/alt/php74/usr/share/pear') in /home/ineyhcom/esp1.wafaiot.my.id/index.php on line 3
[24-May-2025 01:31:54 UTC] PHP Warning:  require_once(../config/db.php): failed to open stream: No such file or directory in /home/ineyhcom/esp1.wafaiot.my.id/index.php on line 3
[24-May-2025 01:31:54 UTC] PHP Fatal error:  require_once(): Failed opening required '../config/db.php' (include_path='.:/opt/alt/php74/usr/share/pear') in /home/ineyhcom/esp1.wafaiot.my.id/index.php on line 3
[24-May-2025 01:40:45 UTC] PHP Warning:  require_once(../config/db.php): failed to open stream: No such file or directory in /home/ineyhcom/esp1.wafaiot.my.id/index.php on line 3
[24-May-2025 01:40:45 UTC] PHP Fatal error:  require_once(): Failed opening required '../config/db.php' (include_path='.:/opt/alt/php74/usr/share/pear') in /home/ineyhcom/esp1.wafaiot.my.id/index.php on line 3
[24-May-2025 01:40:50 UTC] PHP Warning:  require_once(../config/db.php): failed to open stream: No such file or directory in /home/ineyhcom/esp1.wafaiot.my.id/index.php on line 3
[24-May-2025 01:40:50 UTC] PHP Fatal error:  require_once(): Failed opening required '../config/db.php' (include_path='.:/opt/alt/php74/usr/share/pear') in /home/ineyhcom/esp1.wafaiot.my.id/index.php on line 3
[24-May-2025 01:41:38 UTC] PHP Warning:  require_once(../config/db.php): failed to open stream: No such file or directory in /home/ineyhcom/esp1.wafaiot.my.id/index.php on line 3
[24-May-2025 01:41:38 UTC] PHP Fatal error:  require_once(): Failed opening required '../config/db.php' (include_path='.:/opt/alt/php74/usr/share/pear') in /home/ineyhcom/esp1.wafaiot.my.id/index.php on line 3
[24-May-2025 01:41:41 UTC] PHP Warning:  require_once(../config/db.php): failed to open stream: No such file or directory in /home/ineyhcom/esp1.wafaiot.my.id/index.php on line 3
[24-May-2025 01:41:41 UTC] PHP Fatal error:  require_once(): Failed opening required '../config/db.php' (include_path='.:/opt/alt/php74/usr/share/pear') in /home/ineyhcom/esp1.wafaiot.my.id/index.php on line 3
[24-May-2025 01:43:38 UTC] PHP Warning:  require_once(../config/db.php): failed to open stream: No such file or directory in /home/ineyhcom/esp1.wafaiot.my.id/index.php on line 3
[24-May-2025 01:43:38 UTC] PHP Fatal error:  require_once(): Failed opening required '../config/db.php' (include_path='.:/opt/alt/php74/usr/share/pear') in /home/ineyhcom/esp1.wafaiot.my.id/index.php on line 3
[24-May-2025 01:43:42 UTC] PHP Warning:  require_once(../config/db.php): failed to open stream: No such file or directory in /home/ineyhcom/esp1.wafaiot.my.id/index.php on line 3
[24-May-2025 01:43:42 UTC] PHP Fatal error:  require_once(): Failed opening required '../config/db.php' (include_path='.:/opt/alt/php74/usr/share/pear') in /home/ineyhcom/esp1.wafaiot.my.id/index.php on line 3
[24-May-2025 01:52:24 UTC] PHP Warning:  require_once(../config/db.php): failed to open stream: No such file or directory in /home/ineyhcom/esp1.wafaiot.my.id/index.php on line 3
[24-May-2025 01:52:24 UTC] PHP Fatal error:  require_once(): Failed opening required '../config/db.php' (include_path='.:/opt/alt/php74/usr/share/pear') in /home/ineyhcom/esp1.wafaiot.my.id/index.php on line 3
[24-May-2025 01:52:29 UTC] PHP Warning:  require_once(../config/db.php): failed to open stream: No such file or directory in /home/ineyhcom/esp1.wafaiot.my.id/index.php on line 3
[24-May-2025 01:52:29 UTC] PHP Fatal error:  require_once(): Failed opening required '../config/db.php' (include_path='.:/opt/alt/php74/usr/share/pear') in /home/ineyhcom/esp1.wafaiot.my.id/index.php on line 3
[24-May-2025 02:16:34 UTC] PHP Warning:  require_once(../config/db.php): failed to open stream: No such file or directory in /home/ineyhcom/esp1.wafaiot.my.id/index.php on line 3
[24-May-2025 02:16:34 UTC] PHP Fatal error:  require_once(): Failed opening required '../config/db.php' (include_path='.:/opt/alt/php74/usr/share/pear') in /home/ineyhcom/esp1.wafaiot.my.id/index.php on line 3
[24-May-2025 02:17:34 UTC] PHP Warning:  require_once(../config/db.php): failed to open stream: No such file or directory in /home/ineyhcom/esp1.wafaiot.my.id/index.php on line 3
[24-May-2025 02:17:34 UTC] PHP Fatal error:  require_once(): Failed opening required '../config/db.php' (include_path='.:/opt/alt/php74/usr/share/pear') in /home/ineyhcom/esp1.wafaiot.my.id/index.php on line 3
[24-May-2025 05:01:51 UTC] [API Input Debug] Action: control_relay, Raw Body: {"action":"control_relay","device_id":"ESP_RELAY_01","state":1,"changed_by":"web"}
[24-May-2025 05:01:51 UTC] [API Input Debug] Parsed _input_api: Array
(
    [action] => control_relay
    [device_id] => ESP_RELAY_01
    [state] => 1
    [changed_by] => web
)

[24-May-2025 05:01:51 UTC] [API Action] control_relay: Attempting DB update. Device: 'ESP_RELAY_01', New State: 1, Changed By: 'web'
[24-May-2025 05:01:51 UTC] [API Action] control_relay: Params for execute: Array
(
    [state] => 1
    [changed_by] => web
    [device_id] => ESP_RELAY_01
)

[24-May-2025 05:01:51 UTC] [API Action] control_relay: Execute success. RowCount: 1
[24-May-2025 05:02:05 UTC] [API Input Debug] Action: control_relay, Raw Body: {"action":"control_relay","device_id":"ESP_RELAY_01","state":0,"changed_by":"web"}
[24-May-2025 05:02:05 UTC] [API Input Debug] Parsed _input_api: Array
(
    [action] => control_relay
    [device_id] => ESP_RELAY_01
    [state] => 0
    [changed_by] => web
)

[24-May-2025 05:02:05 UTC] [API Action] control_relay: Attempting DB update. Device: 'ESP_RELAY_01', New State: 0, Changed By: 'web'
[24-May-2025 05:02:05 UTC] [API Action] control_relay: Params for execute: Array
(
    [state] => 0
    [changed_by] => web
    [device_id] => ESP_RELAY_01
)

[24-May-2025 05:02:05 UTC] [API Action] control_relay: Execute success. RowCount: 1
[24-May-2025 05:04:31 UTC] [API Input Debug] Action: control_relay, Raw Body: {"action":"control_relay","device_id":"ESP_RELAY_01","state":1,"changed_by":"web"}
[24-May-2025 05:04:31 UTC] [API Input Debug] Parsed _input_api: Array
(
    [action] => control_relay
    [device_id] => ESP_RELAY_01
    [state] => 1
    [changed_by] => web
)

[24-May-2025 05:04:31 UTC] [API Action] control_relay: Attempting DB update. Device: 'ESP_RELAY_01', New State: 1, Changed By: 'web'
[24-May-2025 05:04:31 UTC] [API Action] control_relay: Params for execute: Array
(
    [state] => 1
    [changed_by] => web
    [device_id] => ESP_RELAY_01
)

[24-May-2025 05:04:31 UTC] [API Action] control_relay: Execute success. RowCount: 1
[24-May-2025 05:09:06 UTC] [API Input Debug] Action: control_relay, Raw Body: {"action":"control_relay","device_id":"ESP_RELAY_01","state":1,"changed_by":"web"}
[24-May-2025 05:09:06 UTC] [API Input Debug] Parsed _input_api: Array
(
    [action] => control_relay
    [device_id] => ESP_RELAY_01
    [state] => 1
    [changed_by] => web
)

[24-May-2025 05:09:06 UTC] [API Action] control_relay: Attempting DB update. Device: 'ESP_RELAY_01', New State: 1, Changed By: 'web'
[24-May-2025 05:09:06 UTC] [API Action] control_relay: Params for execute: Array
(
    [state] => 1
    [changed_by] => web
    [device_id] => ESP_RELAY_01
)

[24-May-2025 05:09:06 UTC] [API Action] control_relay: Execute success. RowCount: 1
[24-May-2025 05:15:57 UTC] [API Input Debug] Action: control_relay, Raw Body: {"action":"control_relay","device_id":"ESP_RELAY_01","state":1,"changed_by":"web"}
[24-May-2025 05:15:57 UTC] [API Input Debug] Parsed _input_api: Array
(
    [action] => control_relay
    [device_id] => ESP_RELAY_01
    [state] => 1
    [changed_by] => web
)

[24-May-2025 05:15:57 UTC] [API Action] control_relay: Attempting DB update. Device: 'ESP_RELAY_01', New State: 1, Changed By: 'web'
[24-May-2025 05:15:57 UTC] [API Action] control_relay: Params for execute: Array
(
    [state] => 1
    [changed_by] => web
    [device_id] => ESP_RELAY_01
)

[24-May-2025 05:15:57 UTC] [API Action] control_relay: Execute success. RowCount: 1
[24-May-2025 05:16:44 UTC] [API Input Debug] Action: control_relay, Raw Body: {"action":"control_relay","device_id":"ESP_RELAY_01","state":1,"changed_by":"web"}
[24-May-2025 05:16:44 UTC] [API Input Debug] Parsed _input_api: Array
(
    [action] => control_relay
    [device_id] => ESP_RELAY_01
    [state] => 1
    [changed_by] => web
)

[24-May-2025 05:16:44 UTC] [API Action] control_relay: Attempting DB update. Device: 'ESP_RELAY_01', New State: 1, Changed By: 'web'
[24-May-2025 05:16:44 UTC] [API Action] control_relay: Params for execute: Array
(
    [state] => 1
    [changed_by] => web
    [device_id] => ESP_RELAY_01
)

[24-May-2025 05:16:44 UTC] [API Action] control_relay: Execute success. RowCount: 1
[24-May-2025 05:17:15 UTC] [API Input Debug] Action: control_relay, Raw Body: {"action":"control_relay","device_id":"ESP_RELAY_01","state":1,"changed_by":"web"}
[24-May-2025 05:17:15 UTC] [API Input Debug] Parsed _input_api: Array
(
    [action] => control_relay
    [device_id] => ESP_RELAY_01
    [state] => 1
    [changed_by] => web
)

[24-May-2025 05:17:15 UTC] [API Action] control_relay: Attempting DB update. Device: 'ESP_RELAY_01', New State: 1, Changed By: 'web'
[24-May-2025 05:17:15 UTC] [API Action] control_relay: Params for execute: Array
(
    [state] => 1
    [changed_by] => web
    [device_id] => ESP_RELAY_01
)

[24-May-2025 05:17:15 UTC] [API Action] control_relay: Execute success. RowCount: 1
[24-May-2025 05:19:23 UTC] [API Input Debug] Action: control_relay, Raw Body: {"action":"control_relay","device_id":"ESP_RELAY_01","state":1,"changed_by":"web"}
[24-May-2025 05:19:23 UTC] [API Input Debug] Parsed _input_api: Array
(
    [action] => control_relay
    [device_id] => ESP_RELAY_01
    [state] => 1
    [changed_by] => web
)

[24-May-2025 05:19:23 UTC] [API Action] control_relay: Attempting DB update. Device: 'ESP_RELAY_01', New State: 1, Changed By: 'web'
[24-May-2025 05:19:23 UTC] [API Action] control_relay: Params for execute: Array
(
    [state] => 1
    [changed_by] => web
    [device_id] => ESP_RELAY_01
)

[24-May-2025 05:19:23 UTC] [API Action] control_relay: Execute success. RowCount: 1
[24-May-2025 05:19:31 UTC] [API Input Debug] Action: control_relay, Raw Body: {"action":"control_relay","device_id":"ESP_RELAY_01","state":1,"changed_by":"web"}
[24-May-2025 05:19:31 UTC] [API Input Debug] Parsed _input_api: Array
(
    [action] => control_relay
    [device_id] => ESP_RELAY_01
    [state] => 1
    [changed_by] => web
)

[24-May-2025 05:19:31 UTC] [API Action] control_relay: Attempting DB update. Device: 'ESP_RELAY_01', New State: 1, Changed By: 'web'
[24-May-2025 05:19:31 UTC] [API Action] control_relay: Params for execute: Array
(
    [state] => 1
    [changed_by] => web
    [device_id] => ESP_RELAY_01
)

[24-May-2025 05:19:31 UTC] [API Action] control_relay: Execute success. RowCount: 1
[24-May-2025 05:22:00 UTC] [API Input Debug] Action: control_relay, Raw Body: {"action":"control_relay","device_id":"ESP_RELAY_01","state":1,"changed_by":"web"}
[24-May-2025 05:22:00 UTC] [API Input Debug] Parsed _input_api: Array
(
    [action] => control_relay
    [device_id] => ESP_RELAY_01
    [state] => 1
    [changed_by] => web
)

[24-May-2025 05:22:00 UTC] [API Action] control_relay: Attempting DB update. Device: 'ESP_RELAY_01', New State: 1, Changed By: 'web'
[24-May-2025 05:22:00 UTC] [API Action] control_relay: Params for execute: Array
(
    [state] => 1
    [changed_by] => web
    [device_id] => ESP_RELAY_01
)

[24-May-2025 05:22:00 UTC] [API Action] control_relay: Execute success. RowCount: 1
[24-May-2025 05:38:55 UTC] [API Input Debug] Action: control_relay, Raw Body: {"action":"control_relay","device_id":"ESP_RELAY_01","state":1,"changed_by":"web"}
[24-May-2025 05:38:55 UTC] [API Input Debug] Parsed _input_api: Array
(
    [action] => control_relay
    [device_id] => ESP_RELAY_01
    [state] => 1
    [changed_by] => web
)

[24-May-2025 05:38:55 UTC] [API Action] control_relay: Attempting DB update. Device: 'ESP_RELAY_01', New State: 1, Changed By: 'web'
[24-May-2025 05:38:55 UTC] [API Action] control_relay: Execute success. RowCount: 1
[24-May-2025 05:38:59 UTC] [API esp_heartbeat] State mismatch (DB: 1 vs ESP: 0). Perubahan DB oleh 'web' baru saja (-7196 detik lalu). TIDAK mengupdate DB dengan state ESP.
[24-May-2025 05:39:12 UTC] [API esp_heartbeat] State mismatch (DB: 1 vs ESP: 0). Perubahan DB oleh 'web' baru saja (-7187 detik lalu). TIDAK mengupdate DB dengan state ESP.
[24-May-2025 05:39:27 UTC] [API esp_heartbeat] State mismatch (DB: 1 vs ESP: 0). Perubahan DB oleh 'web' baru saja (-7185 detik lalu). TIDAK mengupdate DB dengan state ESP.
[24-May-2025 05:39:42 UTC] [API esp_heartbeat] State mismatch (DB: 1 vs ESP: 0). Perubahan DB oleh 'web' baru saja (-7185 detik lalu). TIDAK mengupdate DB dengan state ESP.
[24-May-2025 05:39:58 UTC] [API esp_heartbeat] State mismatch (DB: 1 vs ESP: 0). Perubahan DB oleh 'web' baru saja (-7184 detik lalu). TIDAK mengupdate DB dengan state ESP.
[24-May-2025 05:40:12 UTC] [API esp_heartbeat] State mismatch (DB: 1 vs ESP: 0). Perubahan DB oleh 'web' baru saja (-7186 detik lalu). TIDAK mengupdate DB dengan state ESP.
[24-May-2025 05:40:27 UTC] [API esp_heartbeat] State mismatch (DB: 1 vs ESP: 0). Perubahan DB oleh 'web' baru saja (-7185 detik lalu). TIDAK mengupdate DB dengan state ESP.
[24-May-2025 07:33:59 UTC] [API esp_heartbeat] State mismatch (DB: 1 vs ESP: 0). Perubahan DB oleh 'web' baru saja (-388 detik lalu). TIDAK mengupdate DB dengan state ESP.
[24-May-2025 07:34:11 UTC] [API esp_heartbeat] State mismatch (DB: 1 vs ESP: 0). Perubahan DB oleh 'web' baru saja (-7188 detik lalu). TIDAK mengupdate DB dengan state ESP.
[24-May-2025 07:34:16 UTC] [API Input Debug] Action: control_relay, Raw Body: {"action":"control_relay","device_id":"ESP_RELAY_01","state":0,"changed_by":"web"}
[24-May-2025 07:34:16 UTC] [API Input Debug] Parsed _input_api: Array
(
    [action] => control_relay
    [device_id] => ESP_RELAY_01
    [state] => 0
    [changed_by] => web
)

[24-May-2025 07:34:16 UTC] [API Action] control_relay: Attempting DB update. Device: 'ESP_RELAY_01', New State: 0, Changed By: 'web'
[24-May-2025 07:34:16 UTC] [API Action] control_relay: Execute success. RowCount: 1
[24-May-2025 07:34:21 UTC] [API Input Debug] Action: control_relay, Raw Body: {"action":"control_relay","device_id":"ESP_RELAY_01","state":1,"changed_by":"web"}
[24-May-2025 07:34:21 UTC] [API Input Debug] Parsed _input_api: Array
(
    [action] => control_relay
    [device_id] => ESP_RELAY_01
    [state] => 1
    [changed_by] => web
)

[24-May-2025 07:34:21 UTC] [API Action] control_relay: Attempting DB update. Device: 'ESP_RELAY_01', New State: 1, Changed By: 'web'
[24-May-2025 07:34:21 UTC] [API Action] control_relay: Execute success. RowCount: 1
[24-May-2025 07:34:26 UTC] [API esp_heartbeat] State mismatch (DB: 1 vs ESP: 0). Perubahan DB oleh 'web' baru saja (-7195 detik lalu). TIDAK mengupdate DB dengan state ESP.
[24-May-2025 07:34:41 UTC] [API esp_heartbeat] State mismatch (DB: 1 vs ESP: 0). Perubahan DB oleh 'web' baru saja (-7185 detik lalu). TIDAK mengupdate DB dengan state ESP.
[24-May-2025 07:34:56 UTC] [API esp_heartbeat] State mismatch (DB: 1 vs ESP: 0). Perubahan DB oleh 'web' baru saja (-7185 detik lalu). TIDAK mengupdate DB dengan state ESP.
[24-May-2025 07:35:11 UTC] [API esp_heartbeat] State mismatch (DB: 1 vs ESP: 0). Perubahan DB oleh 'web' baru saja (-7185 detik lalu). TIDAK mengupdate DB dengan state ESP.
[24-May-2025 07:35:26 UTC] [API esp_heartbeat] State mismatch (DB: 1 vs ESP: 0). Perubahan DB oleh 'web' baru saja (-7185 detik lalu). TIDAK mengupdate DB dengan state ESP.
[24-May-2025 07:35:41 UTC] [API esp_heartbeat] State mismatch (DB: 1 vs ESP: 0). Perubahan DB oleh 'web' baru saja (-7185 detik lalu). TIDAK mengupdate DB dengan state ESP.
[24-May-2025 07:35:56 UTC] [API esp_heartbeat] State mismatch (DB: 1 vs ESP: 0). Perubahan DB oleh 'web' baru saja (-7185 detik lalu). TIDAK mengupdate DB dengan state ESP.
[24-May-2025 07:36:11 UTC] [API esp_heartbeat] State mismatch (DB: 1 vs ESP: 0). Perubahan DB oleh 'web' baru saja (-7185 detik lalu). TIDAK mengupdate DB dengan state ESP.
[24-May-2025 07:36:26 UTC] [API esp_heartbeat] State mismatch (DB: 1 vs ESP: 0). Perubahan DB oleh 'web' baru saja (-7185 detik lalu). TIDAK mengupdate DB dengan state ESP.
[24-May-2025 07:36:41 UTC] [API esp_heartbeat] State mismatch (DB: 1 vs ESP: 0). Perubahan DB oleh 'web' baru saja (-7185 detik lalu). TIDAK mengupdate DB dengan state ESP.
[24-May-2025 07:36:56 UTC] [API esp_heartbeat] State mismatch (DB: 1 vs ESP: 0). Perubahan DB oleh 'web' baru saja (-7185 detik lalu). TIDAK mengupdate DB dengan state ESP.
[24-May-2025 07:37:11 UTC] [API esp_heartbeat] State mismatch (DB: 1 vs ESP: 0). Perubahan DB oleh 'web' baru saja (-7185 detik lalu). TIDAK mengupdate DB dengan state ESP.
[24-May-2025 07:37:26 UTC] [API esp_heartbeat] State mismatch (DB: 1 vs ESP: 0). Perubahan DB oleh 'web' baru saja (-7185 detik lalu). TIDAK mengupdate DB dengan state ESP.
[24-May-2025 07:37:41 UTC] [API esp_heartbeat] State mismatch (DB: 1 vs ESP: 0). Perubahan DB oleh 'web' baru saja (-7185 detik lalu). TIDAK mengupdate DB dengan state ESP.
[24-May-2025 07:37:56 UTC] [API esp_heartbeat] State mismatch (DB: 1 vs ESP: 0). Perubahan DB oleh 'web' baru saja (-7185 detik lalu). TIDAK mengupdate DB dengan state ESP.
[24-May-2025 07:38:11 UTC] [API esp_heartbeat] State mismatch (DB: 1 vs ESP: 0). Perubahan DB oleh 'web' baru saja (-7185 detik lalu). TIDAK mengupdate DB dengan state ESP.
[24-May-2025 07:38:26 UTC] [API esp_heartbeat] State mismatch (DB: 1 vs ESP: 0). Perubahan DB oleh 'web' baru saja (-7185 detik lalu). TIDAK mengupdate DB dengan state ESP.
[24-May-2025 07:38:41 UTC] [API esp_heartbeat] State mismatch (DB: 1 vs ESP: 0). Perubahan DB oleh 'web' baru saja (-7185 detik lalu). TIDAK mengupdate DB dengan state ESP.
[24-May-2025 07:38:56 UTC] [API esp_heartbeat] State mismatch (DB: 1 vs ESP: 0). Perubahan DB oleh 'web' baru saja (-7185 detik lalu). TIDAK mengupdate DB dengan state ESP.
[24-May-2025 07:39:11 UTC] [API esp_heartbeat] State mismatch (DB: 1 vs ESP: 0). Perubahan DB oleh 'web' baru saja (-7185 detik lalu). TIDAK mengupdate DB dengan state ESP.
[24-May-2025 07:39:26 UTC] [API esp_heartbeat] State mismatch (DB: 1 vs ESP: 0). Perubahan DB oleh 'web' baru saja (-7185 detik lalu). TIDAK mengupdate DB dengan state ESP.
[24-May-2025 07:39:41 UTC] [API esp_heartbeat] State mismatch (DB: 1 vs ESP: 0). Perubahan DB oleh 'web' baru saja (-7185 detik lalu). TIDAK mengupdate DB dengan state ESP.
[24-May-2025 07:39:57 UTC] [API esp_heartbeat] State mismatch (DB: 1 vs ESP: 0). Perubahan DB oleh 'web' baru saja (-7184 detik lalu). TIDAK mengupdate DB dengan state ESP.
[24-May-2025 07:40:11 UTC] [API esp_heartbeat] State mismatch (DB: 1 vs ESP: 0). Perubahan DB oleh 'web' baru saja (-7186 detik lalu). TIDAK mengupdate DB dengan state ESP.
[24-May-2025 07:40:26 UTC] [API esp_heartbeat] State mismatch (DB: 1 vs ESP: 0). Perubahan DB oleh 'web' baru saja (-7185 detik lalu). TIDAK mengupdate DB dengan state ESP.
[24-May-2025 07:40:41 UTC] [API esp_heartbeat] State mismatch (DB: 1 vs ESP: 0). Perubahan DB oleh 'web' baru saja (-7185 detik lalu). TIDAK mengupdate DB dengan state ESP.
[24-May-2025 07:40:56 UTC] [API esp_heartbeat] State mismatch (DB: 1 vs ESP: 0). Perubahan DB oleh 'web' baru saja (-7185 detik lalu). TIDAK mengupdate DB dengan state ESP.
[24-May-2025 07:41:11 UTC] [API esp_heartbeat] State mismatch (DB: 1 vs ESP: 0). Perubahan DB oleh 'web' baru saja (-7185 detik lalu). TIDAK mengupdate DB dengan state ESP.
[24-May-2025 07:41:26 UTC] [API esp_heartbeat] State mismatch (DB: 1 vs ESP: 0). Perubahan DB oleh 'web' baru saja (-7185 detik lalu). TIDAK mengupdate DB dengan state ESP.
[24-May-2025 07:41:41 UTC] [API esp_heartbeat] State mismatch (DB: 1 vs ESP: 0). Perubahan DB oleh 'web' baru saja (-7185 detik lalu). TIDAK mengupdate DB dengan state ESP.
[24-May-2025 07:41:56 UTC] [API esp_heartbeat] State mismatch (DB: 1 vs ESP: 0). Perubahan DB oleh 'web' baru saja (-7185 detik lalu). TIDAK mengupdate DB dengan state ESP.
[24-May-2025 07:42:12 UTC] [API esp_heartbeat] State mismatch (DB: 1 vs ESP: 0). Perubahan DB oleh 'web' baru saja (-7184 detik lalu). TIDAK mengupdate DB dengan state ESP.
[24-May-2025 07:42:26 UTC] [API esp_heartbeat] State mismatch (DB: 1 vs ESP: 0). Perubahan DB oleh 'web' baru saja (-7186 detik lalu). TIDAK mengupdate DB dengan state ESP.
[24-May-2025 07:42:41 UTC] [API esp_heartbeat] State mismatch (DB: 1 vs ESP: 0). Perubahan DB oleh 'web' baru saja (-7185 detik lalu). TIDAK mengupdate DB dengan state ESP.
[24-May-2025 07:42:56 UTC] [API esp_heartbeat] State mismatch (DB: 1 vs ESP: 0). Perubahan DB oleh 'web' baru saja (-7185 detik lalu). TIDAK mengupdate DB dengan state ESP.
[24-May-2025 07:43:11 UTC] [API esp_heartbeat] State mismatch (DB: 1 vs ESP: 0). Perubahan DB oleh 'web' baru saja (-7185 detik lalu). TIDAK mengupdate DB dengan state ESP.
[24-May-2025 07:43:26 UTC] [API esp_heartbeat] State mismatch (DB: 1 vs ESP: 0). Perubahan DB oleh 'web' baru saja (-7185 detik lalu). TIDAK mengupdate DB dengan state ESP.
[24-May-2025 07:43:41 UTC] [API esp_heartbeat] State mismatch (DB: 1 vs ESP: 0). Perubahan DB oleh 'web' baru saja (-7185 detik lalu). TIDAK mengupdate DB dengan state ESP.
[24-May-2025 07:43:56 UTC] [API esp_heartbeat] State mismatch (DB: 1 vs ESP: 0). Perubahan DB oleh 'web' baru saja (-7185 detik lalu). TIDAK mengupdate DB dengan state ESP.
[24-May-2025 07:44:11 UTC] [API esp_heartbeat] State mismatch (DB: 1 vs ESP: 0). Perubahan DB oleh 'web' baru saja (-7185 detik lalu). TIDAK mengupdate DB dengan state ESP.
[24-May-2025 07:44:26 UTC] [API esp_heartbeat] State mismatch (DB: 1 vs ESP: 0). Perubahan DB oleh 'web' baru saja (-7185 detik lalu). TIDAK mengupdate DB dengan state ESP.
[24-May-2025 07:44:41 UTC] [API esp_heartbeat] State mismatch (DB: 1 vs ESP: 0). Perubahan DB oleh 'web' baru saja (-7185 detik lalu). TIDAK mengupdate DB dengan state ESP.
[24-May-2025 07:44:56 UTC] [API esp_heartbeat] State mismatch (DB: 1 vs ESP: 0). Perubahan DB oleh 'web' baru saja (-7185 detik lalu). TIDAK mengupdate DB dengan state ESP.
[24-May-2025 07:45:11 UTC] [API esp_heartbeat] State mismatch (DB: 1 vs ESP: 0). Perubahan DB oleh 'web' baru saja (-7185 detik lalu). TIDAK mengupdate DB dengan state ESP.
[24-May-2025 07:45:26 UTC] [API esp_heartbeat] State mismatch (DB: 1 vs ESP: 0). Perubahan DB oleh 'web' baru saja (-7185 detik lalu). TIDAK mengupdate DB dengan state ESP.
[24-May-2025 07:45:41 UTC] [API esp_heartbeat] State mismatch (DB: 1 vs ESP: 0). Perubahan DB oleh 'web' baru saja (-7185 detik lalu). TIDAK mengupdate DB dengan state ESP.
[24-May-2025 07:45:56 UTC] [API esp_heartbeat] State mismatch (DB: 1 vs ESP: 0). Perubahan DB oleh 'web' baru saja (-7185 detik lalu). TIDAK mengupdate DB dengan state ESP.
[24-May-2025 07:47:11 UTC] [API Input Debug] Action: control_relay, Raw Body: {"action":"control_relay","device_id":"ESP_RELAY_01","state":0,"changed_by":"web"}
[24-May-2025 07:47:11 UTC] [API Input Debug] Parsed _input_api: Array
(
    [action] => control_relay
    [device_id] => ESP_RELAY_01
    [state] => 0
    [changed_by] => web
)

[24-May-2025 07:47:11 UTC] [API Action] control_relay: Attempting DB update. Device: 'ESP_RELAY_01', New State: 0, Changed By: 'web'
[24-May-2025 07:47:11 UTC] [API Action] control_relay: Execute success. RowCount: 1
[24-May-2025 07:47:15 UTC] [API esp_heartbeat] State mismatch (DB: 0 vs ESP: 1). Perubahan DB oleh 'web' baru saja (-7196 detik lalu). TIDAK mengupdate DB dengan state ESP.
[24-May-2025 07:47:26 UTC] [API Input Debug] Action: control_relay, Raw Body: {"action":"control_relay","device_id":"ESP_RELAY_01","state":1,"changed_by":"web"}
[24-May-2025 07:47:26 UTC] [API Input Debug] Parsed _input_api: Array
(
    [action] => control_relay
    [device_id] => ESP_RELAY_01
    [state] => 1
    [changed_by] => web
)

[24-May-2025 07:47:26 UTC] [API Action] control_relay: Attempting DB update. Device: 'ESP_RELAY_01', New State: 1, Changed By: 'web'
[24-May-2025 07:47:26 UTC] [API Action] control_relay: Execute success. RowCount: 1
[24-May-2025 07:47:30 UTC] [API esp_heartbeat] State mismatch (DB: 1 vs ESP: 0). Perubahan DB oleh 'web' baru saja (-7196 detik lalu). TIDAK mengupdate DB dengan state ESP.
[24-May-2025 07:50:33 UTC] [API Input Debug] Action: control_relay, Raw Body: {"action":"control_relay","device_id":"ESP_RELAY_01","state":0,"changed_by":"web"}
[24-May-2025 07:50:33 UTC] [API Input Debug] Parsed _input_api: Array
(
    [action] => control_relay
    [device_id] => ESP_RELAY_01
    [state] => 0
    [changed_by] => web
)

[24-May-2025 07:50:33 UTC] [API Action] control_relay: Attempting DB update. Device: 'ESP_RELAY_01', New State: 0, Changed By: 'web'
[24-May-2025 07:50:33 UTC] [API Action] control_relay: Execute success. RowCount: 1
[24-May-2025 07:50:45 UTC] [API esp_heartbeat] State mismatch (DB: 0 vs ESP: 1). Perubahan DB oleh 'web' baru saja (-7188 detik lalu). TIDAK mengupdate DB dengan state ESP.
[24-May-2025 07:50:51 UTC] [API Input Debug] Action: update_status, Raw Body: {"action":"update_status","device_id":"ESP_RELAY_01","state":1,"changed_by":"schedule_triggered_by_esp"}
[24-May-2025 07:50:51 UTC] [API Input Debug] Parsed _input_api: Array
(
    [action] => update_status
    [device_id] => ESP_RELAY_01
    [state] => 1
    [changed_by] => schedule_triggered_by_esp
)

[24-May-2025 07:50:51 UTC] [API Action] update_status: Attempting DB update. Device: 'ESP_RELAY_01', New State: 1, Changed By: 'schedule_triggered_by_esp'
[24-May-2025 07:50:51 UTC] [API Action] update_status: Execute success. RowCount: 1
[24-May-2025 07:51:05 UTC] [API Input Debug] Action: update_status, Raw Body: {"action":"update_status","device_id":"ESP_RELAY_01","state":0,"changed_by":"schedule_triggered_by_esp"}
[24-May-2025 07:51:05 UTC] [API Input Debug] Parsed _input_api: Array
(
    [action] => update_status
    [device_id] => ESP_RELAY_01
    [state] => 0
    [changed_by] => schedule_triggered_by_esp
)

[24-May-2025 07:51:05 UTC] [API Action] update_status: Attempting DB update. Device: 'ESP_RELAY_01', New State: 0, Changed By: 'schedule_triggered_by_esp'
[24-May-2025 07:51:05 UTC] [API Action] update_status: Execute success. RowCount: 1
[24-May-2025 08:02:13 UTC] [API Input Debug] Action: control_relay, Raw Body: {"action":"control_relay","device_id":"ESP_RELAY_01","state":1,"changed_by":"web"}
[24-May-2025 08:02:13 UTC] [API Input Debug] Parsed _input_api: Array
(
    [action] => control_relay
    [device_id] => ESP_RELAY_01
    [state] => 1
    [changed_by] => web
)

[24-May-2025 08:02:13 UTC] [API Action] control_relay: Attempting DB update. Device: 'ESP_RELAY_01', New State: 1, Changed By: 'web'
[24-May-2025 08:02:13 UTC] [API Action] control_relay: Execute success. RowCount: 1
[24-May-2025 08:02:19 UTC] [API esp_heartbeat] State mismatch (DB: 1 vs ESP: 0). Perubahan DB oleh 'web' baru saja (-7194 detik lalu). TIDAK mengupdate DB dengan state ESP.
[24-May-2025 08:02:25 UTC] [API Input Debug] Action: update_status, Raw Body: {"action":"update_status","device_id":"ESP_RELAY_01","state":0,"changed_by":"schedule_triggered_by_esp"}
[24-May-2025 08:02:25 UTC] [API Input Debug] Parsed _input_api: Array
(
    [action] => update_status
    [device_id] => ESP_RELAY_01
    [state] => 0
    [changed_by] => schedule_triggered_by_esp
)

[24-May-2025 08:02:25 UTC] [API Action] update_status: Attempting DB update. Device: 'ESP_RELAY_01', New State: 0, Changed By: 'schedule_triggered_by_esp'
[24-May-2025 08:02:25 UTC] [API Action] update_status: Execute success. RowCount: 1
[24-May-2025 08:21:03 UTC] [API Input Debug] Action: control_relay, Raw Body: {"action":"control_relay","device_id":"ESP_RELAY_01","state":1,"changed_by":"web"}
[24-May-2025 08:21:03 UTC] [API Input Debug] Parsed _input_api: Array
(
    [action] => control_relay
    [device_id] => ESP_RELAY_01
    [state] => 1
    [changed_by] => web
)

[24-May-2025 08:21:03 UTC] [API Action] control_relay: Attempting DB update. Device: 'ESP_RELAY_01', New State: 1, Changed By: 'web'
[24-May-2025 08:21:03 UTC] [API Action] control_relay: Execute success. RowCount: 1
[24-May-2025 08:21:16 UTC] [API esp_heartbeat] State mismatch (DB: 1 vs ESP: 0). Perubahan DB oleh 'web' baru saja (-7187 detik lalu). TIDAK mengupdate DB dengan state ESP.
[24-May-2025 08:21:22 UTC] [API Input Debug] Action: update_status, Raw Body: {"action":"update_status","device_id":"ESP_RELAY_01","state":0,"changed_by":"schedule_triggered_by_esp"}
[24-May-2025 08:21:22 UTC] [API Input Debug] Parsed _input_api: Array
(
    [action] => update_status
    [device_id] => ESP_RELAY_01
    [state] => 0
    [changed_by] => schedule_triggered_by_esp
)

[24-May-2025 08:21:22 UTC] [API Action] update_status: Attempting DB update. Device: 'ESP_RELAY_01', New State: 0, Changed By: 'schedule_triggered_by_esp'
[24-May-2025 08:21:22 UTC] [API Action] update_status: Execute success. RowCount: 1
[24-May-2025 08:21:32 UTC] [API Input Debug] Action: control_relay, Raw Body: {"action":"control_relay","device_id":"ESP_RELAY_01","state":1,"changed_by":"web"}
[24-May-2025 08:21:32 UTC] [API Input Debug] Parsed _input_api: Array
(
    [action] => control_relay
    [device_id] => ESP_RELAY_01
    [state] => 1
    [changed_by] => web
)

[24-May-2025 08:21:32 UTC] [API Action] control_relay: Attempting DB update. Device: 'ESP_RELAY_01', New State: 1, Changed By: 'web'
[24-May-2025 08:21:32 UTC] [API Action] control_relay: Execute success. RowCount: 1
[24-May-2025 08:21:37 UTC] [API Input Debug] Action: update_status, Raw Body: {"action":"update_status","device_id":"ESP_RELAY_01","state":0,"changed_by":"schedule_triggered_by_esp"}
[24-May-2025 08:21:37 UTC] [API Input Debug] Parsed _input_api: Array
(
    [action] => update_status
    [device_id] => ESP_RELAY_01
    [state] => 0
    [changed_by] => schedule_triggered_by_esp
)

[24-May-2025 08:21:37 UTC] [API Action] update_status: Attempting DB update. Device: 'ESP_RELAY_01', New State: 0, Changed By: 'schedule_triggered_by_esp'
[24-May-2025 08:21:37 UTC] [API Action] update_status: Execute success. RowCount: 1
[24-May-2025 08:21:56 UTC] [API Input Debug] Action: control_relay, Raw Body: {"action":"control_relay","device_id":"ESP_RELAY_01","state":1,"changed_by":"web"}
[24-May-2025 08:21:56 UTC] [API Input Debug] Parsed _input_api: Array
(
    [action] => control_relay
    [device_id] => ESP_RELAY_01
    [state] => 1
    [changed_by] => web
)

[24-May-2025 08:21:56 UTC] [API Action] control_relay: Attempting DB update. Device: 'ESP_RELAY_01', New State: 1, Changed By: 'web'
[24-May-2025 08:21:56 UTC] [API Action] control_relay: Execute success. RowCount: 1
[24-May-2025 08:22:01 UTC] [API esp_heartbeat] State mismatch (DB: 1 vs ESP: 0). Perubahan DB oleh 'web' baru saja (-7195 detik lalu). TIDAK mengupdate DB dengan state ESP.
[24-May-2025 08:23:00 UTC] [API Input Debug] Action: control_relay, Raw Body: {"action":"control_relay","device_id":"ESP_RELAY_01","state":0,"changed_by":"web"}
[24-May-2025 08:23:00 UTC] [API Input Debug] Parsed _input_api: Array
(
    [action] => control_relay
    [device_id] => ESP_RELAY_01
    [state] => 0
    [changed_by] => web
)

[24-May-2025 08:23:00 UTC] [API Action] control_relay: Attempting DB update. Device: 'ESP_RELAY_01', New State: 0, Changed By: 'web'
[24-May-2025 08:23:00 UTC] [API Action] control_relay: Execute success. RowCount: 1
[24-May-2025 08:23:01 UTC] [API esp_heartbeat] State mismatch (DB: 0 vs ESP: 1). Perubahan DB oleh 'web' baru saja (-7199 detik lalu). TIDAK mengupdate DB dengan state ESP.
[24-May-2025 08:23:16 UTC] [API esp_heartbeat] State mismatch (DB: 0 vs ESP: 1). Perubahan DB oleh 'web' baru saja (-7185 detik lalu). TIDAK mengupdate DB dengan state ESP.
[24-May-2025 08:23:23 UTC] [API Input Debug] Action: control_relay, Raw Body: {"action":"control_relay","device_id":"ESP_RELAY_01","state":1,"changed_by":"web"}
[24-May-2025 08:23:23 UTC] [API Input Debug] Parsed _input_api: Array
(
    [action] => control_relay
    [device_id] => ESP_RELAY_01
    [state] => 1
    [changed_by] => web
)

[24-May-2025 08:23:23 UTC] [API Action] control_relay: Attempting DB update. Device: 'ESP_RELAY_01', New State: 1, Changed By: 'web'
[24-May-2025 08:23:23 UTC] [API Action] control_relay: Execute success. RowCount: 1
[24-May-2025 08:23:49 UTC] [API Input Debug] Action: control_relay, Raw Body: {"action":"control_relay","device_id":"ESP_RELAY_01","state":0,"changed_by":"web"}
[24-May-2025 08:23:49 UTC] [API Input Debug] Parsed _input_api: Array
(
    [action] => control_relay
    [device_id] => ESP_RELAY_01
    [state] => 0
    [changed_by] => web
)

[24-May-2025 08:23:49 UTC] [API Action] control_relay: Attempting DB update. Device: 'ESP_RELAY_01', New State: 0, Changed By: 'web'
[24-May-2025 08:23:49 UTC] [API Action] control_relay: Execute success. RowCount: 1
[24-May-2025 08:23:52 UTC] [API Input Debug] Action: update_status, Raw Body: {"action":"update_status","device_id":"ESP_RELAY_01","state":0,"changed_by":"schedule_triggered_by_esp"}
[24-May-2025 08:23:52 UTC] [API Input Debug] Parsed _input_api: Array
(
    [action] => update_status
    [device_id] => ESP_RELAY_01
    [state] => 0
    [changed_by] => schedule_triggered_by_esp
)

[24-May-2025 08:23:52 UTC] [API Action] update_status: Attempting DB update. Device: 'ESP_RELAY_01', New State: 0, Changed By: 'schedule_triggered_by_esp'
[24-May-2025 08:23:52 UTC] [API Action] update_status: Execute success. RowCount: 1
[24-May-2025 08:23:55 UTC] [API Input Debug] Action: control_relay, Raw Body: {"action":"control_relay","device_id":"ESP_RELAY_01","state":1,"changed_by":"web"}
[24-May-2025 08:23:55 UTC] [API Input Debug] Parsed _input_api: Array
(
    [action] => control_relay
    [device_id] => ESP_RELAY_01
    [state] => 1
    [changed_by] => web
)

[24-May-2025 08:23:55 UTC] [API Action] control_relay: Attempting DB update. Device: 'ESP_RELAY_01', New State: 1, Changed By: 'web'
[24-May-2025 08:23:55 UTC] [API Action] control_relay: Execute success. RowCount: 1
[24-May-2025 08:24:01 UTC] [API esp_heartbeat] State mismatch (DB: 1 vs ESP: 0). Perubahan DB oleh 'web' baru saja (-7194 detik lalu). TIDAK mengupdate DB dengan state ESP.
[24-May-2025 08:24:07 UTC] [API Input Debug] Action: update_status, Raw Body: {"action":"update_status","device_id":"ESP_RELAY_01","state":0,"changed_by":"schedule_triggered_by_esp"}
[24-May-2025 08:24:07 UTC] [API Input Debug] Parsed _input_api: Array
(
    [action] => update_status
    [device_id] => ESP_RELAY_01
    [state] => 0
    [changed_by] => schedule_triggered_by_esp
)

[24-May-2025 08:24:07 UTC] [API Action] update_status: Attempting DB update. Device: 'ESP_RELAY_01', New State: 0, Changed By: 'schedule_triggered_by_esp'
[24-May-2025 08:24:07 UTC] [API Action] update_status: Execute success. RowCount: 1
[24-May-2025 08:27:42 UTC] [API Input Debug] Action: control_relay, Raw Body: {"action":"control_relay","device_id":"ESP_RELAY_01","state":1,"changed_by":"web"}
[24-May-2025 08:27:42 UTC] [API Input Debug] Parsed _input_api: Array
(
    [action] => control_relay
    [device_id] => ESP_RELAY_01
    [state] => 1
    [changed_by] => web
)

[24-May-2025 08:27:42 UTC] [API Action] control_relay: Attempting DB update. Device: 'ESP_RELAY_01', New State: 1, Changed By: 'web'
[24-May-2025 08:27:42 UTC] [API Action] control_relay: Execute success. RowCount: 1
[24-May-2025 08:27:51 UTC] [API esp_heartbeat] State mismatch (DB: 1 vs ESP: 0). Perubahan DB oleh 'web' baru saja (-7191 detik lalu). TIDAK mengupdate DB dengan state ESP.
[24-May-2025 08:27:57 UTC] [API Input Debug] Action: update_status, Raw Body: {"action":"update_status","device_id":"ESP_RELAY_01","state":0,"changed_by":"schedule_triggered_by_esp"}
[24-May-2025 08:27:57 UTC] [API Input Debug] Parsed _input_api: Array
(
    [action] => update_status
    [device_id] => ESP_RELAY_01
    [state] => 0
    [changed_by] => schedule_triggered_by_esp
)

[24-May-2025 08:27:57 UTC] [API Action] update_status: Attempting DB update. Device: 'ESP_RELAY_01', New State: 0, Changed By: 'schedule_triggered_by_esp'
[24-May-2025 08:27:57 UTC] [API Action] update_status: Execute success. RowCount: 1
[24-May-2025 08:28:23 UTC] [API Input Debug] Action: control_relay, Raw Body: {"action":"control_relay","device_id":"ESP_RELAY_01","state":1,"changed_by":"web"}
[24-May-2025 08:28:23 UTC] [API Input Debug] Parsed _input_api: Array
(
    [action] => control_relay
    [device_id] => ESP_RELAY_01
    [state] => 1
    [changed_by] => web
)

[24-May-2025 08:28:23 UTC] [API Action] control_relay: Attempting DB update. Device: 'ESP_RELAY_01', New State: 1, Changed By: 'web'
[24-May-2025 08:28:23 UTC] [API Action] control_relay: Execute success. RowCount: 1
[24-May-2025 08:28:36 UTC] [API esp_heartbeat] State mismatch (DB: 1 vs ESP: 0). Perubahan DB oleh 'web' baru saja (-7187 detik lalu). TIDAK mengupdate DB dengan state ESP.
[24-May-2025 08:28:42 UTC] [API Input Debug] Action: update_status, Raw Body: {"action":"update_status","device_id":"ESP_RELAY_01","state":0,"changed_by":"schedule_triggered_by_esp"}
[24-May-2025 08:28:42 UTC] [API Input Debug] Parsed _input_api: Array
(
    [action] => update_status
    [device_id] => ESP_RELAY_01
    [state] => 0
    [changed_by] => schedule_triggered_by_esp
)

[24-May-2025 08:28:42 UTC] [API Action] update_status: Attempting DB update. Device: 'ESP_RELAY_01', New State: 0, Changed By: 'schedule_triggered_by_esp'
[24-May-2025 08:28:42 UTC] [API Action] update_status: Execute success. RowCount: 1
[24-May-2025 08:29:33 UTC] [API Input Debug] Action: control_relay, Raw Body: {"action":"control_relay","device_id":"ESP_RELAY_01","state":1,"changed_by":"web"}
[24-May-2025 08:29:33 UTC] [API Input Debug] Parsed _input_api: Array
(
    [action] => control_relay
    [device_id] => ESP_RELAY_01
    [state] => 1
    [changed_by] => web
)

[24-May-2025 08:29:33 UTC] [API Action] control_relay: Attempting DB update. Device: 'ESP_RELAY_01', New State: 1, Changed By: 'web'
[24-May-2025 08:29:33 UTC] [API Action] control_relay: Execute success. RowCount: 1
[24-May-2025 08:29:36 UTC] [API esp_heartbeat] State mismatch (DB: 1 vs ESP: 0). Perubahan DB oleh 'web' baru saja (-7197 detik lalu). TIDAK mengupdate DB dengan state ESP.
[24-May-2025 08:29:42 UTC] [API Input Debug] Action: update_status, Raw Body: {"action":"update_status","device_id":"ESP_RELAY_01","state":0,"changed_by":"schedule_triggered_by_esp"}
[24-May-2025 08:29:42 UTC] [API Input Debug] Parsed _input_api: Array
(
    [action] => update_status
    [device_id] => ESP_RELAY_01
    [state] => 0
    [changed_by] => schedule_triggered_by_esp
)

[24-May-2025 08:29:42 UTC] [API Action] update_status: Attempting DB update. Device: 'ESP_RELAY_01', New State: 0, Changed By: 'schedule_triggered_by_esp'
[24-May-2025 08:29:42 UTC] [API Action] update_status: Execute success. RowCount: 1
[24-May-2025 08:41:14 UTC] [API Input Debug] Action: control_relay, Raw Body: {"action":"control_relay","device_id":"ESP_RELAY_01","state":1,"changed_by":"web"}
[24-May-2025 08:41:14 UTC] [API Input Debug] Parsed _input_api: Array
(
    [action] => control_relay
    [device_id] => ESP_RELAY_01
    [state] => 1
    [changed_by] => web
)

[24-May-2025 08:41:14 UTC] [API Action] control_relay: Attempting DB update. Device: 'ESP_RELAY_01', New State: 1, Changed By: 'web'
[24-May-2025 08:41:14 UTC] [API Action] control_relay: Execute success. RowCount: 1
[24-May-2025 08:41:15 UTC] [API esp_heartbeat] State mismatch (DB: 1 vs ESP: 0). Perubahan DB oleh 'web' baru saja (-7199 detik lalu). TIDAK mengupdate DB dengan state ESP.
[24-May-2025 08:41:30 UTC] [API Input Debug] Action: control_relay, Raw Body: {"action":"control_relay","device_id":"ESP_RELAY_01","state":0,"changed_by":"web"}
[24-May-2025 08:41:30 UTC] [API Input Debug] Parsed _input_api: Array
(
    [action] => control_relay
    [device_id] => ESP_RELAY_01
    [state] => 0
    [changed_by] => web
)

[24-May-2025 08:41:30 UTC] [API Action] control_relay: Attempting DB update. Device: 'ESP_RELAY_01', New State: 0, Changed By: 'web'
[24-May-2025 08:41:30 UTC] [API Action] control_relay: Execute success. RowCount: 1
[24-May-2025 08:41:30 UTC] [API esp_heartbeat] State mismatch (DB: 0 vs ESP: 1). Perubahan DB oleh 'web' baru saja (-7200 detik lalu). TIDAK mengupdate DB dengan state ESP.
[24-May-2025 08:44:06 UTC] [API Input Debug] Action: update_status, Raw Body: {"action":"update_status","device_id":"ESP_RELAY_01","state":1,"changed_by":"schedule_triggered_by_esp"}
[24-May-2025 08:44:06 UTC] [API Input Debug] Parsed _input_api: Array
(
    [action] => update_status
    [device_id] => ESP_RELAY_01
    [state] => 1
    [changed_by] => schedule_triggered_by_esp
)

[24-May-2025 08:44:06 UTC] [API Action] update_status: Attempting DB update. Device: 'ESP_RELAY_01', New State: 1, Changed By: 'schedule_triggered_by_esp'
[24-May-2025 08:44:06 UTC] [API Action] update_status: Execute success. RowCount: 1
[24-May-2025 08:46:06 UTC] [API Input Debug] Action: update_status, Raw Body: {"action":"update_status","device_id":"ESP_RELAY_01","state":0,"changed_by":"schedule_triggered_by_esp"}
[24-May-2025 08:46:06 UTC] [API Input Debug] Parsed _input_api: Array
(
    [action] => update_status
    [device_id] => ESP_RELAY_01
    [state] => 0
    [changed_by] => schedule_triggered_by_esp
)

[24-May-2025 08:46:06 UTC] [API Action] update_status: Attempting DB update. Device: 'ESP_RELAY_01', New State: 0, Changed By: 'schedule_triggered_by_esp'
[24-May-2025 08:46:06 UTC] [API Action] update_status: Execute success. RowCount: 1
[24-May-2025 08:47:39 UTC] [API Input Debug] Action: control_relay, Raw Body: {"action":"control_relay","device_id":"ESP_RELAY_01","state":1,"changed_by":"web"}
[24-May-2025 08:47:39 UTC] [API Input Debug] Parsed _input_api: Array
(
    [action] => control_relay
    [device_id] => ESP_RELAY_01
    [state] => 1
    [changed_by] => web
)

[24-May-2025 08:47:39 UTC] [API Action] control_relay: Attempting DB update. Device: 'ESP_RELAY_01', New State: 1, Changed By: 'web'
[24-May-2025 08:47:39 UTC] [API Action] control_relay: Execute success. RowCount: 1
[24-May-2025 08:47:45 UTC] [API esp_heartbeat] State mismatch (DB: 1 vs ESP: 0). Perubahan DB oleh 'web' baru saja (-7194 detik lalu). TIDAK mengupdate DB dengan state ESP.
[24-May-2025 08:47:51 UTC] [API Input Debug] Action: update_status, Raw Body: {"action":"update_status","device_id":"ESP_RELAY_01","state":0,"changed_by":"schedule_triggered_by_esp"}
[24-May-2025 08:47:51 UTC] [API Input Debug] Parsed _input_api: Array
(
    [action] => update_status
    [device_id] => ESP_RELAY_01
    [state] => 0
    [changed_by] => schedule_triggered_by_esp
)

[24-May-2025 08:47:51 UTC] [API Action] update_status: Attempting DB update. Device: 'ESP_RELAY_01', New State: 0, Changed By: 'schedule_triggered_by_esp'
[24-May-2025 08:47:51 UTC] [API Action] update_status: Execute success. RowCount: 1
[24-May-2025 08:48:39 UTC] [API Input Debug] Action: control_relay, Raw Body: {"action":"control_relay","device_id":"ESP_RELAY_01","state":1,"changed_by":"web"}
[24-May-2025 08:48:39 UTC] [API Input Debug] Parsed _input_api: Array
(
    [action] => control_relay
    [device_id] => ESP_RELAY_01
    [state] => 1
    [changed_by] => web
)

[24-May-2025 08:48:39 UTC] [API Action] control_relay: Attempting DB update. Device: 'ESP_RELAY_01', New State: 1, Changed By: 'web'
[24-May-2025 08:48:39 UTC] [API Action] control_relay: Execute success. RowCount: 1
[24-May-2025 08:48:46 UTC] [API esp_heartbeat] State mismatch (DB: 1 vs ESP: 0). Perubahan DB oleh 'web' baru saja (-7193 detik lalu). TIDAK mengupdate DB dengan state ESP.
[24-May-2025 08:51:33 UTC] [API Input Debug] Action: control_relay, Raw Body: {"action":"control_relay","device_id":"ESP_RELAY_01","state":0,"changed_by":"web"}
[24-May-2025 08:51:33 UTC] [API Input Debug] Parsed _input_api: Array
(
    [action] => control_relay
    [device_id] => ESP_RELAY_01
    [state] => 0
    [changed_by] => web
)

[24-May-2025 08:51:33 UTC] [API Action] control_relay: Attempting DB update. Device: 'ESP_RELAY_01', New State: 0, Changed By: 'web'
[24-May-2025 08:51:33 UTC] [API Action] control_relay: Execute success. RowCount: 1
[24-May-2025 08:51:36 UTC] [API Input Debug] Action: update_status, Raw Body: {"action":"update_status","device_id":"ESP_RELAY_01","state":0,"changed_by":"schedule_triggered_by_esp"}
[24-May-2025 08:51:36 UTC] [API Input Debug] Parsed _input_api: Array
(
    [action] => update_status
    [device_id] => ESP_RELAY_01
    [state] => 0
    [changed_by] => schedule_triggered_by_esp
)

[24-May-2025 08:51:36 UTC] [API Action] update_status: Attempting DB update. Device: 'ESP_RELAY_01', New State: 0, Changed By: 'schedule_triggered_by_esp'
[24-May-2025 08:51:36 UTC] [API Action] update_status: Execute success. RowCount: 1
[24-May-2025 08:51:47 UTC] [API Input Debug] Action: control_relay, Raw Body: {"action":"control_relay","device_id":"ESP_RELAY_01","state":1,"changed_by":"web"}
[24-May-2025 08:51:47 UTC] [API Input Debug] Parsed _input_api: Array
(
    [action] => control_relay
    [device_id] => ESP_RELAY_01
    [state] => 1
    [changed_by] => web
)

[24-May-2025 08:51:47 UTC] [API Action] control_relay: Attempting DB update. Device: 'ESP_RELAY_01', New State: 1, Changed By: 'web'
[24-May-2025 08:51:47 UTC] [API Action] control_relay: Execute success. RowCount: 1
[24-May-2025 08:52:00 UTC] [API esp_heartbeat] State mismatch (DB: 1 vs ESP: 0). Perubahan DB oleh 'web' baru saja (-7187 detik lalu). TIDAK mengupdate DB dengan state ESP.
[24-May-2025 08:52:06 UTC] [API Input Debug] Action: update_status, Raw Body: {"action":"update_status","device_id":"ESP_RELAY_01","state":0,"changed_by":"schedule_triggered_by_esp"}
[24-May-2025 08:52:06 UTC] [API Input Debug] Parsed _input_api: Array
(
    [action] => update_status
    [device_id] => ESP_RELAY_01
    [state] => 0
    [changed_by] => schedule_triggered_by_esp
)

[24-May-2025 08:52:06 UTC] [API Action] update_status: Attempting DB update. Device: 'ESP_RELAY_01', New State: 0, Changed By: 'schedule_triggered_by_esp'
[24-May-2025 08:52:07 UTC] [API Action] update_status: Execute success. RowCount: 1
[24-May-2025 08:53:03 UTC] [API Input Debug] Action: control_relay, Raw Body: {"action":"control_relay","device_id":"ESP_RELAY_01","state":1,"changed_by":"web"}
[24-May-2025 08:53:03 UTC] [API Input Debug] Parsed _input_api: Array
(
    [action] => control_relay
    [device_id] => ESP_RELAY_01
    [state] => 1
    [changed_by] => web
)

[24-May-2025 08:53:03 UTC] [API Action] control_relay: Attempting DB update. Device: 'ESP_RELAY_01', New State: 1, Changed By: 'web'
[24-May-2025 08:53:03 UTC] [API Action] control_relay: Execute success. RowCount: 1
[24-May-2025 08:53:24 UTC] [API esp_heartbeat] State mismatch (DB: 1 vs ESP: 0). Perubahan DB oleh 'web' baru saja (-7179 detik lalu). TIDAK mengupdate DB dengan state ESP.
[24-May-2025 08:53:30 UTC] [API Input Debug] Action: update_status, Raw Body: {"action":"update_status","device_id":"ESP_RELAY_01","state":0,"changed_by":"schedule_triggered_by_esp"}
[24-May-2025 08:53:30 UTC] [API Input Debug] Parsed _input_api: Array
(
    [action] => update_status
    [device_id] => ESP_RELAY_01
    [state] => 0
    [changed_by] => schedule_triggered_by_esp
)

[24-May-2025 08:53:30 UTC] [API Action] update_status: Attempting DB update. Device: 'ESP_RELAY_01', New State: 0, Changed By: 'schedule_triggered_by_esp'
[24-May-2025 08:53:30 UTC] [API Action] update_status: Execute success. RowCount: 1
[24-May-2025 09:11:03 UTC] [API Input Debug] Action: control_relay, Raw Body: {"action":"control_relay","device_id":"ESP_RELAY_01","state":1,"changed_by":"web"}
[24-May-2025 09:11:03 UTC] [API Input Debug] Parsed _input_api: Array
(
    [action] => control_relay
    [device_id] => ESP_RELAY_01
    [state] => 1
    [changed_by] => web
)

[24-May-2025 09:11:03 UTC] [API Action] control_relay: Attempting DB update. Device: 'ESP_RELAY_01', New State: 1, Changed By: 'web'
[24-May-2025 09:11:03 UTC] [API Action] control_relay: Execute success. RowCount: 1
[24-May-2025 09:11:06 UTC] [API esp_heartbeat] State mismatch (DB: 1 vs ESP: 0). Perubahan DB oleh 'web' baru saja (-7197 detik lalu). TIDAK mengupdate DB dengan state ESP.
[24-May-2025 09:11:22 UTC] [API Input Debug] Action: update_status, Raw Body: {"action":"update_status","device_id":"ESP_RELAY_01","state":0,"changed_by":"schedule_triggered_by_esp"}
[24-May-2025 09:11:22 UTC] [API Input Debug] Parsed _input_api: Array
(
    [action] => update_status
    [device_id] => ESP_RELAY_01
    [state] => 0
    [changed_by] => schedule_triggered_by_esp
)

[24-May-2025 09:11:22 UTC] [API Action] update_status: Attempting DB update. Device: 'ESP_RELAY_01', New State: 0, Changed By: 'schedule_triggered_by_esp'
[24-May-2025 09:11:22 UTC] [API Action] update_status: Execute success. RowCount: 1
[24-May-2025 09:21:07 UTC] [API Input Debug] Action: control_relay, Raw Body: {"action":"control_relay","device_id":"ESP_RELAY_01","state":1,"changed_by":"web"}
[24-May-2025 09:21:07 UTC] [API Input Debug] Parsed _input_api: Array
(
    [action] => control_relay
    [device_id] => ESP_RELAY_01
    [state] => 1
    [changed_by] => web
)

[24-May-2025 09:21:07 UTC] [API Action] control_relay: Attempting DB update. Device: 'ESP_RELAY_01', New State: 1, Changed By: 'web'
[24-May-2025 09:21:08 UTC] [API Action] control_relay: Execute success. RowCount: 1
[24-May-2025 09:21:13 UTC] [API esp_heartbeat] State mismatch (DB: 1 vs ESP: 0). Perubahan DB oleh 'web' baru saja (-7194 detik lalu). TIDAK mengupdate DB dengan state ESP.
[24-May-2025 09:22:19 UTC] [API Input Debug] Action: update_status, Raw Body: {"action":"update_status","device_id":"ESP_RELAY_01","state":0,"changed_by":"schedule_triggered_by_esp"}
[24-May-2025 09:22:19 UTC] [API Input Debug] Parsed _input_api: Array
(
    [action] => update_status
    [device_id] => ESP_RELAY_01
    [state] => 0
    [changed_by] => schedule_triggered_by_esp
)

[24-May-2025 09:22:19 UTC] [API Action] update_status: Attempting DB update. Device: 'ESP_RELAY_01', New State: 0, Changed By: 'schedule_triggered_by_esp'
[24-May-2025 09:22:19 UTC] [API Action] update_status: Execute success. RowCount: 1
[24-May-2025 09:33:45 UTC] [API Input Debug] Action: control_relay, Raw Body: {"action":"control_relay","device_id":"ESP_RELAY_01","state":1,"changed_by":"web"}
[24-May-2025 09:33:45 UTC] [API Input Debug] Parsed _input_api: Array
(
    [action] => control_relay
    [device_id] => ESP_RELAY_01
    [state] => 1
    [changed_by] => web
)

[24-May-2025 09:33:45 UTC] [API Action] control_relay: Attempting DB update. Device: 'ESP_RELAY_01', New State: 1, Changed By: 'web'
[24-May-2025 09:33:45 UTC] [API Action] control_relay: Execute success. RowCount: 1
[24-May-2025 09:33:47 UTC] [API esp_heartbeat] State mismatch (DB: 1 vs ESP: 0). Perubahan DB oleh 'web' baru saja (-7198 detik lalu). TIDAK mengupdate DB dengan state ESP.
[24-May-2025 09:33:56 UTC] [API Input Debug] Action: control_relay, Raw Body: {"action":"control_relay","device_id":"ESP_RELAY_01","state":0,"changed_by":"web"}
[24-May-2025 09:33:56 UTC] [API Input Debug] Parsed _input_api: Array
(
    [action] => control_relay
    [device_id] => ESP_RELAY_01
    [state] => 0
    [changed_by] => web
)

[24-May-2025 09:33:56 UTC] [API Action] control_relay: Attempting DB update. Device: 'ESP_RELAY_01', New State: 0, Changed By: 'web'
[24-May-2025 09:33:56 UTC] [API Action] control_relay: Execute success. RowCount: 1
[24-May-2025 09:34:02 UTC] [API esp_heartbeat] State mismatch (DB: 0 vs ESP: 1). Perubahan DB oleh 'web' baru saja (-7194 detik lalu). TIDAK mengupdate DB dengan state ESP.
[24-May-2025 09:48:45 UTC] [API Input Debug] Action: control_relay, Raw Body: {"action":"control_relay","device_id":"ESP_RELAY_01","state":1,"changed_by":"web"}
[24-May-2025 09:48:45 UTC] [API Input Debug] Parsed _input_api: Array
(
    [action] => control_relay
    [device_id] => ESP_RELAY_01
    [state] => 1
    [changed_by] => web
)

[24-May-2025 09:48:45 UTC] [API Action] control_relay: Attempting DB update. Device: 'ESP_RELAY_01', New State: 1, Changed By: 'web'
[24-May-2025 09:48:45 UTC] [API Action] control_relay: Execute success. RowCount: 1
[24-May-2025 09:48:46 UTC] [API esp_heartbeat] State mismatch (DB: 1 vs ESP: 0). Perubahan DB oleh 'web' baru saja (-7199 detik lalu). TIDAK mengupdate DB dengan state ESP.
[24-May-2025 09:48:51 UTC] [API Input Debug] Action: control_relay, Raw Body: {"action":"control_relay","device_id":"ESP_RELAY_01","state":0,"changed_by":"web"}
[24-May-2025 09:48:51 UTC] [API Input Debug] Parsed _input_api: Array
(
    [action] => control_relay
    [device_id] => ESP_RELAY_01
    [state] => 0
    [changed_by] => web
)

[24-May-2025 09:48:51 UTC] [API Action] control_relay: Attempting DB update. Device: 'ESP_RELAY_01', New State: 0, Changed By: 'web'
[24-May-2025 09:48:51 UTC] [API Action] control_relay: Execute success. RowCount: 1
[24-May-2025 09:49:01 UTC] [API esp_heartbeat] State mismatch (DB: 0 vs ESP: 1). Perubahan DB oleh 'web' baru saja (-7190 detik lalu). TIDAK mengupdate DB dengan state ESP.
[24-May-2025 10:02:38 UTC] [API Input Debug] Action: control_relay, Raw Body: {"action":"control_relay","device_id":"ESP_RELAY_01","state":1,"changed_by":"web"}
[24-May-2025 10:02:38 UTC] [API Input Debug] Parsed _input_api: Array
(
    [action] => control_relay
    [device_id] => ESP_RELAY_01
    [state] => 1
    [changed_by] => web
)

[24-May-2025 10:02:38 UTC] [API Action] control_relay: Attempting DB update. Device: 'ESP_RELAY_01', New State: 1, Changed By: 'web'
[24-May-2025 10:02:38 UTC] [API Action] control_relay: Execute success. RowCount: 1
[24-May-2025 10:02:46 UTC] [API esp_heartbeat] State mismatch (DB: 1 vs ESP: 0). Perubahan DB oleh 'web' baru saja (-7192 detik lalu). TIDAK mengupdate DB dengan state ESP.
[24-May-2025 10:03:01 UTC] [API esp_heartbeat] State mismatch (DB: 1 vs ESP: 0). Perubahan DB oleh 'web' baru saja (-7185 detik lalu). TIDAK mengupdate DB dengan state ESP.
[24-May-2025 10:04:03 UTC] [API esp_heartbeat] State mismatch (DB: 1 vs ESP: 0). Perubahan DB oleh 'web' baru saja (-7138 detik lalu). TIDAK mengupdate DB dengan state ESP.
[24-May-2025 10:04:05 UTC] [API esp_heartbeat] State mismatch (DB: 1 vs ESP: 0). Perubahan DB oleh 'web' baru saja (-7198 detik lalu). TIDAK mengupdate DB dengan state ESP.
[24-May-2025 10:04:20 UTC] [API esp_heartbeat] State mismatch (DB: 1 vs ESP: 0). Perubahan DB oleh 'web' baru saja (-7185 detik lalu). TIDAK mengupdate DB dengan state ESP.
[24-May-2025 10:04:35 UTC] [API esp_heartbeat] State mismatch (DB: 1 vs ESP: 0). Perubahan DB oleh 'web' baru saja (-7185 detik lalu). TIDAK mengupdate DB dengan state ESP.
[24-May-2025 10:04:50 UTC] [API esp_heartbeat] State mismatch (DB: 1 vs ESP: 0). Perubahan DB oleh 'web' baru saja (-7185 detik lalu). TIDAK mengupdate DB dengan state ESP.
[24-May-2025 10:05:05 UTC] [API esp_heartbeat] State mismatch (DB: 1 vs ESP: 0). Perubahan DB oleh 'web' baru saja (-7185 detik lalu). TIDAK mengupdate DB dengan state ESP.
[24-May-2025 10:05:20 UTC] [API esp_heartbeat] State mismatch (DB: 1 vs ESP: 0). Perubahan DB oleh 'web' baru saja (-7185 detik lalu). TIDAK mengupdate DB dengan state ESP.
[24-May-2025 10:05:35 UTC] [API esp_heartbeat] State mismatch (DB: 1 vs ESP: 0). Perubahan DB oleh 'web' baru saja (-7185 detik lalu). TIDAK mengupdate DB dengan state ESP.
[24-May-2025 10:05:50 UTC] [API esp_heartbeat] State mismatch (DB: 1 vs ESP: 0). Perubahan DB oleh 'web' baru saja (-7185 detik lalu). TIDAK mengupdate DB dengan state ESP.
[24-May-2025 10:06:05 UTC] [API esp_heartbeat] State mismatch (DB: 1 vs ESP: 0). Perubahan DB oleh 'web' baru saja (-7185 detik lalu). TIDAK mengupdate DB dengan state ESP.
[24-May-2025 10:06:20 UTC] [API esp_heartbeat] State mismatch (DB: 1 vs ESP: 0). Perubahan DB oleh 'web' baru saja (-7185 detik lalu). TIDAK mengupdate DB dengan state ESP.
[24-May-2025 10:06:35 UTC] [API esp_heartbeat] State mismatch (DB: 1 vs ESP: 0). Perubahan DB oleh 'web' baru saja (-7185 detik lalu). TIDAK mengupdate DB dengan state ESP.
[24-May-2025 10:06:50 UTC] [API esp_heartbeat] State mismatch (DB: 1 vs ESP: 0). Perubahan DB oleh 'web' baru saja (-7185 detik lalu). TIDAK mengupdate DB dengan state ESP.
[24-May-2025 10:07:05 UTC] [API esp_heartbeat] State mismatch (DB: 1 vs ESP: 0). Perubahan DB oleh 'web' baru saja (-7185 detik lalu). TIDAK mengupdate DB dengan state ESP.
[24-May-2025 10:07:20 UTC] [API esp_heartbeat] State mismatch (DB: 1 vs ESP: 0). Perubahan DB oleh 'web' baru saja (-7185 detik lalu). TIDAK mengupdate DB dengan state ESP.
[24-May-2025 10:07:35 UTC] [API esp_heartbeat] State mismatch (DB: 1 vs ESP: 0). Perubahan DB oleh 'web' baru saja (-7185 detik lalu). TIDAK mengupdate DB dengan state ESP.
[24-May-2025 10:07:50 UTC] [API esp_heartbeat] State mismatch (DB: 1 vs ESP: 0). Perubahan DB oleh 'web' baru saja (-7185 detik lalu). TIDAK mengupdate DB dengan state ESP.
[24-May-2025 10:08:05 UTC] [API esp_heartbeat] State mismatch (DB: 1 vs ESP: 0). Perubahan DB oleh 'web' baru saja (-7185 detik lalu). TIDAK mengupdate DB dengan state ESP.
[24-May-2025 10:08:20 UTC] [API esp_heartbeat] State mismatch (DB: 1 vs ESP: 0). Perubahan DB oleh 'web' baru saja (-7185 detik lalu). TIDAK mengupdate DB dengan state ESP.
[24-May-2025 10:08:36 UTC] [API esp_heartbeat] State mismatch (DB: 1 vs ESP: 0). Perubahan DB oleh 'web' baru saja (-7184 detik lalu). TIDAK mengupdate DB dengan state ESP.
[24-May-2025 10:08:50 UTC] [API esp_heartbeat] State mismatch (DB: 1 vs ESP: 0). Perubahan DB oleh 'web' baru saja (-7186 detik lalu). TIDAK mengupdate DB dengan state ESP.
[24-May-2025 10:09:05 UTC] [API esp_heartbeat] State mismatch (DB: 1 vs ESP: 0). Perubahan DB oleh 'web' baru saja (-7185 detik lalu). TIDAK mengupdate DB dengan state ESP.
[24-May-2025 10:09:20 UTC] [API esp_heartbeat] State mismatch (DB: 1 vs ESP: 0). Perubahan DB oleh 'web' baru saja (-7185 detik lalu). TIDAK mengupdate DB dengan state ESP.
[24-May-2025 10:09:35 UTC] [API esp_heartbeat] State mismatch (DB: 1 vs ESP: 0). Perubahan DB oleh 'web' baru saja (-7185 detik lalu). TIDAK mengupdate DB dengan state ESP.
[24-May-2025 10:09:50 UTC] [API esp_heartbeat] State mismatch (DB: 1 vs ESP: 0). Perubahan DB oleh 'web' baru saja (-7185 detik lalu). TIDAK mengupdate DB dengan state ESP.
[24-May-2025 10:10:05 UTC] [API esp_heartbeat] State mismatch (DB: 1 vs ESP: 0). Perubahan DB oleh 'web' baru saja (-7185 detik lalu). TIDAK mengupdate DB dengan state ESP.
[24-May-2025 10:10:20 UTC] [API esp_heartbeat] State mismatch (DB: 1 vs ESP: 0). Perubahan DB oleh 'web' baru saja (-7185 detik lalu). TIDAK mengupdate DB dengan state ESP.
[24-May-2025 10:10:35 UTC] [API esp_heartbeat] State mismatch (DB: 1 vs ESP: 0). Perubahan DB oleh 'web' baru saja (-7185 detik lalu). TIDAK mengupdate DB dengan state ESP.
[24-May-2025 10:10:50 UTC] [API esp_heartbeat] State mismatch (DB: 1 vs ESP: 0). Perubahan DB oleh 'web' baru saja (-7185 detik lalu). TIDAK mengupdate DB dengan state ESP.
[24-May-2025 10:11:05 UTC] [API esp_heartbeat] State mismatch (DB: 1 vs ESP: 0). Perubahan DB oleh 'web' baru saja (-7185 detik lalu). TIDAK mengupdate DB dengan state ESP.
[24-May-2025 10:11:20 UTC] [API esp_heartbeat] State mismatch (DB: 1 vs ESP: 0). Perubahan DB oleh 'web' baru saja (-7185 detik lalu). TIDAK mengupdate DB dengan state ESP.
[24-May-2025 10:11:35 UTC] [API esp_heartbeat] State mismatch (DB: 1 vs ESP: 0). Perubahan DB oleh 'web' baru saja (-7185 detik lalu). TIDAK mengupdate DB dengan state ESP.
[24-May-2025 10:11:50 UTC] [API esp_heartbeat] State mismatch (DB: 1 vs ESP: 0). Perubahan DB oleh 'web' baru saja (-7185 detik lalu). TIDAK mengupdate DB dengan state ESP.
[24-May-2025 10:12:05 UTC] [API esp_heartbeat] State mismatch (DB: 1 vs ESP: 0). Perubahan DB oleh 'web' baru saja (-7185 detik lalu). TIDAK mengupdate DB dengan state ESP.
[24-May-2025 10:12:20 UTC] [API esp_heartbeat] State mismatch (DB: 1 vs ESP: 0). Perubahan DB oleh 'web' baru saja (-7185 detik lalu). TIDAK mengupdate DB dengan state ESP.
[24-May-2025 10:12:35 UTC] [API esp_heartbeat] State mismatch (DB: 1 vs ESP: 0). Perubahan DB oleh 'web' baru saja (-7185 detik lalu). TIDAK mengupdate DB dengan state ESP.
[24-May-2025 10:12:50 UTC] [API esp_heartbeat] State mismatch (DB: 1 vs ESP: 0). Perubahan DB oleh 'web' baru saja (-7185 detik lalu). TIDAK mengupdate DB dengan state ESP.
[24-May-2025 10:13:05 UTC] [API esp_heartbeat] State mismatch (DB: 1 vs ESP: 0). Perubahan DB oleh 'web' baru saja (-7185 detik lalu). TIDAK mengupdate DB dengan state ESP.
[24-May-2025 10:14:04 UTC] [API esp_heartbeat] State mismatch (DB: 1 vs ESP: 0). Perubahan DB oleh 'web' baru saja (-7141 detik lalu). TIDAK mengupdate DB dengan state ESP.
[24-May-2025 10:14:07 UTC] [API esp_heartbeat] State mismatch (DB: 1 vs ESP: 0). Perubahan DB oleh 'web' baru saja (-7197 detik lalu). TIDAK mengupdate DB dengan state ESP.
[24-May-2025 10:14:22 UTC] [API esp_heartbeat] State mismatch (DB: 1 vs ESP: 0). Perubahan DB oleh 'web' baru saja (-7185 detik lalu). TIDAK mengupdate DB dengan state ESP.
[24-May-2025 10:14:37 UTC] [API esp_heartbeat] State mismatch (DB: 1 vs ESP: 0). Perubahan DB oleh 'web' baru saja (-7185 detik lalu). TIDAK mengupdate DB dengan state ESP.
[24-May-2025 10:14:53 UTC] [API esp_heartbeat] State mismatch (DB: 1 vs ESP: 0). Perubahan DB oleh 'web' baru saja (-7184 detik lalu). TIDAK mengupdate DB dengan state ESP.
[24-May-2025 10:14:55 UTC] [API esp_heartbeat] State mismatch (DB: 1 vs ESP: 0). Perubahan DB oleh 'web' baru saja (-7198 detik lalu). TIDAK mengupdate DB dengan state ESP.
[24-May-2025 10:15:10 UTC] [API esp_heartbeat] State mismatch (DB: 1 vs ESP: 0). Perubahan DB oleh 'web' baru saja (-7185 detik lalu). TIDAK mengupdate DB dengan state ESP.
[24-May-2025 10:15:13 UTC] [API esp_heartbeat] State mismatch (DB: 1 vs ESP: 0). Perubahan DB oleh 'web' baru saja (-7197 detik lalu). TIDAK mengupdate DB dengan state ESP.
[24-May-2025 10:15:28 UTC] [API esp_heartbeat] State mismatch (DB: 1 vs ESP: 0). Perubahan DB oleh 'web' baru saja (-7185 detik lalu). TIDAK mengupdate DB dengan state ESP.
[24-May-2025 10:15:42 UTC] [API esp_heartbeat] State mismatch (DB: 1 vs ESP: 0). Perubahan DB oleh 'web' baru saja (-7186 detik lalu). TIDAK mengupdate DB dengan state ESP.
[24-May-2025 10:15:58 UTC] [API esp_heartbeat] State mismatch (DB: 1 vs ESP: 0). Perubahan DB oleh 'web' baru saja (-7184 detik lalu). TIDAK mengupdate DB dengan state ESP.
[24-May-2025 10:16:13 UTC] [API esp_heartbeat] State mismatch (DB: 1 vs ESP: 0). Perubahan DB oleh 'web' baru saja (-7185 detik lalu). TIDAK mengupdate DB dengan state ESP.
[24-May-2025 10:16:28 UTC] [API esp_heartbeat] State mismatch (DB: 1 vs ESP: 0). Perubahan DB oleh 'web' baru saja (-7185 detik lalu). TIDAK mengupdate DB dengan state ESP.
[24-May-2025 10:16:42 UTC] [API esp_heartbeat] State mismatch (DB: 1 vs ESP: 0). Perubahan DB oleh 'web' baru saja (-7186 detik lalu). TIDAK mengupdate DB dengan state ESP.
[24-May-2025 10:16:58 UTC] [API esp_heartbeat] State mismatch (DB: 1 vs ESP: 0). Perubahan DB oleh 'web' baru saja (-7184 detik lalu). TIDAK mengupdate DB dengan state ESP.
[24-May-2025 10:17:14 UTC] [API esp_heartbeat] State mismatch (DB: 1 vs ESP: 0). Perubahan DB oleh 'web' baru saja (-7184 detik lalu). TIDAK mengupdate DB dengan state ESP.
[24-May-2025 10:17:16 UTC] [API esp_heartbeat] State mismatch (DB: 1 vs ESP: 0). Perubahan DB oleh 'web' baru saja (-7198 detik lalu). TIDAK mengupdate DB dengan state ESP.
[24-May-2025 10:17:27 UTC] [API esp_heartbeat] State mismatch (DB: 1 vs ESP: 0). Perubahan DB oleh 'web' baru saja (-7189 detik lalu). TIDAK mengupdate DB dengan state ESP.
[24-May-2025 10:17:30 UTC] [API Input Debug] Action: update_status, Raw Body: {"action":"update_status","device_id":"ESP_RELAY_01","state":1,"changed_by":"esp_manual"}
[24-May-2025 10:17:30 UTC] [API Input Debug] Parsed _input_api: Array
(
    [action] => update_status
    [device_id] => ESP_RELAY_01
    [state] => 1
    [changed_by] => esp_manual
)

[24-May-2025 10:17:30 UTC] [API Action] update_status: Attempting DB update. Device: 'ESP_RELAY_01', New State: 1, Changed By: 'esp_manual'
[24-May-2025 10:17:30 UTC] [API Action] update_status: Execute success. RowCount: 1
[24-May-2025 10:18:30 UTC] [API esp_heartbeat] State mismatch (DB: 1 vs ESP: 0). Sinkronisasi DB dengan state ESP. last_changed_by: 'esp_manual', age: -7177 detik.
[24-May-2025 10:24:21 UTC] [API Input Debug] Action: update_status, Raw Body: {"action":"update_status","device_id":"ESP_RELAY_01","state":1,"changed_by":"esp_manual"}
[24-May-2025 10:24:21 UTC] [API Input Debug] Parsed _input_api: Array
(
    [action] => update_status
    [device_id] => ESP_RELAY_01
    [state] => 1
    [changed_by] => esp_manual
)

[24-May-2025 10:24:21 UTC] [API Action] update_status: Attempting DB update. Device: 'ESP_RELAY_01', New State: 1, Changed By: 'esp_manual'
[24-May-2025 10:24:21 UTC] [API Action] update_status: Execute success. RowCount: 1
[24-May-2025 10:24:29 UTC] [API Input Debug] Action: update_status, Raw Body: {"action":"update_status","device_id":"ESP_RELAY_01","state":0,"changed_by":"esp_manual"}
[24-May-2025 10:24:29 UTC] [API Input Debug] Parsed _input_api: Array
(
    [action] => update_status
    [device_id] => ESP_RELAY_01
    [state] => 0
    [changed_by] => esp_manual
)

[24-May-2025 10:24:29 UTC] [API Action] update_status: Attempting DB update. Device: 'ESP_RELAY_01', New State: 0, Changed By: 'esp_manual'
[24-May-2025 10:24:29 UTC] [API Action] update_status: Execute success. RowCount: 1
[24-May-2025 10:24:41 UTC] [API Input Debug] Action: update_status, Raw Body: {"action":"update_status","device_id":"ESP_RELAY_01","state":1,"changed_by":"esp_manual"}
[24-May-2025 10:24:41 UTC] [API Input Debug] Parsed _input_api: Array
(
    [action] => update_status
    [device_id] => ESP_RELAY_01
    [state] => 1
    [changed_by] => esp_manual
)

[24-May-2025 10:24:41 UTC] [API Action] update_status: Attempting DB update. Device: 'ESP_RELAY_01', New State: 1, Changed By: 'esp_manual'
[24-May-2025 10:24:41 UTC] [API Action] update_status: Execute success. RowCount: 1
[24-May-2025 10:24:54 UTC] [API Input Debug] Action: update_status, Raw Body: {"action":"update_status","device_id":"ESP_RELAY_01","state":0,"changed_by":"esp_manual"}
[24-May-2025 10:24:54 UTC] [API Input Debug] Parsed _input_api: Array
(
    [action] => update_status
    [device_id] => ESP_RELAY_01
    [state] => 0
    [changed_by] => esp_manual
)

[24-May-2025 10:24:54 UTC] [API Action] update_status: Attempting DB update. Device: 'ESP_RELAY_01', New State: 0, Changed By: 'esp_manual'
[24-May-2025 10:24:54 UTC] [API Action] update_status: Execute success. RowCount: 1
[24-May-2025 10:25:23 UTC] [API Input Debug] Action: update_status, Raw Body: {"action":"update_status","device_id":"ESP_RELAY_01","state":1,"changed_by":"esp_manual"}
[24-May-2025 10:25:23 UTC] [API Input Debug] Parsed _input_api: Array
(
    [action] => update_status
    [device_id] => ESP_RELAY_01
    [state] => 1
    [changed_by] => esp_manual
)

[24-May-2025 10:25:23 UTC] [API Action] update_status: Attempting DB update. Device: 'ESP_RELAY_01', New State: 1, Changed By: 'esp_manual'
[24-May-2025 10:25:23 UTC] [API Action] update_status: Execute success. RowCount: 1
[24-May-2025 10:25:28 UTC] [API Input Debug] Action: update_status, Raw Body: {"action":"update_status","device_id":"ESP_RELAY_01","state":0,"changed_by":"esp_manual"}
[24-May-2025 10:25:28 UTC] [API Input Debug] Parsed _input_api: Array
(
    [action] => update_status
    [device_id] => ESP_RELAY_01
    [state] => 0
    [changed_by] => esp_manual
)

[24-May-2025 10:25:28 UTC] [API Action] update_status: Attempting DB update. Device: 'ESP_RELAY_01', New State: 0, Changed By: 'esp_manual'
[24-May-2025 10:25:28 UTC] [API Action] update_status: Execute success. RowCount: 1
[24-May-2025 10:25:31 UTC] [API Input Debug] Action: update_status, Raw Body: {"action":"update_status","device_id":"ESP_RELAY_01","state":1,"changed_by":"esp_manual"}
[24-May-2025 10:25:31 UTC] [API Input Debug] Parsed _input_api: Array
(
    [action] => update_status
    [device_id] => ESP_RELAY_01
    [state] => 1
    [changed_by] => esp_manual
)

[24-May-2025 10:25:31 UTC] [API Action] update_status: Attempting DB update. Device: 'ESP_RELAY_01', New State: 1, Changed By: 'esp_manual'
[24-May-2025 10:25:31 UTC] [API Action] update_status: Execute success. RowCount: 1
[24-May-2025 10:25:42 UTC] [API Input Debug] Action: update_status, Raw Body: {"action":"update_status","device_id":"ESP_RELAY_01","state":0,"changed_by":"esp_manual"}
[24-May-2025 10:25:42 UTC] [API Input Debug] Parsed _input_api: Array
(
    [action] => update_status
    [device_id] => ESP_RELAY_01
    [state] => 0
    [changed_by] => esp_manual
)

[24-May-2025 10:25:42 UTC] [API Action] update_status: Attempting DB update. Device: 'ESP_RELAY_01', New State: 0, Changed By: 'esp_manual'
[24-May-2025 10:25:42 UTC] [API Action] update_status: Execute success. RowCount: 1
[24-May-2025 10:28:02 UTC] [API Input Debug] Action: update_status, Raw Body: {"action":"update_status","device_id":"ESP_RELAY_01","state":1,"changed_by":"esp_manual"}
[24-May-2025 10:28:02 UTC] [API Input Debug] Parsed _input_api: Array
(
    [action] => update_status
    [device_id] => ESP_RELAY_01
    [state] => 1
    [changed_by] => esp_manual
)

[24-May-2025 10:28:02 UTC] [API Action] update_status: Attempting DB update. Device: 'ESP_RELAY_01', New State: 1, Changed By: 'esp_manual'
[24-May-2025 10:28:02 UTC] [API Action] update_status: Execute success. RowCount: 1
[24-May-2025 10:28:11 UTC] [API Input Debug] Action: update_status, Raw Body: {"action":"update_status","device_id":"ESP_RELAY_01","state":0,"changed_by":"esp_manual"}
[24-May-2025 10:28:11 UTC] [API Input Debug] Parsed _input_api: Array
(
    [action] => update_status
    [device_id] => ESP_RELAY_01
    [state] => 0
    [changed_by] => esp_manual
)

[24-May-2025 10:28:11 UTC] [API Action] update_status: Attempting DB update. Device: 'ESP_RELAY_01', New State: 0, Changed By: 'esp_manual'
[24-May-2025 10:28:11 UTC] [API Action] update_status: Execute success. RowCount: 1
[24-May-2025 10:31:53 UTC] [API Input Debug] Action: update_status, Raw Body: {"action":"update_status","device_id":"ESP_RELAY_01","state":1,"changed_by":"esp_manual"}
[24-May-2025 10:31:53 UTC] [API Input Debug] Parsed _input_api: Array
(
    [action] => update_status
    [device_id] => ESP_RELAY_01
    [state] => 1
    [changed_by] => esp_manual
)

[24-May-2025 10:31:53 UTC] [API Action] update_status: Attempting DB update. Device: 'ESP_RELAY_01', New State: 1, Changed By: 'esp_manual'
[24-May-2025 10:31:53 UTC] [API Action] update_status: Execute success. RowCount: 1
[24-May-2025 10:33:08 UTC] [API Input Debug] Action: update_status, Raw Body: {"action":"update_status","device_id":"ESP_RELAY_01","state":0,"changed_by":"esp_manual"}
[24-May-2025 10:33:08 UTC] [API Input Debug] Parsed _input_api: Array
(
    [action] => update_status
    [device_id] => ESP_RELAY_01
    [state] => 0
    [changed_by] => esp_manual
)

[24-May-2025 10:33:08 UTC] [API Action] update_status: Attempting DB update. Device: 'ESP_RELAY_01', New State: 0, Changed By: 'esp_manual'
[24-May-2025 10:33:08 UTC] [API Action] update_status: Execute success. RowCount: 1
[24-May-2025 10:33:55 UTC] [API Input Debug] Action: update_status, Raw Body: {"action":"update_status","device_id":"ESP_RELAY_01","state":1,"changed_by":"esp_manual"}
[24-May-2025 10:33:55 UTC] [API Input Debug] Parsed _input_api: Array
(
    [action] => update_status
    [device_id] => ESP_RELAY_01
    [state] => 1
    [changed_by] => esp_manual
)

[24-May-2025 10:33:55 UTC] [API Action] update_status: Attempting DB update. Device: 'ESP_RELAY_01', New State: 1, Changed By: 'esp_manual'
[24-May-2025 10:33:55 UTC] [API Action] update_status: Execute success. RowCount: 1
[24-May-2025 10:38:37 UTC] [API Input Debug] Action: update_status, Raw Body: {"action":"update_status","device_id":"ESP_RELAY_01","state":0,"changed_by":"esp_manual"}
[24-May-2025 10:38:37 UTC] [API Input Debug] Parsed _input_api: Array
(
    [action] => update_status
    [device_id] => ESP_RELAY_01
    [state] => 0
    [changed_by] => esp_manual
)

[24-May-2025 10:38:37 UTC] [API Action] update_status: Attempting DB update. Device: 'ESP_RELAY_01', New State: 0, Changed By: 'esp_manual'
[24-May-2025 10:38:37 UTC] [API Action] update_status: Execute success. RowCount: 1
[24-May-2025 10:38:41 UTC] [API Input Debug] Action: update_status, Raw Body: {"action":"update_status","device_id":"ESP_RELAY_01","state":1,"changed_by":"esp_manual"}
[24-May-2025 10:38:41 UTC] [API Input Debug] Parsed _input_api: Array
(
    [action] => update_status
    [device_id] => ESP_RELAY_01
    [state] => 1
    [changed_by] => esp_manual
)

[24-May-2025 10:38:41 UTC] [API Action] update_status: Attempting DB update. Device: 'ESP_RELAY_01', New State: 1, Changed By: 'esp_manual'
[24-May-2025 10:38:41 UTC] [API Action] update_status: Execute success. RowCount: 1
[24-May-2025 10:38:59 UTC] [API Input Debug] Action: update_status, Raw Body: {"action":"update_status","device_id":"ESP_RELAY_01","state":0,"changed_by":"esp_manual"}
[24-May-2025 10:38:59 UTC] [API Input Debug] Parsed _input_api: Array
(
    [action] => update_status
    [device_id] => ESP_RELAY_01
    [state] => 0
    [changed_by] => esp_manual
)

[24-May-2025 10:38:59 UTC] [API Action] update_status: Attempting DB update. Device: 'ESP_RELAY_01', New State: 0, Changed By: 'esp_manual'
[24-May-2025 10:38:59 UTC] [API Action] update_status: Execute success. RowCount: 1
[24-May-2025 10:39:09 UTC] [API Input Debug] Action: update_status, Raw Body: {"action":"update_status","device_id":"ESP_RELAY_01","state":1,"changed_by":"esp_manual"}
[24-May-2025 10:39:09 UTC] [API Input Debug] Parsed _input_api: Array
(
    [action] => update_status
    [device_id] => ESP_RELAY_01
    [state] => 1
    [changed_by] => esp_manual
)

[24-May-2025 10:39:09 UTC] [API Action] update_status: Attempting DB update. Device: 'ESP_RELAY_01', New State: 1, Changed By: 'esp_manual'
[24-May-2025 10:39:09 UTC] [API Action] update_status: Execute success. RowCount: 1
[24-May-2025 10:41:01 UTC] [API Input Debug] Action: update_status, Raw Body: {"action":"update_status","device_id":"ESP_RELAY_01","state":0,"changed_by":"esp_manual"}
[24-May-2025 10:41:01 UTC] [API Input Debug] Parsed _input_api: Array
(
    [action] => update_status
    [device_id] => ESP_RELAY_01
    [state] => 0
    [changed_by] => esp_manual
)

[24-May-2025 10:41:01 UTC] [API Action] update_status: Attempting DB update. Device: 'ESP_RELAY_01', New State: 0, Changed By: 'esp_manual'
[24-May-2025 10:41:01 UTC] [API Action] update_status: Execute success. RowCount: 1
[24-May-2025 10:41:13 UTC] [API Input Debug] Action: update_status, Raw Body: {"action":"update_status","device_id":"ESP_RELAY_01","state":1,"changed_by":"esp_manual"}
[24-May-2025 10:41:13 UTC] [API Input Debug] Parsed _input_api: Array
(
    [action] => update_status
    [device_id] => ESP_RELAY_01
    [state] => 1
    [changed_by] => esp_manual
)

[24-May-2025 10:41:13 UTC] [API Action] update_status: Attempting DB update. Device: 'ESP_RELAY_01', New State: 1, Changed By: 'esp_manual'
[24-May-2025 10:41:13 UTC] [API Action] update_status: Execute success. RowCount: 1
[24-May-2025 10:49:53 UTC] [API Input Debug] Action: update_status, Raw Body: {"action":"update_status","device_id":"ESP_RELAY_01","state":0,"changed_by":"esp_manual"}
[24-May-2025 10:49:53 UTC] [API Input Debug] Parsed _input_api: Array
(
    [action] => update_status
    [device_id] => ESP_RELAY_01
    [state] => 0
    [changed_by] => esp_manual
)

[24-May-2025 10:49:53 UTC] [API Action] update_status: Attempting DB update. Device: 'ESP_RELAY_01', New State: 0, Changed By: 'esp_manual'
[24-May-2025 10:49:53 UTC] [API Action] update_status: Params for execute: Array
(
    [state] => 0
    [changed_by] => esp_manual
    [device_id] => ESP_RELAY_01
)

[24-May-2025 10:49:53 UTC] [API Action] update_status: Execute success. RowCount: 1
[24-May-2025 10:50:24 UTC] [API update_esp_mode] Mode operasional untuk device 'ESP_RELAY_01' diupdate ke 'web_only' oleh ESP.
[24-May-2025 10:50:36 UTC] [API update_esp_mode] Mode operasional untuk device 'ESP_RELAY_01' diupdate ke 'manual_only' oleh ESP.
[24-May-2025 10:50:51 UTC] [API update_esp_mode] Mode operasional untuk device 'ESP_RELAY_01' diupdate ke 'schedule' oleh ESP.
[24-May-2025 10:50:55 UTC] [API Input Debug] Action: update_status, Raw Body: {"action":"update_status","device_id":"ESP_RELAY_01","state":1,"changed_by":"schedule_triggered_by_esp"}
[24-May-2025 10:50:55 UTC] [API Input Debug] Parsed _input_api: Array
(
    [action] => update_status
    [device_id] => ESP_RELAY_01
    [state] => 1
    [changed_by] => schedule_triggered_by_esp
)

[24-May-2025 10:50:55 UTC] [API Action] update_status: Attempting DB update. Device: 'ESP_RELAY_01', New State: 1, Changed By: 'schedule_triggered_by_esp'
[24-May-2025 10:50:55 UTC] [API Action] update_status: Params for execute: Array
(
    [state] => 1
    [changed_by] => schedule_triggered_by_esp
    [device_id] => ESP_RELAY_01
)

[24-May-2025 10:50:55 UTC] [API Action] update_status: Execute success. RowCount: 1
[24-May-2025 10:51:12 UTC] [API update_esp_mode] Mode operasional untuk device 'ESP_RELAY_01' diupdate ke 'manual_web' oleh ESP.
[24-May-2025 10:51:39 UTC] [API update_esp_mode] Mode operasional untuk device 'ESP_RELAY_01' diupdate ke 'web_only' oleh ESP.
[24-May-2025 10:52:05 UTC] [API update_esp_mode] Mode operasional untuk device 'ESP_RELAY_01' diupdate ke 'manual_only' oleh ESP.
[24-May-2025 10:52:22 UTC] [API update_esp_mode] Mode operasional untuk device 'ESP_RELAY_01' diupdate ke 'schedule' oleh ESP.
[24-May-2025 10:52:50 UTC] [API update_esp_mode] Mode operasional untuk device 'ESP_RELAY_01' diupdate ke 'manual_web' oleh ESP.
[24-May-2025 10:53:06 UTC] [API Input Debug] Action: update_status, Raw Body: {"action":"update_status","device_id":"ESP_RELAY_01","state":0,"changed_by":"esp_manual"}
[24-May-2025 10:53:06 UTC] [API Input Debug] Parsed _input_api: Array
(
    [action] => update_status
    [device_id] => ESP_RELAY_01
    [state] => 0
    [changed_by] => esp_manual
)

[24-May-2025 10:53:06 UTC] [API Action] update_status: Attempting DB update. Device: 'ESP_RELAY_01', New State: 0, Changed By: 'esp_manual'
[24-May-2025 10:53:06 UTC] [API Action] update_status: Params for execute: Array
(
    [state] => 0
    [changed_by] => esp_manual
    [device_id] => ESP_RELAY_01
)

[24-May-2025 10:53:06 UTC] [API Action] update_status: Execute success. RowCount: 1
[24-May-2025 10:53:26 UTC] [API Input Debug] Action: control_relay, Raw Body: {"action":"control_relay","device_id":"ESP_RELAY_01","state":1,"changed_by":"web"}
[24-May-2025 10:53:26 UTC] [API Input Debug] Parsed _input_api: Array
(
    [action] => control_relay
    [device_id] => ESP_RELAY_01
    [state] => 1
    [changed_by] => web
)

[24-May-2025 10:53:26 UTC] [API Action] control_relay: Attempting DB update. Device: 'ESP_RELAY_01', New State: 1, Changed By: 'web'
[24-May-2025 10:53:26 UTC] [API Action] control_relay: Params for execute: Array
(
    [state] => 1
    [changed_by] => web
    [device_id] => ESP_RELAY_01
)

[24-May-2025 10:53:26 UTC] [API Action] control_relay: Execute success. RowCount: 1
[24-May-2025 10:53:29 UTC] [API esp_heartbeat] State mismatch (DB: 1 vs ESP: 0). Perubahan DB oleh 'web' baru saja (-7197 detik lalu). TIDAK mengupdate DB dengan state ESP.
[24-May-2025 10:53:34 UTC] [API Input Debug] Action: control_relay, Raw Body: {"action":"control_relay","device_id":"ESP_RELAY_01","state":0,"changed_by":"web"}
[24-May-2025 10:53:34 UTC] [API Input Debug] Parsed _input_api: Array
(
    [action] => control_relay
    [device_id] => ESP_RELAY_01
    [state] => 0
    [changed_by] => web
)

[24-May-2025 10:53:34 UTC] [API Action] control_relay: Attempting DB update. Device: 'ESP_RELAY_01', New State: 0, Changed By: 'web'
[24-May-2025 10:53:34 UTC] [API Action] control_relay: Params for execute: Array
(
    [state] => 0
    [changed_by] => web
    [device_id] => ESP_RELAY_01
)

[24-May-2025 10:53:34 UTC] [API Action] control_relay: Execute success. RowCount: 1
[24-May-2025 10:53:44 UTC] [API esp_heartbeat] State mismatch (DB: 0 vs ESP: 1). Perubahan DB oleh 'web' baru saja (-7190 detik lalu). TIDAK mengupdate DB dengan state ESP.
[24-May-2025 10:53:52 UTC] [API Input Debug] Action: update_status, Raw Body: {"action":"update_status","device_id":"ESP_RELAY_01","state":1,"changed_by":"esp_manual"}
[24-May-2025 10:53:52 UTC] [API Input Debug] Parsed _input_api: Array
(
    [action] => update_status
    [device_id] => ESP_RELAY_01
    [state] => 1
    [changed_by] => esp_manual
)

[24-May-2025 10:53:52 UTC] [API Action] update_status: Attempting DB update. Device: 'ESP_RELAY_01', New State: 1, Changed By: 'esp_manual'
[24-May-2025 10:53:52 UTC] [API Action] update_status: Params for execute: Array
(
    [state] => 1
    [changed_by] => esp_manual
    [device_id] => ESP_RELAY_01
)

[24-May-2025 10:53:52 UTC] [API Action] update_status: Execute success. RowCount: 1
[24-May-2025 10:53:55 UTC] [API Input Debug] Action: update_status, Raw Body: {"action":"update_status","device_id":"ESP_RELAY_01","state":0,"changed_by":"esp_manual"}
[24-May-2025 10:53:55 UTC] [API Input Debug] Parsed _input_api: Array
(
    [action] => update_status
    [device_id] => ESP_RELAY_01
    [state] => 0
    [changed_by] => esp_manual
)

[24-May-2025 10:53:55 UTC] [API Action] update_status: Attempting DB update. Device: 'ESP_RELAY_01', New State: 0, Changed By: 'esp_manual'
[24-May-2025 10:53:55 UTC] [API Action] update_status: Params for execute: Array
(
    [state] => 0
    [changed_by] => esp_manual
    [device_id] => ESP_RELAY_01
)

[24-May-2025 10:53:55 UTC] [API Action] update_status: Execute success. RowCount: 1
[24-May-2025 10:53:57 UTC] [API update_esp_mode] Mode operasional untuk device 'ESP_RELAY_01' diupdate ke 'web_only' oleh ESP.
[24-May-2025 10:54:03 UTC] [API Input Debug] Action: control_relay, Raw Body: {"action":"control_relay","device_id":"ESP_RELAY_01","state":1,"changed_by":"web"}
[24-May-2025 10:54:03 UTC] [API Input Debug] Parsed _input_api: Array
(
    [action] => control_relay
    [device_id] => ESP_RELAY_01
    [state] => 1
    [changed_by] => web
)

[24-May-2025 10:54:03 UTC] [API Action] control_relay: Attempting DB update. Device: 'ESP_RELAY_01', New State: 1, Changed By: 'web'
[24-May-2025 10:54:03 UTC] [API Action] control_relay: Params for execute: Array
(
    [state] => 1
    [changed_by] => web
    [device_id] => ESP_RELAY_01
)

[24-May-2025 10:54:03 UTC] [API Action] control_relay: Execute success. RowCount: 1
[24-May-2025 10:54:14 UTC] [API esp_heartbeat] State mismatch (DB: 1 vs ESP: 0). Perubahan DB oleh 'web' baru saja (-7189 detik lalu). TIDAK mengupdate DB dengan state ESP.
[24-May-2025 10:54:18 UTC] [API Input Debug] Action: control_relay, Raw Body: {"action":"control_relay","device_id":"ESP_RELAY_01","state":0,"changed_by":"web"}
[24-May-2025 10:54:18 UTC] [API Input Debug] Parsed _input_api: Array
(
    [action] => control_relay
    [device_id] => ESP_RELAY_01
    [state] => 0
    [changed_by] => web
)

[24-May-2025 10:54:18 UTC] [API Action] control_relay: Attempting DB update. Device: 'ESP_RELAY_01', New State: 0, Changed By: 'web'
[24-May-2025 10:54:18 UTC] [API Action] control_relay: Params for execute: Array
(
    [state] => 0
    [changed_by] => web
    [device_id] => ESP_RELAY_01
)

[24-May-2025 10:54:18 UTC] [API Action] control_relay: Execute success. RowCount: 1
[24-May-2025 10:54:29 UTC] [API esp_heartbeat] State mismatch (DB: 0 vs ESP: 1). Perubahan DB oleh 'web' baru saja (-7189 detik lalu). TIDAK mengupdate DB dengan state ESP.
[24-May-2025 10:54:36 UTC] [API update_esp_mode] Mode operasional untuk device 'ESP_RELAY_01' diupdate ke 'manual_only' oleh ESP.
[24-May-2025 10:54:41 UTC] [API update_esp_mode] Mode operasional untuk device 'ESP_RELAY_01' diupdate ke 'schedule' oleh ESP.
[24-May-2025 10:54:50 UTC] [API Input Debug] Action: update_status, Raw Body: {"action":"update_status","device_id":"ESP_RELAY_01","state":1,"changed_by":"schedule_triggered_by_esp"}
[24-May-2025 10:54:50 UTC] [API Input Debug] Parsed _input_api: Array
(
    [action] => update_status
    [device_id] => ESP_RELAY_01
    [state] => 1
    [changed_by] => schedule_triggered_by_esp
)

[24-May-2025 10:54:50 UTC] [API Action] update_status: Attempting DB update. Device: 'ESP_RELAY_01', New State: 1, Changed By: 'schedule_triggered_by_esp'
[24-May-2025 10:54:50 UTC] [API Action] update_status: Params for execute: Array
(
    [state] => 1
    [changed_by] => schedule_triggered_by_esp
    [device_id] => ESP_RELAY_01
)

[24-May-2025 10:54:50 UTC] [API Action] update_status: Execute success. RowCount: 1
[24-May-2025 12:30:03 UTC] [API Input Debug] Action: update_status, Raw Body: {"action":"update_status","device_id":"ESP_RELAY_01","state":0,"changed_by":"esp_manual"}
[24-May-2025 12:30:03 UTC] [API Input Debug] Parsed _input_api: Array
(
    [action] => update_status
    [device_id] => ESP_RELAY_01
    [state] => 0
    [changed_by] => esp_manual
)

[24-May-2025 12:30:03 UTC] [API Action] update_status: Attempting DB update. Device: 'ESP_RELAY_01', New State: 0, Changed By: 'esp_manual'
[24-May-2025 12:30:03 UTC] [API Action] update_status: Params for execute: Array
(
    [state] => 0
    [changed_by] => esp_manual
    [device_id] => ESP_RELAY_01
)

[24-May-2025 12:30:04 UTC] [API Action] update_status: Execute success. RowCount: 1
[24-May-2025 12:30:07 UTC] [API Input Debug] Action: update_status, Raw Body: {"action":"update_status","device_id":"ESP_RELAY_01","state":1,"changed_by":"schedule_triggered_by_esp"}
[24-May-2025 12:30:07 UTC] [API Input Debug] Parsed _input_api: Array
(
    [action] => update_status
    [device_id] => ESP_RELAY_01
    [state] => 1
    [changed_by] => schedule_triggered_by_esp
)

[24-May-2025 12:30:07 UTC] [API Action] update_status: Attempting DB update. Device: 'ESP_RELAY_01', New State: 1, Changed By: 'schedule_triggered_by_esp'
[24-May-2025 12:30:07 UTC] [API Action] update_status: Params for execute: Array
(
    [state] => 1
    [changed_by] => schedule_triggered_by_esp
    [device_id] => ESP_RELAY_01
)

[24-May-2025 12:30:07 UTC] [API Action] update_status: Execute success. RowCount: 1
[24-May-2025 12:41:48 UTC] [API Input Debug] Action: control_relay, Raw Body: {"action":"control_relay","device_id":"ESP_RELAY_01","state":0,"changed_by":"web"}
[24-May-2025 12:41:48 UTC] [API Input Debug] Parsed _input_api: Array
(
    [action] => control_relay
    [device_id] => ESP_RELAY_01
    [state] => 0
    [changed_by] => web
)

[24-May-2025 12:41:48 UTC] [API Action] control_relay: Attempting DB update. Device: 'ESP_RELAY_01', New State: 0, Changed By: 'web'
[24-May-2025 12:41:48 UTC] [API Action] control_relay: Params for execute: Array
(
    [state] => 0
    [changed_by] => web
    [device_id] => ESP_RELAY_01
)

[24-May-2025 12:41:48 UTC] [API Action] control_relay: Execute success. RowCount: 1
[24-May-2025 12:41:49 UTC] [API esp_heartbeat] State mismatch (DB: 0 vs ESP: 1). Perubahan DB oleh 'web' baru saja (-7199 detik lalu). TIDAK mengupdate DB dengan state ESP.
[24-May-2025 12:42:09 UTC] [API esp_heartbeat] State mismatch (DB: 0 vs ESP: 1). Perubahan DB oleh 'web' baru saja (-7180 detik lalu). TIDAK mengupdate DB dengan state ESP.
[24-May-2025 12:42:10 UTC] [API Input Debug] Action: control_relay, Raw Body: {"action":"control_relay","device_id":"ESP_RELAY_01","state":1,"changed_by":"web"}
[24-May-2025 12:42:10 UTC] [API Input Debug] Parsed _input_api: Array
(
    [action] => control_relay
    [device_id] => ESP_RELAY_01
    [state] => 1
    [changed_by] => web
)

[24-May-2025 12:42:10 UTC] [API Action] control_relay: Attempting DB update. Device: 'ESP_RELAY_01', New State: 1, Changed By: 'web'
[24-May-2025 12:42:10 UTC] [API Action] control_relay: Params for execute: Array
(
    [state] => 1
    [changed_by] => web
    [device_id] => ESP_RELAY_01
)

[24-May-2025 12:42:10 UTC] [API Action] control_relay: Execute success. RowCount: 1
[24-May-2025 12:42:12 UTC] [API Input Debug] Action: control_relay, Raw Body: {"action":"control_relay","device_id":"ESP_RELAY_01","state":0,"changed_by":"web"}
[24-May-2025 12:42:12 UTC] [API Input Debug] Parsed _input_api: Array
(
    [action] => control_relay
    [device_id] => ESP_RELAY_01
    [state] => 0
    [changed_by] => web
)

[24-May-2025 12:42:12 UTC] [API Action] control_relay: Attempting DB update. Device: 'ESP_RELAY_01', New State: 0, Changed By: 'web'
[24-May-2025 12:42:12 UTC] [API Action] control_relay: Params for execute: Array
(
    [state] => 0
    [changed_by] => web
    [device_id] => ESP_RELAY_01
)

[24-May-2025 12:42:12 UTC] [API Action] control_relay: Execute success. RowCount: 1
[24-May-2025 12:42:24 UTC] [API esp_heartbeat] State mismatch (DB: 0 vs ESP: 1). Perubahan DB oleh 'web' baru saja (-7188 detik lalu). TIDAK mengupdate DB dengan state ESP.
[24-May-2025 12:42:33 UTC] [API Input Debug] Action: update_status, Raw Body: {"action":"update_status","device_id":"ESP_RELAY_01","state":1,"changed_by":"schedule_triggered_by_esp"}
[24-May-2025 12:42:33 UTC] [API Input Debug] Parsed _input_api: Array
(
    [action] => update_status
    [device_id] => ESP_RELAY_01
    [state] => 1
    [changed_by] => schedule_triggered_by_esp
)

[24-May-2025 12:42:33 UTC] [API Action] update_status: Attempting DB update. Device: 'ESP_RELAY_01', New State: 1, Changed By: 'schedule_triggered_by_esp'
[24-May-2025 12:42:33 UTC] [API Action] update_status: Params for execute: Array
(
    [state] => 1
    [changed_by] => schedule_triggered_by_esp
    [device_id] => ESP_RELAY_01
)

[24-May-2025 12:42:33 UTC] [API Action] update_status: Execute success. RowCount: 1
[24-May-2025 13:04:39 UTC] [API Input Debug] Action: control_relay, Raw Body: {"action":"control_relay","device_id":"ESP_RELAY_01","state":0,"changed_by":"web"}
[24-May-2025 13:04:39 UTC] [API Input Debug] Parsed _input_api: Array
(
    [action] => control_relay
    [device_id] => ESP_RELAY_01
    [state] => 0
    [changed_by] => web
)

[24-May-2025 13:04:39 UTC] [API Action] control_relay: Attempting DB update. Device: 'ESP_RELAY_01', New State: 0, Changed By: 'web'
[24-May-2025 13:04:39 UTC] [API Action] control_relay: Params for execute: Array
(
    [state] => 0
    [changed_by] => web
    [device_id] => ESP_RELAY_01
)

[24-May-2025 13:04:39 UTC] [API Action] control_relay: Execute success. RowCount: 1
[24-May-2025 15:32:32 UTC] [API Input Debug] Action: update_status, Raw Body: {"action":"update_status","device_id":"ESP_RELAY_01","state":1,"changed_by":"schedule_triggered_by_esp"}
[24-May-2025 15:32:32 UTC] [API Input Debug] Parsed _input_api: Array
(
    [action] => update_status
    [device_id] => ESP_RELAY_01
    [state] => 1
    [changed_by] => schedule_triggered_by_esp
)

[24-May-2025 15:32:32 UTC] [API Action] update_status: Attempting DB update. Device: 'ESP_RELAY_01', New State: 1, Changed By: 'schedule_triggered_by_esp'
[24-May-2025 15:32:32 UTC] [API Action] update_status: Params for execute: Array
(
    [state] => 1
    [changed_by] => schedule_triggered_by_esp
    [device_id] => ESP_RELAY_01
)

[24-May-2025 15:32:32 UTC] [API Action] update_status: Execute success. RowCount: 1
[24-May-2025 22:30:12 UTC] [API Input Debug] Action: update_status, Raw Body: {"action":"update_status","device_id":"ESP_RELAY_01","state":0,"changed_by":"schedule_triggered_by_esp"}
[24-May-2025 22:30:12 UTC] [API Input Debug] Parsed _input_api: Array
(
    [action] => update_status
    [device_id] => ESP_RELAY_01
    [state] => 0
    [changed_by] => schedule_triggered_by_esp
)

[24-May-2025 22:30:12 UTC] [API Action] update_status: Attempting DB update. Device: 'ESP_RELAY_01', New State: 0, Changed By: 'schedule_triggered_by_esp'
[24-May-2025 22:30:12 UTC] [API Action] update_status: Params for execute: Array
(
    [state] => 0
    [changed_by] => schedule_triggered_by_esp
    [device_id] => ESP_RELAY_01
)

[24-May-2025 22:30:12 UTC] [API Action] update_status: Execute success. RowCount: 1
[24-May-2025 23:59:12 UTC] [API Input Debug] Action: control_relay, Raw Body: {"action":"control_relay","device_id":"ESP_RELAY_01","state":1,"changed_by":"web"}
[24-May-2025 23:59:12 UTC] [API Input Debug] Parsed _input_api: Array
(
    [action] => control_relay
    [device_id] => ESP_RELAY_01
    [state] => 1
    [changed_by] => web
)

[24-May-2025 23:59:12 UTC] [API Action] control_relay: Attempting DB update. Device: 'ESP_RELAY_01', New State: 1, Changed By: 'web'
[24-May-2025 23:59:12 UTC] [API Action] control_relay: Params for execute: Array
(
    [state] => 1
    [changed_by] => web
    [device_id] => ESP_RELAY_01
)

[24-May-2025 23:59:12 UTC] [API Action] control_relay: Execute success. RowCount: 1
[24-May-2025 23:59:22 UTC] [API esp_heartbeat] State mismatch (DB: 1 vs ESP: 0). Perubahan DB oleh 'web' baru saja (-7190 detik lalu). TIDAK mengupdate DB dengan state ESP.
[24-May-2025 23:59:27 UTC] [API Input Debug] Action: control_relay, Raw Body: {"action":"control_relay","device_id":"ESP_RELAY_01","state":0,"changed_by":"web"}
[24-May-2025 23:59:27 UTC] [API Input Debug] Parsed _input_api: Array
(
    [action] => control_relay
    [device_id] => ESP_RELAY_01
    [state] => 0
    [changed_by] => web
)

[24-May-2025 23:59:27 UTC] [API Action] control_relay: Attempting DB update. Device: 'ESP_RELAY_01', New State: 0, Changed By: 'web'
[24-May-2025 23:59:27 UTC] [API Action] control_relay: Params for execute: Array
(
    [state] => 0
    [changed_by] => web
    [device_id] => ESP_RELAY_01
)

[24-May-2025 23:59:27 UTC] [API Action] control_relay: Execute success. RowCount: 1
[24-May-2025 23:59:37 UTC] [API esp_heartbeat] State mismatch (DB: 0 vs ESP: 1). Perubahan DB oleh 'web' baru saja (-7190 detik lalu). TIDAK mengupdate DB dengan state ESP.
[25-May-2025 00:00:14 UTC] [API Input Debug] Action: control_relay, Raw Body: {"action":"control_relay","device_id":"ESP_RELAY_01","state":1,"changed_by":"web"}
[25-May-2025 00:00:14 UTC] [API Input Debug] Parsed _input_api: Array
(
    [action] => control_relay
    [device_id] => ESP_RELAY_01
    [state] => 1
    [changed_by] => web
)

[25-May-2025 00:00:14 UTC] [API Action] control_relay: Attempting DB update. Device: 'ESP_RELAY_01', New State: 1, Changed By: 'web'
[25-May-2025 00:00:14 UTC] [API Action] control_relay: Params for execute: Array
(
    [state] => 1
    [changed_by] => web
    [device_id] => ESP_RELAY_01
)

[25-May-2025 00:00:14 UTC] [API Action] control_relay: Execute success. RowCount: 1
[25-May-2025 00:00:22 UTC] [API esp_heartbeat] State mismatch (DB: 1 vs ESP: 0). Perubahan DB oleh 'web' baru saja (-7192 detik lalu). TIDAK mengupdate DB dengan state ESP.
[25-May-2025 00:00:43 UTC] [API Input Debug] Action: update_status, Raw Body: {"action":"update_status","device_id":"ESP_RELAY_01","state":0,"changed_by":"schedule_triggered_by_esp"}
[25-May-2025 00:00:43 UTC] [API Input Debug] Parsed _input_api: Array
(
    [action] => update_status
    [device_id] => ESP_RELAY_01
    [state] => 0
    [changed_by] => schedule_triggered_by_esp
)

[25-May-2025 00:00:43 UTC] [API Action] update_status: Attempting DB update. Device: 'ESP_RELAY_01', New State: 0, Changed By: 'schedule_triggered_by_esp'
[25-May-2025 00:00:43 UTC] [API Action] update_status: Params for execute: Array
(
    [state] => 0
    [changed_by] => schedule_triggered_by_esp
    [device_id] => ESP_RELAY_01
)

[25-May-2025 00:00:43 UTC] [API Action] update_status: Execute success. RowCount: 1
[25-May-2025 02:59:19 UTC] [API esp_heartbeat] State mismatch (DB: 0 vs ESP: 1). Sinkronisasi DB dengan state ESP. last_changed_by: 'schedule_triggered_b', age: -7171 detik.
[25-May-2025 03:00:00 UTC] [API Input Debug] Action: update_status, Raw Body: {"action":"update_status","device_id":"ESP_RELAY_01","state":0,"changed_by":"schedule_triggered_by_esp"}
[25-May-2025 03:00:00 UTC] [API Input Debug] Parsed _input_api: Array
(
    [action] => update_status
    [device_id] => ESP_RELAY_01
    [state] => 0
    [changed_by] => schedule_triggered_by_esp
)

[25-May-2025 03:00:00 UTC] [API Action] update_status: Attempting DB update. Device: 'ESP_RELAY_01', New State: 0, Changed By: 'schedule_triggered_by_esp'
[25-May-2025 03:00:00 UTC] [API Action] update_status: Params for execute: Array
(
    [state] => 0
    [changed_by] => schedule_triggered_by_esp
    [device_id] => ESP_RELAY_01
)

[25-May-2025 03:00:00 UTC] [API Action] update_status: Execute success. RowCount: 1
[25-May-2025 03:00:20 UTC] [API update_esp_mode] Mode operasional untuk device 'ESP_RELAY_01' diupdate ke 'manual_web' oleh ESP.
[25-May-2025 03:00:36 UTC] [API update_esp_mode] Mode operasional untuk device 'ESP_RELAY_01' diupdate ke 'web_only' oleh ESP.
[25-May-2025 03:00:49 UTC] [API update_esp_mode] Mode operasional untuk device 'ESP_RELAY_01' diupdate ke 'manual_only' oleh ESP.
[25-May-2025 03:01:15 UTC] [API Input Debug] Action: update_status, Raw Body: {"action":"update_status","device_id":"ESP_RELAY_01","state":1,"changed_by":"esp_manual"}
[25-May-2025 03:01:15 UTC] [API Input Debug] Parsed _input_api: Array
(
    [action] => update_status
    [device_id] => ESP_RELAY_01
    [state] => 1
    [changed_by] => esp_manual
)

[25-May-2025 03:01:15 UTC] [API Action] update_status: Attempting DB update. Device: 'ESP_RELAY_01', New State: 1, Changed By: 'esp_manual'
[25-May-2025 03:01:15 UTC] [API Action] update_status: Params for execute: Array
(
    [state] => 1
    [changed_by] => esp_manual
    [device_id] => ESP_RELAY_01
)

[25-May-2025 03:01:15 UTC] [API Action] update_status: Execute success. RowCount: 1
[25-May-2025 03:01:26 UTC] [API Input Debug] Action: update_status, Raw Body: {"action":"update_status","device_id":"ESP_RELAY_01","state":0,"changed_by":"esp_manual"}
[25-May-2025 03:01:26 UTC] [API Input Debug] Parsed _input_api: Array
(
    [action] => update_status
    [device_id] => ESP_RELAY_01
    [state] => 0
    [changed_by] => esp_manual
)

[25-May-2025 03:01:26 UTC] [API Action] update_status: Attempting DB update. Device: 'ESP_RELAY_01', New State: 0, Changed By: 'esp_manual'
[25-May-2025 03:01:26 UTC] [API Action] update_status: Params for execute: Array
(
    [state] => 0
    [changed_by] => esp_manual
    [device_id] => ESP_RELAY_01
)

[25-May-2025 03:01:26 UTC] [API Action] update_status: Execute success. RowCount: 1
[25-May-2025 03:01:36 UTC] [API Input Debug] Action: update_status, Raw Body: {"action":"update_status","device_id":"ESP_RELAY_01","state":1,"changed_by":"esp_manual"}
[25-May-2025 03:01:36 UTC] [API Input Debug] Parsed _input_api: Array
(
    [action] => update_status
    [device_id] => ESP_RELAY_01
    [state] => 1
    [changed_by] => esp_manual
)

[25-May-2025 03:01:36 UTC] [API Action] update_status: Attempting DB update. Device: 'ESP_RELAY_01', New State: 1, Changed By: 'esp_manual'
[25-May-2025 03:01:36 UTC] [API Action] update_status: Params for execute: Array
(
    [state] => 1
    [changed_by] => esp_manual
    [device_id] => ESP_RELAY_01
)

[25-May-2025 03:01:36 UTC] [API Action] update_status: Execute success. RowCount: 1
[25-May-2025 03:01:43 UTC] [API Input Debug] Action: update_status, Raw Body: {"action":"update_status","device_id":"ESP_RELAY_01","state":0,"changed_by":"esp_manual"}
[25-May-2025 03:01:43 UTC] [API Input Debug] Parsed _input_api: Array
(
    [action] => update_status
    [device_id] => ESP_RELAY_01
    [state] => 0
    [changed_by] => esp_manual
)

[25-May-2025 03:01:43 UTC] [API Action] update_status: Attempting DB update. Device: 'ESP_RELAY_01', New State: 0, Changed By: 'esp_manual'
[25-May-2025 03:01:43 UTC] [API Action] update_status: Params for execute: Array
(
    [state] => 0
    [changed_by] => esp_manual
    [device_id] => ESP_RELAY_01
)

[25-May-2025 03:01:43 UTC] [API Action] update_status: Execute success. RowCount: 1
[25-May-2025 03:02:47 UTC] [API update_esp_mode] Mode operasional untuk device 'ESP_RELAY_01' diupdate ke 'schedule' oleh ESP.
[25-May-2025 05:24:16 UTC] [API Input Debug] Action: control_relay, Raw Body: {"action":"control_relay","device_id":"ESP_RELAY_01","state":1,"changed_by":"web"}
[25-May-2025 05:24:16 UTC] [API Input Debug] Parsed _input_api: Array
(
    [action] => control_relay
    [device_id] => ESP_RELAY_01
    [state] => 1
    [changed_by] => web
)

[25-May-2025 05:24:16 UTC] [API Action] control_relay: Attempting DB update. Device: 'ESP_RELAY_01', New State: 1, Changed By: 'web'
[25-May-2025 05:24:16 UTC] [API Action] control_relay: Params for execute: Array
(
    [state] => 1
    [changed_by] => web
    [device_id] => ESP_RELAY_01
)

[25-May-2025 05:24:16 UTC] [API Action] control_relay: Execute success. RowCount: 1
[25-May-2025 15:58:56 UTC] [API Input Debug] Action: update_status, Raw Body: {"action":"update_status","device_id":"ESP_RELAY_01","state":0,"changed_by":"esp_manual"}
[25-May-2025 15:58:56 UTC] [API Input Debug] Parsed _input_api: Array
(
    [action] => update_status
    [device_id] => ESP_RELAY_01
    [state] => 0
    [changed_by] => esp_manual
)

[25-May-2025 15:58:56 UTC] [API Action] update_status: Attempting DB update. Device: 'ESP_RELAY_01', New State: 0, Changed By: 'esp_manual'
[25-May-2025 15:58:56 UTC] [API Action] update_status: Params for execute: Array
(
    [state] => 0
    [changed_by] => esp_manual
    [device_id] => ESP_RELAY_01
)

[25-May-2025 15:58:56 UTC] [API Action] update_status: Execute success. RowCount: 1
[25-May-2025 15:59:01 UTC] [API Input Debug] Action: update_status, Raw Body: {"action":"update_status","device_id":"ESP_RELAY_01","state":1,"changed_by":"esp_manual"}
[25-May-2025 15:59:01 UTC] [API Input Debug] Parsed _input_api: Array
(
    [action] => update_status
    [device_id] => ESP_RELAY_01
    [state] => 1
    [changed_by] => esp_manual
)

[25-May-2025 15:59:01 UTC] [API Action] update_status: Attempting DB update. Device: 'ESP_RELAY_01', New State: 1, Changed By: 'esp_manual'
[25-May-2025 15:59:01 UTC] [API Action] update_status: Params for execute: Array
(
    [state] => 1
    [changed_by] => esp_manual
    [device_id] => ESP_RELAY_01
)

[25-May-2025 15:59:01 UTC] [API Action] update_status: Execute success. RowCount: 1
[25-May-2025 15:59:04 UTC] [API Input Debug] Action: update_status, Raw Body: {"action":"update_status","device_id":"ESP_RELAY_01","state":0,"changed_by":"esp_manual"}
[25-May-2025 15:59:04 UTC] [API Input Debug] Parsed _input_api: Array
(
    [action] => update_status
    [device_id] => ESP_RELAY_01
    [state] => 0
    [changed_by] => esp_manual
)

[25-May-2025 15:59:04 UTC] [API Action] update_status: Attempting DB update. Device: 'ESP_RELAY_01', New State: 0, Changed By: 'esp_manual'
[25-May-2025 15:59:04 UTC] [API Action] update_status: Params for execute: Array
(
    [state] => 0
    [changed_by] => esp_manual
    [device_id] => ESP_RELAY_01
)

[25-May-2025 15:59:04 UTC] [API Action] update_status: Execute success. RowCount: 1
[25-May-2025 15:59:12 UTC] [API Input Debug] Action: update_status, Raw Body: {"action":"update_status","device_id":"ESP_RELAY_01","state":1,"changed_by":"schedule_triggered_by_esp"}
[25-May-2025 15:59:12 UTC] [API Input Debug] Parsed _input_api: Array
(
    [action] => update_status
    [device_id] => ESP_RELAY_01
    [state] => 1
    [changed_by] => schedule_triggered_by_esp
)

[25-May-2025 15:59:12 UTC] [API Action] update_status: Attempting DB update. Device: 'ESP_RELAY_01', New State: 1, Changed By: 'schedule_triggered_by_esp'
[25-May-2025 15:59:12 UTC] [API Action] update_status: Params for execute: Array
(
    [state] => 1
    [changed_by] => schedule_triggered_by_esp
    [device_id] => ESP_RELAY_01
)

[25-May-2025 15:59:12 UTC] [API Action] update_status: Execute success. RowCount: 1
[25-May-2025 15:59:16 UTC] [API update_esp_mode] Mode operasional untuk device 'ESP_RELAY_01' diupdate ke 'manual_web' oleh ESP.
[25-May-2025 15:59:21 UTC] [API update_esp_mode] Mode operasional untuk device 'ESP_RELAY_01' diupdate ke 'web_only' oleh ESP.
[25-May-2025 15:59:30 UTC] [API update_esp_mode] Mode operasional untuk device 'ESP_RELAY_01' diupdate ke 'manual_only' oleh ESP.
[25-May-2025 15:59:45 UTC] [API Input Debug] Action: update_status, Raw Body: {"action":"update_status","device_id":"ESP_RELAY_01","state":0,"changed_by":"esp_manual"}
[25-May-2025 15:59:45 UTC] [API Input Debug] Parsed _input_api: Array
(
    [action] => update_status
    [device_id] => ESP_RELAY_01
    [state] => 0
    [changed_by] => esp_manual
)

[25-May-2025 15:59:45 UTC] [API Action] update_status: Attempting DB update. Device: 'ESP_RELAY_01', New State: 0, Changed By: 'esp_manual'
[25-May-2025 15:59:45 UTC] [API Action] update_status: Params for execute: Array
(
    [state] => 0
    [changed_by] => esp_manual
    [device_id] => ESP_RELAY_01
)

[25-May-2025 15:59:45 UTC] [API Action] update_status: Execute success. RowCount: 1
[25-May-2025 15:59:52 UTC] [API Input Debug] Action: update_status, Raw Body: {"action":"update_status","device_id":"ESP_RELAY_01","state":1,"changed_by":"esp_manual"}
[25-May-2025 15:59:52 UTC] [API Input Debug] Parsed _input_api: Array
(
    [action] => update_status
    [device_id] => ESP_RELAY_01
    [state] => 1
    [changed_by] => esp_manual
)

[25-May-2025 15:59:52 UTC] [API Action] update_status: Attempting DB update. Device: 'ESP_RELAY_01', New State: 1, Changed By: 'esp_manual'
[25-May-2025 15:59:52 UTC] [API Action] update_status: Params for execute: Array
(
    [state] => 1
    [changed_by] => esp_manual
    [device_id] => ESP_RELAY_01
)

[25-May-2025 15:59:52 UTC] [API Action] update_status: Execute success. RowCount: 1
[25-May-2025 16:00:03 UTC] [API Input Debug] Action: update_status, Raw Body: {"action":"update_status","device_id":"ESP_RELAY_01","state":0,"changed_by":"esp_manual"}
[25-May-2025 16:00:03 UTC] [API Input Debug] Parsed _input_api: Array
(
    [action] => update_status
    [device_id] => ESP_RELAY_01
    [state] => 0
    [changed_by] => esp_manual
)

[25-May-2025 16:00:03 UTC] [API Action] update_status: Attempting DB update. Device: 'ESP_RELAY_01', New State: 0, Changed By: 'esp_manual'
[25-May-2025 16:00:03 UTC] [API Action] update_status: Params for execute: Array
(
    [state] => 0
    [changed_by] => esp_manual
    [device_id] => ESP_RELAY_01
)

[25-May-2025 16:00:03 UTC] [API Action] update_status: Execute success. RowCount: 1
[25-May-2025 16:01:18 UTC] [API Input Debug] Action: update_status, Raw Body: {"action":"update_status","device_id":"ESP_RELAY_01","state":1,"changed_by":"esp_manual"}
[25-May-2025 16:01:18 UTC] [API Input Debug] Parsed _input_api: Array
(
    [action] => update_status
    [device_id] => ESP_RELAY_01
    [state] => 1
    [changed_by] => esp_manual
)

[25-May-2025 16:01:18 UTC] [API Action] update_status: Attempting DB update. Device: 'ESP_RELAY_01', New State: 1, Changed By: 'esp_manual'
[25-May-2025 16:01:18 UTC] [API Action] update_status: Params for execute: Array
(
    [state] => 1
    [changed_by] => esp_manual
    [device_id] => ESP_RELAY_01
)

[25-May-2025 16:01:18 UTC] [API Action] update_status: Execute success. RowCount: 1
[25-May-2025 16:01:30 UTC] [API Input Debug] Action: update_status, Raw Body: {"action":"update_status","device_id":"ESP_RELAY_01","state":0,"changed_by":"esp_manual"}
[25-May-2025 16:01:30 UTC] [API Input Debug] Parsed _input_api: Array
(
    [action] => update_status
    [device_id] => ESP_RELAY_01
    [state] => 0
    [changed_by] => esp_manual
)

[25-May-2025 16:01:30 UTC] [API Action] update_status: Attempting DB update. Device: 'ESP_RELAY_01', New State: 0, Changed By: 'esp_manual'
[25-May-2025 16:01:30 UTC] [API Action] update_status: Params for execute: Array
(
    [state] => 0
    [changed_by] => esp_manual
    [device_id] => ESP_RELAY_01
)

[25-May-2025 16:01:30 UTC] [API Action] update_status: Execute success. RowCount: 1
[25-May-2025 16:01:48 UTC] [API Input Debug] Action: update_status, Raw Body: {"action":"update_status","device_id":"ESP_RELAY_01","state":1,"changed_by":"esp_manual"}
[25-May-2025 16:01:48 UTC] [API Input Debug] Parsed _input_api: Array
(
    [action] => update_status
    [device_id] => ESP_RELAY_01
    [state] => 1
    [changed_by] => esp_manual
)

[25-May-2025 16:01:48 UTC] [API Action] update_status: Attempting DB update. Device: 'ESP_RELAY_01', New State: 1, Changed By: 'esp_manual'
[25-May-2025 16:01:48 UTC] [API Action] update_status: Params for execute: Array
(
    [state] => 1
    [changed_by] => esp_manual
    [device_id] => ESP_RELAY_01
)

[25-May-2025 16:01:48 UTC] [API Action] update_status: Execute success. RowCount: 1
[25-May-2025 16:02:09 UTC] [API Input Debug] Action: update_status, Raw Body: {"action":"update_status","device_id":"ESP_RELAY_01","state":0,"changed_by":"esp_manual"}
[25-May-2025 16:02:09 UTC] [API Input Debug] Parsed _input_api: Array
(
    [action] => update_status
    [device_id] => ESP_RELAY_01
    [state] => 0
    [changed_by] => esp_manual
)

[25-May-2025 16:02:09 UTC] [API Action] update_status: Attempting DB update. Device: 'ESP_RELAY_01', New State: 0, Changed By: 'esp_manual'
[25-May-2025 16:02:09 UTC] [API Action] update_status: Params for execute: Array
(
    [state] => 0
    [changed_by] => esp_manual
    [device_id] => ESP_RELAY_01
)

[25-May-2025 16:02:09 UTC] [API Action] update_status: Execute success. RowCount: 1
[25-May-2025 16:02:33 UTC] [API update_esp_mode] Mode operasional untuk device 'ESP_RELAY_01' diupdate ke 'schedule' oleh ESP.
[25-May-2025 16:02:38 UTC] [API Input Debug] Action: update_status, Raw Body: {"action":"update_status","device_id":"ESP_RELAY_01","state":1,"changed_by":"schedule_triggered_by_esp"}
[25-May-2025 16:02:38 UTC] [API Input Debug] Parsed _input_api: Array
(
    [action] => update_status
    [device_id] => ESP_RELAY_01
    [state] => 1
    [changed_by] => schedule_triggered_by_esp
)

[25-May-2025 16:02:38 UTC] [API Action] update_status: Attempting DB update. Device: 'ESP_RELAY_01', New State: 1, Changed By: 'schedule_triggered_by_esp'
[25-May-2025 16:02:38 UTC] [API Action] update_status: Params for execute: Array
(
    [state] => 1
    [changed_by] => schedule_triggered_by_esp
    [device_id] => ESP_RELAY_01
)

[25-May-2025 16:02:38 UTC] [API Action] update_status: Execute success. RowCount: 1
[25-May-2025 16:02:47 UTC] [API update_esp_mode] Mode operasional untuk device 'ESP_RELAY_01' diupdate ke 'manual_web' oleh ESP.
[25-May-2025 16:02:55 UTC] [API update_esp_mode] Mode operasional untuk device 'ESP_RELAY_01' diupdate ke 'web_only' oleh ESP.
[25-May-2025 16:03:21 UTC] [API update_esp_mode] Mode operasional untuk device 'ESP_RELAY_01' diupdate ke 'manual_only' oleh ESP.
[25-May-2025 16:53:39 UTC] [API esp_heartbeat] State mismatch (DB: 1 vs ESP: 0). Perubahan DB oleh 'esp_button_mode' baru saja (-4188 detik lalu). TIDAK mengupdate DB dengan state ESP.
[25-May-2025 16:53:42 UTC] [API esp_heartbeat] State mismatch (DB: 1 vs ESP: 0). Perubahan DB oleh 'esp_button_mode' baru saja (-7197 detik lalu). TIDAK mengupdate DB dengan state ESP.
[25-May-2025 16:53:57 UTC] [API esp_heartbeat] State mismatch (DB: 1 vs ESP: 0). Perubahan DB oleh 'esp_button_mode' baru saja (-7185 detik lalu). TIDAK mengupdate DB dengan state ESP.
[25-May-2025 16:54:12 UTC] [API esp_heartbeat] State mismatch (DB: 1 vs ESP: 0). Perubahan DB oleh 'esp_button_mode' baru saja (-7185 detik lalu). TIDAK mengupdate DB dengan state ESP.
[25-May-2025 16:54:27 UTC] [API esp_heartbeat] State mismatch (DB: 1 vs ESP: 0). Perubahan DB oleh 'esp_button_mode' baru saja (-7185 detik lalu). TIDAK mengupdate DB dengan state ESP.
[25-May-2025 16:54:42 UTC] [API esp_heartbeat] State mismatch (DB: 1 vs ESP: 0). Perubahan DB oleh 'esp_button_mode' baru saja (-7185 detik lalu). TIDAK mengupdate DB dengan state ESP.
[25-May-2025 16:54:57 UTC] [API esp_heartbeat] State mismatch (DB: 1 vs ESP: 0). Perubahan DB oleh 'esp_button_mode' baru saja (-7185 detik lalu). TIDAK mengupdate DB dengan state ESP.
[25-May-2025 16:55:12 UTC] [API esp_heartbeat] State mismatch (DB: 1 vs ESP: 0). Perubahan DB oleh 'esp_button_mode' baru saja (-7185 detik lalu). TIDAK mengupdate DB dengan state ESP.
[25-May-2025 16:55:27 UTC] [API esp_heartbeat] State mismatch (DB: 1 vs ESP: 0). Perubahan DB oleh 'esp_button_mode' baru saja (-7185 detik lalu). TIDAK mengupdate DB dengan state ESP.
[25-May-2025 16:55:42 UTC] [API esp_heartbeat] State mismatch (DB: 1 vs ESP: 0). Perubahan DB oleh 'esp_button_mode' baru saja (-7185 detik lalu). TIDAK mengupdate DB dengan state ESP.
[25-May-2025 16:55:57 UTC] [API esp_heartbeat] State mismatch (DB: 1 vs ESP: 0). Perubahan DB oleh 'esp_button_mode' baru saja (-7185 detik lalu). TIDAK mengupdate DB dengan state ESP.
[25-May-2025 16:56:12 UTC] [API esp_heartbeat] State mismatch (DB: 1 vs ESP: 0). Perubahan DB oleh 'esp_button_mode' baru saja (-7185 detik lalu). TIDAK mengupdate DB dengan state ESP.
[25-May-2025 16:56:27 UTC] [API esp_heartbeat] State mismatch (DB: 1 vs ESP: 0). Perubahan DB oleh 'esp_button_mode' baru saja (-7185 detik lalu). TIDAK mengupdate DB dengan state ESP.
[25-May-2025 16:56:42 UTC] [API esp_heartbeat] State mismatch (DB: 1 vs ESP: 0). Perubahan DB oleh 'esp_button_mode' baru saja (-7185 detik lalu). TIDAK mengupdate DB dengan state ESP.
[25-May-2025 16:56:57 UTC] [API esp_heartbeat] State mismatch (DB: 1 vs ESP: 0). Perubahan DB oleh 'esp_button_mode' baru saja (-7185 detik lalu). TIDAK mengupdate DB dengan state ESP.
[25-May-2025 16:57:12 UTC] [API esp_heartbeat] State mismatch (DB: 1 vs ESP: 0). Perubahan DB oleh 'esp_button_mode' baru saja (-7185 detik lalu). TIDAK mengupdate DB dengan state ESP.
[25-May-2025 16:57:27 UTC] [API esp_heartbeat] State mismatch (DB: 1 vs ESP: 0). Perubahan DB oleh 'esp_button_mode' baru saja (-7185 detik lalu). TIDAK mengupdate DB dengan state ESP.
[25-May-2025 16:57:42 UTC] [API esp_heartbeat] State mismatch (DB: 1 vs ESP: 0). Perubahan DB oleh 'esp_button_mode' baru saja (-7185 detik lalu). TIDAK mengupdate DB dengan state ESP.
[25-May-2025 16:57:57 UTC] [API esp_heartbeat] State mismatch (DB: 1 vs ESP: 0). Perubahan DB oleh 'esp_button_mode' baru saja (-7185 detik lalu). TIDAK mengupdate DB dengan state ESP.
[25-May-2025 16:58:12 UTC] [API esp_heartbeat] State mismatch (DB: 1 vs ESP: 0). Perubahan DB oleh 'esp_button_mode' baru saja (-7185 detik lalu). TIDAK mengupdate DB dengan state ESP.
[25-May-2025 16:58:27 UTC] [API esp_heartbeat] State mismatch (DB: 1 vs ESP: 0). Perubahan DB oleh 'esp_button_mode' baru saja (-7185 detik lalu). TIDAK mengupdate DB dengan state ESP.
[25-May-2025 16:58:42 UTC] [API esp_heartbeat] State mismatch (DB: 1 vs ESP: 0). Perubahan DB oleh 'esp_button_mode' baru saja (-7185 detik lalu). TIDAK mengupdate DB dengan state ESP.
[25-May-2025 16:58:57 UTC] [API esp_heartbeat] State mismatch (DB: 1 vs ESP: 0). Perubahan DB oleh 'esp_button_mode' baru saja (-7185 detik lalu). TIDAK mengupdate DB dengan state ESP.
[25-May-2025 16:59:12 UTC] [API esp_heartbeat] State mismatch (DB: 1 vs ESP: 0). Perubahan DB oleh 'esp_button_mode' baru saja (-7185 detik lalu). TIDAK mengupdate DB dengan state ESP.
[25-May-2025 16:59:27 UTC] [API esp_heartbeat] State mismatch (DB: 1 vs ESP: 0). Perubahan DB oleh 'esp_button_mode' baru saja (-7185 detik lalu). TIDAK mengupdate DB dengan state ESP.
[25-May-2025 16:59:42 UTC] [API esp_heartbeat] State mismatch (DB: 1 vs ESP: 0). Perubahan DB oleh 'esp_button_mode' baru saja (-7185 detik lalu). TIDAK mengupdate DB dengan state ESP.
[25-May-2025 16:59:57 UTC] [API esp_heartbeat] State mismatch (DB: 1 vs ESP: 0). Perubahan DB oleh 'esp_button_mode' baru saja (-7185 detik lalu). TIDAK mengupdate DB dengan state ESP.
[25-May-2025 17:00:12 UTC] [API esp_heartbeat] State mismatch (DB: 1 vs ESP: 0). Perubahan DB oleh 'esp_button_mode' baru saja (-7185 detik lalu). TIDAK mengupdate DB dengan state ESP.
[25-May-2025 17:00:27 UTC] [API esp_heartbeat] State mismatch (DB: 1 vs ESP: 0). Perubahan DB oleh 'esp_button_mode' baru saja (-7185 detik lalu). TIDAK mengupdate DB dengan state ESP.
[25-May-2025 17:00:42 UTC] [API esp_heartbeat] State mismatch (DB: 1 vs ESP: 0). Perubahan DB oleh 'esp_button_mode' baru saja (-7185 detik lalu). TIDAK mengupdate DB dengan state ESP.
[25-May-2025 17:00:57 UTC] [API esp_heartbeat] State mismatch (DB: 1 vs ESP: 0). Perubahan DB oleh 'esp_button_mode' baru saja (-7185 detik lalu). TIDAK mengupdate DB dengan state ESP.
[25-May-2025 17:01:12 UTC] [API esp_heartbeat] State mismatch (DB: 1 vs ESP: 0). Perubahan DB oleh 'esp_button_mode' baru saja (-7185 detik lalu). TIDAK mengupdate DB dengan state ESP.
[25-May-2025 17:01:27 UTC] [API esp_heartbeat] State mismatch (DB: 1 vs ESP: 0). Perubahan DB oleh 'esp_button_mode' baru saja (-7185 detik lalu). TIDAK mengupdate DB dengan state ESP.
[25-May-2025 17:01:42 UTC] [API esp_heartbeat] State mismatch (DB: 1 vs ESP: 0). Perubahan DB oleh 'esp_button_mode' baru saja (-7185 detik lalu). TIDAK mengupdate DB dengan state ESP.
[25-May-2025 17:01:57 UTC] [API esp_heartbeat] State mismatch (DB: 1 vs ESP: 0). Perubahan DB oleh 'esp_button_mode' baru saja (-7185 detik lalu). TIDAK mengupdate DB dengan state ESP.
[25-May-2025 17:02:12 UTC] [API esp_heartbeat] State mismatch (DB: 1 vs ESP: 0). Perubahan DB oleh 'esp_button_mode' baru saja (-7185 detik lalu). TIDAK mengupdate DB dengan state ESP.
[25-May-2025 17:02:27 UTC] [API esp_heartbeat] State mismatch (DB: 1 vs ESP: 0). Perubahan DB oleh 'esp_button_mode' baru saja (-7185 detik lalu). TIDAK mengupdate DB dengan state ESP.
[25-May-2025 17:02:42 UTC] [API esp_heartbeat] State mismatch (DB: 1 vs ESP: 0). Perubahan DB oleh 'esp_button_mode' baru saja (-7185 detik lalu). TIDAK mengupdate DB dengan state ESP.
[25-May-2025 17:02:57 UTC] [API esp_heartbeat] State mismatch (DB: 1 vs ESP: 0). Perubahan DB oleh 'esp_button_mode' baru saja (-7185 detik lalu). TIDAK mengupdate DB dengan state ESP.
[25-May-2025 17:03:12 UTC] [API esp_heartbeat] State mismatch (DB: 1 vs ESP: 0). Perubahan DB oleh 'esp_button_mode' baru saja (-7185 detik lalu). TIDAK mengupdate DB dengan state ESP.
[25-May-2025 17:03:27 UTC] [API esp_heartbeat] State mismatch (DB: 1 vs ESP: 0). Perubahan DB oleh 'esp_button_mode' baru saja (-7185 detik lalu). TIDAK mengupdate DB dengan state ESP.
[25-May-2025 17:03:42 UTC] [API esp_heartbeat] State mismatch (DB: 1 vs ESP: 0). Perubahan DB oleh 'esp_button_mode' baru saja (-7185 detik lalu). TIDAK mengupdate DB dengan state ESP.
[25-May-2025 17:03:57 UTC] [API esp_heartbeat] State mismatch (DB: 1 vs ESP: 0). Perubahan DB oleh 'esp_button_mode' baru saja (-7185 detik lalu). TIDAK mengupdate DB dengan state ESP.
[25-May-2025 17:04:12 UTC] [API esp_heartbeat] State mismatch (DB: 1 vs ESP: 0). Perubahan DB oleh 'esp_button_mode' baru saja (-7185 detik lalu). TIDAK mengupdate DB dengan state ESP.
[25-May-2025 17:04:27 UTC] [API esp_heartbeat] State mismatch (DB: 1 vs ESP: 0). Perubahan DB oleh 'esp_button_mode' baru saja (-7185 detik lalu). TIDAK mengupdate DB dengan state ESP.
[25-May-2025 17:04:42 UTC] [API esp_heartbeat] State mismatch (DB: 1 vs ESP: 0). Perubahan DB oleh 'esp_button_mode' baru saja (-7185 detik lalu). TIDAK mengupdate DB dengan state ESP.
[25-May-2025 17:04:57 UTC] [API esp_heartbeat] State mismatch (DB: 1 vs ESP: 0). Perubahan DB oleh 'esp_button_mode' baru saja (-7185 detik lalu). TIDAK mengupdate DB dengan state ESP.
[25-May-2025 17:05:12 UTC] [API esp_heartbeat] State mismatch (DB: 1 vs ESP: 0). Perubahan DB oleh 'esp_button_mode' baru saja (-7185 detik lalu). TIDAK mengupdate DB dengan state ESP.
[25-May-2025 17:05:27 UTC] [API esp_heartbeat] State mismatch (DB: 1 vs ESP: 0). Perubahan DB oleh 'esp_button_mode' baru saja (-7185 detik lalu). TIDAK mengupdate DB dengan state ESP.
[25-May-2025 17:05:42 UTC] [API esp_heartbeat] State mismatch (DB: 1 vs ESP: 0). Perubahan DB oleh 'esp_button_mode' baru saja (-7185 detik lalu). TIDAK mengupdate DB dengan state ESP.
[25-May-2025 17:05:57 UTC] [API esp_heartbeat] State mismatch (DB: 1 vs ESP: 0). Perubahan DB oleh 'esp_button_mode' baru saja (-7185 detik lalu). TIDAK mengupdate DB dengan state ESP.
[25-May-2025 17:06:12 UTC] [API esp_heartbeat] State mismatch (DB: 1 vs ESP: 0). Perubahan DB oleh 'esp_button_mode' baru saja (-7185 detik lalu). TIDAK mengupdate DB dengan state ESP.
[25-May-2025 17:06:27 UTC] [API esp_heartbeat] State mismatch (DB: 1 vs ESP: 0). Perubahan DB oleh 'esp_button_mode' baru saja (-7185 detik lalu). TIDAK mengupdate DB dengan state ESP.
[25-May-2025 17:06:42 UTC] [API esp_heartbeat] State mismatch (DB: 1 vs ESP: 0). Perubahan DB oleh 'esp_button_mode' baru saja (-7185 detik lalu). TIDAK mengupdate DB dengan state ESP.
[25-May-2025 17:06:57 UTC] [API esp_heartbeat] State mismatch (DB: 1 vs ESP: 0). Perubahan DB oleh 'esp_button_mode' baru saja (-7185 detik lalu). TIDAK mengupdate DB dengan state ESP.
[25-May-2025 17:07:12 UTC] [API esp_heartbeat] State mismatch (DB: 1 vs ESP: 0). Perubahan DB oleh 'esp_button_mode' baru saja (-7185 detik lalu). TIDAK mengupdate DB dengan state ESP.
[25-May-2025 17:07:27 UTC] [API esp_heartbeat] State mismatch (DB: 1 vs ESP: 0). Perubahan DB oleh 'esp_button_mode' baru saja (-7185 detik lalu). TIDAK mengupdate DB dengan state ESP.
[25-May-2025 17:07:42 UTC] [API esp_heartbeat] State mismatch (DB: 1 vs ESP: 0). Perubahan DB oleh 'esp_button_mode' baru saja (-7185 detik lalu). TIDAK mengupdate DB dengan state ESP.
[25-May-2025 17:07:57 UTC] [API esp_heartbeat] State mismatch (DB: 1 vs ESP: 0). Perubahan DB oleh 'esp_button_mode' baru saja (-7185 detik lalu). TIDAK mengupdate DB dengan state ESP.
[25-May-2025 17:08:12 UTC] [API esp_heartbeat] State mismatch (DB: 1 vs ESP: 0). Perubahan DB oleh 'esp_button_mode' baru saja (-7185 detik lalu). TIDAK mengupdate DB dengan state ESP.
[25-May-2025 17:08:27 UTC] [API esp_heartbeat] State mismatch (DB: 1 vs ESP: 0). Perubahan DB oleh 'esp_button_mode' baru saja (-7185 detik lalu). TIDAK mengupdate DB dengan state ESP.
[25-May-2025 17:08:42 UTC] [API esp_heartbeat] State mismatch (DB: 1 vs ESP: 0). Perubahan DB oleh 'esp_button_mode' baru saja (-7185 detik lalu). TIDAK mengupdate DB dengan state ESP.
[25-May-2025 17:08:57 UTC] [API esp_heartbeat] State mismatch (DB: 1 vs ESP: 0). Perubahan DB oleh 'esp_button_mode' baru saja (-7185 detik lalu). TIDAK mengupdate DB dengan state ESP.
[25-May-2025 17:09:12 UTC] [API esp_heartbeat] State mismatch (DB: 1 vs ESP: 0). Perubahan DB oleh 'esp_button_mode' baru saja (-7185 detik lalu). TIDAK mengupdate DB dengan state ESP.
[25-May-2025 17:09:27 UTC] [API esp_heartbeat] State mismatch (DB: 1 vs ESP: 0). Perubahan DB oleh 'esp_button_mode' baru saja (-7185 detik lalu). TIDAK mengupdate DB dengan state ESP.
[25-May-2025 17:09:42 UTC] [API esp_heartbeat] State mismatch (DB: 1 vs ESP: 0). Perubahan DB oleh 'esp_button_mode' baru saja (-7185 detik lalu). TIDAK mengupdate DB dengan state ESP.
[25-May-2025 17:09:57 UTC] [API esp_heartbeat] State mismatch (DB: 1 vs ESP: 0). Perubahan DB oleh 'esp_button_mode' baru saja (-7185 detik lalu). TIDAK mengupdate DB dengan state ESP.
[25-May-2025 17:10:12 UTC] [API esp_heartbeat] State mismatch (DB: 1 vs ESP: 0). Perubahan DB oleh 'esp_button_mode' baru saja (-7185 detik lalu). TIDAK mengupdate DB dengan state ESP.
[25-May-2025 17:10:27 UTC] [API esp_heartbeat] State mismatch (DB: 1 vs ESP: 0). Perubahan DB oleh 'esp_button_mode' baru saja (-7185 detik lalu). TIDAK mengupdate DB dengan state ESP.
[25-May-2025 17:10:42 UTC] [API esp_heartbeat] State mismatch (DB: 1 vs ESP: 0). Perubahan DB oleh 'esp_button_mode' baru saja (-7185 detik lalu). TIDAK mengupdate DB dengan state ESP.
[25-May-2025 17:10:57 UTC] [API esp_heartbeat] State mismatch (DB: 1 vs ESP: 0). Perubahan DB oleh 'esp_button_mode' baru saja (-7185 detik lalu). TIDAK mengupdate DB dengan state ESP.
[25-May-2025 17:11:12 UTC] [API esp_heartbeat] State mismatch (DB: 1 vs ESP: 0). Perubahan DB oleh 'esp_button_mode' baru saja (-7185 detik lalu). TIDAK mengupdate DB dengan state ESP.
[25-May-2025 17:11:27 UTC] [API esp_heartbeat] State mismatch (DB: 1 vs ESP: 0). Perubahan DB oleh 'esp_button_mode' baru saja (-7185 detik lalu). TIDAK mengupdate DB dengan state ESP.
[25-May-2025 17:11:42 UTC] [API esp_heartbeat] State mismatch (DB: 1 vs ESP: 0). Perubahan DB oleh 'esp_button_mode' baru saja (-7185 detik lalu). TIDAK mengupdate DB dengan state ESP.
[25-May-2025 17:11:57 UTC] [API esp_heartbeat] State mismatch (DB: 1 vs ESP: 0). Perubahan DB oleh 'esp_button_mode' baru saja (-7185 detik lalu). TIDAK mengupdate DB dengan state ESP.
[25-May-2025 17:12:12 UTC] [API esp_heartbeat] State mismatch (DB: 1 vs ESP: 0). Perubahan DB oleh 'esp_button_mode' baru saja (-7185 detik lalu). TIDAK mengupdate DB dengan state ESP.
[25-May-2025 17:12:27 UTC] [API esp_heartbeat] State mismatch (DB: 1 vs ESP: 0). Perubahan DB oleh 'esp_button_mode' baru saja (-7185 detik lalu). TIDAK mengupdate DB dengan state ESP.
[25-May-2025 17:12:42 UTC] [API esp_heartbeat] State mismatch (DB: 1 vs ESP: 0). Perubahan DB oleh 'esp_button_mode' baru saja (-7185 detik lalu). TIDAK mengupdate DB dengan state ESP.
[25-May-2025 17:12:57 UTC] [API esp_heartbeat] State mismatch (DB: 1 vs ESP: 0). Perubahan DB oleh 'esp_button_mode' baru saja (-7185 detik lalu). TIDAK mengupdate DB dengan state ESP.
[25-May-2025 17:13:12 UTC] [API esp_heartbeat] State mismatch (DB: 1 vs ESP: 0). Perubahan DB oleh 'esp_button_mode' baru saja (-7185 detik lalu). TIDAK mengupdate DB dengan state ESP.
[25-May-2025 17:13:27 UTC] [API esp_heartbeat] State mismatch (DB: 1 vs ESP: 0). Perubahan DB oleh 'esp_button_mode' baru saja (-7185 detik lalu). TIDAK mengupdate DB dengan state ESP.
[25-May-2025 17:13:42 UTC] [API esp_heartbeat] State mismatch (DB: 1 vs ESP: 0). Perubahan DB oleh 'esp_button_mode' baru saja (-7185 detik lalu). TIDAK mengupdate DB dengan state ESP.
[25-May-2025 17:13:57 UTC] [API esp_heartbeat] State mismatch (DB: 1 vs ESP: 0). Perubahan DB oleh 'esp_button_mode' baru saja (-7185 detik lalu). TIDAK mengupdate DB dengan state ESP.
[25-May-2025 17:14:12 UTC] [API esp_heartbeat] State mismatch (DB: 1 vs ESP: 0). Perubahan DB oleh 'esp_button_mode' baru saja (-7185 detik lalu). TIDAK mengupdate DB dengan state ESP.
[25-May-2025 17:14:27 UTC] [API esp_heartbeat] State mismatch (DB: 1 vs ESP: 0). Perubahan DB oleh 'esp_button_mode' baru saja (-7185 detik lalu). TIDAK mengupdate DB dengan state ESP.
[25-May-2025 17:14:42 UTC] [API esp_heartbeat] State mismatch (DB: 1 vs ESP: 0). Perubahan DB oleh 'esp_button_mode' baru saja (-7191 detik lalu). TIDAK mengupdate DB dengan state ESP.
[25-May-2025 17:14:49 UTC] [API Input Debug] Action: control_relay, Raw Body: {"action":"control_relay","device_id":"ESP_RELAY_01","state":0,"changed_by":"web"}
[25-May-2025 17:14:49 UTC] [API Input Debug] Parsed _input_api: Array
(
    [action] => control_relay
    [device_id] => ESP_RELAY_01
    [state] => 0
    [changed_by] => web
)

[25-May-2025 17:14:49 UTC] [API Action] control_relay: Attempting DB update. Device: 'ESP_RELAY_01', New State: 0, Changed By: 'web'
[25-May-2025 17:14:49 UTC] [API Action] control_relay: Params for execute: Array
(
    [state] => 0
    [changed_by] => web
    [device_id] => ESP_RELAY_01
)

[25-May-2025 17:14:49 UTC] [API Action] control_relay: Execute success. RowCount: 1
[25-May-2025 17:14:57 UTC] [API esp_heartbeat] State mismatch (DB: 0 vs ESP: 1). Perubahan DB oleh 'web' baru saja (-7192 detik lalu). TIDAK mengupdate DB dengan state ESP.
[25-May-2025 17:15:03 UTC] [API Input Debug] Action: update_status, Raw Body: {"action":"update_status","device_id":"ESP_RELAY_01","state":1,"changed_by":"schedule_triggered_by_esp"}
[25-May-2025 17:15:03 UTC] [API Input Debug] Parsed _input_api: Array
(
    [action] => update_status
    [device_id] => ESP_RELAY_01
    [state] => 1
    [changed_by] => schedule_triggered_by_esp
)

[25-May-2025 17:15:03 UTC] [API Action] update_status: Attempting DB update. Device: 'ESP_RELAY_01', New State: 1, Changed By: 'schedule_triggered_by_esp'
[25-May-2025 17:15:03 UTC] [API Action] update_status: Params for execute: Array
(
    [state] => 1
    [changed_by] => schedule_triggered_by_esp
    [device_id] => ESP_RELAY_01
)

[25-May-2025 17:15:03 UTC] [API Action] update_status: Execute success. RowCount: 1
[25-May-2025 22:30:10 UTC] [API Input Debug] Action: update_status, Raw Body: {"action":"update_status","device_id":"ESP_RELAY_01","state":0,"changed_by":"schedule_triggered_by_esp"}
[25-May-2025 22:30:10 UTC] [API Input Debug] Parsed _input_api: Array
(
    [action] => update_status
    [device_id] => ESP_RELAY_01
    [state] => 0
    [changed_by] => schedule_triggered_by_esp
)

[25-May-2025 22:30:10 UTC] [API Action] update_status: Attempting DB update. Device: 'ESP_RELAY_01', New State: 0, Changed By: 'schedule_triggered_by_esp'
[25-May-2025 22:30:10 UTC] [API Action] update_status: Params for execute: Array
(
    [state] => 0
    [changed_by] => schedule_triggered_by_esp
    [device_id] => ESP_RELAY_01
)

[25-May-2025 22:30:10 UTC] [API Action] update_status: Execute success. RowCount: 1
[26-May-2025 08:08:43 UTC] [API Input Debug] Action: control_relay, Raw Body: {"action":"control_relay","device_id":"ESP_RELAY_01","state":1,"changed_by":"web"}
[26-May-2025 08:08:43 UTC] [API Input Debug] Parsed _input_api: Array
(
    [action] => control_relay
    [device_id] => ESP_RELAY_01
    [state] => 1
    [changed_by] => web
)

[26-May-2025 08:08:43 UTC] [API Action] control_relay: Attempting DB update. Device: 'ESP_RELAY_01', New State: 1, Changed By: 'web'
[26-May-2025 08:08:43 UTC] [API Action] control_relay: Params for execute: Array
(
    [state] => 1
    [changed_by] => web
    [device_id] => ESP_RELAY_01
)

[26-May-2025 08:08:43 UTC] [API Action] control_relay: Execute success. RowCount: 1
[26-May-2025 08:08:46 UTC] [API esp_heartbeat] State mismatch (DB: 1 vs ESP: 0). Perubahan DB oleh 'web' baru saja (-7197 detik lalu). TIDAK mengupdate DB dengan state ESP.
[26-May-2025 08:09:58 UTC] [API Input Debug] Action: update_status, Raw Body: {"action":"update_status","device_id":"ESP_RELAY_01","state":0,"changed_by":"schedule_triggered_by_esp"}
[26-May-2025 08:09:58 UTC] [API Input Debug] Parsed _input_api: Array
(
    [action] => update_status
    [device_id] => ESP_RELAY_01
    [state] => 0
    [changed_by] => schedule_triggered_by_esp
)

[26-May-2025 08:09:58 UTC] [API Action] update_status: Attempting DB update. Device: 'ESP_RELAY_01', New State: 0, Changed By: 'schedule_triggered_by_esp'
[26-May-2025 08:09:58 UTC] [API Action] update_status: Params for execute: Array
(
    [state] => 0
    [changed_by] => schedule_triggered_by_esp
    [device_id] => ESP_RELAY_01
)

[26-May-2025 08:09:58 UTC] [API Action] update_status: Execute success. RowCount: 1
[26-May-2025 08:10:35 UTC] [API Input Debug] Action: control_relay, Raw Body: {"action":"control_relay","device_id":"ESP_RELAY_01","state":1,"changed_by":"web"}
[26-May-2025 08:10:35 UTC] [API Input Debug] Parsed _input_api: Array
(
    [action] => control_relay
    [device_id] => ESP_RELAY_01
    [state] => 1
    [changed_by] => web
)

[26-May-2025 08:10:35 UTC] [API Action] control_relay: Attempting DB update. Device: 'ESP_RELAY_01', New State: 1, Changed By: 'web'
[26-May-2025 08:10:35 UTC] [API Action] control_relay: Params for execute: Array
(
    [state] => 1
    [changed_by] => web
    [device_id] => ESP_RELAY_01
)

[26-May-2025 08:10:35 UTC] [API Action] control_relay: Execute success. RowCount: 1
[26-May-2025 08:10:46 UTC] [API esp_heartbeat] State mismatch (DB: 1 vs ESP: 0). Perubahan DB oleh 'web' baru saja (-7189 detik lalu). TIDAK mengupdate DB dengan state ESP.
[26-May-2025 08:10:53 UTC] [API Input Debug] Action: update_status, Raw Body: {"action":"update_status","device_id":"ESP_RELAY_01","state":0,"changed_by":"schedule_triggered_by_esp"}
[26-May-2025 08:10:53 UTC] [API Input Debug] Parsed _input_api: Array
(
    [action] => update_status
    [device_id] => ESP_RELAY_01
    [state] => 0
    [changed_by] => schedule_triggered_by_esp
)

[26-May-2025 08:10:53 UTC] [API Action] update_status: Attempting DB update. Device: 'ESP_RELAY_01', New State: 0, Changed By: 'schedule_triggered_by_esp'
[26-May-2025 08:10:53 UTC] [API Action] update_status: Params for execute: Array
(
    [state] => 0
    [changed_by] => schedule_triggered_by_esp
    [device_id] => ESP_RELAY_01
)

[26-May-2025 08:10:53 UTC] [API Action] update_status: Execute success. RowCount: 1
[26-May-2025 10:30:12 UTC] [API Input Debug] Action: update_status, Raw Body: {"action":"update_status","device_id":"ESP_RELAY_01","state":1,"changed_by":"schedule_triggered_by_esp"}
[26-May-2025 10:30:12 UTC] [API Input Debug] Parsed _input_api: Array
(
    [action] => update_status
    [device_id] => ESP_RELAY_01
    [state] => 1
    [changed_by] => schedule_triggered_by_esp
)

[26-May-2025 10:30:12 UTC] [API Action] update_status: Attempting DB update. Device: 'ESP_RELAY_01', New State: 1, Changed By: 'schedule_triggered_by_esp'
[26-May-2025 10:30:12 UTC] [API Action] update_status: Params for execute: Array
(
    [state] => 1
    [changed_by] => schedule_triggered_by_esp
    [device_id] => ESP_RELAY_01
)

[26-May-2025 10:30:12 UTC] [API Action] update_status: Execute success. RowCount: 1
[26-May-2025 11:06:01 UTC] [API request_esp_reset] Permintaan reset untuk device 'ESP_RELAY_01' telah dicatat.
[26-May-2025 11:06:15 UTC] [API clear_esp_reset_flag] Flag reset untuk device 'ESP_RELAY_01' telah dibersihkan oleh ESP.
[26-May-2025 11:25:06 UTC] [API Input Debug] Action: control_relay, Raw Body: {"action":"control_relay","device_id":"ESP_RELAY_01","state":0,"changed_by":"web"}
[26-May-2025 11:25:06 UTC] [API Input Debug] Parsed _input_api: Array
(
    [action] => control_relay
    [device_id] => ESP_RELAY_01
    [state] => 0
    [changed_by] => web
)

[26-May-2025 11:25:06 UTC] [API Action] control_relay: Attempting DB update. Device: 'ESP_RELAY_01', New State: 0, Changed By: 'web'
[26-May-2025 11:25:06 UTC] [API Action] control_relay: Params for execute: Array
(
    [state] => 0
    [changed_by] => web
    [device_id] => ESP_RELAY_01
)

[26-May-2025 11:25:06 UTC] [API Action] control_relay: Execute success. RowCount: 1
[26-May-2025 11:25:11 UTC] [API Input Debug] Action: update_status, Raw Body: {"action":"update_status","device_id":"ESP_RELAY_01","state":1,"changed_by":"schedule_triggered_by_esp"}
[26-May-2025 11:25:11 UTC] [API Input Debug] Parsed _input_api: Array
(
    [action] => update_status
    [device_id] => ESP_RELAY_01
    [state] => 1
    [changed_by] => schedule_triggered_by_esp
)

[26-May-2025 11:25:11 UTC] [API Action] update_status: Attempting DB update. Device: 'ESP_RELAY_01', New State: 1, Changed By: 'schedule_triggered_by_esp'
[26-May-2025 11:25:11 UTC] [API Action] update_status: Params for execute: Array
(
    [state] => 1
    [changed_by] => schedule_triggered_by_esp
    [device_id] => ESP_RELAY_01
)

[26-May-2025 11:25:11 UTC] [API Action] update_status: Execute success. RowCount: 1
[26-May-2025 11:33:51 UTC] [API Input Debug] Action: control_relay, Raw Body: {"action":"control_relay","device_id":"ESP_RELAY_01","state":0,"changed_by":"web"}
[26-May-2025 11:33:51 UTC] [API Input Debug] Parsed _input_api: Array
(
    [action] => control_relay
    [device_id] => ESP_RELAY_01
    [state] => 0
    [changed_by] => web
)

[26-May-2025 11:33:51 UTC] [API Action] control_relay: Attempting DB update. Device: 'ESP_RELAY_01', New State: 0, Changed By: 'web'
[26-May-2025 11:33:51 UTC] [API Action] control_relay: Params for execute: Array
(
    [state] => 0
    [changed_by] => web
    [device_id] => ESP_RELAY_01
)

[26-May-2025 11:33:51 UTC] [API Action] control_relay: Execute success. RowCount: 1
[26-May-2025 11:33:56 UTC] [API Input Debug] Action: update_status, Raw Body: {"action":"update_status","device_id":"ESP_RELAY_01","state":1,"changed_by":"schedule_triggered_by_esp"}
[26-May-2025 11:33:56 UTC] [API Input Debug] Parsed _input_api: Array
(
    [action] => update_status
    [device_id] => ESP_RELAY_01
    [state] => 1
    [changed_by] => schedule_triggered_by_esp
)

[26-May-2025 11:33:56 UTC] [API Action] update_status: Attempting DB update. Device: 'ESP_RELAY_01', New State: 1, Changed By: 'schedule_triggered_by_esp'
[26-May-2025 11:33:56 UTC] [API Action] update_status: Params for execute: Array
(
    [state] => 1
    [changed_by] => schedule_triggered_by_esp
    [device_id] => ESP_RELAY_01
)

[26-May-2025 11:33:56 UTC] [API Action] update_status: Execute success. RowCount: 1
[26-May-2025 12:42:07 UTC] [API Input Debug] Action: control_relay, Raw Body: {"action":"control_relay","device_id":"ESP_RELAY_01","state":0,"changed_by":"web"}
[26-May-2025 12:42:07 UTC] [API Input Debug] Parsed _input_api: Array
(
    [action] => control_relay
    [device_id] => ESP_RELAY_01
    [state] => 0
    [changed_by] => web
)

[26-May-2025 12:42:07 UTC] [API Action] control_relay: Attempting DB update. Device: 'ESP_RELAY_01', New State: 0, Changed By: 'web'
[26-May-2025 12:42:07 UTC] [API Action] control_relay: Params for execute: Array
(
    [state] => 0
    [changed_by] => web
    [device_id] => ESP_RELAY_01
)

[26-May-2025 12:42:07 UTC] [API Action] control_relay: Execute success. RowCount: 1
[26-May-2025 12:42:09 UTC] [API esp_heartbeat] State mismatch (DB: 0 vs ESP: 1). Perubahan DB oleh 'web' baru saja (-7198 detik lalu). TIDAK mengupdate DB dengan state ESP.
[26-May-2025 12:42:15 UTC] [API Input Debug] Action: update_status, Raw Body: {"action":"update_status","device_id":"ESP_RELAY_01","state":1,"changed_by":"schedule_triggered_by_esp"}
[26-May-2025 12:42:15 UTC] [API Input Debug] Parsed _input_api: Array
(
    [action] => update_status
    [device_id] => ESP_RELAY_01
    [state] => 1
    [changed_by] => schedule_triggered_by_esp
)

[26-May-2025 12:42:15 UTC] [API Action] update_status: Attempting DB update. Device: 'ESP_RELAY_01', New State: 1, Changed By: 'schedule_triggered_by_esp'
[26-May-2025 12:42:15 UTC] [API Action] update_status: Params for execute: Array
(
    [state] => 1
    [changed_by] => schedule_triggered_by_esp
    [device_id] => ESP_RELAY_01
)

[26-May-2025 12:42:15 UTC] [API Action] update_status: Execute success. RowCount: 1
[26-May-2025 12:42:39 UTC] [API Input Debug] Action: update_status, Raw Body: {"action":"update_status","device_id":"ESP_RELAY_01","state":0,"changed_by":"esp_manual"}
[26-May-2025 12:42:39 UTC] [API Input Debug] Parsed _input_api: Array
(
    [action] => update_status
    [device_id] => ESP_RELAY_01
    [state] => 0
    [changed_by] => esp_manual
)

[26-May-2025 12:42:39 UTC] [API Action] update_status: Attempting DB update. Device: 'ESP_RELAY_01', New State: 0, Changed By: 'esp_manual'
[26-May-2025 12:42:39 UTC] [API Action] update_status: Params for execute: Array
(
    [state] => 0
    [changed_by] => esp_manual
    [device_id] => ESP_RELAY_01
)

[26-May-2025 12:42:39 UTC] [API Action] update_status: Execute success. RowCount: 1
[26-May-2025 12:42:48 UTC] [API Input Debug] Action: update_status, Raw Body: {"action":"update_status","device_id":"ESP_RELAY_01","state":1,"changed_by":"schedule_triggered_by_esp"}
[26-May-2025 12:42:48 UTC] [API Input Debug] Parsed _input_api: Array
(
    [action] => update_status
    [device_id] => ESP_RELAY_01
    [state] => 1
    [changed_by] => schedule_triggered_by_esp
)

[26-May-2025 12:42:48 UTC] [API Action] update_status: Attempting DB update. Device: 'ESP_RELAY_01', New State: 1, Changed By: 'schedule_triggered_by_esp'
[26-May-2025 12:42:48 UTC] [API Action] update_status: Params for execute: Array
(
    [state] => 1
    [changed_by] => schedule_triggered_by_esp
    [device_id] => ESP_RELAY_01
)

[26-May-2025 12:42:48 UTC] [API Action] update_status: Execute success. RowCount: 1
[26-May-2025 12:43:10 UTC] [API Input Debug] Action: control_relay, Raw Body: {"action":"control_relay","device_id":"ESP_RELAY_01","state":0,"changed_by":"web"}
[26-May-2025 12:43:10 UTC] [API Input Debug] Parsed _input_api: Array
(
    [action] => control_relay
    [device_id] => ESP_RELAY_01
    [state] => 0
    [changed_by] => web
)

[26-May-2025 12:43:10 UTC] [API Action] control_relay: Attempting DB update. Device: 'ESP_RELAY_01', New State: 0, Changed By: 'web'
[26-May-2025 12:43:10 UTC] [API Action] control_relay: Params for execute: Array
(
    [state] => 0
    [changed_by] => web
    [device_id] => ESP_RELAY_01
)

[26-May-2025 12:43:10 UTC] [API Action] control_relay: Execute success. RowCount: 1
[26-May-2025 12:43:12 UTC] [API esp_heartbeat] State mismatch (DB: 0 vs ESP: 1). Perubahan DB oleh 'web' baru saja (-7198 detik lalu). TIDAK mengupdate DB dengan state ESP.
[26-May-2025 12:43:49 UTC] [API Input Debug] Action: update_status, Raw Body: {"action":"update_status","device_id":"ESP_RELAY_01","state":1,"changed_by":"schedule_triggered_by_esp"}
[26-May-2025 12:43:49 UTC] [API Input Debug] Parsed _input_api: Array
(
    [action] => update_status
    [device_id] => ESP_RELAY_01
    [state] => 1
    [changed_by] => schedule_triggered_by_esp
)

[26-May-2025 12:43:49 UTC] [API Action] update_status: Attempting DB update. Device: 'ESP_RELAY_01', New State: 1, Changed By: 'schedule_triggered_by_esp'
[26-May-2025 12:43:49 UTC] [API Action] update_status: Params for execute: Array
(
    [state] => 1
    [changed_by] => schedule_triggered_by_esp
    [device_id] => ESP_RELAY_01
)

[26-May-2025 12:43:49 UTC] [API Action] update_status: Execute success. RowCount: 1
[26-May-2025 13:00:34 UTC] [API update_esp_mode] Mode operasional untuk device 'ESP_RELAY_01' diupdate ke 'manual_web' oleh ESP.
[26-May-2025 13:00:41 UTC] [API update_esp_mode] Mode operasional untuk device 'ESP_RELAY_01' diupdate ke 'web_only' oleh ESP.
[26-May-2025 13:00:52 UTC] [API update_esp_mode] Mode operasional untuk device 'ESP_RELAY_01' diupdate ke 'manual_only' oleh ESP.
[26-May-2025 13:00:57 UTC] [API update_esp_mode] Mode operasional untuk device 'ESP_RELAY_01' diupdate ke 'schedule' oleh ESP.
[26-May-2025 13:01:15 UTC] [API Input Debug] Action: update_status, Raw Body: {"action":"update_status","device_id":"ESP_RELAY_01","state":0,"changed_by":"esp_manual"}
[26-May-2025 13:01:15 UTC] [API Input Debug] Parsed _input_api: Array
(
    [action] => update_status
    [device_id] => ESP_RELAY_01
    [state] => 0
    [changed_by] => esp_manual
)

[26-May-2025 13:01:15 UTC] [API Action] update_status: Attempting DB update. Device: 'ESP_RELAY_01', New State: 0, Changed By: 'esp_manual'
[26-May-2025 13:01:15 UTC] [API Action] update_status: Params for execute: Array
(
    [state] => 0
    [changed_by] => esp_manual
    [device_id] => ESP_RELAY_01
)

[26-May-2025 13:01:15 UTC] [API Action] update_status: Execute success. RowCount: 1
[26-May-2025 13:01:15 UTC] [API esp_heartbeat] State mismatch (DB: 0 vs ESP: 1). Sinkronisasi DB dengan state ESP. last_changed_by: 'esp_manual', age: -7200 detik.
[26-May-2025 13:01:17 UTC] [API esp_heartbeat] State mismatch (DB: 1 vs ESP: 0). Sinkronisasi DB dengan state ESP. last_changed_by: 'esp_heartbeat_sync', age: -7198 detik.
[26-May-2025 13:01:23 UTC] [API Input Debug] Action: update_status, Raw Body: {"action":"update_status","device_id":"ESP_RELAY_01","state":1,"changed_by":"schedule_triggered_by_esp"}
[26-May-2025 13:01:23 UTC] [API Input Debug] Parsed _input_api: Array
(
    [action] => update_status
    [device_id] => ESP_RELAY_01
    [state] => 1
    [changed_by] => schedule_triggered_by_esp
)

[26-May-2025 13:01:23 UTC] [API Action] update_status: Attempting DB update. Device: 'ESP_RELAY_01', New State: 1, Changed By: 'schedule_triggered_by_esp'
[26-May-2025 13:01:23 UTC] [API Action] update_status: Params for execute: Array
(
    [state] => 1
    [changed_by] => schedule_triggered_by_esp
    [device_id] => ESP_RELAY_01
)

[26-May-2025 13:01:23 UTC] [API Action] update_status: Execute success. RowCount: 1
[26-May-2025 13:01:23 UTC] [API Input Debug] Action: update_status, Raw Body: {"action":"update_status","device_id":"ESP_RELAY_01","state":1,"changed_by":"schedule_triggered_by_esp"}
[26-May-2025 13:01:23 UTC] [API Input Debug] Parsed _input_api: Array
(
    [action] => update_status
    [device_id] => ESP_RELAY_01
    [state] => 1
    [changed_by] => schedule_triggered_by_esp
)

[26-May-2025 13:01:23 UTC] [API Action] update_status: Attempting DB update. Device: 'ESP_RELAY_01', New State: 1, Changed By: 'schedule_triggered_by_esp'
[26-May-2025 13:01:23 UTC] [API Action] update_status: Params for execute: Array
(
    [state] => 1
    [changed_by] => schedule_triggered_by_esp
    [device_id] => ESP_RELAY_01
)

[26-May-2025 13:01:23 UTC] [API Action] update_status: Execute success. RowCount: 0
[26-May-2025 13:01:23 UTC] [API Action] update_status: State sudah sesuai permintaan untuk device: 'ESP_RELAY_01'. State: 1
[26-May-2025 13:01:33 UTC] [API Input Debug] Action: control_relay, Raw Body: {"action":"control_relay","device_id":"ESP_RELAY_01","state":0,"changed_by":"web"}
[26-May-2025 13:01:33 UTC] [API Input Debug] Parsed _input_api: Array
(
    [action] => control_relay
    [device_id] => ESP_RELAY_01
    [state] => 0
    [changed_by] => web
)

[26-May-2025 13:01:33 UTC] [API Action] control_relay: Attempting DB update. Device: 'ESP_RELAY_01', New State: 0, Changed By: 'web'
[26-May-2025 13:01:33 UTC] [API Action] control_relay: Params for execute: Array
(
    [state] => 0
    [changed_by] => web
    [device_id] => ESP_RELAY_01
)

[26-May-2025 13:01:33 UTC] [API Action] control_relay: Execute success. RowCount: 1
[26-May-2025 13:01:39 UTC] [API Input Debug] Action: update_status, Raw Body: {"action":"update_status","device_id":"ESP_RELAY_01","state":1,"changed_by":"schedule_triggered_by_esp"}
[26-May-2025 13:01:39 UTC] [API Input Debug] Parsed _input_api: Array
(
    [action] => update_status
    [device_id] => ESP_RELAY_01
    [state] => 1
    [changed_by] => schedule_triggered_by_esp
)

[26-May-2025 13:01:39 UTC] [API Action] update_status: Attempting DB update. Device: 'ESP_RELAY_01', New State: 1, Changed By: 'schedule_triggered_by_esp'
[26-May-2025 13:01:39 UTC] [API Action] update_status: Params for execute: Array
(
    [state] => 1
    [changed_by] => schedule_triggered_by_esp
    [device_id] => ESP_RELAY_01
)

[26-May-2025 13:01:39 UTC] [API Action] update_status: Execute success. RowCount: 1
[26-May-2025 22:30:05 UTC] [API Input Debug] Action: update_status, Raw Body: {"action":"update_status","device_id":"ESP_RELAY_01","state":0,"changed_by":"schedule_triggered_by_esp"}
[26-May-2025 22:30:05 UTC] [API Input Debug] Parsed _input_api: Array
(
    [action] => update_status
    [device_id] => ESP_RELAY_01
    [state] => 0
    [changed_by] => schedule_triggered_by_esp
)

[26-May-2025 22:30:05 UTC] [API Action] update_status: Attempting DB update. Device: 'ESP_RELAY_01', New State: 0, Changed By: 'schedule_triggered_by_esp'
[26-May-2025 22:30:05 UTC] [API Action] update_status: Params for execute: Array
(
    [state] => 0
    [changed_by] => schedule_triggered_by_esp
    [device_id] => ESP_RELAY_01
)

[26-May-2025 22:30:05 UTC] [API Action] update_status: Execute success. RowCount: 1
[27-May-2025 10:30:09 UTC] [API Input Debug] Action: update_status, Raw Body: {"action":"update_status","device_id":"ESP_RELAY_01","state":1,"changed_by":"schedule_triggered_by_esp"}
[27-May-2025 10:30:09 UTC] [API Input Debug] Parsed _input_api: Array
(
    [action] => update_status
    [device_id] => ESP_RELAY_01
    [state] => 1
    [changed_by] => schedule_triggered_by_esp
)

[27-May-2025 10:30:09 UTC] [API Action] update_status: Attempting DB update. Device: 'ESP_RELAY_01', New State: 1, Changed By: 'schedule_triggered_by_esp'
[27-May-2025 10:30:09 UTC] [API Action] update_status: Params for execute: Array
(
    [state] => 1
    [changed_by] => schedule_triggered_by_esp
    [device_id] => ESP_RELAY_01
)

[27-May-2025 10:30:09 UTC] [API Action] update_status: Execute success. RowCount: 1
[27-May-2025 12:28:44 UTC] [API Input Debug] Action: control_relay, Raw Body: {"action":"control_relay","device_id":"ESP_RELAY_01","state":0,"changed_by":"web"}
[27-May-2025 12:28:44 UTC] [API Input Debug] Parsed _input_api: Array
(
    [action] => control_relay
    [device_id] => ESP_RELAY_01
    [state] => 0
    [changed_by] => web
)

[27-May-2025 12:28:44 UTC] [API Action] control_relay: Attempting DB update. Device: 'ESP_RELAY_01', New State: 0, Changed By: 'web'
[27-May-2025 12:28:44 UTC] [API Action] control_relay: Params for execute: Array
(
    [state] => 0
    [changed_by] => web
    [device_id] => ESP_RELAY_01
)

[27-May-2025 12:29:14 UTC] [API Action] control_relay: Execute success. RowCount: 1
[27-May-2025 12:29:20 UTC] [API esp_heartbeat] State mismatch (DB: 0 vs ESP: 1). Perubahan DB oleh 'web' baru saja (-7185 detik lalu). TIDAK mengupdate DB dengan state ESP.
[27-May-2025 12:29:26 UTC] [API Input Debug] Action: update_status, Raw Body: {"action":"update_status","device_id":"ESP_RELAY_01","state":1,"changed_by":"schedule_triggered_by_esp"}
[27-May-2025 12:29:26 UTC] [API Input Debug] Parsed _input_api: Array
(
    [action] => update_status
    [device_id] => ESP_RELAY_01
    [state] => 1
    [changed_by] => schedule_triggered_by_esp
)

[27-May-2025 12:29:26 UTC] [API Action] update_status: Attempting DB update. Device: 'ESP_RELAY_01', New State: 1, Changed By: 'schedule_triggered_by_esp'
[27-May-2025 12:29:26 UTC] [API Action] update_status: Params for execute: Array
(
    [state] => 1
    [changed_by] => schedule_triggered_by_esp
    [device_id] => ESP_RELAY_01
)

[27-May-2025 12:29:26 UTC] [API Action] update_status: Execute success. RowCount: 1
[27-May-2025 12:29:33 UTC] [API Input Debug] Action: control_relay, Raw Body: {"action":"control_relay","device_id":"ESP_RELAY_01","state":0,"changed_by":"web"}
[27-May-2025 12:29:33 UTC] [API Input Debug] Parsed _input_api: Array
(
    [action] => control_relay
    [device_id] => ESP_RELAY_01
    [state] => 0
    [changed_by] => web
)

[27-May-2025 12:29:33 UTC] [API Action] control_relay: Attempting DB update. Device: 'ESP_RELAY_01', New State: 0, Changed By: 'web'
[27-May-2025 12:29:33 UTC] [API Action] control_relay: Params for execute: Array
(
    [state] => 0
    [changed_by] => web
    [device_id] => ESP_RELAY_01
)

[27-May-2025 12:29:33 UTC] [API Action] control_relay: Execute success. RowCount: 1
[27-May-2025 12:29:35 UTC] [API esp_heartbeat] State mismatch (DB: 0 vs ESP: 1). Perubahan DB oleh 'web' baru saja (-7198 detik lalu). TIDAK mengupdate DB dengan state ESP.
[27-May-2025 12:29:41 UTC] [API Input Debug] Action: update_status, Raw Body: {"action":"update_status","device_id":"ESP_RELAY_01","state":1,"changed_by":"schedule_triggered_by_esp"}
[27-May-2025 12:29:41 UTC] [API Input Debug] Parsed _input_api: Array
(
    [action] => update_status
    [device_id] => ESP_RELAY_01
    [state] => 1
    [changed_by] => schedule_triggered_by_esp
)

[27-May-2025 12:29:41 UTC] [API Action] update_status: Attempting DB update. Device: 'ESP_RELAY_01', New State: 1, Changed By: 'schedule_triggered_by_esp'
[27-May-2025 12:29:41 UTC] [API Action] update_status: Params for execute: Array
(
    [state] => 1
    [changed_by] => schedule_triggered_by_esp
    [device_id] => ESP_RELAY_01
)

[27-May-2025 12:29:41 UTC] [API Action] update_status: Execute success. RowCount: 1
[27-May-2025 22:30:19 UTC] [API Input Debug] Action: update_status, Raw Body: {"action":"update_status","device_id":"ESP_RELAY_01","state":0,"changed_by":"schedule_triggered_by_esp"}
[27-May-2025 22:30:19 UTC] [API Input Debug] Parsed _input_api: Array
(
    [action] => update_status
    [device_id] => ESP_RELAY_01
    [state] => 0
    [changed_by] => schedule_triggered_by_esp
)

[27-May-2025 22:30:19 UTC] [API Action] update_status: Attempting DB update. Device: 'ESP_RELAY_01', New State: 0, Changed By: 'schedule_triggered_by_esp'
[27-May-2025 22:30:19 UTC] [API Action] update_status: Params for execute: Array
(
    [state] => 0
    [changed_by] => schedule_triggered_by_esp
    [device_id] => ESP_RELAY_01
)

[27-May-2025 22:30:22 UTC] [API Action] update_status: Execute success. RowCount: 1
[28-May-2025 01:48:11 UTC] [API update_esp_mode] Mode operasional untuk device 'ESP_RELAY_01' diupdate ke 'manual_web' oleh ESP.
[28-May-2025 01:48:34 UTC] [API Input Debug] Action: update_status, Raw Body: {"action":"update_status","device_id":"ESP_RELAY_01","state":1,"changed_by":"esp_manual"}
[28-May-2025 01:48:34 UTC] [API Input Debug] Parsed _input_api: Array
(
    [action] => update_status
    [device_id] => ESP_RELAY_01
    [state] => 1
    [changed_by] => esp_manual
)

[28-May-2025 01:48:34 UTC] [API Action] update_status: Attempting DB update. Device: 'ESP_RELAY_01', New State: 1, Changed By: 'esp_manual'
[28-May-2025 01:48:34 UTC] [API Action] update_status: Params for execute: Array
(
    [state] => 1
    [changed_by] => esp_manual
    [device_id] => ESP_RELAY_01
)

[28-May-2025 01:48:34 UTC] [API Action] update_status: Execute success. RowCount: 1
[28-May-2025 01:50:06 UTC] [API Input Debug] Action: update_status, Raw Body: {"action":"update_status","device_id":"ESP_RELAY_01","state":0,"changed_by":"esp_manual"}
[28-May-2025 01:50:06 UTC] [API Input Debug] Parsed _input_api: Array
(
    [action] => update_status
    [device_id] => ESP_RELAY_01
    [state] => 0
    [changed_by] => esp_manual
)

[28-May-2025 01:50:06 UTC] [API Action] update_status: Attempting DB update. Device: 'ESP_RELAY_01', New State: 0, Changed By: 'esp_manual'
[28-May-2025 01:50:06 UTC] [API Action] update_status: Params for execute: Array
(
    [state] => 0
    [changed_by] => esp_manual
    [device_id] => ESP_RELAY_01
)

[28-May-2025 01:50:06 UTC] [API Action] update_status: Execute success. RowCount: 1
[28-May-2025 01:50:16 UTC] [API Input Debug] Action: update_status, Raw Body: {"action":"update_status","device_id":"ESP_RELAY_01","state":1,"changed_by":"esp_manual"}
[28-May-2025 01:50:16 UTC] [API Input Debug] Parsed _input_api: Array
(
    [action] => update_status
    [device_id] => ESP_RELAY_01
    [state] => 1
    [changed_by] => esp_manual
)

[28-May-2025 01:50:16 UTC] [API Action] update_status: Attempting DB update. Device: 'ESP_RELAY_01', New State: 1, Changed By: 'esp_manual'
[28-May-2025 01:50:16 UTC] [API Action] update_status: Params for execute: Array
(
    [state] => 1
    [changed_by] => esp_manual
    [device_id] => ESP_RELAY_01
)

[28-May-2025 01:50:16 UTC] [API Action] update_status: Execute success. RowCount: 1
[28-May-2025 01:50:36 UTC] [API update_esp_mode] Mode operasional untuk device 'ESP_RELAY_01' diupdate ke 'web_only' oleh ESP.
[28-May-2025 01:50:46 UTC] [API update_esp_mode] Mode operasional untuk device 'ESP_RELAY_01' diupdate ke 'manual_only' oleh ESP.
[28-May-2025 01:50:50 UTC] [API update_esp_mode] Mode operasional untuk device 'ESP_RELAY_01' diupdate ke 'schedule' oleh ESP.
[28-May-2025 01:51:00 UTC] [API Input Debug] Action: update_status, Raw Body: {"action":"update_status","device_id":"ESP_RELAY_01","state":0,"changed_by":"schedule_triggered_by_esp"}
[28-May-2025 01:51:00 UTC] [API Input Debug] Parsed _input_api: Array
(
    [action] => update_status
    [device_id] => ESP_RELAY_01
    [state] => 0
    [changed_by] => schedule_triggered_by_esp
)

[28-May-2025 01:51:00 UTC] [API Action] update_status: Attempting DB update. Device: 'ESP_RELAY_01', New State: 0, Changed By: 'schedule_triggered_by_esp'
[28-May-2025 01:51:00 UTC] [API Action] update_status: Params for execute: Array
(
    [state] => 0
    [changed_by] => schedule_triggered_by_esp
    [device_id] => ESP_RELAY_01
)

[28-May-2025 01:51:00 UTC] [API Action] update_status: Execute success. RowCount: 1
[28-May-2025 01:52:39 UTC] [API Input Debug] Action: control_relay, Raw Body: {"action":"control_relay","device_id":"ESP_RELAY_01","state":1,"changed_by":"web"}
[28-May-2025 01:52:39 UTC] [API Input Debug] Parsed _input_api: Array
(
    [action] => control_relay
    [device_id] => ESP_RELAY_01
    [state] => 1
    [changed_by] => web
)

[28-May-2025 01:52:39 UTC] [API Action] control_relay: Attempting DB update. Device: 'ESP_RELAY_01', New State: 1, Changed By: 'web'
[28-May-2025 01:52:39 UTC] [API Action] control_relay: Params for execute: Array
(
    [state] => 1
    [changed_by] => web
    [device_id] => ESP_RELAY_01
)

[28-May-2025 01:52:39 UTC] [API Action] control_relay: Execute success. RowCount: 1
[28-May-2025 02:20:55 UTC] [API Input Debug] Action: control_relay, Raw Body: {"action":"control_relay","device_id":"ESP_RELAY_01","state":0,"changed_by":"web"}
[28-May-2025 02:20:55 UTC] [API Input Debug] Parsed _input_api: Array
(
    [action] => control_relay
    [device_id] => ESP_RELAY_01
    [state] => 0
    [changed_by] => web
)

[28-May-2025 02:20:55 UTC] [API Action] control_relay: Attempting DB update. Device: 'ESP_RELAY_01', New State: 0, Changed By: 'web'
[28-May-2025 02:20:55 UTC] [API Action] control_relay: Params for execute: Array
(
    [state] => 0
    [changed_by] => web
    [device_id] => ESP_RELAY_01
)

[28-May-2025 02:20:55 UTC] [API Action] control_relay: Execute success. RowCount: 1
[28-May-2025 02:20:56 UTC] [API esp_heartbeat] State mismatch (DB: 0 vs ESP: 1). Perubahan DB oleh 'web' baru saja (-7199 detik lalu). TIDAK mengupdate DB dengan state ESP.
[28-May-2025 09:29:39 UTC] [API Input Debug] Action: control_relay, Raw Body: {"action":"control_relay","device_id":"ESP_RELAY_01","state":1,"changed_by":"web"}
[28-May-2025 09:29:39 UTC] [API Input Debug] Parsed _input_api: Array
(
    [action] => control_relay
    [device_id] => ESP_RELAY_01
    [state] => 1
    [changed_by] => web
)

[28-May-2025 09:29:39 UTC] [API Action] control_relay: Attempting DB update. Device: 'ESP_RELAY_01', New State: 1, Changed By: 'web'
[28-May-2025 09:29:39 UTC] [API Action] control_relay: Params for execute: Array
(
    [state] => 1
    [changed_by] => web
    [device_id] => ESP_RELAY_01
)

[28-May-2025 09:29:39 UTC] [API Action] control_relay: Execute success. RowCount: 1
[28-May-2025 09:29:40 UTC] [API esp_heartbeat] State mismatch (DB: 1 vs ESP: 0). Perubahan DB oleh 'web' baru saja (-7199 detik lalu). TIDAK mengupdate DB dengan state ESP.
[28-May-2025 09:29:47 UTC] [API Input Debug] Action: update_status, Raw Body: {"action":"update_status","device_id":"ESP_RELAY_01","state":0,"changed_by":"schedule_triggered_by_esp"}
[28-May-2025 09:29:47 UTC] [API Input Debug] Parsed _input_api: Array
(
    [action] => update_status
    [device_id] => ESP_RELAY_01
    [state] => 0
    [changed_by] => schedule_triggered_by_esp
)

[28-May-2025 09:29:47 UTC] [API Action] update_status: Attempting DB update. Device: 'ESP_RELAY_01', New State: 0, Changed By: 'schedule_triggered_by_esp'
[28-May-2025 09:29:47 UTC] [API Action] update_status: Params for execute: Array
(
    [state] => 0
    [changed_by] => schedule_triggered_by_esp
    [device_id] => ESP_RELAY_01
)

[28-May-2025 09:29:47 UTC] [API Action] update_status: Execute success. RowCount: 1
[28-May-2025 10:30:08 UTC] [API Input Debug] Action: update_status, Raw Body: {"action":"update_status","device_id":"ESP_RELAY_01","state":1,"changed_by":"schedule_triggered_by_esp"}
[28-May-2025 10:30:08 UTC] [API Input Debug] Parsed _input_api: Array
(
    [action] => update_status
    [device_id] => ESP_RELAY_01
    [state] => 1
    [changed_by] => schedule_triggered_by_esp
)

[28-May-2025 10:30:08 UTC] [API Action] update_status: Attempting DB update. Device: 'ESP_RELAY_01', New State: 1, Changed By: 'schedule_triggered_by_esp'
[28-May-2025 10:30:08 UTC] [API Action] update_status: Params for execute: Array
(
    [state] => 1
    [changed_by] => schedule_triggered_by_esp
    [device_id] => ESP_RELAY_01
)

[28-May-2025 10:30:08 UTC] [API Action] update_status: Execute success. RowCount: 1
[28-May-2025 22:30:18 UTC] [API Input Debug] Action: update_status, Raw Body: {"action":"update_status","device_id":"ESP_RELAY_01","state":0,"changed_by":"schedule_triggered_by_esp"}
[28-May-2025 22:30:18 UTC] [API Input Debug] Parsed _input_api: Array
(
    [action] => update_status
    [device_id] => ESP_RELAY_01
    [state] => 0
    [changed_by] => schedule_triggered_by_esp
)

[28-May-2025 22:30:18 UTC] [API Action] update_status: Attempting DB update. Device: 'ESP_RELAY_01', New State: 0, Changed By: 'schedule_triggered_by_esp'
[28-May-2025 22:30:18 UTC] [API Action] update_status: Params for execute: Array
(
    [state] => 0
    [changed_by] => schedule_triggered_by_esp
    [device_id] => ESP_RELAY_01
)

[28-May-2025 22:30:18 UTC] [API Action] update_status: Execute success. RowCount: 1
[28-May-2025 23:44:15 UTC] [API Input Debug] Action: control_relay, Raw Body: {"action":"control_relay","device_id":"ESP_RELAY_01","state":1,"changed_by":"web"}
[28-May-2025 23:44:15 UTC] [API Input Debug] Parsed _input_api: Array
(
    [action] => control_relay
    [device_id] => ESP_RELAY_01
    [state] => 1
    [changed_by] => web
)

[28-May-2025 23:44:15 UTC] [API Action] control_relay: Attempting DB update. Device: 'ESP_RELAY_01', New State: 1, Changed By: 'web'
[28-May-2025 23:44:15 UTC] [API Action] control_relay: Params for execute: Array
(
    [state] => 1
    [changed_by] => web
    [device_id] => ESP_RELAY_01
)

[28-May-2025 23:44:15 UTC] [API Action] control_relay: Execute success. RowCount: 1
[28-May-2025 23:44:25 UTC] [API esp_heartbeat] State mismatch (DB: 1 vs ESP: 0). Perubahan DB oleh 'web' baru saja (-7190 detik lalu). TIDAK mengupdate DB dengan state ESP.
[29-May-2025 08:40:54 UTC] [API Input Debug] Action: update_status, Raw Body: {"action":"update_status","device_id":"ESP_RELAY_01","state":0,"changed_by":"schedule_triggered_by_esp"}
[29-May-2025 08:40:54 UTC] [API Input Debug] Parsed _input_api: Array
(
    [action] => update_status
    [device_id] => ESP_RELAY_01
    [state] => 0
    [changed_by] => schedule_triggered_by_esp
)

[29-May-2025 08:40:54 UTC] [API Action] update_status: Attempting DB update. Device: 'ESP_RELAY_01', New State: 0, Changed By: 'schedule_triggered_by_esp'
[29-May-2025 08:40:54 UTC] [API Action] update_status: Params for execute: Array
(
    [state] => 0
    [changed_by] => schedule_triggered_by_esp
    [device_id] => ESP_RELAY_01
)

[29-May-2025 08:40:55 UTC] [API Action] update_status: Execute success. RowCount: 1
[29-May-2025 08:41:07 UTC] [API Input Debug] Action: control_relay, Raw Body: {"action":"control_relay","device_id":"ESP_RELAY_01","state":1,"changed_by":"web"}
[29-May-2025 08:41:07 UTC] [API Input Debug] Parsed _input_api: Array
(
    [action] => control_relay
    [device_id] => ESP_RELAY_01
    [state] => 1
    [changed_by] => web
)

[29-May-2025 08:41:07 UTC] [API Action] control_relay: Attempting DB update. Device: 'ESP_RELAY_01', New State: 1, Changed By: 'web'
[29-May-2025 08:41:07 UTC] [API Action] control_relay: Params for execute: Array
(
    [state] => 1
    [changed_by] => web
    [device_id] => ESP_RELAY_01
)

[29-May-2025 08:41:07 UTC] [API Action] control_relay: Execute success. RowCount: 1
[29-May-2025 08:41:16 UTC] [API esp_heartbeat] State mismatch (DB: 1 vs ESP: 0). Perubahan DB oleh 'web' baru saja (-7191 detik lalu). TIDAK mengupdate DB dengan state ESP.
[29-May-2025 08:41:22 UTC] [API Input Debug] Action: update_status, Raw Body: {"action":"update_status","device_id":"ESP_RELAY_01","state":0,"changed_by":"schedule_triggered_by_esp"}
[29-May-2025 08:41:22 UTC] [API Input Debug] Parsed _input_api: Array
(
    [action] => update_status
    [device_id] => ESP_RELAY_01
    [state] => 0
    [changed_by] => schedule_triggered_by_esp
)

[29-May-2025 08:41:22 UTC] [API Action] update_status: Attempting DB update. Device: 'ESP_RELAY_01', New State: 0, Changed By: 'schedule_triggered_by_esp'
[29-May-2025 08:41:22 UTC] [API Action] update_status: Params for execute: Array
(
    [state] => 0
    [changed_by] => schedule_triggered_by_esp
    [device_id] => ESP_RELAY_01
)

[29-May-2025 08:41:22 UTC] [API Action] update_status: Execute success. RowCount: 1
[29-May-2025 08:41:32 UTC] [API Input Debug] Action: control_relay, Raw Body: {"action":"control_relay","device_id":"ESP_RELAY_01","state":1,"changed_by":"web"}
[29-May-2025 08:41:32 UTC] [API Input Debug] Parsed _input_api: Array
(
    [action] => control_relay
    [device_id] => ESP_RELAY_01
    [state] => 1
    [changed_by] => web
)

[29-May-2025 08:41:32 UTC] [API Action] control_relay: Attempting DB update. Device: 'ESP_RELAY_01', New State: 1, Changed By: 'web'
[29-May-2025 08:41:32 UTC] [API Action] control_relay: Params for execute: Array
(
    [state] => 1
    [changed_by] => web
    [device_id] => ESP_RELAY_01
)

[29-May-2025 08:41:32 UTC] [API Action] control_relay: Execute success. RowCount: 1
[29-May-2025 08:41:36 UTC] [API Input Debug] Action: update_status, Raw Body: {"action":"update_status","device_id":"ESP_RELAY_01","state":0,"changed_by":"schedule_triggered_by_esp"}
[29-May-2025 08:41:36 UTC] [API Input Debug] Parsed _input_api: Array
(
    [action] => update_status
    [device_id] => ESP_RELAY_01
    [state] => 0
    [changed_by] => schedule_triggered_by_esp
)

[29-May-2025 08:41:36 UTC] [API Action] update_status: Attempting DB update. Device: 'ESP_RELAY_01', New State: 0, Changed By: 'schedule_triggered_by_esp'
[29-May-2025 08:41:36 UTC] [API Action] update_status: Params for execute: Array
(
    [state] => 0
    [changed_by] => schedule_triggered_by_esp
    [device_id] => ESP_RELAY_01
)

[29-May-2025 08:41:36 UTC] [API Action] update_status: Execute success. RowCount: 1
[29-May-2025 08:41:51 UTC] [API Input Debug] Action: control_relay, Raw Body: {"action":"control_relay","device_id":"ESP_RELAY_01","state":1,"changed_by":"web"}
[29-May-2025 08:41:51 UTC] [API Input Debug] Parsed _input_api: Array
(
    [action] => control_relay
    [device_id] => ESP_RELAY_01
    [state] => 1
    [changed_by] => web
)

[29-May-2025 08:41:51 UTC] [API Action] control_relay: Attempting DB update. Device: 'ESP_RELAY_01', New State: 1, Changed By: 'web'
[29-May-2025 08:41:51 UTC] [API Action] control_relay: Params for execute: Array
(
    [state] => 1
    [changed_by] => web
    [device_id] => ESP_RELAY_01
)

[29-May-2025 08:41:51 UTC] [API Action] control_relay: Execute success. RowCount: 1
[29-May-2025 08:42:00 UTC] [API esp_heartbeat] State mismatch (DB: 1 vs ESP: 0). Perubahan DB oleh 'web' baru saja (-7191 detik lalu). TIDAK mengupdate DB dengan state ESP.
[29-May-2025 08:42:51 UTC] [API Input Debug] Action: update_status, Raw Body: {"action":"update_status","device_id":"ESP_RELAY_01","state":0,"changed_by":"schedule_triggered_by_esp"}
[29-May-2025 08:42:51 UTC] [API Input Debug] Parsed _input_api: Array
(
    [action] => update_status
    [device_id] => ESP_RELAY_01
    [state] => 0
    [changed_by] => schedule_triggered_by_esp
)

[29-May-2025 08:42:51 UTC] [API Action] update_status: Attempting DB update. Device: 'ESP_RELAY_01', New State: 0, Changed By: 'schedule_triggered_by_esp'
[29-May-2025 08:42:51 UTC] [API Action] update_status: Params for execute: Array
(
    [state] => 0
    [changed_by] => schedule_triggered_by_esp
    [device_id] => ESP_RELAY_01
)

[29-May-2025 08:42:51 UTC] [API Action] update_status: Execute success. RowCount: 1
[29-May-2025 10:30:10 UTC] [API Input Debug] Action: update_status, Raw Body: {"action":"update_status","device_id":"ESP_RELAY_01","state":1,"changed_by":"schedule_triggered_by_esp"}
[29-May-2025 10:30:10 UTC] [API Input Debug] Parsed _input_api: Array
(
    [action] => update_status
    [device_id] => ESP_RELAY_01
    [state] => 1
    [changed_by] => schedule_triggered_by_esp
)

[29-May-2025 10:30:10 UTC] [API Action] update_status: Attempting DB update. Device: 'ESP_RELAY_01', New State: 1, Changed By: 'schedule_triggered_by_esp'
[29-May-2025 10:30:10 UTC] [API Action] update_status: Params for execute: Array
(
    [state] => 1
    [changed_by] => schedule_triggered_by_esp
    [device_id] => ESP_RELAY_01
)

[29-May-2025 10:30:10 UTC] [API Action] update_status: Execute success. RowCount: 1
[29-May-2025 22:30:07 UTC] [API Input Debug] Action: update_status, Raw Body: {"action":"update_status","device_id":"ESP_RELAY_01","state":0,"changed_by":"schedule_triggered_by_esp"}
[29-May-2025 22:30:07 UTC] [API Input Debug] Parsed _input_api: Array
(
    [action] => update_status
    [device_id] => ESP_RELAY_01
    [state] => 0
    [changed_by] => schedule_triggered_by_esp
)

[29-May-2025 22:30:07 UTC] [API Action] update_status: Attempting DB update. Device: 'ESP_RELAY_01', New State: 0, Changed By: 'schedule_triggered_by_esp'
[29-May-2025 22:30:07 UTC] [API Action] update_status: Params for execute: Array
(
    [state] => 0
    [changed_by] => schedule_triggered_by_esp
    [device_id] => ESP_RELAY_01
)

[29-May-2025 22:30:07 UTC] [API Action] update_status: Execute success. RowCount: 1
[30-May-2025 10:30:06 UTC] [API Input Debug] Action: update_status, Raw Body: {"action":"update_status","device_id":"ESP_RELAY_01","state":1,"changed_by":"schedule_triggered_by_esp"}
[30-May-2025 10:30:06 UTC] [API Input Debug] Parsed _input_api: Array
(
    [action] => update_status
    [device_id] => ESP_RELAY_01
    [state] => 1
    [changed_by] => schedule_triggered_by_esp
)

[30-May-2025 10:30:06 UTC] [API Action] update_status: Attempting DB update. Device: 'ESP_RELAY_01', New State: 1, Changed By: 'schedule_triggered_by_esp'
[30-May-2025 10:30:06 UTC] [API Action] update_status: Params for execute: Array
(
    [state] => 1
    [changed_by] => schedule_triggered_by_esp
    [device_id] => ESP_RELAY_01
)

[30-May-2025 10:30:06 UTC] [API Action] update_status: Execute success. RowCount: 1
[30-May-2025 22:30:11 UTC] [API Input Debug] Action: update_status, Raw Body: {"action":"update_status","device_id":"ESP_RELAY_01","state":0,"changed_by":"schedule_triggered_by_esp"}
[30-May-2025 22:30:11 UTC] [API Input Debug] Parsed _input_api: Array
(
    [action] => update_status
    [device_id] => ESP_RELAY_01
    [state] => 0
    [changed_by] => schedule_triggered_by_esp
)

[30-May-2025 22:30:11 UTC] [API Action] update_status: Attempting DB update. Device: 'ESP_RELAY_01', New State: 0, Changed By: 'schedule_triggered_by_esp'
[30-May-2025 22:30:11 UTC] [API Action] update_status: Params for execute: Array
(
    [state] => 0
    [changed_by] => schedule_triggered_by_esp
    [device_id] => ESP_RELAY_01
)

[30-May-2025 22:30:11 UTC] [API Action] update_status: Execute success. RowCount: 1
[31-May-2025 10:30:05 UTC] [API Input Debug] Action: update_status, Raw Body: {"action":"update_status","device_id":"ESP_RELAY_01","state":1,"changed_by":"schedule_triggered_by_esp"}
[31-May-2025 10:30:05 UTC] [API Input Debug] Parsed _input_api: Array
(
    [action] => update_status
    [device_id] => ESP_RELAY_01
    [state] => 1
    [changed_by] => schedule_triggered_by_esp
)

[31-May-2025 10:30:05 UTC] [API Action] update_status: Attempting DB update. Device: 'ESP_RELAY_01', New State: 1, Changed By: 'schedule_triggered_by_esp'
[31-May-2025 10:30:05 UTC] [API Action] update_status: Params for execute: Array
(
    [state] => 1
    [changed_by] => schedule_triggered_by_esp
    [device_id] => ESP_RELAY_01
)

[31-May-2025 10:30:05 UTC] [API Action] update_status: Execute success. RowCount: 1
[31-May-2025 22:30:05 UTC] [API Input Debug] Action: update_status, Raw Body: {"action":"update_status","device_id":"ESP_RELAY_01","state":0,"changed_by":"schedule_triggered_by_esp"}
[31-May-2025 22:30:05 UTC] [API Input Debug] Parsed _input_api: Array
(
    [action] => update_status
    [device_id] => ESP_RELAY_01
    [state] => 0
    [changed_by] => schedule_triggered_by_esp
)

[31-May-2025 22:30:05 UTC] [API Action] update_status: Attempting DB update. Device: 'ESP_RELAY_01', New State: 0, Changed By: 'schedule_triggered_by_esp'
[31-May-2025 22:30:05 UTC] [API Action] update_status: Params for execute: Array
(
    [state] => 0
    [changed_by] => schedule_triggered_by_esp
    [device_id] => ESP_RELAY_01
)

[31-May-2025 22:30:05 UTC] [API Action] update_status: Execute success. RowCount: 1
[01-Jun-2025 03:52:29 UTC] [API update_esp_mode] Mode operasional untuk device 'ESP_RELAY_01' diupdate ke 'manual_web' oleh ESP.
[01-Jun-2025 03:53:06 UTC] [API Input Debug] Action: control_relay, Raw Body: {"action":"control_relay","device_id":"ESP_RELAY_01","state":1,"changed_by":"web"}
[01-Jun-2025 03:53:06 UTC] [API Input Debug] Parsed _input_api: Array
(
    [action] => control_relay
    [device_id] => ESP_RELAY_01
    [state] => 1
    [changed_by] => web
)

[01-Jun-2025 03:53:06 UTC] [API Action] control_relay: Attempting DB update. Device: 'ESP_RELAY_01', New State: 1, Changed By: 'web'
[01-Jun-2025 03:53:06 UTC] [API Action] control_relay: Params for execute: Array
(
    [state] => 1
    [changed_by] => web
    [device_id] => ESP_RELAY_01
)

[01-Jun-2025 03:53:06 UTC] [API Action] control_relay: Execute success. RowCount: 1
[01-Jun-2025 03:53:08 UTC] [API esp_heartbeat] State mismatch (DB: 1 vs ESP: 0). Perubahan DB oleh 'web' baru saja (-7198 detik lalu). TIDAK mengupdate DB dengan state ESP.
[01-Jun-2025 03:54:30 UTC] [API update_esp_mode] Mode operasional untuk device 'ESP_RELAY_01' diupdate ke 'web_only' oleh ESP.
[01-Jun-2025 03:54:34 UTC] [API update_esp_mode] Mode operasional untuk device 'ESP_RELAY_01' diupdate ke 'manual_only' oleh ESP.
[01-Jun-2025 03:54:47 UTC] [API Input Debug] Action: update_status, Raw Body: {"action":"update_status","device_id":"ESP_RELAY_01","state":0,"changed_by":"esp_manual"}
[01-Jun-2025 03:54:47 UTC] [API Input Debug] Parsed _input_api: Array
(
    [action] => update_status
    [device_id] => ESP_RELAY_01
    [state] => 0
    [changed_by] => esp_manual
)

[01-Jun-2025 03:54:47 UTC] [API Action] update_status: Attempting DB update. Device: 'ESP_RELAY_01', New State: 0, Changed By: 'esp_manual'
[01-Jun-2025 03:54:47 UTC] [API Action] update_status: Params for execute: Array
(
    [state] => 0
    [changed_by] => esp_manual
    [device_id] => ESP_RELAY_01
)

[01-Jun-2025 03:54:47 UTC] [API Action] update_status: Execute success. RowCount: 1
[01-Jun-2025 03:54:51 UTC] [API Input Debug] Action: update_status, Raw Body: {"action":"update_status","device_id":"ESP_RELAY_01","state":1,"changed_by":"esp_manual"}
[01-Jun-2025 03:54:51 UTC] [API Input Debug] Parsed _input_api: Array
(
    [action] => update_status
    [device_id] => ESP_RELAY_01
    [state] => 1
    [changed_by] => esp_manual
)

[01-Jun-2025 03:54:51 UTC] [API Action] update_status: Attempting DB update. Device: 'ESP_RELAY_01', New State: 1, Changed By: 'esp_manual'
[01-Jun-2025 03:54:51 UTC] [API Action] update_status: Params for execute: Array
(
    [state] => 1
    [changed_by] => esp_manual
    [device_id] => ESP_RELAY_01
)

[01-Jun-2025 03:54:51 UTC] [API Action] update_status: Execute success. RowCount: 1
[01-Jun-2025 22:30:07 UTC] [API Input Debug] Action: update_status, Raw Body: {"action":"update_status","device_id":"ESP_RELAY_01","state":0,"changed_by":"schedule_triggered_by_esp"}
[01-Jun-2025 22:30:07 UTC] [API Input Debug] Parsed _input_api: Array
(
    [action] => update_status
    [device_id] => ESP_RELAY_01
    [state] => 0
    [changed_by] => schedule_triggered_by_esp
)

[01-Jun-2025 22:30:07 UTC] [API Action] update_status: Attempting DB update. Device: 'ESP_RELAY_01', New State: 0, Changed By: 'schedule_triggered_by_esp'
[01-Jun-2025 22:30:07 UTC] [API Action] update_status: Params for execute: Array
(
    [state] => 0
    [changed_by] => schedule_triggered_by_esp
    [device_id] => ESP_RELAY_01
)

[01-Jun-2025 22:30:07 UTC] [API Action] update_status: Execute success. RowCount: 1
[02-Jun-2025 10:30:13 UTC] [API Input Debug] Action: update_status, Raw Body: {"action":"update_status","device_id":"ESP_RELAY_01","state":1,"changed_by":"schedule_triggered_by_esp"}
[02-Jun-2025 10:30:13 UTC] [API Input Debug] Parsed _input_api: Array
(
    [action] => update_status
    [device_id] => ESP_RELAY_01
    [state] => 1
    [changed_by] => schedule_triggered_by_esp
)

[02-Jun-2025 10:30:13 UTC] [API Action] update_status: Attempting DB update. Device: 'ESP_RELAY_01', New State: 1, Changed By: 'schedule_triggered_by_esp'
[02-Jun-2025 10:30:13 UTC] [API Action] update_status: Params for execute: Array
(
    [state] => 1
    [changed_by] => schedule_triggered_by_esp
    [device_id] => ESP_RELAY_01
)

[02-Jun-2025 10:30:13 UTC] [API Action] update_status: Execute success. RowCount: 1
[02-Jun-2025 22:30:11 UTC] [API Input Debug] Action: update_status, Raw Body: {"action":"update_status","device_id":"ESP_RELAY_01","state":0,"changed_by":"schedule_triggered_by_esp"}
[02-Jun-2025 22:30:11 UTC] [API Input Debug] Parsed _input_api: Array
(
    [action] => update_status
    [device_id] => ESP_RELAY_01
    [state] => 0
    [changed_by] => schedule_triggered_by_esp
)

[02-Jun-2025 22:30:11 UTC] [API Action] update_status: Attempting DB update. Device: 'ESP_RELAY_01', New State: 0, Changed By: 'schedule_triggered_by_esp'
[02-Jun-2025 22:30:11 UTC] [API Action] update_status: Params for execute: Array
(
    [state] => 0
    [changed_by] => schedule_triggered_by_esp
    [device_id] => ESP_RELAY_01
)

[02-Jun-2025 22:30:11 UTC] [API Action] update_status: Execute success. RowCount: 1
