zigbee2mqtt-frontend icon indicating copy to clipboard operation
zigbee2mqtt-frontend copied to clipboard

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

Open markus-lorenz opened this issue 1 year ago • 1 comments

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:

  • socat
  • mqtt
  • serial

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

markus-lorenz avatar Jan 05 '24 11:01 markus-lorenz

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.

Nerivec avatar Jan 06 '24 22:01 Nerivec