roleoroleo / sonoff-hack

Custom firmware for Sonoff GK-200MP2B camera
GNU General Public License v3.0
200 stars 45 forks source link

Fix MQTT_IPC_DB handling #160

Closed flreinhard closed 6 months ago

flreinhard commented 6 months ago

Without newline the setting will be saved. But on the next visit to the mqtt config site, the setting is not included in JSON due to missing newline at the end of the conf file. Therefore the value falls back to default and the configured value is lost if != default.

flreinhard commented 6 months ago

This is probably the fix for #131

roleoroleo commented 6 months ago

Thank you.