Canedje
Posts: 265
Joined: Thu Mar 26, 2015 7:18 am

weekschedule for Thermostat

Sun Apr 19, 2015 7:34 pm

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?

User avatar
DougieLawson
Posts: 39121
Joined: Sun Jun 16, 2013 11:19 pm
Location: A small cave in deepest darkest Basingstoke, UK
Contact: Website Twitter

Re: weekschedule for Thermostat

Sun Apr 19, 2015 8:17 pm

I'd start by downloading this: http://www.phpjobscheduler.co.uk/ and then hacking it.
Note: Any requirement to use a crystal ball or mind reading will result in me ignoring your question.

Criticising any questions is banned on this forum.

Any DMs sent on Twitter will be answered next month.
All non-medical doctors are on my foes list.

Canedje
Posts: 265
Joined: Thu Mar 26, 2015 7:18 am

Re: weekschedule for Thermostat

Mon Apr 20, 2015 7:00 am

DougieLawson wrote:I'd start by downloading this: http://www.phpjobscheduler.co.uk/ and then hacking it.
Thanks

Return to “Other programming languages”