letscontrolit / ESPEasy

Easy MultiSensor device based on ESP8266/ESP32
http://www.espeasy.com
Other
3.28k stars 2.22k forks source link

Store free text to be requested using URL #730

Open Grovkillen opened 6 years ago

Grovkillen commented 6 years ago

Currently I use rule page 4 to store free text information regarding my units. I just add // and comment a bunch of stuff.

Ideally I would have a page kinda like the JSON page where I could store my information as JSON and then I could only fetch all these JSON strings and parse them centrally. A nice feature to add to that would be if the units settings would be part of that JSON code as well.

URL could be: /jsondump or maybe /jsonhook or something else awesome! :)

TD-er commented 6 years ago

Features to add along with this:

Grovkillen commented 6 years ago

Possibly also add the bin file name if OTA flashed.

TD-er commented 6 years ago

I've looked into how the settings are being stored and I think it should be fairly easy to generate Json from the settings to allow to export/import the settings and perhaps also export the old versions.

Then we could add some Python code to convert settings if they change later on. So maybe change the topic, or should I create a new one to address the JSON import/export? This also allows other issues which need to extend some settings which is quite impossible in the current setup.

Grovkillen commented 6 years ago

Wow, that is so awesome! We should make a new issue for the export /import

Grovkillen commented 6 years ago

572 is closely related and can be closed.