Reply To: Options cannot be saved
Homepage › Forums › Generally › Options cannot be saved › Reply To: Options cannot be saved
Hi,
I just tried something again. I had the entire config output via API. I first defined “Manual” as the watering method. There were no entries for the value “wto:{}” in the config that gave me the API. When I changed and saved the weather provider, the value was gone after I reopened the options and was reset to “apple” as the provider. I couldn't see any changes in the output of the config via API either. Next, I set the watering method to “ETO”. Afterwards I could also see settings under “wto:{…}” in the config from the API. When I then set the weather provider to “openmeteo”. This was in the config on the one hand
“wto”: {
“baseETo”: 0.15,
“elevation”: 262,
“key”: “”,
“provider”: “OpenMeteo”
}
but then also displayed below
“wtdata”: {
“wp”: “OpenMeteo”,….}
Is it possible that some options are saved in areas that are not always present in the config and there are gaps here? If I understand it correctly, the web interface is just the js file that runs on the web server, which then uses the API to actually make the changes. It seems as if there is a difference between what the interface shows, possibly as default, and what is then written to the sprinkler via API. Or if you change something in one place but then the default values are written back in another place.
If I can help in any way or test further, just let me know.
VG Mathias
