[2025-12-12 05:03:12] ========== NEW REQUEST ========== [2025-12-12 05:03:12] REQUEST_METHOD: POST [2025-12-12 05:03:12] CONTENT_TYPE: application/x-www-form-urlencoded [2025-12-12 05:03:12] RAW INPUT: cmd=toy:stop [2025-12-12 05:03:12] POST DATA: {"cmd":"toy:stop"} [2025-12-12 05:03:12] === read_tokens_seconds_and_toy START === [2025-12-12 05:03:12] Raw input length: 12 [2025-12-12 05:03:12] JSON decoded: failed [2025-12-12 05:03:12] Input is not array, checking POST [2025-12-12 05:03:12] POST cmd/payload: toy:stop [2025-12-12 05:03:12] Star-wrapped tokens: [] [2025-12-12 05:03:12] Split tokens: ["toy:stop"] [2025-12-12 05:03:12] Token normalized: 'toy:stop' -> 'stop' [2025-12-12 05:03:12] Final normalized tokens: ["stop"] [2025-12-12 05:03:12] === read_tokens_seconds_and_toy END === [2025-12-12 05:03:12] Using toy: 8C6FB9540CE0 [2025-12-12 05:03:12] Using seconds: 0 [2025-12-12 05:03:12] STOP command detected [2025-12-12 05:03:12] Payload to send: {"command":"Function","action":"stop","timeSec":0,"stopPrevious":1,"toy":"8C6FB9540CE0","apiVer":1} [2025-12-12 05:03:12] Sending to relay: http://192.168.0.160:18080/command [2025-12-12 05:03:20] Relay response code: 0 [2025-12-12 05:03:20] Relay response body: (empty) [2025-12-12 05:03:20] Relay error: Connection timed out after 8009 milliseconds [2025-12-12 05:03:20] RESPONSE: 502 - toy_command: relay_unreachable: Connection timed out after 8009 milliseconds [2025-12-12 06:22:03] ========== NEW REQUEST ========== [2025-12-12 06:22:03] REQUEST_METHOD: POST [2025-12-12 06:22:03] CONTENT_TYPE: application/x-www-form-urlencoded; charset=UTF-8 [2025-12-12 06:22:03] RAW INPUT: cmd=toy%3Ashort_slow+toy%3Ashort_med [2025-12-12 06:22:03] POST DATA: {"cmd":"toy:short_slow toy:short_med"} [2025-12-12 06:22:03] === read_tokens_seconds_and_toy START === [2025-12-12 06:22:03] Raw input length: 36 [2025-12-12 06:22:03] JSON decoded: failed [2025-12-12 06:22:03] Input is not array, checking POST [2025-12-12 06:22:03] POST cmd/payload: toy:short_slow toy:short_med [2025-12-12 06:22:03] Star-wrapped tokens: [] [2025-12-12 06:22:03] Split tokens: ["toy:short_slow","toy:short_med"] [2025-12-12 06:22:03] Token normalized: 'toy:short_slow' -> 'short_slow' [2025-12-12 06:22:03] Token normalized: 'toy:short_med' -> 'short_med' [2025-12-12 06:22:03] Final normalized tokens: ["short_slow","short_med"] [2025-12-12 06:22:03] === read_tokens_seconds_and_toy END === [2025-12-12 06:22:03] Using toy: 8C6FB9540CE0 [2025-12-12 06:22:03] Using seconds: 0 [2025-12-12 06:22:03] Matched token 'short_slow' to action: Stroke:0-40,Thrusting:1 [2025-12-12 06:22:03] Matched token 'short_med' to action: Stroke:0-40,Thrusting:7 [2025-12-12 06:22:03] Payload to send: {"command":"Function","action":"Stroke:0-40,Thrusting:7","timeSec":0,"stopPrevious":1,"toy":"8C6FB9540CE0","apiVer":1} [2025-12-12 06:22:03] Sending to relay: http://192.168.0.160:18080/command [2025-12-12 06:22:06] Relay response code: 500 [2025-12-12 06:22:06] Relay response body: {"error":"relay_exception"} [2025-12-12 06:22:06] Relay error: (none) [2025-12-12 06:22:06] RESPONSE: 500 - toy_command: downstream_error 500 body={"error":"relay_exception"} [2025-12-12 06:29:00] ========== NEW REQUEST ========== [2025-12-12 06:29:00] REQUEST_METHOD: POST [2025-12-12 06:29:00] CONTENT_TYPE: application/x-www-form-urlencoded; charset=UTF-8 [2025-12-12 06:29:00] RAW INPUT: cmd=toy%3Along_slow [2025-12-12 06:29:00] POST DATA: {"cmd":"toy:long_slow"} [2025-12-12 06:29:00] === read_tokens_seconds_and_toy START === [2025-12-12 06:29:00] Raw input length: 19 [2025-12-12 06:29:00] JSON decoded: failed [2025-12-12 06:29:00] Input is not array, checking POST [2025-12-12 06:29:00] POST cmd/payload: toy:long_slow [2025-12-12 06:29:00] Star-wrapped tokens: [] [2025-12-12 06:29:00] Split tokens: ["toy:long_slow"] [2025-12-12 06:29:00] Token normalized: 'toy:long_slow' -> 'long_slow' [2025-12-12 06:29:00] Final normalized tokens: ["long_slow"] [2025-12-12 06:29:00] === read_tokens_seconds_and_toy END === [2025-12-12 06:29:00] Using toy: 8C6FB9540CE0 [2025-12-12 06:29:00] Using seconds: 0 [2025-12-12 06:29:00] Matched token 'long_slow' to action: Stroke:0-100,Thrusting:1 [2025-12-12 06:29:00] Payload to send: {"command":"Function","action":"Stroke:0-100,Thrusting:1","timeSec":0,"stopPrevious":1,"toy":"8C6FB9540CE0","apiVer":1} [2025-12-12 06:29:00] Sending to relay: http://192.168.0.160:18080/command [2025-12-12 06:29:00] Relay response code: 200 [2025-12-12 06:29:00] Relay response body: {"code":200,"type":"OK"} [2025-12-12 06:29:00] Relay error: (none) [2025-12-12 06:29:00] RESPONSE: 200 - toy_command: OK Stroke:0-100,Thrusting:1 timeSec=0 [2025-12-12 06:30:46] ========== NEW REQUEST ========== [2025-12-12 06:30:46] REQUEST_METHOD: POST [2025-12-12 06:30:46] CONTENT_TYPE: application/x-www-form-urlencoded; charset=UTF-8 [2025-12-12 06:30:46] RAW INPUT: cmd=toy%3Along_med+toy%3Along_fast [2025-12-12 06:30:46] POST DATA: {"cmd":"toy:long_med toy:long_fast"} [2025-12-12 06:30:46] === read_tokens_seconds_and_toy START === [2025-12-12 06:30:46] Raw input length: 34 [2025-12-12 06:30:46] JSON decoded: failed [2025-12-12 06:30:46] Input is not array, checking POST [2025-12-12 06:30:46] POST cmd/payload: toy:long_med toy:long_fast [2025-12-12 06:30:46] Star-wrapped tokens: [] [2025-12-12 06:30:46] Split tokens: ["toy:long_med","toy:long_fast"] [2025-12-12 06:30:46] Token normalized: 'toy:long_med' -> 'long_med' [2025-12-12 06:30:46] Token normalized: 'toy:long_fast' -> 'long_fast' [2025-12-12 06:30:46] Final normalized tokens: ["long_med","long_fast"] [2025-12-12 06:30:46] === read_tokens_seconds_and_toy END === [2025-12-12 06:30:46] Using toy: 8C6FB9540CE0 [2025-12-12 06:30:46] Using seconds: 0 [2025-12-12 06:30:46] Matched token 'long_med' to action: Stroke:0-100,Thrusting:7 [2025-12-12 06:30:46] Matched token 'long_fast' to action: Stroke:0-100,Thrusting:13 [2025-12-12 06:30:46] Payload to send: {"command":"Function","action":"Stroke:0-100,Thrusting:13","timeSec":0,"stopPrevious":1,"toy":"8C6FB9540CE0","apiVer":1} [2025-12-12 06:30:46] Sending to relay: http://192.168.0.160:18080/command [2025-12-12 06:30:46] Relay response code: 200 [2025-12-12 06:30:46] Relay response body: {"code":200,"type":"OK"} [2025-12-12 06:30:46] Relay error: (none) [2025-12-12 06:30:46] RESPONSE: 200 - toy_command: OK Stroke:0-100,Thrusting:13 timeSec=0 [2025-12-12 06:32:44] ========== NEW REQUEST ========== [2025-12-12 06:32:44] REQUEST_METHOD: POST [2025-12-12 06:32:45] CONTENT_TYPE: application/x-www-form-urlencoded; charset=UTF-8 [2025-12-12 06:32:45] RAW INPUT: cmd=toy%3Amid_fast+toy%3Ashort_med [2025-12-12 06:32:45] POST DATA: {"cmd":"toy:mid_fast toy:short_med"} [2025-12-12 06:32:45] === read_tokens_seconds_and_toy START === [2025-12-12 06:32:45] Raw input length: 34 [2025-12-12 06:32:45] JSON decoded: failed [2025-12-12 06:32:45] Input is not array, checking POST [2025-12-12 06:32:45] POST cmd/payload: toy:mid_fast toy:short_med [2025-12-12 06:32:45] Star-wrapped tokens: [] [2025-12-12 06:32:45] Split tokens: ["toy:mid_fast","toy:short_med"] [2025-12-12 06:32:45] Token normalized: 'toy:mid_fast' -> 'mid_fast' [2025-12-12 06:32:45] Token normalized: 'toy:short_med' -> 'short_med' [2025-12-12 06:32:45] Final normalized tokens: ["mid_fast","short_med"] [2025-12-12 06:32:45] === read_tokens_seconds_and_toy END === [2025-12-12 06:32:45] Using toy: 8C6FB9540CE0 [2025-12-12 06:32:45] Using seconds: 0 [2025-12-12 06:32:45] Matched token 'mid_fast' to action: Stroke:0-70,Thrusting:13 [2025-12-12 06:32:45] Matched token 'short_med' to action: Stroke:0-40,Thrusting:7 [2025-12-12 06:32:45] Payload to send: {"command":"Function","action":"Stroke:0-40,Thrusting:7","timeSec":0,"stopPrevious":1,"toy":"8C6FB9540CE0","apiVer":1} [2025-12-12 06:32:45] Sending to relay: http://192.168.0.160:18080/command [2025-12-12 06:32:45] Relay response code: 200 [2025-12-12 06:32:45] Relay response body: {"code":200,"type":"OK"} [2025-12-12 06:32:45] Relay error: (none) [2025-12-12 06:32:45] RESPONSE: 200 - toy_command: OK Stroke:0-40,Thrusting:7 timeSec=0 [2025-12-12 06:34:55] ========== NEW REQUEST ========== [2025-12-12 06:34:55] REQUEST_METHOD: POST [2025-12-12 06:34:55] CONTENT_TYPE: application/x-www-form-urlencoded; charset=UTF-8 [2025-12-12 06:34:55] RAW INPUT: cmd=toy%3Ashort_fast+toy%3Atiny_fast [2025-12-12 06:34:55] POST DATA: {"cmd":"toy:short_fast toy:tiny_fast"} [2025-12-12 06:34:55] === read_tokens_seconds_and_toy START === [2025-12-12 06:34:55] Raw input length: 36 [2025-12-12 06:34:55] JSON decoded: failed [2025-12-12 06:34:55] Input is not array, checking POST [2025-12-12 06:34:55] POST cmd/payload: toy:short_fast toy:tiny_fast [2025-12-12 06:34:55] Star-wrapped tokens: [] [2025-12-12 06:34:55] Split tokens: ["toy:short_fast","toy:tiny_fast"] [2025-12-12 06:34:55] Token normalized: 'toy:short_fast' -> 'short_fast' [2025-12-12 06:34:55] Token normalized: 'toy:tiny_fast' -> 'tiny_fast' [2025-12-12 06:34:55] Final normalized tokens: ["short_fast","tiny_fast"] [2025-12-12 06:34:55] === read_tokens_seconds_and_toy END === [2025-12-12 06:34:55] Using toy: 8C6FB9540CE0 [2025-12-12 06:34:55] Using seconds: 0 [2025-12-12 06:34:55] Matched token 'short_fast' to action: Stroke:0-40,Thrusting:13 [2025-12-12 06:34:55] Matched token 'tiny_fast' to action: Stroke:0-20,Thrusting:13 [2025-12-12 06:34:55] Payload to send: {"command":"Function","action":"Stroke:0-20,Thrusting:13","timeSec":0,"stopPrevious":1,"toy":"8C6FB9540CE0","apiVer":1} [2025-12-12 06:34:55] Sending to relay: http://192.168.0.160:18080/command [2025-12-12 06:34:55] Relay response code: 200 [2025-12-12 06:34:55] Relay response body: {"code":200,"type":"OK"} [2025-12-12 06:34:55] Relay error: (none) [2025-12-12 06:34:55] RESPONSE: 200 - toy_command: OK Stroke:0-20,Thrusting:13 timeSec=0 [2025-12-12 06:37:34] ========== NEW REQUEST ========== [2025-12-12 06:37:34] REQUEST_METHOD: POST [2025-12-12 06:37:34] CONTENT_TYPE: application/x-www-form-urlencoded; charset=UTF-8 [2025-12-12 06:37:34] RAW INPUT: cmd=toy%3Along_max+toy%3Atiny_max [2025-12-12 06:37:34] POST DATA: {"cmd":"toy:long_max toy:tiny_max"} [2025-12-12 06:37:34] === read_tokens_seconds_and_toy START === [2025-12-12 06:37:34] Raw input length: 33 [2025-12-12 06:37:34] JSON decoded: failed [2025-12-12 06:37:34] Input is not array, checking POST [2025-12-12 06:37:34] POST cmd/payload: toy:long_max toy:tiny_max [2025-12-12 06:37:34] Star-wrapped tokens: [] [2025-12-12 06:37:34] Split tokens: ["toy:long_max","toy:tiny_max"] [2025-12-12 06:37:34] Token normalized: 'toy:long_max' -> 'long_max' [2025-12-12 06:37:34] Token normalized: 'toy:tiny_max' -> 'tiny_max' [2025-12-12 06:37:34] Final normalized tokens: ["long_max","tiny_max"] [2025-12-12 06:37:34] === read_tokens_seconds_and_toy END === [2025-12-12 06:37:34] Using toy: 8C6FB9540CE0 [2025-12-12 06:37:34] Using seconds: 0 [2025-12-12 06:37:34] Matched token 'long_max' to action: Stroke:0-100,Thrusting:20 [2025-12-12 06:37:34] Payload to send: {"command":"Function","action":"Stroke:0-100,Thrusting:20","timeSec":0,"stopPrevious":1,"toy":"8C6FB9540CE0","apiVer":1} [2025-12-12 06:37:34] Sending to relay: http://192.168.0.160:18080/command [2025-12-12 06:37:34] Relay response code: 200 [2025-12-12 06:37:34] Relay response body: {"code":200,"type":"OK"} [2025-12-12 06:37:34] Relay error: (none) [2025-12-12 06:37:34] RESPONSE: 200 - toy_command: OK Stroke:0-100,Thrusting:20 timeSec=0