I have updated all code and am very happy to say I have this all working on my OSPi, with python interval app on port 8080 and this mobile PHP app in an apache server on port 80.
I am still testing, but the only issue I have found is that my times appear to be out by an hour. My Pi has time correctly set and I have “Australia/Adelaide” in my config.php and +9:30 set in ‘settings’, which seems to have propagated through to the interval python app.
Is there perhaps some daylight saving issue that shouldn’t be applying in my timezone? The hour discrepancy makes me suspect a daylight saving adjustment. I should also add that times in the logs are correct, it is just the display in both webapps that is wrong.