You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I did a clean install of the latest code for fear that I'd screw up my running instance. I found that some things didn't work because the tstat_uuid is never updated in the thermostats table. I vaguely remember running into this once before on a clean install. Uncommenting the lines in thermo_update_status.php does the trick but clearly there were some concerns about that (given the notes there and it being commented out). Do you remember what the issue was? Unless I missed something in the install, it seems that things would never work...?
The text was updated successfully, but these errors were encountered:
The reason that was commented out was because I was having network problems at home. The error detection in the code was (is?) inadequate and so it thought it HAD connected and wanted to update the uuid with a new value. The new value was an empty string and once that was updated it broke pretty much everything else.
Commenting out the update was the shortest path to not breaking the system.
The right solution would be a more robust error detection. I do recall that I did some work to that end, but don't remember how far along I got.
I also wanted to separate the update of thermostat data from the update of zip code data because a broken connection at home stopped the thing from looking for the zip code data. And if location were split out from thermostat (with a foreign key) then for multiple thermostats in the same area, only one call to the weather underground (or wherever) library would be needed.
I added the enhancement label - the software ought to communicate to the user that something is up. This could (should?) take two forms. An instant email alert and/or a note on the dashboard.
I did a clean install of the latest code for fear that I'd screw up my running instance. I found that some things didn't work because the tstat_uuid is never updated in the thermostats table. I vaguely remember running into this once before on a clean install. Uncommenting the lines in thermo_update_status.php does the trick but clearly there were some concerns about that (given the notes there and it being commented out). Do you remember what the issue was? Unless I missed something in the install, it seems that things would never work...?
The text was updated successfully, but these errors were encountered: