tagyoureit / nodejs-poolController

An application to control pool equipment from various manufacturers.
GNU Affero General Public License v3.0
325 stars 94 forks source link

[BUG] Heat mode incorrectly displayed #739

Closed antamy closed 1 year ago

antamy commented 1 year ago

nodejs-poolController Version/commit

8.0.1 / master 67b0641

nodejs-poolController-dashPanel Version/commit

8.0.0 / master cb05840

relayEquipmentManager Version/commit

No response

Node Version

No response

Platform

No response

RS485 Adapter

No response

Are you using Docker?

OCP

No response

Pump(s)

No response

Chlorinator(s)

No response

What steps will reproduce the bug?

Access the dashPanel dashboard after njspc has been started.

What happens?

Heat mode is displayed as "Off", even though it is set as "Solar Only". Clicking on Heat Mode displays a dialog box that shows the heat mode that is selected. Changing the heat mode correctly updates the dashboard.

image

What should have happened?

On system start, or start of the pool pump for the day, the dashboard should display the correct heat mode.

Additional information

No response

rstrouse commented 1 year ago

The system was setting the heat mode before the available heat modes had been computed. Pull njsPC and this will now be properly set.

antamy commented 1 year ago

Fixed, thanks!