pihome-shc/pihome

Schedule and override not working

sandreialexandru opened this issue · 7 comments

Scenario:
-latest image of PiHOME
-update&upgrade OS
-update PiHOME from Github
-delete default zone and create new
-add schedule

Schedule gets inserted into database but running /cron/boiler.php I get Zone: Home Stop Cause: No Schedule - Target C:0 Zone C:24.70
Schedule turns active on web UI but boiler does not turn on.
Activating boost and running /cron/boiler.php triggers the relay to on.

Capture
Capture2
Capture3

When editing a zone, values from Maximum Temperature and Hysteresis Time get updated into the database, but not on the web UI. Whatever value I input they remain 25 and 3

So I upgraded phpmyadmin to version 5.0.2 and this strangely resolved the issue of schedule not working, but the problem of values not getting updated from database when editing a zone still remains

Hi,

If you change the value for max_c in the database using phpmyadmin then you will need to refresh the settings.php web page before the change is shown.

@twa127 I have even deleted browsing history, cache and cookies.
If I edit a zone and change the value of maximum temperature then it gets updated into the database, but if I go back to re-edit the same zone the web UI shows 25 even if the value in the database is 30

okay I'll investigate further

Committed a fix

Thank you!