-
-
Notifications
You must be signed in to change notification settings - Fork 258
Description
Hey there, this is a really awesome project, thx!
To make it a bit easier for myself to manage the configuration of the plates in my home, I wrote a small helper to apply some preprocessing to the *.jsonl files and upload them to a plate in one single command.
To upload files I took a look at how the webserver saves changes made in the browser and replicated that HTTP request. This works pretty well so far, except for the config.json.
Uploading a file to the /config.json path succeeds, but the resulting file on the device was completely empty, resulting in what is essentially a factory reset after rebooting the plate.
So the Question is:
Is there a way to upload a modified config.json?
Or is it not possible on purpose?
If so it should probably return an error instead of writing an empty file 😅
I saw that there is ongoing progress on the HTTP website itself ( #246 ) and also for implementing an FTP server ( #427 ), I guess both of these should be linked to this question.
Links
You can find the source to my tool here: openhasp-config-manager