Repository navigation
Replies: 4 comments 8 replies
|
I like the idea. I think combine this with some topics. I was thinking:
anything else? |
|
I believe the issue is mostly that users run ems-esp and may start changing boiler parameters without noting or remembering the default value as set by the installer. If they want to roll back later on they lost track of the default values. So we could do two things in order to guide the user: -Make all entities write-disabled by default. Have the user enable write on an per-entity basis. Not an 'allow-all' but 'allow for this specific entity only'. This can be done in a customization. |
|
Please keep in mind that bosch group thermostats have 2 levels for changing parameters: User and installer menu. I think making all enties write disabled by default - as proposed by @bbqkees - does not make sense for most users. A backup / restore function should cover all writable entities. The json-filename should be input capable during back-up. |
|
One year on, I finally got time to think about this. Here's how I'm thinking of doing this, with some mockups of the web UI. Let me know what you think. Backup. Download/Upload gets a new "Heating Settings" section, next to the existing system backup. "All Values" moves into a separate "Data Export" section, so it's clear it can't be uploaded back.
Clicking Backup lets you pick the devices, set the file name and add an optional note, as @tp1de and @ralfbergs suggested. It saves every writable value of those devices. Commands are left out, and so are values that haven't been read from the bus yet; the dialog warns you about those.
Restore. Nothing is written as soon as you drop the file. First you see the note, a check that each device is the same model (same product ID), and a table of current versus backup values. By default it shows only the values that differ, and you untick anything you don't want to restore.
A confirm step shows the note again.
The values are then sent one at a time through the normal API, so the write limits and permissions all still apply. Each row shows whether it was written or refused by the device, which often happens with installer-level values.
Protecting values. "Disable write" in Customizations already makes an entity read-only for the web UI, API, MQTT and restore. To make it quicker, you can select all entities, or filter them, and set write-disabled in one click. That covers things like the max floor temperature.
What doesn't change: defaults stay as they are, so existing installs stay writable (@tp1de's point). Read-only mode still blocks every write but keeps detecting devices. The file stores enum names rather than numbers, and records whether you use °C or °F, so it restores correctly after updates. @bbqkees, a reminder on first setup to make a backup before changing anything would fit easily on top of this. |






Uh oh!
There was an error while loading. Please reload this page.
Would it be possible to backup your heating (boiler, thermostat) configuration (at least certain crucial parameters), so that in case you fiddle with it, and suddenly your heating is not working properly, you could restore certain essential settings?
Floor heating maximum temperature also comes to mind -- you might actually damage something if you set this too high. So maybe you could also define some parameters as "read-only", so that even with write access to the bus EMS-ESP would refuse to update those parameters on a blacklist?
All reactions