sidoh / esp8266_milight_hub

Replacement for a Milight/LimitlessLED hub hosted on an ESP8266

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Old backup in .json, new version want .bin

smarticz opened this issue · comments

Hello, old versions create json backup and newest version want bin. It's possible to convert that file from json to bin?

Inside that files have different schema.

Yeah, the new format contains both aliases and a backup of the settings JSON. It's possible to convert but don't have a tool that does it.

You can still upload the .json file via POST /settings manually with curl or something similar and it'll have the same effect.

Are you having an issue with settings after upgrading?

Im downgraded to version with json support and uploaded backup.
Now I updated to the latest version and it works :)

Gotcha. Glad you were able to figure it out.

Did you lose settings when you upgraded to 1.11?

Probably not. I didn't lost anything, because I only upload backup, upgrade and everything is fine.

Im not sure for 100%, I have a lot of default settings, but Mqtt setup and automatic restart after 60 min were definitely taken from the backup.

You shouldn't need to restore a backup when upgrading -- they should all be transferred over seamlessly. There's a noisy warning in the firmware upgrade modal about backing up settings, but that's really a "just in case" kinda thing.

Gonna close this since it seems like we got it figured out, but let me know if I'm missing anything!