I regularly make backups of my configurations and it now appears that the restore is not working anymore after adding new devices. I see the new devices in the json file and all are in the same syntax as the older devices, but restoring the json will result that all devices and hubs are gone and not visible anymore in the GUI of the Milight hub. Restoring an older version of the backup is working. Is there some limit in the amount of devices to add?
Steps to reproduce
Place the working configuration below in a json file and restore it into the Milight hub via the GUI ==> Tab 'Admin ==> Backup and select the file where you place the content in. Username admin, password admin.
Add the fourth 'Keuken_Lamp_4' as the fourth group under Device id 0x106.
Create a new backup and restore the just made backup. Login to the GUI and you will notice that the restore was not successful.
Working configuration:
{"admin_username":"admin","admin_password":"admin","ce_pin":4,"csn_pin":15,"reset_pin":0,"led_pin":-2,"radio_interface_type":"nRF24","packet_repeats":200,"http_repeat_factor":1,"auto_restart_period":0,"mqtt_server":"","mqtt_username":"","mqtt_password":"","mqtt_topic_pattern":"milight/:device_id/:device_type/:group_id","mqtt_update_topic_pattern":"milight/updates/:hex_device_id/:device_type/:group_id","mqtt_state_topic_pattern":"milight/states/:hex_device_id/:device_type/:group_id","mqtt_client_status_topic":"","simple_mqtt_client_status":true,"discovery_port":48899,"listen_repeats":3,"state_flush_interval":10000,"mqtt_state_rate_limit":500,"mqtt_debounce_delay":500,"packet_repeat_throttle_sensitivity":0,"packet_repeat_throttle_threshold":200,"packet_repeat_minimum":3,"enable_automatic_mode_switching":false,"led_mode_wifi_config":"Fast toggle","led_mode_wifi_failed":"On","led_mode_operating":"Slow blip","led_mode_packet":"Flicker","led_mode_packet_count":3,"hostname":"ML00","rf24_power_level":"MAX","rf24_listen_channel":"LOW","wifi_static_ip":"192.168.201.201","wifi_static_ip_gateway":"192.168.201.1","wifi_static_ip_netmask":"255.255.255.0","packet_repeats_per_loop":20,"home_assistant_discovery_prefix":"homeassistant/","wifi_mode":"n","default_transition_period":500,"rf24_channels":["LOW","MID","HIGH"],"device_ids":[256,257,258,259,260,261,262],"gateway_configs":[[1,1001,6]],"group_state_fields":["state","brightness","mode","color_temp","bulb_mode","computed_color"],"group_id_aliases":{"Gang_Lamp":["fut089",257,1],"Grote_Tafel_Lamp_1":["fut089",261,1],"Grote_Tafel_Lamp_2":["fut089",261,2],"Grote_Tafel_Lamp_3":["fut089",261,3],"Keuken_Lamp_1":["fut089",262,1],"Keuken_Lamp_2":["fut089",262,2],"Keuken_Lamp_3":["fut089",262,3],"Kleine_Kamer_Lamp":["fut089",256,1],"Koof_Achter_Led":["fut089",258,4],"Koof_Voor_Led":["fut089",258,1],"Korte_Wand_Lamp":["fut089",259,2],"Lange_Wand_Lamp":["fut089",259,1],"Overloop_Lamp":["fut089",257,2],"Spiegel_Led":["fut089",258,3],"TV_Led":["fut089",258,2],"Test_Lamp_Bulb":["fut089",256,2],"Test_Lamp_GU10":["fut089",256,3],"WC_Beneden_Lamp":["fut089",260,1],"WC_Boven_Lamp":["fut089",260,2],"Zolder_Overloop_Lamp":["fut089",257,3]}}
Expected behavior
The restore should work and result that the devices and aliasses are visible in the GUI of the Milight hub.
Describe the bug
I regularly make backups of my configurations and it now appears that the restore is not working anymore after adding new devices. I see the new devices in the json file and all are in the same syntax as the older devices, but restoring the json will result that all devices and hubs are gone and not visible anymore in the GUI of the Milight hub. Restoring an older version of the backup is working. Is there some limit in the amount of devices to add?
Steps to reproduce
Place the working configuration below in a json file and restore it into the Milight hub via the GUI ==> Tab 'Admin ==> Backup and select the file where you place the content in. Username admin, password admin. Add the fourth 'Keuken_Lamp_4' as the fourth group under Device id 0x106. Create a new backup and restore the just made backup. Login to the GUI and you will notice that the restore was not successful.
Working configuration: {"admin_username":"admin","admin_password":"admin","ce_pin":4,"csn_pin":15,"reset_pin":0,"led_pin":-2,"radio_interface_type":"nRF24","packet_repeats":200,"http_repeat_factor":1,"auto_restart_period":0,"mqtt_server":"","mqtt_username":"","mqtt_password":"","mqtt_topic_pattern":"milight/:device_id/:device_type/:group_id","mqtt_update_topic_pattern":"milight/updates/:hex_device_id/:device_type/:group_id","mqtt_state_topic_pattern":"milight/states/:hex_device_id/:device_type/:group_id","mqtt_client_status_topic":"","simple_mqtt_client_status":true,"discovery_port":48899,"listen_repeats":3,"state_flush_interval":10000,"mqtt_state_rate_limit":500,"mqtt_debounce_delay":500,"packet_repeat_throttle_sensitivity":0,"packet_repeat_throttle_threshold":200,"packet_repeat_minimum":3,"enable_automatic_mode_switching":false,"led_mode_wifi_config":"Fast toggle","led_mode_wifi_failed":"On","led_mode_operating":"Slow blip","led_mode_packet":"Flicker","led_mode_packet_count":3,"hostname":"ML00","rf24_power_level":"MAX","rf24_listen_channel":"LOW","wifi_static_ip":"192.168.201.201","wifi_static_ip_gateway":"192.168.201.1","wifi_static_ip_netmask":"255.255.255.0","packet_repeats_per_loop":20,"home_assistant_discovery_prefix":"homeassistant/","wifi_mode":"n","default_transition_period":500,"rf24_channels":["LOW","MID","HIGH"],"device_ids":[256,257,258,259,260,261,262],"gateway_configs":[[1,1001,6]],"group_state_fields":["state","brightness","mode","color_temp","bulb_mode","computed_color"],"group_id_aliases":{"Gang_Lamp":["fut089",257,1],"Grote_Tafel_Lamp_1":["fut089",261,1],"Grote_Tafel_Lamp_2":["fut089",261,2],"Grote_Tafel_Lamp_3":["fut089",261,3],"Keuken_Lamp_1":["fut089",262,1],"Keuken_Lamp_2":["fut089",262,2],"Keuken_Lamp_3":["fut089",262,3],"Kleine_Kamer_Lamp":["fut089",256,1],"Koof_Achter_Led":["fut089",258,4],"Koof_Voor_Led":["fut089",258,1],"Korte_Wand_Lamp":["fut089",259,2],"Lange_Wand_Lamp":["fut089",259,1],"Overloop_Lamp":["fut089",257,2],"Spiegel_Led":["fut089",258,3],"TV_Led":["fut089",258,2],"Test_Lamp_Bulb":["fut089",256,2],"Test_Lamp_GU10":["fut089",256,3],"WC_Beneden_Lamp":["fut089",260,1],"WC_Boven_Lamp":["fut089",260,2],"Zolder_Overloop_Lamp":["fut089",257,3]}}
Expected behavior
The restore should work and result that the devices and aliasses are visible in the GUI of the Milight hub.
Setup information
Firmware version
1.10.6 (nodemcuv2)
Output of http://milight-hub.local/about
Output of http://milight-hub.local/settings
Additional context