arjenhiemstra / ithowifi

Itho wifi add-on module (ESP32 wifi to itho I2C protocol)
GNU General Public License v3.0
181 stars 32 forks source link

Error on updating System Settings #232

Closed Dixet closed 4 months ago

Dixet commented 7 months ago

Describe the bug On the "System Settings" page the save button will report "error: Activated settings input value is not a valid JSON array!" and exits the screen without saving. Even without changing anything on the page this error occurs

To Reproduce Steps to reproduce the behaviour:

  1. Go to 'System Settings'
  2. Click on 'Save'
  3. See error

Expected behaviour Save the settings without error

Device information

Smartphone (please complete the following information):

arjenhiemstra commented 7 months ago

I'm not able to reproduce this. What value is in the input field of setting "Activate settings indexes"?

Dixet commented 7 months ago

"Activate settings indexes" is blank.

I get the same message on both modules I have, one on WPU5G and one on Autotemp after updating to 2.7.1

arjenhiemstra commented 7 months ago

blank is not a valid array. I apparently removed the default setting by accident. The default config is to have at least "[]" in there (without quote marks).

Please fill in "[]" and then try again.

I'll update it in the next release, thanks for reporting this!

Dixet commented 7 months ago

Check, that works! Thanks for the quick replies

arjenhiemstra commented 7 months ago

I'll leave this open for now as guide to other users if they experience the same issue Fixed in 2.7.2 https://github.com/arjenhiemstra/ithowifi/releases/tag/Version-2.7.2

stale[bot] commented 4 months ago

This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions.