From 785531d894bcac92f971aa3e02a0e69c1f8db5e3 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=C3=98yvind=20Matheson=20Wergeland?= Date: Sat, 21 Sep 2024 15:29:45 +0200 Subject: [PATCH] Test server fixes (#21) - Fix error messages - Sort dump file --- dumps/013-000.json | 758 +++++++++++++++++++++---------------------- dumps/test_server.py | 17 +- 2 files changed, 392 insertions(+), 383 deletions(-) diff --git a/dumps/013-000.json b/dumps/013-000.json index 4588852..edadbcd 100644 --- a/dumps/013-000.json +++ b/dumps/013-000.json @@ -12,427 +12,427 @@ "roomId": 106345, "roomName": "default_room", "statusList": { - "Sand_timer_2_status": "0", - "Hob_zone_4_status": "0", - "Step_pre_bakeAdd_moistStart_at_minute": "0", - "Sand_timer_2_duration_hours": "255", - "Settings_day": "255", - "Night_mode_status": "1", - "Settings_month": "255", - "DisplayBrightness_setting": "0", - "Reset_to_default": "0", - "CameraTime_lapse_current_phase": "0", - "Steam_123": "0", - "Steam123_3_available": "0", + "Adaptive_sense_setting": "1", + "Add_moist_now": "0", + "AlarmAlmost_finished": "0", + "AlarmChild_lockOff": "0", + "AlarmChild_lockOn": "0", + "AlarmCleanTank": "0", + "AlarmDehydrate_ended": "0", + "AlarmDemo_activated": "0", + "AlarmDescaleStep1": "0", + "AlarmDescaleStep2": "0", + "AlarmDescaleStep3": "0", + "AlarmDescaling_interrupted": "0", + "AlarmEmptyTankPause": "0", + "AlarmFillTank": "0", + "AlarmIncreased_power_consumption": "0", + "AlarmKey_lock_on": "0", + "AlarmMicrowave_system_finished": "0", + "AlarmOven_system_finished": "0", + "AlarmPopTankOpened": "0", + "AlarmPower_failure_running": "0", + "AlarmProbe_lost_connection": "0", + "AlarmRemoteStartPowerFailure": "0", + "AlarmRemove_probe": "0", "AlarmSabbathAboutToStart": "0", - "Status": "1", - "Step5Add_moist_status": "0", - "Step_1_remaining_time": "16777215", - "Step4_duration": "0", - "Steam123_1_available": "0", - "Step_after_bakeRemove_moistStart_at_minute": "0", - "Step2Add_moist_status": "0", - "Sand_timer_2_duration_minutes": "255", - "Alarm_plateWarm_ended": "0", - "Weight_unit_setting": "0", - "Sand_timer_1_duration_hours": "255", - "Step5Add_moistValve_open_percentage": "0", - "Step1Pause_after_step": "0", - "Step2_Steam_assist_intensity": "0", - "Current_baking_step": "2", - "Proximity_sensor_setting": "0", - "Step_after_bake_time_unit": "0", - "Night_modeLight_brightness_setting": "0", + "AlarmSabbathEnded": "0", + "AlarmSabbathPostpone": "0", + "AlarmSteamClean_finished": "0", + "AlarmSteam_interrupted": "0", "AlarmSteam_system_finished": "0", - "Step4Pause_after_step": "0", - "Step2Add_moistStart_at_minute": "0", - "Language_status": "0", - "Step_pre_bake_remaining_time": "16777215", - "Step4Add_moistValve_open_percentage": "0", - "Sand_timer_3_duration_hours": "255", - "CameraPicture_current_phase": "0", - "Step_after_bake_set_temperature": "65535", - "Step_2_set_temperature": "0", - "Step_after_bakeAdd_moistValve_open_percentage": "0", - "Step_after_bake_set_heater_system": "0", - "Step5Grill_intensity": "0", - "Factory_reset": "0", - "Water_tank": "0", - "Error_0": "1", + "AlarmTankLevel1": "0", + "Alarm_aquaClean_finished": "0", + "Alarm_baking_finished": "1", + "Alarm_baking_stoped": "0", + "Alarm_child_lock_deactivated_on_the_oven": "1", + "Alarm_cleaning_suggestion_after_baking_finished": "0", + "Alarm_defrost_finished": "0", + "Alarm_descaling_needed": "1", + "Alarm_door_locked": "0", + "Alarm_door_opened": "1", + "Alarm_ean_scan_info": "0", + "Alarm_empty_and_clean_water_tank": "0", + "Alarm_fast_preheat_active": "0", + "Alarm_fast_preheating_finished": "1", + "Alarm_keepWarm_ended": "0", + "Alarm_mw_active": "0", + "Alarm_oven_temperature_too_high": "0", + "Alarm_oven_usage_reached_set_limit_auto_cleaning_suggested": "0", + "Alarm_plateWarm_ended": "0", + "Alarm_probe_inserted": "1", + "Alarm_probe_temp_reached": "0", + "Alarm_pyrolytic_finished": "0", + "Alarm_running_time_over_10_or_24_hour_limit_error": "0", + "Alarm_sabbath_reminder": "0", "Alarm_sand_timer_1_elapsed": "1", - "Error_2": "0", - "Error_1": "1", - "Sand_timer_1_paused_total_seconds": "65535", - "Warming_drawer_status": "0", - "Error_4": "1", - "Error_3": "0", - "Error_6": "0", - "Error_5": "1", - "Camera_enable_setting": "0", - "AlarmSteam_interrupted": "0", - "Step_after_bakeAdd_moistStart_at_minute": "0", - "Interior_light": "1", - "Sand_timer_2_paused_total_seconds": "65535", - "Step4Steam_assistSet_time_in_minutes": "0", - "Grill_plate_measured_temperature": "4484", - "Gratin_available": "0", - "Night_mode_on_minute": "255", + "Alarm_sand_timer_2_elapsed": "0", + "Alarm_sand_timer_3_elapsed": "0", + "Alarm_set_temperature_reached": "1", + "Alarm_steam_fill_alarm": "0", + "Alarm_steam_function_active": "0", + "Alarm_turn_food": "0", + "Alarm_user_interaction_on_appliance_detected": "1", + "Alarm_water_tank_is_empty": "0", + "Alarm_water_tank_is_missing": "0", + "Almost_finished_notification_setting": "0", + "Almost_finished_notification_settingTimer_in_minutes": "0", + "Ambient_sound_setting": "0", + "Auto_fast_preheat": "1", + "AutomaticChild_lock_setting": "0", + "AutomaticDoor_lock_setting": "0", + "AutomaticDoor_lock_setting_allowed": "0", + "Automatic_display_brightness_setting": "0", + "Automatic_door_closing_at_program_start_setting": "0", + "Automatic_door_open_at_program_end_after_time_setting": "0", + "Automatic_door_open_at_program_end_after_time_settingTimer_in_minutes": "0", + "Automatic_door_open_at_program_end_setting": "0", + "Automatic_water_tank_opening_setting": "0", "Baking_steps_intensity_levels": "0", - "Step_3_time_unit": "0", - "Step1_Steam_assistSet_time_in_minutes": "0", - "Step_1_status": "1", - "Sabbath_mode_settingBakingEnd_atHour": "0", - "LightsColor_temperature_setting": "0", - "Step_1_set_microwave_wattage": "0", - "Error_8": "1", - "Error_7": "0", - "Error_9": "1", - "Step_3_remaining_time": "16777215", - "Meat_probe_set_temperature": "65535", - "Demo_mode": "1", - "Step_2_set_microwave_wattage": "0", - "Alarm_door_locked": "0", + "Baking_steps_intensity_levels_type": "0", + "Brand_splash_setting": "0", + "Brightness": "3", "CameraLive_feed_current_phase": "0", - "Step5Steam_assistSet_time_in_minutes": "0", - "Error_11": "0", + "CameraLive_feed_status": "0", + "CameraPicture_current_phase": "0", + "CameraPicture_request": "0", + "CameraTime_lapse_current_phase": "0", + "CameraTime_lapse_request": "0", + "Camera_enable_setting": "0", + "Camera_status": "0", + "Child_lock": "1", + "Cooking_intensity": "0", + "Crisp_function_available": "0", + "Crisp_function_status": "0", + "Current_baking_step": "2", + "Current_baking_step2": "0", + "Date_format_setting": "0", + "Demo_mode": "1", + "Descale_status": "0", + "DisplayBrightness_setting": "0", + "DisplayContrast_setting": "0", + "Display_standby": "0", + "Display_switch_to_standby_after_minutes": "0", + "Door": "1", + "Door_lock": "2", + "Door_lock_status": "0", + "Door_open_notification_setting": "0", + "Door_sensor_setting": "0", + "Duration_of_clock": "0", + "Eco_mode_setting": "0", + "Error_0": "1", + "Error_1": "1", "Error_10": "0", - "Error_13": "1", + "Error_11": "0", "Error_12": "1", - "Error_15": "0", + "Error_13": "1", "Error_14": "0", - "Error_17": "1", + "Error_15": "0", "Error_16": "1", - "Error_19": "0", - "Step_2_passed_time": "16777215", + "Error_17": "1", "Error_18": "0", - "Step4Grill_intensity": "0", - "Show_date_setting": "0", - "Step5_status": "0", - "Step3Alarm_after_step": "0", - "Brand_splash_setting": "0", - "Sabbath_mode_settingBakingEnd_atMinute": "0", - "AlarmCleanTank": "0", - "AlarmDescaling_interrupted": "0", - "Remote_control_monitoring_set_commands": "1", - "Display_standby": "0", + "Error_19": "0", + "Error_2": "0", "Error_20": "1", - "Error_22": "0", "Error_21": "1", - "Error_24": "1", + "Error_22": "0", "Error_23": "0", - "Error_26": "0", + "Error_24": "1", "Error_25": "1", - "Error_28": "1", + "Error_26": "0", "Error_27": "0", - "Oven_usage_value_time_since_last_cleaning": "65535", + "Error_28": "1", "Error_29": "0", - "Step3_Steam_assist": "0", - "Sabbath_mode_setting": "0", + "Error_3": "0", + "Error_30": "0", + "Error_31": "1", + "Error_32": "1", + "Error_33": "0", + "Error_34": "0", + "Error_35": "0", + "Error_36": "0", + "Error_37": "0", + "Error_38": "0", + "Error_39": "0", + "Error_4": "1", + "Error_40": "0", + "Error_5": "1", + "Error_6": "0", + "Error_7": "0", + "Error_8": "1", + "Error_9": "1", + "Factory_reset": "0", + "Fota": "0", + "Gratin_available": "0", + "Gratin_from_below_functionSet_time_in_seconds": "0", + "Gratin_from_below_function_allowed": "0", + "Gratin_from_below_function_status": "0", + "Gratin_function_Set_time_in_seconds": "0", + "Gratin_status": "1", + "Gratin_total_allowed_time_in_minutes": "30", + "Gratin_total_passed_time_in_minutes": "65535", + "Grill_plate_measured_temperature": "4484", + "Grill_plate_status": "0", + "HOB_warming_zone_power_level": "0", + "HOB_warming_zone_status": "0", + "HardPairingStatus": "0", + "Hide_setting": "0", + "Hob_status": "0", + "Hob_zone_1_status": "0", + "Hob_zone_2_status": "0", + "Hob_zone_3_status": "0", + "Hob_zone_4_status": "0", + "Hob_zone_5_status": "0", + "Inactivity_timeout": "0", "Interior_Light_Control_available": "0", - "Step_pre_bake_setMulti_level_baking": "0", - "Oven_temperature_unit": "1", - "AlarmDescaleStep3": "0", - "AlarmDescaleStep2": "0", - "Sand_timer_1_status": "5", - "AlarmDescaleStep1": "0", - "Hob_zone_5_status": "0", - "Step4_set_heater_system": "0", - "Brightness": "3", + "Interior_light": "1", + "Key_sound": "2", + "Language_status": "0", + "LightsBrightness_setting": "0", + "LightsColor_temperature_setting": "0", + "Lights_duration_setting": "0", + "LockPIN_code": "0", + "Meat_probe_measured_temperature": "65535", + "Meat_probe_set_temperature": "65535", + "Meat_probe_status": "1", + "Navigation_sound_setting": "0", + "Night_modeDisplay_brightness_setting": "0", + "Night_modeLight_brightness_setting": "0", + "Night_modeVolume_setting": "0", + "Night_mode_off_hour": "255", + "Night_mode_off_minute": "255", + "Night_mode_on_hour": "255", + "Night_mode_on_minute": "255", + "Night_mode_status": "1", "Notification_pitch_sound_setting": "0", - "Descale_status": "0", - "Hob_zone_1_status": "0", - "Proximity_sensor_settingDistant_user_detectedLight_change_to": "0", - "Alarm_set_temperature_reached": "1", - "AlarmKey_lock_on": "0", - "Step3_Steam_assistSet_time_in_minutes": "0", - "Step_pre_bake_passed_time": "16777215", - "Almost_finished_notification_setting": "0", - "Step_pre_bake_mode": "0", - "Step_1_set_temperature": "0", - "Child_lock": "1", - "Remote_control_monitoring_set_commands_actions": "0", - "Step3Add_moistValve_open_percentage": "0", + "Notification_sounds_volume_setting": "0", "Oven_measured_temperature": "0", - "Step3Grill_intensity": "0", - "Step5Add_moistStart_at_minute": "0", - "AlarmPopTankOpened": "0", - "Session_pairing_setting": "0", - "Settings_year": "65535", - "Step_1_fastpreheat_function": "0", - "Step1_Steam_assist_intensity": "0", - "Step_1_steam_available": "0", - "Alarm_oven_temperature_too_high": "0", - "HOB_warming_zone_power_level": "0", - "Fota": "0", - "Gratin_from_below_function_status": "0", - "Step_2_bake_mode": "0", - "Step1Add_moist_status": "0", - "Step4_passed_time": "0", - "Step5_passed_time": "0", - "Step4Add_moist_status": "0", - "AlarmFillTank": "0", + "Oven_temperature_unit": "1", + "Oven_temperature_unit_setting": "1", + "Oven_usage_value_alarm_limit": "0", + "Oven_usage_value_time_since_last_cleaning": "65535", + "Permanent_remote_start": "0", + "Program_settingsDefault": "0", "Program_settingsStart_key_duation_forMW": "0", - "AlarmIncreased_power_consumption": "0", - "AlarmRemoteStartPowerFailure": "0", - "Alarm_water_tank_is_empty": "0", - "AutomaticChild_lock_setting": "0", + "Proximity_sensor_setting": "0", "Proximity_sensor_settingClose_user_detectedDisplay_change_to": "0", - "CameraPicture_request": "0", - "Remote_control_monitoring": "0", - "Sand_timer_3_duration_seconds": "255", - "Step5_set_temperature": "0", - "Total_oven_usage_value": "65535", - "Step2Alarm_after_step": "0", - "Step2_Steam_assist": "0", - "Alarm_empty_and_clean_water_tank": "0", - "Step5Alarm_after_step": "0", - "DisplayContrast_setting": "0", "Proximity_sensor_settingClose_user_detectedLight_change_to": "0", - "Alarm_pyrolytic_finished": "0", - "AlarmMicrowave_system_finished": "0", - "HOB_warming_zone_status": "0", - "Step_after_bakeAdd_moist_status": "0", - "Sabbath_mode_settingSet_heater_system": "0", - "Alarm_door_opened": "1", - "Night_mode_on_hour": "255", - "Alarm_running_time_over_10_or_24_hour_limit_error": "0", - "Meat_probe_status": "1", - "Time_zone_setting": "0", - "Soft_pairing_setting": "0", - "Step_3_bake_mode": "0", - "AlarmChild_lockOff": "0", - "AlarmAlmost_finished": "0", - "Automatic_water_tank_opening_setting": "0", - "Lights_duration_setting": "0", - "Sabbath_mode_settingStart_timeHour": "0", - "Step5_setMulti_level_baking": "0", - "Alarm_keepWarm_ended": "0", - "Volume_setting": "0", - "Step2Grill_intensity": "0", - "Crisp_function_status": "0", - "Alarm_mw_active": "0", - "Step3Pause_after_step": "0", - "Sand_timer_1_start_utc_datetime_bdc_timestamp": "16679/02/18T23:47:45", - "Add_moist_now": "0", - "Water_hardness": "3", - "Step5Steam_assist": "0", - "AlarmSteamClean_finished": "0", - "Step_3_passed_time": "16777215", - "Gratin_total_passed_time_in_minutes": "65535", - "Camera_status": "0", - "Navigation_sound_setting": "0", - "Step_2_duration": "0", - "Door_lock_status": "0", - "Step4_set_microwave_wattage": "0", - "Step_pre_bake_time_unit": "2", + "Proximity_sensor_settingDistant_user_detectedDisplay_change_to": "0", + "Proximity_sensor_settingDistant_user_detectedLight_change_to": "0", + "Remote_control_monitoring": "0", + "Remote_control_monitoring_set_commands": "1", + "Remote_control_monitoring_set_commands_actions": "0", + "Remove_moist_now": "0", + "Reset_to_default": "0", + "Sabbath_mode_setting": "0", + "Sabbath_mode_settingBakingEnd_atHour": "0", + "Sabbath_mode_settingBakingEnd_atMinute": "0", "Sabbath_mode_settingBakingStart_atHour": "0", "Sabbath_mode_settingBakingStart_atMinute": "0", - "Step1_Steam_assist": "0", - "Steam_shot": "0", - "Gratin_status": "1", - "Display_switch_to_standby_after_minutes": "0", - "Alarm_descaling_needed": "1", - "Warming_drawer_power_level": "0", - "Step_after_bake_remaining_Time": "16777215", - "Step4Alarm_after_step": "0", - "Step_pre_bake_duration": "16777215", - "Total_duration_in_seconds": "16777215", - "Steam123_2_available": "0", - "Step_pre_bakeRemove_moistStart_at_minute": "0", - "Hob_zone_2_status": "0", - "Step1Alarm_after_step": "0", - "Cooking_intensity": "0", - "AlarmSabbathEnded": "0", - "Text_size_setting": "0", - "Step_after_bake_mode": "0", - "Alarm_oven_usage_reached_set_limit_auto_cleaning_suggested": "0", - "Hide_setting": "0", - "AlarmSabbathPostpone": "0", - "Step3Remove_moistStart_at_minute": "0", - "Step_pre_bakeAdd_moist_status": "0", - "Sand_timer_1_duration_seconds": "255", - "Alarm_sand_timer_3_elapsed": "0", - "Automatic_door_closing_at_program_start_setting": "0", - "Volume": "4", - "AlarmProbe_lost_connection": "0", - "HardPairingStatus": "0", - "Alarm_steam_function_active": "0", - "Step5_set_microwave_wattage": "0", - "Oven_usage_value_alarm_limit": "0", - "Hob_status": "0", - "Key_sound": "2", - "Step4_status": "0", - "Step_pre_bakeAdd_moistValve_open_percentage": "0", - "Step_2_status": "2", - "AlarmDemo_activated": "0", - "Door_lock": "2", - "Step_3_set_heater_system": "0", - "Alarm_turn_food": "0", + "Sabbath_mode_settingCavity_light_during_sabbath": "0", + "Sabbath_mode_settingEnd_timeHour": "0", + "Sabbath_mode_settingEnd_timeMinute": "0", + "Sabbath_mode_settingSet_heater_system": "0", + "Sabbath_mode_settingStart_timeHour": "0", + "Sabbath_mode_settingStart_timeMinute": "0", + "Sabbath_mode_setting_activate_weekly": "0", + "Sabbath_mode_status": "1", + "Sand_timer_1_duration_hours": "255", "Sand_timer_1_duration_minutes": "255", - "Step_pre_bake_set_heater_system": "0", - "Time_format": "2", - "Alarm_fast_preheating_finished": "1", + "Sand_timer_1_duration_seconds": "255", + "Sand_timer_1_end_utc_datetime_bdc_timestamp": "16679/02/18T23:47:45", + "Sand_timer_1_paused_total_seconds": "65535", + "Sand_timer_1_start_utc_datetime_bdc_timestamp": "16679/02/18T23:47:45", + "Sand_timer_1_status": "5", + "Sand_timer_2_duration_hours": "255", + "Sand_timer_2_duration_minutes": "255", + "Sand_timer_2_duration_seconds": "255", + "Sand_timer_2_end_utc_datetime_bdc_timestamp": "16679/02/18T23:47:45", + "Sand_timer_2_paused_total_seconds": "65535", + "Sand_timer_2_start_utc_datetime_bdc_timestamp": "16679/02/18T23:47:45", + "Sand_timer_2_status": "0", + "Sand_timer_3_duration_hours": "255", "Sand_timer_3_duration_minutes": "255", - "Gratin_from_below_function_allowed": "0", - "Step_2_steam_available": "0", - "CameraTime_lapse_request": "0", - "Step4_remaining_time": "0", - "Program_settingsDefault": "0", - "Step_2_set_heater_system": "66", - "CameraLive_feed_status": "0", - "Alarm_probe_inserted": "1", + "Sand_timer_3_duration_seconds": "255", + "Sand_timer_3_end_utc_datetime_bdc_timestamp": "16679/02/18T23:47:45", + "Sand_timer_3_paused_total_seconds": "65535", + "Sand_timer_3_start_utc_datetime_bdc_timestamp": "16679/02/18T23:47:45", + "Sand_timer_3_status": "7", "Scanned_EAN_code": "-12-500000000000", - "Automatic_door_open_at_program_end_setting": "0", - "Meat_probe_measured_temperature": "65535", - "Step4Steam_assist_intensity": "0", - "Alarm_cleaning_suggestion_after_baking_finished": "0", - "Sabbath_mode_settingEnd_timeHour": "0", - "Step4_steam_available": "0", - "Step5Steam_assist_intensity": "0", - "Shop_mode_setting": "0", - "Step_1_duration": "0", - "Night_mode_off_hour": "255", - "Alarm_fast_preheat_active": "0", - "Step3Add_moistStart_at_minute": "0", - "Step4_setMulti_level_baking": "0", - "Step4Steam_assist": "0", - "Alarm_defrost_finished": "0", - "Step1Grill_intensity": "0", - "Night_modeVolume_setting": "0", - "Step_3_set_temperature": "65535", - "Duration_of_clock": "0", - "LightsBrightness_setting": "0", - "Alarm_baking_stoped": "0", - "Step_pre_bake_set_temperature": "0", - "Steam123_0_available": "0", - "Step5Pause_after_step": "0", - "Current_baking_step2": "0", - "Step2Pause_after_step": "0", - "Set_time_Minutes": "0", - "Alarm_sabbath_reminder": "0", - "Step_after_bake_setMulti_level_baking": "0", - "Step1Add_moistValve_open_percentage": "0", "Session_pairing_active": "0", - "Step_1_bake_mode": "3", - "Step3Add_moist_status": "0", + "Session_pairing_setting": "0", "Set_time_Hour": "0", - "Permanent_remote_start": "0", - "Sand_timer_2_start_utc_datetime_bdc_timestamp": "16679/02/18T23:47:45", - "AlarmChild_lockOn": "0", - "Step5_duration": "0", - "Remove_moist_now": "0", - "Sand_timer_3_status": "7", - "Error_31": "1", - "Error_30": "0", - "Error_33": "0", - "Error_32": "1", - "Error_35": "0", - "Error_34": "0", - "Hob_zone_3_status": "0", - "Error_37": "0", - "Error_36": "0", - "Error_39": "0", - "Baking_steps_intensity_levels_type": "0", - "Error_38": "0", - "Step4_time_unit": "0", - "Alarm_water_tank_is_missing": "0", - "Alarm_probe_temp_reached": "0", - "Step1_setMulti_level_baking": "0", - "AlarmPower_failure_running": "0", - "Step5_time_unit": "0", - "Step5_set_heater_system": "0", - "Step5_steam_available": "0", - "Door_open_notification_setting": "0", - "Error_40": "0", - "Step1Remove_moistStart_at_minute": "0", - "AlarmTankLevel1": "0", - "Sand_timer_1_end_utc_datetime_bdc_timestamp": "16679/02/18T23:47:45", - "Step_pre_bake_status": "1", - "Gratin_function_Set_time_in_seconds": "0", - "Sabbath_mode_settingCavity_light_during_sabbath": "0", - "Adaptive_sense_setting": "1", - "Ambient_sound_setting": "0", - "Sabbath_mode_status": "1", + "Set_time_Minutes": "0", + "Settings_day": "255", + "Settings_hour": "16", + "Settings_minute": "31", + "Settings_month": "255", + "Settings_year": "65535", + "Shop_mode_setting": "0", + "Show_date_setting": "0", + "Soft_pairing_setting": "0", "Stage_lights_setting": "0", - "Step2_Steam_assistSet_time_in_minutes": "0", - "Step_after_bake_status": "0", - "Step3_setMulti_level_baking": "0", - "AlarmDehydrate_ended": "0", - "Notification_sounds_volume_setting": "0", - "Night_mode_off_minute": "255", - "Step5_remaining_time": "0", - "Sabbath_mode_settingEnd_timeMinute": "0", - "Automatic_door_open_at_program_end_after_time_settingTimer_in_minutes": "0", - "Alarm_ean_scan_info": "0", - "Step_3_duration": "16777215", + "Status": "1", + "Steam123_0_available": "0", + "Steam123_1_available": "0", + "Steam123_2_available": "0", + "Steam123_3_available": "0", + "Steam_123": "0", "Steam_assist_Time_used": "0", + "Steam_reduction_at_door_opening_setting": "0", "Steam_reduction_at_program_end_setting": "0", - "Settings_minute": "31", - "Door_sensor_setting": "0", - "Date_format_setting": "0", - "Automatic_door_open_at_program_end_after_time_setting": "0", - "Water_tank_level": "0", - "Total_remaining_time_seconds": "16777215", + "Steam_shot": "0", + "Step1Add_moistStart_at_minute": "0", + "Step1Add_moistValve_open_percentage": "0", + "Step1Add_moist_status": "0", + "Step1Alarm_after_step": "0", + "Step1Grill_intensity": "0", + "Step1Pause_after_step": "0", + "Step1Remove_moistStart_at_minute": "0", + "Step1_Steam_assist": "0", + "Step1_Steam_assistSet_time_in_minutes": "0", + "Step1_Steam_assist_intensity": "0", + "Step1_setMulti_level_baking": "0", + "Step2Add_moistStart_at_minute": "0", + "Step2Add_moistValve_open_percentage": "0", + "Step2Add_moist_status": "0", + "Step2Alarm_after_step": "0", + "Step2Grill_intensity": "0", + "Step2Pause_after_step": "0", "Step2Remove_moistStart_at_minute": "0", - "Alarm_aquaClean_finished": "0", + "Step2_Steam_assist": "0", + "Step2_Steam_assistSet_time_in_minutes": "0", + "Step2_Steam_assist_intensity": "0", + "Step2_setMulti_level_baking": "0", + "Step3Add_moistStart_at_minute": "0", + "Step3Add_moistValve_open_percentage": "0", + "Step3Add_moist_status": "0", + "Step3Alarm_after_step": "0", + "Step3Grill_intensity": "0", + "Step3Pause_after_step": "0", + "Step3Remove_moistStart_at_minute": "0", + "Step3_Steam_assist": "0", + "Step3_Steam_assistSet_time_in_minutes": "0", "Step3_Steam_assist_intensity": "0", - "Step5_bake_mode": "0", - "Step_after_bake_passed_time": "16777215", - "Step4_set_temperature": "0", - "Automatic_display_brightness_setting": "0", - "Step_2_time_unit": "2", + "Step3_setMulti_level_baking": "0", + "Step4Add_moistStart_at_minute": "0", + "Step4Add_moistValve_open_percentage": "0", + "Step4Add_moist_status": "0", + "Step4Alarm_after_step": "0", + "Step4Grill_intensity": "0", + "Step4Pause_after_step": "0", "Step4Remove_moistStart_at_minute": "0", - "Oven_temperature_unit_setting": "1", - "AutomaticDoor_lock_setting": "0", - "AlarmRemove_probe": "0", + "Step4Steam_assist": "0", + "Step4Steam_assistSet_time_in_minutes": "0", + "Step4Steam_assist_intensity": "0", + "Step4_bake_mode": "0", + "Step4_duration": "0", + "Step4_passed_time": "0", + "Step4_remaining_time": "0", + "Step4_setMulti_level_baking": "0", + "Step4_set_heater_system": "0", + "Step4_set_microwave_wattage": "0", + "Step4_set_temperature": "0", + "Step4_status": "0", + "Step4_steam_available": "0", + "Step4_time_unit": "0", + "Step5Add_moistStart_at_minute": "0", + "Step5Add_moistValve_open_percentage": "0", + "Step5Add_moist_status": "0", + "Step5Alarm_after_step": "0", + "Step5Grill_intensity": "0", + "Step5Pause_after_step": "0", + "Step5Remove_moistStart_at_minute": "0", + "Step5Steam_assist": "0", + "Step5Steam_assistSet_time_in_minutes": "0", + "Step5Steam_assist_intensity": "0", + "Step5_bake_mode": "0", + "Step5_duration": "0", + "Step5_passed_time": "0", + "Step5_remaining_time": "0", + "Step5_setMulti_level_baking": "0", + "Step5_set_heater_system": "0", + "Step5_set_microwave_wattage": "0", + "Step5_set_temperature": "0", + "Step5_status": "0", + "Step5_steam_available": "0", + "Step5_time_unit": "0", + "Step_1_bake_mode": "3", + "Step_1_duration": "0", + "Step_1_fastpreheat_function": "0", + "Step_1_passed_time": "16777215", + "Step_1_remaining_time": "16777215", "Step_1_set_heater_system": "0", - "AutomaticDoor_lock_setting_allowed": "0", - "Sabbath_mode_setting_activate_weekly": "0", - "Step1Add_moistStart_at_minute": "0", - "Crisp_function_available": "0", - "Eco_mode_setting": "0", - "Sand_timer_2_end_utc_datetime_bdc_timestamp": "16679/02/18T23:47:45", - "Auto_fast_preheat": "1", - "Step_3_status": "0", + "Step_1_set_microwave_wattage": "0", + "Step_1_set_temperature": "0", + "Step_1_status": "1", + "Step_1_steam_available": "0", + "Step_1_time_unit": "2", + "Step_2_bake_mode": "0", + "Step_2_duration": "0", + "Step_2_passed_time": "16777215", "Step_2_remaining_time": "0", - "Total_passed_time_seconds": "16777215", - "Sand_timer_2_duration_seconds": "255", - "Proximity_sensor_settingDistant_user_detectedDisplay_change_to": "0", - "Sand_timer_3_paused_total_seconds": "65535", - "LockPIN_code": "0", - "Sabbath_mode_settingStart_timeMinute": "0", - "Alarm_child_lock_deactivated_on_the_oven": "1", - "Gratin_total_allowed_time_in_minutes": "30", - "Alarm_steam_fill_alarm": "0", - "Sand_timer_3_start_utc_datetime_bdc_timestamp": "16679/02/18T23:47:45", - "Step2Add_moistValve_open_percentage": "0", - "Step_1_passed_time": "16777215", + "Step_2_set_heater_system": "66", + "Step_2_set_microwave_wattage": "0", + "Step_2_set_temperature": "0", + "Step_2_status": "2", + "Step_2_steam_available": "0", + "Step_2_time_unit": "2", + "Step_3_bake_mode": "0", + "Step_3_duration": "16777215", + "Step_3_passed_time": "16777215", + "Step_3_remaining_time": "16777215", + "Step_3_set_heater_system": "0", "Step_3_set_microwave_wattage": "0", - "Grill_plate_status": "0", - "Sand_timer_3_end_utc_datetime_bdc_timestamp": "16679/02/18T23:47:45", - "Gratin_from_below_functionSet_time_in_seconds": "0", - "Alarm_user_interaction_on_appliance_detected": "1", - "Step4_bake_mode": "0", - "Alarm_sand_timer_2_elapsed": "0", - "Night_modeDisplay_brightness_setting": "0", - "Step2_setMulti_level_baking": "0", - "Temperature_reached_notification_setting": "0", - "Steam_reduction_at_door_opening_setting": "0", - "Alarm_baking_finished": "1", - "Step_after_bake_duration": "16777215", + "Step_3_set_temperature": "65535", + "Step_3_status": "0", "Step_3_steam_available": "0", + "Step_3_time_unit": "0", + "Step_after_bakeAdd_moistStart_at_minute": "0", + "Step_after_bakeAdd_moistValve_open_percentage": "0", + "Step_after_bakeAdd_moist_status": "0", + "Step_after_bakeRemove_moistStart_at_minute": "0", + "Step_after_bake_duration": "16777215", + "Step_after_bake_mode": "0", + "Step_after_bake_passed_time": "16777215", + "Step_after_bake_remaining_Time": "16777215", + "Step_after_bake_setMulti_level_baking": "0", + "Step_after_bake_set_heater_system": "0", + "Step_after_bake_set_temperature": "65535", + "Step_after_bake_status": "0", + "Step_after_bake_time_unit": "0", + "Step_pre_bakeAdd_moistStart_at_minute": "0", + "Step_pre_bakeAdd_moistValve_open_percentage": "0", + "Step_pre_bakeAdd_moist_status": "0", + "Step_pre_bakeRemove_moistStart_at_minute": "0", + "Step_pre_bake_duration": "16777215", + "Step_pre_bake_mode": "0", + "Step_pre_bake_passed_time": "16777215", + "Step_pre_bake_remaining_time": "16777215", + "Step_pre_bake_setMulti_level_baking": "0", + "Step_pre_bake_set_heater_system": "0", + "Step_pre_bake_set_temperature": "0", + "Step_pre_bake_status": "1", + "Step_pre_bake_time_unit": "2", "SummerWinter_timeAutomatic_setting": "0", - "AlarmOven_system_finished": "0", - "Door": "1", - "Step4Add_moistStart_at_minute": "0", - "Step5Remove_moistStart_at_minute": "0", + "Temperature_reached_notification_setting": "0", + "Text_size_setting": "0", "TimeDateAutomatic_setting": "0", - "Inactivity_timeout": "0", - "Settings_hour": "16", - "Almost_finished_notification_settingTimer_in_minutes": "0", + "Time_format": "2", + "Time_zone_setting": "0", + "Total_duration_in_seconds": "16777215", + "Total_oven_usage_value": "65535", + "Total_passed_time_seconds": "16777215", + "Total_remaining_time_seconds": "16777215", + "Volume": "4", + "Volume_setting": "0", + "Warming_drawer_power_level": "0", + "Warming_drawer_status": "0", + "Water_hardness": "3", + "Water_tank": "0", + "Water_tank_level": "0", + "Weight_unit_setting": "0", "Welcome": "0", - "Step_1_time_unit": "2", - "AlarmEmptyTankPause": "0", "daily_energy_kwh": 0 }, "useTime": 0, diff --git a/dumps/test_server.py b/dumps/test_server.py index 74d7839..12abbbc 100644 --- a/dumps/test_server.py +++ b/dumps/test_server.py @@ -54,19 +54,28 @@ async def update_appliance(request): appliance["statusList"][key] = req["properties"][key] return web.Response( content_type="application/json", - text='{"resultCode":0,"kvMap":null,"errorCode":0,"errorDesc":null}' + text=json.dumps({"resultCode": 0, "kvMap": None, "errorCode":0, "errorDesc": None}) ) unknowns = [key for key in req["properties"] if key not in appliance["statusList"]] return web.Response( content_type="application/json", - text=f'{"resultCode":-1,"kvMap":null,"errorCode":400,"errorDesc":"Unknown properies {unknowns}"}' + text=json.dumps({ + "resultCode": -1, + "kvMap": None, + "errorCode": 400, + "errorDesc": f"Unknown properties {unknowns}" + }) ) else: return web.Response( content_type="application/json", - text=f'{"resultCode":-1,"kvMap":null,"errorCode":404,"errorDesc":"Unknown puid {req["puid"]}"}' + text=json.dumps({ + "resultCode": -1, + "kvMap": None, + "errorCode": 404, + "errorDesc": f'Unknown puid {req["puid"]}' + }) ) - def main(args): filenames = list(filter(lambda f: f[-5:] == ".json", [f for f in listdir(".") if isfile(join(".", f))])) for filename in filenames: