I have created this app because my parents needed a simple way to control their thermostat remotely, the mobile-frontend is to complicated for something simple like this.
A simple thermostat (web)app that communicates with pimatic.
[pimatic-thermostat] Thermostat (web)app
I have created this app because my parents needed a simple way to control their thermostat remotely, the mobile-frontend is to complicated for something simple like this.
A simple thermostat (web)app that communicates with pimatic.
Well, I still need to look at the bottom buttons, they are not always looking good.
@sweebee great job
Something like that would be nice to change the setpoint. I think the input this way is easier with mobile devices.
https://github.com/aterrien/jQuery-Knob
http://anthonyterrien.com/knob/
@magic-tune looks nice! I will have look at it.
Hello @sweebee
i have draw a prototype. Thats what i meant. (Sometimes not so easy to describe in english)
Thermostaat - Modified by Chris
(its just a picture, i didn’t got it to work)
@magic-tune that looks nice too.
mfg
Chris
@sweebee good job! looks fine!
But i cant change the heating temp.
pimatic + MySensors + Homeduino + z-way
https://github.com/n3roGit/MySensors_n3ro
@n3ro: I had exactly the same. In my case it was due to the delay function. As soon as I changed the setpoint, it was immediately reset again.
As of line 72 in index.php you’ll find the update function. As of line 82-85 it says:
clearTimeout(timer);
timer = setTimeout(function(){
$("#dump").load( "set_temp.php?temp=" + setTemp );
}, 1500);
I changed that to:
//clearTimeout(timer);
//timer = setTimeout(function(){
$("#dump").load( "set_temp.php?temp=" + setTemp );
// }, 1500);
That is of course very blunt (or blond ), but it helped in my case. I’m using esp’s and not RF-devices. I don’t need the delay.
I think the combination of the polling time in combination with the delay causes this.
It happens sometimes, I need to reset the polling after updating the temperature, so it won’t poll before updating the setpoint.
This should fix it: https://github.com/sweebee/pimatic-thermostat/commit/287f3484e2e80b536b3e70b55413d28992fb7724
Yes. solved now.
I would suggest to add the meta tag <meta name="robots" content="noindex" />
as first line in every header section of the relevant php script like index.php, error.php.
I do not want google, yahoo (and you name it) to index my thermostat folder as it would allow others to immediately influence my thermostat as there is no password option.
@Harry-van-der-Wolf Good idea, I will add the noindex and an option to enter a password.
@sweebee: By now I feel quite stupid.
As mentioned I have a smaller phone and I would like to position it in landscape mode as your thermostat scales better, apart from one thing (two actually): the + / - buttons.
So I tried to position them left and right of the big SetTemp “button”. But I can’t get it to work. I tried in the style.css and in index.php but I simply can’t get it to work.
Could you give me a hint? (Or provide a landscape-style.css or a autodetecting stylesheet?)
Yesterday I updated my thermostat with the code from github; this broke switching the lights as the paths in inc/lights.php are still the old paths. For instance inc/set_temps.php does include the correct paths.
The password is a great addition IMHO, especially when the app is exposed to the big bad internet
I guess you also forgot to remove some files in the root directory (i.e. lights.php)?
@Rene-Arts yes you were right. Deleted the old files from root and modified the path’s in lights.php.
Found another bug. Cookie cant always be saved if there already is Some html output. This depends on apache or php version i guess.
@sweebee it would be very greate to use this for multiple rooms swipe left & right to switch it
pimatic + MySensors + Homeduino + z-way
https://github.com/n3roGit/MySensors_n3ro
@n3ro I will look into this. Maybe create an array of thermostats in de config and the app will create separate ‘pages’ for each thermostat.
@n3ro I’m currently working on it
config changed like this:
//Thermostaat
$therm[0]['name'] = 'Livingroom';
$therm[0]['id'] = 'thermostat-livingroom';
$therm[0]['sensor'] = 'temp-kitchen';
$therm[0]['eco'] = 10;
$therm[0]['comf'] = 20;
$therm[1]['name'] = 'Kitchen';
$therm[1]['id'] = 'thermostat-kitchen';
$therm[1]['sensor'] = 'temp-kitchen';
$therm[1]['eco'] = 10;
$therm[1]['comf'] = 19;
got so far:
http://wiebenieuwenhuis.nl/dev/thermostaat/
Next thing is sliding or switching.
@sweebee Jeah!
btw… you link is password protected
pimatic + MySensors + Homeduino + z-way
https://github.com/n3roGit/MySensors_n3ro
Oops. the password = password
You can just add as much thermostats as you want.