solarmd-pty-ltd / myPower24-WEB

1 stars 0 forks source link

"Sunsynk Time of Use/ Peak Based Filling " buttons do not work #182

Closed kamenskiq closed 1 year ago

kamenskiq commented 1 year ago

The weekly schedule on and off buttons do not work! Screenshot 2023-03-28 090617

henry-thomas commented 1 year ago

@kamenskiq Please describe the issue with some details.

Are there error messages? Logger FW version? What are the symptoms?

henry-thomas commented 1 year ago

What model Sunsynk is this?

kamenskiq commented 1 year ago

No error mesages, Firmware Ver 106 , Hardware Ver 221. When i turn off the button and click on setting the button turns off and turns on by itself. Screenshot 2023-03-28 092759

henry-thomas commented 1 year ago

Can you confirm that the value is still incorrect after you refresh the page?

kamenskiq commented 1 year ago

Yes

henry-thomas commented 1 year ago

JS was checking boolean value of "false" as a string value when the component value was changed, so this always resolved to true.

Fixed.