Helllo
I'm trying to make a Thermostat with the RPI.
I'm allready able to read the current temperature with Python code and store this in MYSQl and logfile
I'm also able to control GPIO output for relais
Beside this I'm able to present the actual information on a webpage by PHP.
The next step I need is PHP code to create and change a weekschedule with the format: Day, Time, Temperature
In PHP code by the user.
Each setpoint is a line.
The results stored in a file, presented on the website and possibility to change each line by the website user.
Can somebody help me with some code in PHP to arrange this?
Or a help to start?