From 100aee006ae98a602f4a0beddbf3dddf607c3e15 Mon Sep 17 00:00:00 2001 From: jziolkowski Date: Sun, 15 Sep 2024 16:32:42 +0200 Subject: [PATCH] add status json files --- .../jsonfiles/12.1.1.5/STATUS.json | 37 +++++++++++++ .../jsonfiles/12.1.1.5/STATUS1.json | 17 ++++++ .../jsonfiles/12.1.1.5/STATUS10.json | 5 ++ .../jsonfiles/12.1.1.5/STATUS11.json | 26 +++++++++ .../jsonfiles/12.1.1.5/STATUS2.json | 12 ++++ .../jsonfiles/12.1.1.5/STATUS3.json | 24 ++++++++ .../jsonfiles/12.1.1.5/STATUS4.json | 26 +++++++++ .../jsonfiles/12.1.1.5/STATUS5.json | 15 +++++ .../jsonfiles/12.1.1.5/STATUS6.json | 13 +++++ .../jsonfiles/12.1.1.5/STATUS7.json | 11 ++++ .../jsonfiles/12.4.0/STATUS.json | 55 +++++++++++++++++++ .../jsonfiles/12.4.0/STATUS1.json | 17 ++++++ .../jsonfiles/12.4.0/STATUS10.json | 21 +++++++ .../jsonfiles/12.4.0/STATUS11.json | 24 ++++++++ .../jsonfiles/12.4.0/STATUS2.json | 12 ++++ .../jsonfiles/12.4.0/STATUS3.json | 24 ++++++++ .../jsonfiles/12.4.0/STATUS4.json | 26 +++++++++ .../jsonfiles/12.4.0/STATUS5.json | 15 +++++ .../jsonfiles/12.4.0/STATUS6.json | 13 +++++ .../jsonfiles/12.4.0/STATUS7.json | 11 ++++ .../jsonfiles/12.4.0/STATUS9.json | 15 +++++ .../jsonfiles/13.2.0.2/STATUS.json | 55 +++++++++++++++++++ .../jsonfiles/13.2.0.2/STATUS1.json | 17 ++++++ .../jsonfiles/13.2.0.2/STATUS10.json | 6 ++ .../jsonfiles/13.2.0.2/STATUS11.json | 24 ++++++++ .../jsonfiles/13.2.0.2/STATUS2.json | 12 ++++ .../jsonfiles/13.2.0.2/STATUS3.json | 24 ++++++++ .../jsonfiles/13.2.0.2/STATUS4.json | 28 ++++++++++ .../jsonfiles/13.2.0.2/STATUS5.json | 15 +++++ .../jsonfiles/13.2.0.2/STATUS6.json | 13 +++++ .../jsonfiles/13.2.0.2/STATUS7.json | 11 ++++ .../jsonfiles/8.1.0.3/STATUS.json | 33 +++++++++++ .../jsonfiles/8.1.0.3/STATUS1.json | 16 ++++++ .../jsonfiles/8.1.0.3/STATUS10.json | 8 +++ .../jsonfiles/8.1.0.3/STATUS11.json | 25 +++++++++ .../jsonfiles/8.1.0.3/STATUS2.json | 11 ++++ .../jsonfiles/8.1.0.3/STATUS3.json | 22 ++++++++ .../jsonfiles/8.1.0.3/STATUS4.json | 21 +++++++ .../jsonfiles/8.1.0.3/STATUS5.json | 13 +++++ .../jsonfiles/8.1.0.3/STATUS6.json | 12 ++++ .../jsonfiles/8.1.0.3/STATUS7.json | 11 ++++ .../jsonfiles/8.5.1/STATUS.1.json | 33 +++++++++++ .../jsonfiles/8.5.1/STATUS.2.json | 32 +++++++++++ .../jsonfiles/8.5.1/STATUS.json | 32 +++++++++++ .../jsonfiles/8.5.1/STATUS1.1.json | 17 ++++++ .../jsonfiles/8.5.1/STATUS1.2.json | 17 ++++++ .../jsonfiles/8.5.1/STATUS1.json | 17 ++++++ .../jsonfiles/8.5.1/STATUS10.1.json | 7 +++ .../jsonfiles/8.5.1/STATUS10.2.json | 5 ++ .../jsonfiles/8.5.1/STATUS10.json | 5 ++ .../jsonfiles/8.5.1/STATUS11.1.json | 25 +++++++++ .../jsonfiles/8.5.1/STATUS11.2.json | 36 ++++++++++++ .../jsonfiles/8.5.1/STATUS11.json | 24 ++++++++ .../jsonfiles/8.5.1/STATUS2.1.json | 12 ++++ .../jsonfiles/8.5.1/STATUS2.2.json | 12 ++++ .../jsonfiles/8.5.1/STATUS2.json | 12 ++++ .../jsonfiles/8.5.1/STATUS3.1.json | 23 ++++++++ .../jsonfiles/8.5.1/STATUS3.2.json | 23 ++++++++ .../jsonfiles/8.5.1/STATUS3.json | 23 ++++++++ .../jsonfiles/8.5.1/STATUS4.1.json | 24 ++++++++ .../jsonfiles/8.5.1/STATUS4.2.json | 24 ++++++++ .../jsonfiles/8.5.1/STATUS4.json | 24 ++++++++ .../jsonfiles/8.5.1/STATUS5.1.json | 13 +++++ .../jsonfiles/8.5.1/STATUS5.2.json | 13 +++++ .../jsonfiles/8.5.1/STATUS5.json | 13 +++++ .../jsonfiles/8.5.1/STATUS6.1.json | 12 ++++ .../jsonfiles/8.5.1/STATUS6.2.json | 12 ++++ .../jsonfiles/8.5.1/STATUS6.json | 12 ++++ .../jsonfiles/8.5.1/STATUS7.1.json | 11 ++++ .../jsonfiles/8.5.1/STATUS7.2.json | 11 ++++ .../jsonfiles/8.5.1/STATUS7.json | 11 ++++ .../jsonfiles/9.1.0/STATUS.json | 32 +++++++++++ .../jsonfiles/9.1.0/STATUS1.json | 17 ++++++ .../jsonfiles/9.1.0/STATUS10.json | 5 ++ .../jsonfiles/9.1.0/STATUS11.json | 39 +++++++++++++ .../jsonfiles/9.1.0/STATUS2.json | 12 ++++ .../jsonfiles/9.1.0/STATUS3.json | 23 ++++++++ .../jsonfiles/9.1.0/STATUS4.json | 24 ++++++++ .../jsonfiles/9.1.0/STATUS5.json | 13 +++++ .../jsonfiles/9.1.0/STATUS6.json | 12 ++++ .../jsonfiles/9.1.0/STATUS7.json | 11 ++++ 81 files changed, 1519 insertions(+) create mode 100644 tests/status_parsing/jsonfiles/12.1.1.5/STATUS.json create mode 100644 tests/status_parsing/jsonfiles/12.1.1.5/STATUS1.json create mode 100644 tests/status_parsing/jsonfiles/12.1.1.5/STATUS10.json create mode 100644 tests/status_parsing/jsonfiles/12.1.1.5/STATUS11.json create mode 100644 tests/status_parsing/jsonfiles/12.1.1.5/STATUS2.json create mode 100644 tests/status_parsing/jsonfiles/12.1.1.5/STATUS3.json create mode 100644 tests/status_parsing/jsonfiles/12.1.1.5/STATUS4.json create mode 100644 tests/status_parsing/jsonfiles/12.1.1.5/STATUS5.json create mode 100644 tests/status_parsing/jsonfiles/12.1.1.5/STATUS6.json create mode 100644 tests/status_parsing/jsonfiles/12.1.1.5/STATUS7.json create mode 100644 tests/status_parsing/jsonfiles/12.4.0/STATUS.json create mode 100644 tests/status_parsing/jsonfiles/12.4.0/STATUS1.json create mode 100644 tests/status_parsing/jsonfiles/12.4.0/STATUS10.json create mode 100644 tests/status_parsing/jsonfiles/12.4.0/STATUS11.json create mode 100644 tests/status_parsing/jsonfiles/12.4.0/STATUS2.json create mode 100644 tests/status_parsing/jsonfiles/12.4.0/STATUS3.json create mode 100644 tests/status_parsing/jsonfiles/12.4.0/STATUS4.json create mode 100644 tests/status_parsing/jsonfiles/12.4.0/STATUS5.json create mode 100644 tests/status_parsing/jsonfiles/12.4.0/STATUS6.json create mode 100644 tests/status_parsing/jsonfiles/12.4.0/STATUS7.json create mode 100644 tests/status_parsing/jsonfiles/12.4.0/STATUS9.json create mode 100644 tests/status_parsing/jsonfiles/13.2.0.2/STATUS.json create mode 100644 tests/status_parsing/jsonfiles/13.2.0.2/STATUS1.json create mode 100644 tests/status_parsing/jsonfiles/13.2.0.2/STATUS10.json create mode 100644 tests/status_parsing/jsonfiles/13.2.0.2/STATUS11.json create mode 100644 tests/status_parsing/jsonfiles/13.2.0.2/STATUS2.json create mode 100644 tests/status_parsing/jsonfiles/13.2.0.2/STATUS3.json create mode 100644 tests/status_parsing/jsonfiles/13.2.0.2/STATUS4.json create mode 100644 tests/status_parsing/jsonfiles/13.2.0.2/STATUS5.json create mode 100644 tests/status_parsing/jsonfiles/13.2.0.2/STATUS6.json create mode 100644 tests/status_parsing/jsonfiles/13.2.0.2/STATUS7.json create mode 100644 tests/status_parsing/jsonfiles/8.1.0.3/STATUS.json create mode 100644 tests/status_parsing/jsonfiles/8.1.0.3/STATUS1.json create mode 100644 tests/status_parsing/jsonfiles/8.1.0.3/STATUS10.json create mode 100644 tests/status_parsing/jsonfiles/8.1.0.3/STATUS11.json create mode 100644 tests/status_parsing/jsonfiles/8.1.0.3/STATUS2.json create mode 100644 tests/status_parsing/jsonfiles/8.1.0.3/STATUS3.json create mode 100644 tests/status_parsing/jsonfiles/8.1.0.3/STATUS4.json create mode 100644 tests/status_parsing/jsonfiles/8.1.0.3/STATUS5.json create mode 100644 tests/status_parsing/jsonfiles/8.1.0.3/STATUS6.json create mode 100644 tests/status_parsing/jsonfiles/8.1.0.3/STATUS7.json create mode 100644 tests/status_parsing/jsonfiles/8.5.1/STATUS.1.json create mode 100644 tests/status_parsing/jsonfiles/8.5.1/STATUS.2.json create mode 100644 tests/status_parsing/jsonfiles/8.5.1/STATUS.json create mode 100644 tests/status_parsing/jsonfiles/8.5.1/STATUS1.1.json create mode 100644 tests/status_parsing/jsonfiles/8.5.1/STATUS1.2.json create mode 100644 tests/status_parsing/jsonfiles/8.5.1/STATUS1.json create mode 100644 tests/status_parsing/jsonfiles/8.5.1/STATUS10.1.json create mode 100644 tests/status_parsing/jsonfiles/8.5.1/STATUS10.2.json create mode 100644 tests/status_parsing/jsonfiles/8.5.1/STATUS10.json create mode 100644 tests/status_parsing/jsonfiles/8.5.1/STATUS11.1.json create mode 100644 tests/status_parsing/jsonfiles/8.5.1/STATUS11.2.json create mode 100644 tests/status_parsing/jsonfiles/8.5.1/STATUS11.json create mode 100644 tests/status_parsing/jsonfiles/8.5.1/STATUS2.1.json create mode 100644 tests/status_parsing/jsonfiles/8.5.1/STATUS2.2.json create mode 100644 tests/status_parsing/jsonfiles/8.5.1/STATUS2.json create mode 100644 tests/status_parsing/jsonfiles/8.5.1/STATUS3.1.json create mode 100644 tests/status_parsing/jsonfiles/8.5.1/STATUS3.2.json create mode 100644 tests/status_parsing/jsonfiles/8.5.1/STATUS3.json create mode 100644 tests/status_parsing/jsonfiles/8.5.1/STATUS4.1.json create mode 100644 tests/status_parsing/jsonfiles/8.5.1/STATUS4.2.json create mode 100644 tests/status_parsing/jsonfiles/8.5.1/STATUS4.json create mode 100644 tests/status_parsing/jsonfiles/8.5.1/STATUS5.1.json create mode 100644 tests/status_parsing/jsonfiles/8.5.1/STATUS5.2.json create mode 100644 tests/status_parsing/jsonfiles/8.5.1/STATUS5.json create mode 100644 tests/status_parsing/jsonfiles/8.5.1/STATUS6.1.json create mode 100644 tests/status_parsing/jsonfiles/8.5.1/STATUS6.2.json create mode 100644 tests/status_parsing/jsonfiles/8.5.1/STATUS6.json create mode 100644 tests/status_parsing/jsonfiles/8.5.1/STATUS7.1.json create mode 100644 tests/status_parsing/jsonfiles/8.5.1/STATUS7.2.json create mode 100644 tests/status_parsing/jsonfiles/8.5.1/STATUS7.json create mode 100644 tests/status_parsing/jsonfiles/9.1.0/STATUS.json create mode 100644 tests/status_parsing/jsonfiles/9.1.0/STATUS1.json create mode 100644 tests/status_parsing/jsonfiles/9.1.0/STATUS10.json create mode 100644 tests/status_parsing/jsonfiles/9.1.0/STATUS11.json create mode 100644 tests/status_parsing/jsonfiles/9.1.0/STATUS2.json create mode 100644 tests/status_parsing/jsonfiles/9.1.0/STATUS3.json create mode 100644 tests/status_parsing/jsonfiles/9.1.0/STATUS4.json create mode 100644 tests/status_parsing/jsonfiles/9.1.0/STATUS5.json create mode 100644 tests/status_parsing/jsonfiles/9.1.0/STATUS6.json create mode 100644 tests/status_parsing/jsonfiles/9.1.0/STATUS7.json diff --git a/tests/status_parsing/jsonfiles/12.1.1.5/STATUS.json b/tests/status_parsing/jsonfiles/12.1.1.5/STATUS.json new file mode 100644 index 0000000..b87b3a6 --- /dev/null +++ b/tests/status_parsing/jsonfiles/12.1.1.5/STATUS.json @@ -0,0 +1,37 @@ +{ + "Status": { + "ButtonRetain": 0, + "ButtonTopic": "0", + "DeviceName": "PorchTasmota", + "FriendlyName": [ + "PorchTasmota", + "Tasmota2", + "Tasmota3" + ], + "InfoRetain": 0, + "LedMask": "FFFF", + "LedState": 1, + "Module": 0, + "Power": 2, + "PowerOnState": 3, + "PowerRetain": 1, + "SaveData": 1, + "SaveState": 1, + "SensorRetain": 0, + "StateRetain": 0, + "StatusRetain": 0, + "SwitchMode": [ + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0 + ], + "SwitchRetain": 0, + "SwitchTopic": "0", + "Topic": "porch" + } +} \ No newline at end of file diff --git a/tests/status_parsing/jsonfiles/12.1.1.5/STATUS1.json b/tests/status_parsing/jsonfiles/12.1.1.5/STATUS1.json new file mode 100644 index 0000000..180a305 --- /dev/null +++ b/tests/status_parsing/jsonfiles/12.1.1.5/STATUS1.json @@ -0,0 +1,17 @@ +{ + "StatusPRM": { + "BCResetTime": "2021-10-02T20:04:51", + "Baudrate": 115200, + "BootCount": 728, + "CfgHolder": 4617, + "GroupTopic": "tasmotas", + "OtaUrl": "http://ota.tasmota.com/tasmota/tasmota.bin", + "RestartReason": "Software/System restart", + "SaveAddress": "F9000", + "SaveCount": 12664, + "SerialConfig": "8N1", + "Sleep": 50, + "StartupUTC": "2024-07-24T15:06:41", + "Uptime": "51T01:54:34" + } +} \ No newline at end of file diff --git a/tests/status_parsing/jsonfiles/12.1.1.5/STATUS10.json b/tests/status_parsing/jsonfiles/12.1.1.5/STATUS10.json new file mode 100644 index 0000000..6af2d59 --- /dev/null +++ b/tests/status_parsing/jsonfiles/12.1.1.5/STATUS10.json @@ -0,0 +1,5 @@ +{ + "StatusSNS": { + "Time": "2024-09-13T19:01:15" + } +} \ No newline at end of file diff --git a/tests/status_parsing/jsonfiles/12.1.1.5/STATUS11.json b/tests/status_parsing/jsonfiles/12.1.1.5/STATUS11.json new file mode 100644 index 0000000..07b3349 --- /dev/null +++ b/tests/status_parsing/jsonfiles/12.1.1.5/STATUS11.json @@ -0,0 +1,26 @@ +{ + "StatusSTS": { + "Heap": 23, + "LoadAvg": 19, + "MqttCount": 3, + "POWER1": "OFF", + "POWER2": "ON", + "POWER3": "OFF", + "Sleep": 50, + "SleepMode": "Dynamic", + "Time": "2024-09-13T19:01:15", + "Uptime": "51T01:54:34", + "UptimeSec": 4413274, + "Wifi": { + "AP": 1, + "BSSId": "28:D1:27:DB:35:26", + "Channel": 1, + "Downtime": "0T00:00:08", + "LinkCount": 2, + "Mode": "11n", + "RSSI": 52, + "SSId": "WifiNet1", + "Signal": -74 + } + } +} \ No newline at end of file diff --git a/tests/status_parsing/jsonfiles/12.1.1.5/STATUS2.json b/tests/status_parsing/jsonfiles/12.1.1.5/STATUS2.json new file mode 100644 index 0000000..9b4a7dd --- /dev/null +++ b/tests/status_parsing/jsonfiles/12.1.1.5/STATUS2.json @@ -0,0 +1,12 @@ +{ + "StatusFWR": { + "Boot": 31, + "BuildDateTime": "2022-10-12T15:20:06", + "CR": "442/699", + "Core": "2_7_4_9", + "CpuFrequency": 80, + "Hardware": "ESP8266EX", + "SDK": "2.2.2-dev(38a443e)", + "Version": "12.1.1.5(tasmota)" + } +} \ No newline at end of file diff --git a/tests/status_parsing/jsonfiles/12.1.1.5/STATUS3.json b/tests/status_parsing/jsonfiles/12.1.1.5/STATUS3.json new file mode 100644 index 0000000..ec6632f --- /dev/null +++ b/tests/status_parsing/jsonfiles/12.1.1.5/STATUS3.json @@ -0,0 +1,24 @@ +{ + "StatusLOG": { + "LogHost": "", + "LogPort": 514, + "MqttLog": 0, + "Resolution": "558180C0", + "SSId": [ + "WifiNet1", + "WifiNet1" + ], + "SerialLog": 2, + "SetOption": [ + "00008029", + "2805C80001000600003C5A0A002800000000", + "000000A1", + "00006000", + "00004000", + "00000000" + ], + "SysLog": 0, + "TelePeriod": 300, + "WebLog": 2 + } +} \ No newline at end of file diff --git a/tests/status_parsing/jsonfiles/12.1.1.5/STATUS4.json b/tests/status_parsing/jsonfiles/12.1.1.5/STATUS4.json new file mode 100644 index 0000000..6562c9b --- /dev/null +++ b/tests/status_parsing/jsonfiles/12.1.1.5/STATUS4.json @@ -0,0 +1,26 @@ +{ + "StatusMEM": { + "Drivers": "1,2,3,4,5,6,7,8,9,10,12,16,18,19,20,21,22,24,26,27,29,30,35,37,45,62", + "Features": [ + "00000809", + "8F9AC787", + "04368001", + "000000CF", + "010013C0", + "C000F981", + "00004004", + "00001000", + "54000020", + "00000000" + ], + "FlashChipId": "1540C8", + "FlashFrequency": 40, + "FlashMode": "DOUT", + "FlashSize": 2048, + "Free": 376, + "Heap": 21, + "ProgramFlashSize": 1024, + "ProgramSize": 626, + "Sensors": "1,2,3,4,5,6" + } +} \ No newline at end of file diff --git a/tests/status_parsing/jsonfiles/12.1.1.5/STATUS5.json b/tests/status_parsing/jsonfiles/12.1.1.5/STATUS5.json new file mode 100644 index 0000000..61a4310 --- /dev/null +++ b/tests/status_parsing/jsonfiles/12.1.1.5/STATUS5.json @@ -0,0 +1,15 @@ +{ + "StatusNET": { + "DNSServer1": "192.168.1.142", + "DNSServer2": "0.0.0.0", + "Gateway": "192.168.1.142", + "HTTP_API": 1, + "Hostname": "porch-1076", + "IPAddress": "192.168.1.187", + "Mac": "2C:F4:32:3F:44:34", + "Subnetmask": "255.255.255.0", + "Webserver": 2, + "WifiConfig": 2, + "WifiPower": 17.0 + } +} \ No newline at end of file diff --git a/tests/status_parsing/jsonfiles/12.1.1.5/STATUS6.json b/tests/status_parsing/jsonfiles/12.1.1.5/STATUS6.json new file mode 100644 index 0000000..7407145 --- /dev/null +++ b/tests/status_parsing/jsonfiles/12.1.1.5/STATUS6.json @@ -0,0 +1,13 @@ +{ + "StatusMQT": { + "KEEPALIVE": 30, + "MAX_PACKET_SIZE": 1200, + "MqttClient": "DVES_3F4434", + "MqttClientMask": "DVES_%06X", + "MqttCount": 3, + "MqttHost": "192.168.1.230", + "MqttPort": 1883, + "MqttUser": "DVES_USER", + "SOCKET_TIMEOUT": 4 + } +} \ No newline at end of file diff --git a/tests/status_parsing/jsonfiles/12.1.1.5/STATUS7.json b/tests/status_parsing/jsonfiles/12.1.1.5/STATUS7.json new file mode 100644 index 0000000..8646f41 --- /dev/null +++ b/tests/status_parsing/jsonfiles/12.1.1.5/STATUS7.json @@ -0,0 +1,11 @@ +{ + "StatusTIM": { + "EndDST": "2024-10-27T02:00:00", + "Local": "2024-09-13T19:01:15", + "StartDST": "2024-03-24T02:00:00", + "Sunrise": "05:33", + "Sunset": "19:18", + "Timezone": 99, + "UTC": "2024-09-13T17:01:15" + } +} \ No newline at end of file diff --git a/tests/status_parsing/jsonfiles/12.4.0/STATUS.json b/tests/status_parsing/jsonfiles/12.4.0/STATUS.json new file mode 100644 index 0000000..675fd28 --- /dev/null +++ b/tests/status_parsing/jsonfiles/12.4.0/STATUS.json @@ -0,0 +1,55 @@ +{ + "Status": { + "ButtonRetain": 0, + "ButtonTopic": "0", + "DeviceName": "TasmotaOutlet5", + "FriendlyName": [ + "TasmotaOutlet5" + ], + "InfoRetain": 0, + "LedMask": "FFFF", + "LedState": 1, + "Module": 0, + "Power": 0, + "PowerOnState": 3, + "PowerRetain": 0, + "SaveData": 1, + "SaveState": 1, + "SensorRetain": 0, + "StateRetain": 0, + "StatusRetain": 0, + "SwitchMode": [ + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0 + ], + "SwitchRetain": 0, + "SwitchTopic": "0", + "Topic": "tasmota_outlet5" + } +} \ No newline at end of file diff --git a/tests/status_parsing/jsonfiles/12.4.0/STATUS1.json b/tests/status_parsing/jsonfiles/12.4.0/STATUS1.json new file mode 100644 index 0000000..5d4ea10 --- /dev/null +++ b/tests/status_parsing/jsonfiles/12.4.0/STATUS1.json @@ -0,0 +1,17 @@ +{ + "StatusPRM": { + "BCResetTime": "2023-12-28T19:08:44", + "Baudrate": 4800, + "BootCount": 13, + "CfgHolder": 4617, + "GroupTopic": "tasmotas", + "OtaUrl": "http://ota.tasmota.com/tasmota/release/tasmota-4M.bin.gz", + "RestartReason": "Power On", + "SaveAddress": "FB000", + "SaveCount": 559, + "SerialConfig": "8E1", + "Sleep": 50, + "StartupUTC": "2024-05-20T08:44:34", + "Uptime": "116T07:42:22" + } +} \ No newline at end of file diff --git a/tests/status_parsing/jsonfiles/12.4.0/STATUS10.json b/tests/status_parsing/jsonfiles/12.4.0/STATUS10.json new file mode 100644 index 0000000..3214fcf --- /dev/null +++ b/tests/status_parsing/jsonfiles/12.4.0/STATUS10.json @@ -0,0 +1,21 @@ +{ + "StatusSNS": { + "ANALOG": { + "Temperature": 25.3 + }, + "ENERGY": { + "ApparentPower": 0, + "Current": 0.0, + "Factor": 0.0, + "Power": 0, + "ReactivePower": 0, + "Today": 0.0, + "Total": 141.051, + "TotalStartTime": "2023-12-28T19:08:44", + "Voltage": 0, + "Yesterday": 0.0 + }, + "TempUnit": "C", + "Time": "2024-09-13T17:26:56" + } +} \ No newline at end of file diff --git a/tests/status_parsing/jsonfiles/12.4.0/STATUS11.json b/tests/status_parsing/jsonfiles/12.4.0/STATUS11.json new file mode 100644 index 0000000..8d20da9 --- /dev/null +++ b/tests/status_parsing/jsonfiles/12.4.0/STATUS11.json @@ -0,0 +1,24 @@ +{ + "StatusSTS": { + "Heap": 18, + "LoadAvg": 19, + "MqttCount": 8, + "POWER": "OFF", + "Sleep": 50, + "SleepMode": "Dynamic", + "Time": "2024-09-13T17:26:56", + "Uptime": "116T07:42:22", + "UptimeSec": 10050142, + "Wifi": { + "AP": 1, + "BSSId": "5C:E9:31:18:49:D4", + "Channel": 7, + "Downtime": "73T07:13:32", + "LinkCount": 5, + "Mode": "11n", + "RSSI": 52, + "SSId": "WifiNet", + "Signal": -74 + } + } +} \ No newline at end of file diff --git a/tests/status_parsing/jsonfiles/12.4.0/STATUS2.json b/tests/status_parsing/jsonfiles/12.4.0/STATUS2.json new file mode 100644 index 0000000..80dc52b --- /dev/null +++ b/tests/status_parsing/jsonfiles/12.4.0/STATUS2.json @@ -0,0 +1,12 @@ +{ + "StatusFWR": { + "Boot": 31, + "BuildDateTime": "2023-05-12T14:52:14", + "CR": "414/699", + "Core": "2_7_4_9", + "CpuFrequency": 80, + "Hardware": "ESP8266EX", + "SDK": "2.2.2-dev(38a443e)", + "Version": "12.4.0(tasmota)" + } +} \ No newline at end of file diff --git a/tests/status_parsing/jsonfiles/12.4.0/STATUS3.json b/tests/status_parsing/jsonfiles/12.4.0/STATUS3.json new file mode 100644 index 0000000..0bc49e0 --- /dev/null +++ b/tests/status_parsing/jsonfiles/12.4.0/STATUS3.json @@ -0,0 +1,24 @@ +{ + "StatusLOG": { + "LogHost": "", + "LogPort": 514, + "MqttLog": 0, + "Resolution": "558180C0", + "SSId": [ + "WifiNet", + "" + ], + "SerialLog": 0, + "SetOption": [ + "00008009", + "2805C80001000680003C5A0A192800000000", + "00000080", + "00006000", + "00004000", + "00000000" + ], + "SysLog": 0, + "TelePeriod": 300, + "WebLog": 2 + } +} \ No newline at end of file diff --git a/tests/status_parsing/jsonfiles/12.4.0/STATUS4.json b/tests/status_parsing/jsonfiles/12.4.0/STATUS4.json new file mode 100644 index 0000000..9991a30 --- /dev/null +++ b/tests/status_parsing/jsonfiles/12.4.0/STATUS4.json @@ -0,0 +1,26 @@ +{ + "StatusMEM": { + "Drivers": "1,2,3,4,5,6,7,8,9,10,12,16,18,19,20,21,22,24,26,27,29,30,35,37,38,45,50,62,126", + "Features": [ + "00000809", + "8F9AC78F", + "04368001", + "000000CF", + "010013C0", + "C000F981", + "00004084", + "00201000", + "54000020", + "00000080" + ], + "FlashChipId": "164068", + "FlashFrequency": 40, + "FlashMode": "DOUT", + "FlashSize": 4096, + "Free": 1340, + "Heap": 18, + "ProgramFlashSize": 4096, + "ProgramSize": 705, + "Sensors": "1,2,3,4,5,6" + } +} \ No newline at end of file diff --git a/tests/status_parsing/jsonfiles/12.4.0/STATUS5.json b/tests/status_parsing/jsonfiles/12.4.0/STATUS5.json new file mode 100644 index 0000000..7bd62ff --- /dev/null +++ b/tests/status_parsing/jsonfiles/12.4.0/STATUS5.json @@ -0,0 +1,15 @@ +{ + "StatusNET": { + "DNSServer1": "192.168.1.142", + "DNSServer2": "0.0.0.0", + "Gateway": "192.168.1.142", + "HTTP_API": 1, + "Hostname": "tasmota-outlet5-4287", + "IPAddress": "192.168.1.213", + "Mac": "C8:C9:A3:14:D0:BF", + "Subnetmask": "255.255.255.0", + "Webserver": 2, + "WifiConfig": 4, + "WifiPower": 17.0 + } +} \ No newline at end of file diff --git a/tests/status_parsing/jsonfiles/12.4.0/STATUS6.json b/tests/status_parsing/jsonfiles/12.4.0/STATUS6.json new file mode 100644 index 0000000..c214403 --- /dev/null +++ b/tests/status_parsing/jsonfiles/12.4.0/STATUS6.json @@ -0,0 +1,13 @@ +{ + "StatusMQT": { + "KEEPALIVE": 30, + "MAX_PACKET_SIZE": 1200, + "MqttClient": "DVES_14D0BF", + "MqttClientMask": "DVES_%06X", + "MqttCount": 8, + "MqttHost": "192.168.1.230", + "MqttPort": 1883, + "MqttUser": "DVES_USER", + "SOCKET_TIMEOUT": 4 + } +} \ No newline at end of file diff --git a/tests/status_parsing/jsonfiles/12.4.0/STATUS7.json b/tests/status_parsing/jsonfiles/12.4.0/STATUS7.json new file mode 100644 index 0000000..64ef954 --- /dev/null +++ b/tests/status_parsing/jsonfiles/12.4.0/STATUS7.json @@ -0,0 +1,11 @@ +{ + "StatusTIM": { + "EndDST": "2024-10-27T03:00:00", + "Local": "2024-09-13T17:26:56", + "StartDST": "2024-03-31T02:00:00", + "Sunrise": "06:24", + "Sunset": "19:06", + "Timezone": "+01:00", + "UTC": "2024-09-13T16:26:56" + } +} \ No newline at end of file diff --git a/tests/status_parsing/jsonfiles/12.4.0/STATUS9.json b/tests/status_parsing/jsonfiles/12.4.0/STATUS9.json new file mode 100644 index 0000000..8f6b5dd --- /dev/null +++ b/tests/status_parsing/jsonfiles/12.4.0/STATUS9.json @@ -0,0 +1,15 @@ +{ + "StatusPTH": { + "CurrentHigh": 0, + "CurrentLow": 0, + "PowerDelta": [ + 0, + 0, + 0 + ], + "PowerHigh": 0, + "PowerLow": 0, + "VoltageHigh": 0, + "VoltageLow": 0 + } +} \ No newline at end of file diff --git a/tests/status_parsing/jsonfiles/13.2.0.2/STATUS.json b/tests/status_parsing/jsonfiles/13.2.0.2/STATUS.json new file mode 100644 index 0000000..fc5619f --- /dev/null +++ b/tests/status_parsing/jsonfiles/13.2.0.2/STATUS.json @@ -0,0 +1,55 @@ +{ + "Status": { + "ButtonRetain": 0, + "ButtonTopic": "0", + "DeviceName": "Wyj\u015bcie \u015bwiat\u0142o", + "FriendlyName": [ + "Tasmota" + ], + "InfoRetain": 0, + "LedMask": "FFFF", + "LedState": 1, + "Module": 0, + "Power": 0, + "PowerOnState": 3, + "PowerRetain": 0, + "SaveData": 1, + "SaveState": 1, + "SensorRetain": 0, + "StateRetain": 0, + "StatusRetain": 0, + "SwitchMode": [ + 5, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0 + ], + "SwitchRetain": 0, + "SwitchTopic": "0", + "Topic": "wyjscie_swiatlo" + } +} \ No newline at end of file diff --git a/tests/status_parsing/jsonfiles/13.2.0.2/STATUS1.json b/tests/status_parsing/jsonfiles/13.2.0.2/STATUS1.json new file mode 100644 index 0000000..11320ca --- /dev/null +++ b/tests/status_parsing/jsonfiles/13.2.0.2/STATUS1.json @@ -0,0 +1,17 @@ +{ + "StatusPRM": { + "BCResetTime": "2023-11-16T20:53:46", + "Baudrate": 115200, + "BootCount": 13, + "CfgHolder": 4617, + "GroupTopic": "tasmotas", + "OtaUrl": "http://ota.tasmota.com/tasmota/release/tasmota.bin.gz", + "RestartReason": "External System", + "SaveAddress": "F5000", + "SaveCount": 3191, + "SerialConfig": "8N1", + "Sleep": 50, + "StartupUTC": "2024-03-15T11:40:13", + "Uptime": "184T01:12:45" + } +} \ No newline at end of file diff --git a/tests/status_parsing/jsonfiles/13.2.0.2/STATUS10.json b/tests/status_parsing/jsonfiles/13.2.0.2/STATUS10.json new file mode 100644 index 0000000..6be1b61 --- /dev/null +++ b/tests/status_parsing/jsonfiles/13.2.0.2/STATUS10.json @@ -0,0 +1,6 @@ +{ + "StatusSNS": { + "Switch1": "ON", + "Time": "2024-09-15T13:52:58" + } +} \ No newline at end of file diff --git a/tests/status_parsing/jsonfiles/13.2.0.2/STATUS11.json b/tests/status_parsing/jsonfiles/13.2.0.2/STATUS11.json new file mode 100644 index 0000000..9f802b6 --- /dev/null +++ b/tests/status_parsing/jsonfiles/13.2.0.2/STATUS11.json @@ -0,0 +1,24 @@ +{ + "StatusSTS": { + "Heap": 22, + "LoadAvg": 19, + "MqttCount": 23, + "POWER": "OFF", + "Sleep": 50, + "SleepMode": "Dynamic", + "Time": "2024-09-15T13:52:58", + "Uptime": "184T01:12:45", + "UptimeSec": 15901965, + "Wifi": { + "AP": 1, + "BSSId": "E6:8D:8C:AE:84:A4", + "Channel": 6, + "Downtime": "0T00:22:16", + "LinkCount": 7, + "Mode": "11n", + "RSSI": 92, + "SSId": "NznCoDk3McKgMzgy", + "Signal": -54 + } + } +} \ No newline at end of file diff --git a/tests/status_parsing/jsonfiles/13.2.0.2/STATUS2.json b/tests/status_parsing/jsonfiles/13.2.0.2/STATUS2.json new file mode 100644 index 0000000..e9ea2fc --- /dev/null +++ b/tests/status_parsing/jsonfiles/13.2.0.2/STATUS2.json @@ -0,0 +1,12 @@ +{ + "StatusFWR": { + "Boot": 31, + "BuildDateTime": "2023-11-16T09:28:14", + "CR": "382/699", + "Core": "2_7_4_9", + "CpuFrequency": 80, + "Hardware": "ESP8266EX", + "SDK": "2.2.2-dev(38a443e)", + "Version": "13.2.0.2(tasmota)" + } +} \ No newline at end of file diff --git a/tests/status_parsing/jsonfiles/13.2.0.2/STATUS3.json b/tests/status_parsing/jsonfiles/13.2.0.2/STATUS3.json new file mode 100644 index 0000000..1e5f5b7 --- /dev/null +++ b/tests/status_parsing/jsonfiles/13.2.0.2/STATUS3.json @@ -0,0 +1,24 @@ +{ + "StatusLOG": { + "LogHost": "", + "LogPort": 514, + "MqttLog": 0, + "Resolution": "558180C0", + "SSId": [ + "NznCoDk3McKgMzgy", + "" + ], + "SerialLog": 2, + "SetOption": [ + "00008009", + "0F05C80001000600003C5A0A192800000000", + "02000080", + "00006000", + "00004000", + "00000000" + ], + "SysLog": 0, + "TelePeriod": 300, + "WebLog": 2 + } +} \ No newline at end of file diff --git a/tests/status_parsing/jsonfiles/13.2.0.2/STATUS4.json b/tests/status_parsing/jsonfiles/13.2.0.2/STATUS4.json new file mode 100644 index 0000000..7adc785 --- /dev/null +++ b/tests/status_parsing/jsonfiles/13.2.0.2/STATUS4.json @@ -0,0 +1,28 @@ +{ + "StatusMEM": { + "Drivers": "1,2,3,4,5,6,7,8,9,10,12,16,18,19,20,21,22,24,26,27,29,30,35,37,45,62,68", + "Features": [ + "0809", + "8F9AC787", + "04368001", + "000000CF", + "010013C0", + "C000F981", + "00004004", + "00001000", + "54000020", + "00000080", + "00000000" + ], + "FlashChipId": "1540C8", + "FlashFrequency": 40, + "FlashMode": "DOUT", + "FlashSize": 2048, + "Free": 368, + "Heap": 22, + "I2CDriver": "7", + "ProgramFlashSize": 1024, + "ProgramSize": 635, + "Sensors": "1,2,3,4,5,6" + } +} \ No newline at end of file diff --git a/tests/status_parsing/jsonfiles/13.2.0.2/STATUS5.json b/tests/status_parsing/jsonfiles/13.2.0.2/STATUS5.json new file mode 100644 index 0000000..4ce0fd9 --- /dev/null +++ b/tests/status_parsing/jsonfiles/13.2.0.2/STATUS5.json @@ -0,0 +1,15 @@ +{ + "StatusNET": { + "DNSServer1": "10.2.30.254", + "DNSServer2": "0.0.0.0", + "Gateway": "10.2.30.254", + "HTTP_API": 1, + "Hostname": "wyjscie-swiatlo-2927", + "IPAddress": "10.2.30.60", + "Mac": "EC:FA:BC:4B:8B:6F", + "Subnetmask": "255.255.255.0", + "Webserver": 2, + "WifiConfig": 4, + "WifiPower": 17.0 + } +} \ No newline at end of file diff --git a/tests/status_parsing/jsonfiles/13.2.0.2/STATUS6.json b/tests/status_parsing/jsonfiles/13.2.0.2/STATUS6.json new file mode 100644 index 0000000..c3a987c --- /dev/null +++ b/tests/status_parsing/jsonfiles/13.2.0.2/STATUS6.json @@ -0,0 +1,13 @@ +{ + "StatusMQT": { + "KEEPALIVE": 30, + "MAX_PACKET_SIZE": 1200, + "MqttClient": "DVES_4B8B6F", + "MqttClientMask": "DVES_%06X", + "MqttCount": 23, + "MqttHost": "mqtt.iot", + "MqttPort": 1883, + "MqttUser": "DVES_USER", + "SOCKET_TIMEOUT": 4 + } +} \ No newline at end of file diff --git a/tests/status_parsing/jsonfiles/13.2.0.2/STATUS7.json b/tests/status_parsing/jsonfiles/13.2.0.2/STATUS7.json new file mode 100644 index 0000000..c83841e --- /dev/null +++ b/tests/status_parsing/jsonfiles/13.2.0.2/STATUS7.json @@ -0,0 +1,11 @@ +{ + "StatusTIM": { + "EndDST": "2024-10-27T03:00:00", + "Local": "2024-09-15T13:52:58", + "StartDST": "2024-03-31T02:00:00", + "Sunrise": "06:27", + "Sunset": "19:02", + "Timezone": "+01:00", + "UTC": "2024-09-15T12:52:58" + } +} \ No newline at end of file diff --git a/tests/status_parsing/jsonfiles/8.1.0.3/STATUS.json b/tests/status_parsing/jsonfiles/8.1.0.3/STATUS.json new file mode 100644 index 0000000..db383f7 --- /dev/null +++ b/tests/status_parsing/jsonfiles/8.1.0.3/STATUS.json @@ -0,0 +1,33 @@ +{ + "Status": { + "Module": 0, + "FriendlyName": [ + "Chłopcy Światło", + "Sonoff2", + "Sonoff3" + ], + "Topic": "ds102_chlopcy", + "ButtonTopic": "", + "Power": 1, + "PowerOnState": 3, + "LedState": 1, + "LedMask": "0000", + "SaveData": 1, + "SaveState": 1, + "SwitchTopic": "0", + "SwitchMode": [ + 5, + 5, + 5, + 0, + 0, + 0, + 0, + 0 + ], + "ButtonRetain": 0, + "SwitchRetain": 0, + "SensorRetain": 0, + "PowerRetain": 0 + } +} \ No newline at end of file diff --git a/tests/status_parsing/jsonfiles/8.1.0.3/STATUS1.json b/tests/status_parsing/jsonfiles/8.1.0.3/STATUS1.json new file mode 100644 index 0000000..5351714 --- /dev/null +++ b/tests/status_parsing/jsonfiles/8.1.0.3/STATUS1.json @@ -0,0 +1,16 @@ +{ + "StatusPRM": { + "Baudrate": 115200, + "SerialConfig": "8N1", + "GroupTopic": "swiatlo", + "OtaUrl": "http://ota.tasmota.com/tasmota/release-8.5.1/tasmota-lite.bin", + "RestartReason": "Software/System restart", + "Uptime": "17T12:56:51", + "StartupUTC": "2024-08-28T23:18:44", + "Sleep": 50, + "CfgHolder": 4617, + "BootCount": 1793, + "SaveCount": 16456, + "SaveAddress": "FB000" + } +} \ No newline at end of file diff --git a/tests/status_parsing/jsonfiles/8.1.0.3/STATUS10.json b/tests/status_parsing/jsonfiles/8.1.0.3/STATUS10.json new file mode 100644 index 0000000..c6d236d --- /dev/null +++ b/tests/status_parsing/jsonfiles/8.1.0.3/STATUS10.json @@ -0,0 +1,8 @@ +{ + "StatusSNS": { + "Time": "2024-09-15T13:15:35", + "Switch1": "ON", + "Switch2": "ON", + "Switch3": "ON" + } +} \ No newline at end of file diff --git a/tests/status_parsing/jsonfiles/8.1.0.3/STATUS11.json b/tests/status_parsing/jsonfiles/8.1.0.3/STATUS11.json new file mode 100644 index 0000000..254eb2f --- /dev/null +++ b/tests/status_parsing/jsonfiles/8.1.0.3/STATUS11.json @@ -0,0 +1,25 @@ +{ + "StatusSTS": { + "Time": "2024-09-15T13:15:35", + "Uptime": "17T12:56:51", + "UptimeSec": 1515411, + "Heap": 25, + "SleepMode": "Dynamic", + "Sleep": 50, + "LoadAvg": 19, + "MqttCount": 2, + "POWER1": "ON", + "POWER2": "OFF", + "POWER3": "OFF", + "Wifi": { + "AP": 1, + "SSId": "NznCoDk3McKgMzgy", + "BSSId": "0A:55:31:5F:EB:B5", + "Channel": 6, + "RSSI": 72, + "Signal": -64, + "LinkCount": 2, + "Downtime": "0T00:00:09" + } + } +} \ No newline at end of file diff --git a/tests/status_parsing/jsonfiles/8.1.0.3/STATUS2.json b/tests/status_parsing/jsonfiles/8.1.0.3/STATUS2.json new file mode 100644 index 0000000..d6192ad --- /dev/null +++ b/tests/status_parsing/jsonfiles/8.1.0.3/STATUS2.json @@ -0,0 +1,11 @@ +{ + "StatusFWR": { + "Version": "8.1.0.3(e7b061c-tasmota)", + "BuildDateTime": "2020-01-11T17:00:11", + "Boot": 31, + "Core": "2_6_1", + "SDK": "2.2.2-dev(38a443e)", + "Hardware": "ESP8266EX", + "CR": "351/699" + } +} diff --git a/tests/status_parsing/jsonfiles/8.1.0.3/STATUS3.json b/tests/status_parsing/jsonfiles/8.1.0.3/STATUS3.json new file mode 100644 index 0000000..ff1cf67 --- /dev/null +++ b/tests/status_parsing/jsonfiles/8.1.0.3/STATUS3.json @@ -0,0 +1,22 @@ +{ + "StatusLOG": { + "SerialLog": 2, + "WebLog": 2, + "MqttLog": 0, + "SysLog": 0, + "LogHost": "", + "LogPort": 514, + "SSId": [ + "NznCoDk3McKgMzgy", + "" + ], + "TelePeriod": 60, + "Resolution": "558180C0", + "SetOption": [ + "0000A009", + "0505C8000100060000005AFF000000000000", + "02808001", + "00000000" + ] + } +} \ No newline at end of file diff --git a/tests/status_parsing/jsonfiles/8.1.0.3/STATUS4.json b/tests/status_parsing/jsonfiles/8.1.0.3/STATUS4.json new file mode 100644 index 0000000..6c80d1b --- /dev/null +++ b/tests/status_parsing/jsonfiles/8.1.0.3/STATUS4.json @@ -0,0 +1,21 @@ +{ + "StatusMEM": { + "ProgramSize": 568, + "Free": 432, + "Heap": 25, + "ProgramFlashSize": 1024, + "FlashSize": 1024, + "FlashChipId": "1440C8", + "FlashMode": 3, + "Features": [ + "00000809", + "8FDAE397", + "043683A0", + "22B617CD", + "01001BC0", + "00007881" + ], + "Drivers": "1,2,3,4,5,6,7,8,9,10,12,16,18,19,20,21,22,24,26,29", + "Sensors": "1,2,3,4,5,6,7,8,9,10,14,15,17,18,20,22,26,34" + } +} \ No newline at end of file diff --git a/tests/status_parsing/jsonfiles/8.1.0.3/STATUS5.json b/tests/status_parsing/jsonfiles/8.1.0.3/STATUS5.json new file mode 100644 index 0000000..8e62eec --- /dev/null +++ b/tests/status_parsing/jsonfiles/8.1.0.3/STATUS5.json @@ -0,0 +1,13 @@ +{ + "StatusNET": { + "Hostname": "ds102_chlopcy-4858", + "IPAddress": "10.2.30.40", + "Gateway": "10.2.30.254", + "Subnetmask": "255.255.255.0", + "DNSServer": "10.2.30.254", + "Mac": "80:7D:3A:60:92:FA", + "Webserver": 2, + "WifiConfig": 2, + "WifiPower": 17.0 + } +} \ No newline at end of file diff --git a/tests/status_parsing/jsonfiles/8.1.0.3/STATUS6.json b/tests/status_parsing/jsonfiles/8.1.0.3/STATUS6.json new file mode 100644 index 0000000..cb11a85 --- /dev/null +++ b/tests/status_parsing/jsonfiles/8.1.0.3/STATUS6.json @@ -0,0 +1,12 @@ +{ + "StatusMQT": { + "MqttHost": "mqtt.iot", + "MqttPort": 1883, + "MqttClientMask": "DVES_%06X", + "MqttClient": "DVES_6092FA", + "MqttUser": "DVES_USER", + "MqttCount": 2, + "MAX_PACKET_SIZE": 1000, + "KEEPALIVE": 30 + } +} \ No newline at end of file diff --git a/tests/status_parsing/jsonfiles/8.1.0.3/STATUS7.json b/tests/status_parsing/jsonfiles/8.1.0.3/STATUS7.json new file mode 100644 index 0000000..1de40ec --- /dev/null +++ b/tests/status_parsing/jsonfiles/8.1.0.3/STATUS7.json @@ -0,0 +1,11 @@ +{ + "StatusTIM": { + "UTC": "Sun Sep 15 12:15:35 2024", + "Local": "Sun Sep 15 13:15:35 2024", + "StartDST": "Sun Mar 31 02:00:00 2024", + "EndDST": "Sun Oct 27 03:00:00 2024", + "Timezone": "+01:00", + "Sunrise": "06:27", + "Sunset": "19:02" + } +} \ No newline at end of file diff --git a/tests/status_parsing/jsonfiles/8.5.1/STATUS.1.json b/tests/status_parsing/jsonfiles/8.5.1/STATUS.1.json new file mode 100644 index 0000000..e4c7e44 --- /dev/null +++ b/tests/status_parsing/jsonfiles/8.5.1/STATUS.1.json @@ -0,0 +1,33 @@ +{ + "Status": { + "ButtonRetain": 0, + "ButtonTopic": "0", + "DeviceName": "Kuchnia \u015awiat\u0142o", + "FriendlyName": [ + "Kuchnia \u015awiat\u0142o", + "Sonoff2" + ], + "LedMask": "FFFF", + "LedState": 0, + "Module": 0, + "Power": 0, + "PowerOnState": 3, + "PowerRetain": 0, + "SaveData": 1, + "SaveState": 1, + "SensorRetain": 0, + "SwitchMode": [ + 5, + 5, + 0, + 0, + 0, + 0, + 0, + 0 + ], + "SwitchRetain": 0, + "SwitchTopic": "", + "Topic": "ds102_kuchnia" + } +} \ No newline at end of file diff --git a/tests/status_parsing/jsonfiles/8.5.1/STATUS.2.json b/tests/status_parsing/jsonfiles/8.5.1/STATUS.2.json new file mode 100644 index 0000000..0aaf5f5 --- /dev/null +++ b/tests/status_parsing/jsonfiles/8.5.1/STATUS.2.json @@ -0,0 +1,32 @@ +{ + "Status": { + "ButtonRetain": 0, + "ButtonTopic": "0", + "DeviceName": "\u0141azienka H801", + "FriendlyName": [ + "\u0141azienka H801" + ], + "LedMask": "FFFF", + "LedState": 1, + "Module": 0, + "Power": 0, + "PowerOnState": 3, + "PowerRetain": 0, + "SaveData": 1, + "SaveState": 1, + "SensorRetain": 0, + "SwitchMode": [ + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0 + ], + "SwitchRetain": 0, + "SwitchTopic": "0", + "Topic": "h801_lazienka" + } +} \ No newline at end of file diff --git a/tests/status_parsing/jsonfiles/8.5.1/STATUS.json b/tests/status_parsing/jsonfiles/8.5.1/STATUS.json new file mode 100644 index 0000000..5172e0d --- /dev/null +++ b/tests/status_parsing/jsonfiles/8.5.1/STATUS.json @@ -0,0 +1,32 @@ +{ + "Status": { + "ButtonRetain": 0, + "ButtonTopic": "0", + "DeviceName": "Kuchnia Okap", + "FriendlyName": [ + "Kuchnia Okap" + ], + "LedMask": "FFFF", + "LedState": 1, + "Module": 49, + "Power": 0, + "PowerOnState": 3, + "PowerRetain": 0, + "SaveData": 1, + "SaveState": 1, + "SensorRetain": 0, + "SwitchMode": [ + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0 + ], + "SwitchRetain": 0, + "SwitchTopic": "0", + "Topic": "neo_okap" + } +} \ No newline at end of file diff --git a/tests/status_parsing/jsonfiles/8.5.1/STATUS1.1.json b/tests/status_parsing/jsonfiles/8.5.1/STATUS1.1.json new file mode 100644 index 0000000..fe2e9f9 --- /dev/null +++ b/tests/status_parsing/jsonfiles/8.5.1/STATUS1.1.json @@ -0,0 +1,17 @@ +{ + "StatusPRM": { + "BCResetTime": "2022-12-06T17:06:47", + "Baudrate": 115200, + "BootCount": 40, + "CfgHolder": 4617, + "GroupTopic": "tasmotas", + "OtaUrl": "http://ota.tasmota.com/tasmota/release-8.5.1/tasmota-lite.bin", + "RestartReason": "External System", + "SaveAddress": "FA000", + "SaveCount": 31879, + "SerialConfig": "8N1", + "Sleep": 50, + "StartupUTC": "2024-03-15T11:40:13", + "Uptime": "184T01:08:28" + } +} \ No newline at end of file diff --git a/tests/status_parsing/jsonfiles/8.5.1/STATUS1.2.json b/tests/status_parsing/jsonfiles/8.5.1/STATUS1.2.json new file mode 100644 index 0000000..40e859b --- /dev/null +++ b/tests/status_parsing/jsonfiles/8.5.1/STATUS1.2.json @@ -0,0 +1,17 @@ +{ + "StatusPRM": { + "BCResetTime": "2020-06-05T21:45:02", + "Baudrate": 115200, + "BootCount": 38, + "CfgHolder": 4617, + "GroupTopic": "tasmotas", + "OtaUrl": "http://ota.tasmota.com/tasmota/release-8.5.1/tasmota-lite.bin", + "RestartReason": "Hardware Watchdog", + "SaveAddress": "F4000", + "SaveCount": 2998, + "SerialConfig": "8N1", + "Sleep": 50, + "StartupUTC": "2024-06-25T22:33:36", + "Uptime": "81T14:18:09" + } +} \ No newline at end of file diff --git a/tests/status_parsing/jsonfiles/8.5.1/STATUS1.json b/tests/status_parsing/jsonfiles/8.5.1/STATUS1.json new file mode 100644 index 0000000..966193e --- /dev/null +++ b/tests/status_parsing/jsonfiles/8.5.1/STATUS1.json @@ -0,0 +1,17 @@ +{ + "StatusPRM": { + "BCResetTime": "2020-06-18T22:07:13", + "Baudrate": 115200, + "BootCount": 47, + "CfgHolder": 4617, + "GroupTopic": "tasmotas", + "OtaUrl": "http://ota.tasmota.com/tasmota/release-8.5.1/tasmota-lite.bin", + "RestartReason": "Software/System restart", + "SaveAddress": "F9000", + "SaveCount": 8010, + "SerialConfig": "8N1", + "Sleep": 50, + "StartupUTC": "2024-01-03T23:47:29", + "Uptime": "255T12:38:28" + } +} \ No newline at end of file diff --git a/tests/status_parsing/jsonfiles/8.5.1/STATUS10.1.json b/tests/status_parsing/jsonfiles/8.5.1/STATUS10.1.json new file mode 100644 index 0000000..be07df9 --- /dev/null +++ b/tests/status_parsing/jsonfiles/8.5.1/STATUS10.1.json @@ -0,0 +1,7 @@ +{ + "StatusSNS": { + "Switch1": "ON", + "Switch2": "ON", + "Time": "2024-09-15T13:48:41" + } +} \ No newline at end of file diff --git a/tests/status_parsing/jsonfiles/8.5.1/STATUS10.2.json b/tests/status_parsing/jsonfiles/8.5.1/STATUS10.2.json new file mode 100644 index 0000000..1b9279a --- /dev/null +++ b/tests/status_parsing/jsonfiles/8.5.1/STATUS10.2.json @@ -0,0 +1,5 @@ +{ + "StatusSNS": { + "Time": "2024-09-15T13:51:45" + } +} \ No newline at end of file diff --git a/tests/status_parsing/jsonfiles/8.5.1/STATUS10.json b/tests/status_parsing/jsonfiles/8.5.1/STATUS10.json new file mode 100644 index 0000000..3b74169 --- /dev/null +++ b/tests/status_parsing/jsonfiles/8.5.1/STATUS10.json @@ -0,0 +1,5 @@ +{ + "StatusSNS": { + "Time": "2024-09-15T13:25:57" + } +} \ No newline at end of file diff --git a/tests/status_parsing/jsonfiles/8.5.1/STATUS11.1.json b/tests/status_parsing/jsonfiles/8.5.1/STATUS11.1.json new file mode 100644 index 0000000..27dfa88 --- /dev/null +++ b/tests/status_parsing/jsonfiles/8.5.1/STATUS11.1.json @@ -0,0 +1,25 @@ +{ + "StatusSTS": { + "Heap": 27, + "LoadAvg": 19, + "MqttCount": 21, + "POWER1": "OFF", + "POWER2": "OFF", + "Sleep": 50, + "SleepMode": "Dynamic", + "Time": "2024-09-15T13:48:41", + "Uptime": "184T01:08:28", + "UptimeSec": 15901708, + "Vcc": 3.438, + "Wifi": { + "AP": 1, + "BSSId": "E6:8D:8C:AE:84:A4", + "Channel": 6, + "Downtime": "0T00:22:20", + "LinkCount": 5, + "RSSI": 92, + "SSId": "NznCoDk3McKgMzgy", + "Signal": -54 + } + } +} \ No newline at end of file diff --git a/tests/status_parsing/jsonfiles/8.5.1/STATUS11.2.json b/tests/status_parsing/jsonfiles/8.5.1/STATUS11.2.json new file mode 100644 index 0000000..4e60df8 --- /dev/null +++ b/tests/status_parsing/jsonfiles/8.5.1/STATUS11.2.json @@ -0,0 +1,36 @@ +{ + "StatusSTS": { + "Channel": [ + 40, + 100, + 0 + ], + "Color": "66FF00", + "Dimmer": 100, + "Fade": "ON", + "HSBColor": "96,100,100", + "Heap": 27, + "LedTable": "ON", + "LoadAvg": 19, + "MqttCount": 77, + "POWER": "OFF", + "Scheme": 4, + "Sleep": 50, + "SleepMode": "Dynamic", + "Speed": 3, + "Time": "2024-09-15T13:51:45", + "Uptime": "81T14:18:09", + "UptimeSec": 7049889, + "Vcc": 3.538, + "Wifi": { + "AP": 1, + "BSSId": "0A:55:31:5F:EB:B5", + "Channel": 6, + "Downtime": "0T00:12:08", + "LinkCount": 68, + "RSSI": 54, + "SSId": "NznCoDk3McKgMzgy", + "Signal": -73 + } + } +} \ No newline at end of file diff --git a/tests/status_parsing/jsonfiles/8.5.1/STATUS11.json b/tests/status_parsing/jsonfiles/8.5.1/STATUS11.json new file mode 100644 index 0000000..eb39ba9 --- /dev/null +++ b/tests/status_parsing/jsonfiles/8.5.1/STATUS11.json @@ -0,0 +1,24 @@ +{ + "StatusSTS": { + "Heap": 25, + "LoadAvg": 19, + "MqttCount": 920, + "POWER": "OFF", + "Sleep": 50, + "SleepMode": "Dynamic", + "Time": "2024-09-15T13:25:57", + "Uptime": "255T12:38:28", + "UptimeSec": 22077508, + "Vcc": 3.526, + "Wifi": { + "AP": 1, + "BSSId": "E6:8D:8C:AE:84:A4", + "Channel": 6, + "Downtime": "0T10:33:49", + "LinkCount": 911, + "RSSI": 80, + "SSId": "NznCoDk3McKgMzgy", + "Signal": -60 + } + } +} \ No newline at end of file diff --git a/tests/status_parsing/jsonfiles/8.5.1/STATUS2.1.json b/tests/status_parsing/jsonfiles/8.5.1/STATUS2.1.json new file mode 100644 index 0000000..d1fa8e4 --- /dev/null +++ b/tests/status_parsing/jsonfiles/8.5.1/STATUS2.1.json @@ -0,0 +1,12 @@ +{ + "StatusFWR": { + "Boot": 31, + "BuildDateTime": "2020-10-02T10:10:35", + "CR": "396/699", + "Core": "2_7_4_1", + "CpuFrequency": 80, + "Hardware": "ESP8266EX", + "SDK": "2.2.2-dev(38a443e)", + "Version": "8.5.1(lite)" + } +} \ No newline at end of file diff --git a/tests/status_parsing/jsonfiles/8.5.1/STATUS2.2.json b/tests/status_parsing/jsonfiles/8.5.1/STATUS2.2.json new file mode 100644 index 0000000..529956f --- /dev/null +++ b/tests/status_parsing/jsonfiles/8.5.1/STATUS2.2.json @@ -0,0 +1,12 @@ +{ + "StatusFWR": { + "Boot": 31, + "BuildDateTime": "2020-10-02T10:10:35", + "CR": "425/699", + "Core": "2_7_4_1", + "CpuFrequency": 80, + "Hardware": "ESP8266EX", + "SDK": "2.2.2-dev(38a443e)", + "Version": "8.5.1(lite)" + } +} \ No newline at end of file diff --git a/tests/status_parsing/jsonfiles/8.5.1/STATUS2.json b/tests/status_parsing/jsonfiles/8.5.1/STATUS2.json new file mode 100644 index 0000000..3c2f7fa --- /dev/null +++ b/tests/status_parsing/jsonfiles/8.5.1/STATUS2.json @@ -0,0 +1,12 @@ +{ + "StatusFWR": { + "Boot": 31, + "BuildDateTime": "2020-10-02T10:10:35", + "CR": "382/699", + "Core": "2_7_4_1", + "CpuFrequency": 80, + "Hardware": "ESP8266EX", + "SDK": "2.2.2-dev(38a443e)", + "Version": "8.5.1(lite)" + } +} \ No newline at end of file diff --git a/tests/status_parsing/jsonfiles/8.5.1/STATUS3.1.json b/tests/status_parsing/jsonfiles/8.5.1/STATUS3.1.json new file mode 100644 index 0000000..a2ce1e7 --- /dev/null +++ b/tests/status_parsing/jsonfiles/8.5.1/STATUS3.1.json @@ -0,0 +1,23 @@ +{ + "StatusLOG": { + "LogHost": "", + "LogPort": 514, + "MqttLog": 0, + "Resolution": "558180C0", + "SSId": [ + "NznCoDk3McKgMzgy", + "" + ], + "SerialLog": 2, + "SetOption": [ + "00008009", + "0505C8000100060000005AFF000000000000", + "02000001", + "00006000", + "00000000" + ], + "SysLog": 0, + "TelePeriod": 60, + "WebLog": 2 + } +} \ No newline at end of file diff --git a/tests/status_parsing/jsonfiles/8.5.1/STATUS3.2.json b/tests/status_parsing/jsonfiles/8.5.1/STATUS3.2.json new file mode 100644 index 0000000..cfa7158 --- /dev/null +++ b/tests/status_parsing/jsonfiles/8.5.1/STATUS3.2.json @@ -0,0 +1,23 @@ +{ + "StatusLOG": { + "LogHost": "", + "LogPort": 514, + "MqttLog": 0, + "Resolution": "558180C0", + "SSId": [ + "NznCoDk3McKgMzgy", + "" + ], + "SerialLog": 2, + "SetOption": [ + "00008009", + "2805C8000100060000005A00000000000000", + "02000001", + "00006200", + "00000000" + ], + "SysLog": 0, + "TelePeriod": 300, + "WebLog": 2 + } +} \ No newline at end of file diff --git a/tests/status_parsing/jsonfiles/8.5.1/STATUS3.json b/tests/status_parsing/jsonfiles/8.5.1/STATUS3.json new file mode 100644 index 0000000..bfd6a42 --- /dev/null +++ b/tests/status_parsing/jsonfiles/8.5.1/STATUS3.json @@ -0,0 +1,23 @@ +{ + "StatusLOG": { + "LogHost": "", + "LogPort": 514, + "MqttLog": 0, + "Resolution": "558180C0", + "SSId": [ + "NznCoDk3McKgMzgy", + "" + ], + "SerialLog": 2, + "SetOption": [ + "00008009", + "2805C8000100060000005A00000000000000", + "02008001", + "00006000", + "00000000" + ], + "SysLog": 0, + "TelePeriod": 300, + "WebLog": 2 + } +} \ No newline at end of file diff --git a/tests/status_parsing/jsonfiles/8.5.1/STATUS4.1.json b/tests/status_parsing/jsonfiles/8.5.1/STATUS4.1.json new file mode 100644 index 0000000..0d561f9 --- /dev/null +++ b/tests/status_parsing/jsonfiles/8.5.1/STATUS4.1.json @@ -0,0 +1,24 @@ +{ + "StatusMEM": { + "Drivers": "1,2,3,4,9,10,16,20,21,37", + "Features": [ + "00000809", + "8F000783", + "04108001", + "00000006", + "010001C0", + "00000000", + "00004004", + "00000000" + ], + "FlashChipId": "1440C8", + "FlashFrequency": 40, + "FlashMode": 3, + "FlashSize": 1024, + "Free": 528, + "Heap": 27, + "ProgramFlashSize": 1024, + "ProgramSize": 473, + "Sensors": "3" + } +} \ No newline at end of file diff --git a/tests/status_parsing/jsonfiles/8.5.1/STATUS4.2.json b/tests/status_parsing/jsonfiles/8.5.1/STATUS4.2.json new file mode 100644 index 0000000..0d561f9 --- /dev/null +++ b/tests/status_parsing/jsonfiles/8.5.1/STATUS4.2.json @@ -0,0 +1,24 @@ +{ + "StatusMEM": { + "Drivers": "1,2,3,4,9,10,16,20,21,37", + "Features": [ + "00000809", + "8F000783", + "04108001", + "00000006", + "010001C0", + "00000000", + "00004004", + "00000000" + ], + "FlashChipId": "1440C8", + "FlashFrequency": 40, + "FlashMode": 3, + "FlashSize": 1024, + "Free": 528, + "Heap": 27, + "ProgramFlashSize": 1024, + "ProgramSize": 473, + "Sensors": "3" + } +} \ No newline at end of file diff --git a/tests/status_parsing/jsonfiles/8.5.1/STATUS4.json b/tests/status_parsing/jsonfiles/8.5.1/STATUS4.json new file mode 100644 index 0000000..04d8a92 --- /dev/null +++ b/tests/status_parsing/jsonfiles/8.5.1/STATUS4.json @@ -0,0 +1,24 @@ +{ + "StatusMEM": { + "Drivers": "1,2,3,4,9,10,16,20,21,37", + "Features": [ + "00000809", + "8F000783", + "04108001", + "00000006", + "010001C0", + "00000000", + "00004004", + "00000000" + ], + "FlashChipId": "146085", + "FlashFrequency": 40, + "FlashMode": 3, + "FlashSize": 1024, + "Free": 528, + "Heap": 25, + "ProgramFlashSize": 1024, + "ProgramSize": 473, + "Sensors": "3" + } +} \ No newline at end of file diff --git a/tests/status_parsing/jsonfiles/8.5.1/STATUS5.1.json b/tests/status_parsing/jsonfiles/8.5.1/STATUS5.1.json new file mode 100644 index 0000000..95e4b95 --- /dev/null +++ b/tests/status_parsing/jsonfiles/8.5.1/STATUS5.1.json @@ -0,0 +1,13 @@ +{ + "StatusNET": { + "DNSServer": "10.2.30.254", + "Gateway": "10.2.30.254", + "Hostname": "ds102_kuchnia-8070", + "IPAddress": "10.2.30.20", + "Mac": "A4:CF:12:A3:5F:86", + "Subnetmask": "255.255.255.0", + "Webserver": 2, + "WifiConfig": 4, + "WifiPower": 17.0 + } +} \ No newline at end of file diff --git a/tests/status_parsing/jsonfiles/8.5.1/STATUS5.2.json b/tests/status_parsing/jsonfiles/8.5.1/STATUS5.2.json new file mode 100644 index 0000000..5dc898e --- /dev/null +++ b/tests/status_parsing/jsonfiles/8.5.1/STATUS5.2.json @@ -0,0 +1,13 @@ +{ + "StatusNET": { + "DNSServer": "10.2.30.254", + "Gateway": "10.2.30.254", + "Hostname": "h801_lazienka-7004", + "IPAddress": "10.2.30.31", + "Mac": "80:7D:3A:33:BB:5C", + "Subnetmask": "255.255.255.0", + "Webserver": 2, + "WifiConfig": 4, + "WifiPower": 17.0 + } +} \ No newline at end of file diff --git a/tests/status_parsing/jsonfiles/8.5.1/STATUS5.json b/tests/status_parsing/jsonfiles/8.5.1/STATUS5.json new file mode 100644 index 0000000..0c22100 --- /dev/null +++ b/tests/status_parsing/jsonfiles/8.5.1/STATUS5.json @@ -0,0 +1,13 @@ +{ + "StatusNET": { + "DNSServer": "10.2.30.254", + "Gateway": "10.2.30.254", + "Hostname": "neo_okap-6502", + "IPAddress": "10.2.30.21", + "Mac": "CC:50:E3:C8:F9:66", + "Subnetmask": "255.255.255.0", + "Webserver": 2, + "WifiConfig": 4, + "WifiPower": 17.0 + } +} \ No newline at end of file diff --git a/tests/status_parsing/jsonfiles/8.5.1/STATUS6.1.json b/tests/status_parsing/jsonfiles/8.5.1/STATUS6.1.json new file mode 100644 index 0000000..6301bd6 --- /dev/null +++ b/tests/status_parsing/jsonfiles/8.5.1/STATUS6.1.json @@ -0,0 +1,12 @@ +{ + "StatusMQT": { + "KEEPALIVE": 30, + "MAX_PACKET_SIZE": 1200, + "MqttClient": "DVES_A35F86", + "MqttClientMask": "DVES_%06X", + "MqttCount": 21, + "MqttHost": "mqtt.iot", + "MqttPort": 1883, + "MqttUser": "DVES_USER" + } +} \ No newline at end of file diff --git a/tests/status_parsing/jsonfiles/8.5.1/STATUS6.2.json b/tests/status_parsing/jsonfiles/8.5.1/STATUS6.2.json new file mode 100644 index 0000000..eedf6d9 --- /dev/null +++ b/tests/status_parsing/jsonfiles/8.5.1/STATUS6.2.json @@ -0,0 +1,12 @@ +{ + "StatusMQT": { + "KEEPALIVE": 30, + "MAX_PACKET_SIZE": 1200, + "MqttClient": "DVES_33BB5C", + "MqttClientMask": "DVES_%06X", + "MqttCount": 77, + "MqttHost": "mqtt.iot", + "MqttPort": 1883, + "MqttUser": "DVES_USER" + } +} \ No newline at end of file diff --git a/tests/status_parsing/jsonfiles/8.5.1/STATUS6.json b/tests/status_parsing/jsonfiles/8.5.1/STATUS6.json new file mode 100644 index 0000000..a2069f6 --- /dev/null +++ b/tests/status_parsing/jsonfiles/8.5.1/STATUS6.json @@ -0,0 +1,12 @@ +{ + "StatusMQT": { + "KEEPALIVE": 30, + "MAX_PACKET_SIZE": 1200, + "MqttClient": "DVES_C8F966", + "MqttClientMask": "DVES_%06X", + "MqttCount": 920, + "MqttHost": "mqtt.iot", + "MqttPort": 1883, + "MqttUser": "DVES_USER" + } +} \ No newline at end of file diff --git a/tests/status_parsing/jsonfiles/8.5.1/STATUS7.1.json b/tests/status_parsing/jsonfiles/8.5.1/STATUS7.1.json new file mode 100644 index 0000000..e22bbe9 --- /dev/null +++ b/tests/status_parsing/jsonfiles/8.5.1/STATUS7.1.json @@ -0,0 +1,11 @@ +{ + "StatusTIM": { + "EndDST": "2024-10-27T03:00:00", + "Local": "2024-09-15T13:48:41", + "StartDST": "2024-03-31T02:00:00", + "Sunrise": "06:27", + "Sunset": "19:02", + "Timezone": "+01:00", + "UTC": "2024-09-15T12:48:41" + } +} \ No newline at end of file diff --git a/tests/status_parsing/jsonfiles/8.5.1/STATUS7.2.json b/tests/status_parsing/jsonfiles/8.5.1/STATUS7.2.json new file mode 100644 index 0000000..d8e66b5 --- /dev/null +++ b/tests/status_parsing/jsonfiles/8.5.1/STATUS7.2.json @@ -0,0 +1,11 @@ +{ + "StatusTIM": { + "EndDST": "2024-10-27T03:00:00", + "Local": "2024-09-15T13:51:45", + "StartDST": "2024-03-31T02:00:00", + "Sunrise": "06:27", + "Sunset": "19:02", + "Timezone": "+01:00", + "UTC": "2024-09-15T12:51:45" + } +} \ No newline at end of file diff --git a/tests/status_parsing/jsonfiles/8.5.1/STATUS7.json b/tests/status_parsing/jsonfiles/8.5.1/STATUS7.json new file mode 100644 index 0000000..b6ad759 --- /dev/null +++ b/tests/status_parsing/jsonfiles/8.5.1/STATUS7.json @@ -0,0 +1,11 @@ +{ + "StatusTIM": { + "EndDST": "2024-10-27T03:00:00", + "Local": "2024-09-15T13:25:57", + "StartDST": "2024-03-31T02:00:00", + "Sunrise": "06:27", + "Sunset": "19:02", + "Timezone": "+01:00", + "UTC": "2024-09-15T12:25:57" + } +} \ No newline at end of file diff --git a/tests/status_parsing/jsonfiles/9.1.0/STATUS.json b/tests/status_parsing/jsonfiles/9.1.0/STATUS.json new file mode 100644 index 0000000..55cdf61 --- /dev/null +++ b/tests/status_parsing/jsonfiles/9.1.0/STATUS.json @@ -0,0 +1,32 @@ +{ + "Status": { + "ButtonRetain": 0, + "ButtonTopic": "0", + "DeviceName": "RedRoomBulb1", + "FriendlyName": [ + "RedRoomBulb1" + ], + "LedMask": "FFFF", + "LedState": 1, + "Module": 0, + "Power": 1, + "PowerOnState": 3, + "PowerRetain": 1, + "SaveData": 1, + "SaveState": 1, + "SensorRetain": 0, + "SwitchMode": [ + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0 + ], + "SwitchRetain": 0, + "SwitchTopic": "0", + "Topic": "redroombulb1" + } +} \ No newline at end of file diff --git a/tests/status_parsing/jsonfiles/9.1.0/STATUS1.json b/tests/status_parsing/jsonfiles/9.1.0/STATUS1.json new file mode 100644 index 0000000..3fb7a95 --- /dev/null +++ b/tests/status_parsing/jsonfiles/9.1.0/STATUS1.json @@ -0,0 +1,17 @@ +{ + "StatusPRM": { + "BCResetTime": "2022-02-14T17:24:23", + "Baudrate": 115200, + "BootCount": 1121, + "CfgHolder": 4617, + "GroupTopic": "tasmotas", + "OtaUrl": "http://ota.tasmota.com/tasmota/release/tasmota.bin.gz", + "RestartReason": "External System", + "SaveAddress": "F9000", + "SaveCount": 3179, + "SerialConfig": "8N1", + "Sleep": 50, + "StartupUTC": "2024-09-13T17:02:23", + "Uptime": "0T00:00:36" + } +} \ No newline at end of file diff --git a/tests/status_parsing/jsonfiles/9.1.0/STATUS10.json b/tests/status_parsing/jsonfiles/9.1.0/STATUS10.json new file mode 100644 index 0000000..11d3e0b --- /dev/null +++ b/tests/status_parsing/jsonfiles/9.1.0/STATUS10.json @@ -0,0 +1,5 @@ +{ + "StatusSNS": { + "Time": "2024-09-13T18:02:59" + } +} \ No newline at end of file diff --git a/tests/status_parsing/jsonfiles/9.1.0/STATUS11.json b/tests/status_parsing/jsonfiles/9.1.0/STATUS11.json new file mode 100644 index 0000000..e0d331e --- /dev/null +++ b/tests/status_parsing/jsonfiles/9.1.0/STATUS11.json @@ -0,0 +1,39 @@ +{ + "StatusSTS": { + "CT": 500, + "Channel": [ + 0, + 0, + 0, + 0, + 100 + ], + "Color": "00000000FF", + "Dimmer": 100, + "Fade": "ON", + "HSBColor": "0,0,0", + "Heap": 23, + "LedTable": "ON", + "LoadAvg": 94, + "MqttCount": 1, + "POWER": "ON", + "Scheme": 0, + "Sleep": 10, + "SleepMode": "Dynamic", + "Speed": 5, + "Time": "2024-09-13T18:02:59", + "Uptime": "0T00:00:36", + "UptimeSec": 36, + "White": 100, + "Wifi": { + "AP": 1, + "BSSId": "5C:E9:31:18:49:D4", + "Channel": 7, + "Downtime": "0T00:00:03", + "LinkCount": 1, + "RSSI": 66, + "SSId": "WifiNet", + "Signal": -67 + } + } +} \ No newline at end of file diff --git a/tests/status_parsing/jsonfiles/9.1.0/STATUS2.json b/tests/status_parsing/jsonfiles/9.1.0/STATUS2.json new file mode 100644 index 0000000..fbe9648 --- /dev/null +++ b/tests/status_parsing/jsonfiles/9.1.0/STATUS2.json @@ -0,0 +1,12 @@ +{ + "StatusFWR": { + "Boot": 31, + "BuildDateTime": "2021-03-04T17:56:42", + "CR": "429/699", + "Core": "2_7_4_5", + "CpuFrequency": 80, + "Hardware": "ESP8266EX", + "SDK": "2.2.2-dev(38a443e)", + "Version": "9.1.0(tasmota)" + } +} \ No newline at end of file diff --git a/tests/status_parsing/jsonfiles/9.1.0/STATUS3.json b/tests/status_parsing/jsonfiles/9.1.0/STATUS3.json new file mode 100644 index 0000000..b8c655f --- /dev/null +++ b/tests/status_parsing/jsonfiles/9.1.0/STATUS3.json @@ -0,0 +1,23 @@ +{ + "StatusLOG": { + "LogHost": "", + "LogPort": 514, + "MqttLog": 0, + "Resolution": "558180C0", + "SSId": [ + "WifiNet", + "" + ], + "SerialLog": 2, + "SetOption": [ + "00208029", + "0405C8000100060000005A00000000000000", + "08000000", + "00006000", + "00000000" + ], + "SysLog": 0, + "TelePeriod": 300, + "WebLog": 2 + } +} \ No newline at end of file diff --git a/tests/status_parsing/jsonfiles/9.1.0/STATUS4.json b/tests/status_parsing/jsonfiles/9.1.0/STATUS4.json new file mode 100644 index 0000000..9a6cd63 --- /dev/null +++ b/tests/status_parsing/jsonfiles/9.1.0/STATUS4.json @@ -0,0 +1,24 @@ +{ + "StatusMEM": { + "Drivers": "1,2,3,4,5,6,7,8,9,10,12,16,18,19,20,21,22,24,26,27,29,30,35,37", + "Features": [ + "00000809", + "8FDAE797", + "04368001", + "000000CF", + "010013C0", + "C000F981", + "00004004", + "00000000" + ], + "FlashChipId": "1540A1", + "FlashFrequency": 40, + "FlashMode": 3, + "FlashSize": 2048, + "Free": 400, + "Heap": 23, + "ProgramFlashSize": 1024, + "ProgramSize": 601, + "Sensors": "1,2,3,4,5,6" + } +} \ No newline at end of file diff --git a/tests/status_parsing/jsonfiles/9.1.0/STATUS5.json b/tests/status_parsing/jsonfiles/9.1.0/STATUS5.json new file mode 100644 index 0000000..58b69db --- /dev/null +++ b/tests/status_parsing/jsonfiles/9.1.0/STATUS5.json @@ -0,0 +1,13 @@ +{ + "StatusNET": { + "DNSServer": "192.168.1.142", + "Gateway": "192.168.1.142", + "Hostname": "RedRoomBulb1", + "IPAddress": "192.168.1.154", + "Mac": "4C:EB:D6:02:41:E0", + "Subnetmask": "255.255.255.0", + "Webserver": 2, + "WifiConfig": 4, + "WifiPower": 17.0 + } +} \ No newline at end of file diff --git a/tests/status_parsing/jsonfiles/9.1.0/STATUS6.json b/tests/status_parsing/jsonfiles/9.1.0/STATUS6.json new file mode 100644 index 0000000..1d07624 --- /dev/null +++ b/tests/status_parsing/jsonfiles/9.1.0/STATUS6.json @@ -0,0 +1,12 @@ +{ + "StatusMQT": { + "KEEPALIVE": 30, + "MAX_PACKET_SIZE": 1200, + "MqttClient": "RedRoomBulb1", + "MqttClientMask": "RedRoomBulb1", + "MqttCount": 1, + "MqttHost": "192.168.1.230", + "MqttPort": 1883, + "MqttUser": "DVES_USER" + } +} \ No newline at end of file diff --git a/tests/status_parsing/jsonfiles/9.1.0/STATUS7.json b/tests/status_parsing/jsonfiles/9.1.0/STATUS7.json new file mode 100644 index 0000000..b72c3ef --- /dev/null +++ b/tests/status_parsing/jsonfiles/9.1.0/STATUS7.json @@ -0,0 +1,11 @@ +{ + "StatusTIM": { + "EndDST": "2024-10-27T03:00:00", + "Local": "2024-09-13T18:02:59", + "StartDST": "2024-03-31T02:00:00", + "Sunrise": "06:24", + "Sunset": "19:06", + "Timezone": "+01:00", + "UTC": "2024-09-13T17:02:59" + } +} \ No newline at end of file