nurikk / zigbee2mqtt-frontend

Zigbee2MQTT frontend
https://www.zigbee2mqtt.io/
GNU General Public License v3.0
253 stars 184 forks source link

Inconsistence in Configuration-page vs. configration.yaml [Bug]: #1877

Open markus-lorenz opened 9 months ago

markus-lorenz commented 9 months ago

What happened?

In short: I believe the GUI and the zigbee2mqtt/configuration.yaml-file are not in sync.

Description: In Addons > Zigbee2MQTT > Configuration in Options-area there are 3 sections:

Problem 1: If I (re)configure settings of mqtt and serial in zigbee2mqtt/configuration.yaml by hand, those settings seem to get out-of-sync with the GUI. I noticed it because I changed the coordinator-name from "networkname" to FQDN in the GUI and the log still complained about not finding the "networkname". In the yaml-file was still the old setting.

Problem 2: The GUI accepts to delete the mqtt- and seriel-setting and have it only sit in the configuration.yaml-file. But that does not work for the socat-part. If I delete it in GUI and write it in the yaml-file, Restart, the settings are automatically again in GUI - I think with a preset of settings.

What browsers are you seeing the problem on?

Chrome

Relevant stacktrace

No response

Did you download state.json.zip?

I will attach state.json.zip

Nerivec commented 9 months ago

I can confirm I've seen several issues in Z2M repo that were the result of the UI config not matching the yaml config; which probably means they got out of sync at some point, and then changes from one side or the other gradually messed things up even more.