@Harry-van-der-Wolf looks nice. maybe you could create a pull request on that.
i like sweebee’s webapp too. plain and simple.
but now with the new user access feature you could also create an own page for your wife in pimatic itself with the appropriate devices. just a thought.
-
[pimatic-thermostat] Thermostat (web)app
pimatic v0.9 has been released!
Support Pimatic and get some free stickers
Like us on Facebookmake it so !
-
Maybe someone can help me with the following. I have tried to implement the thermostat. I have put the files on my webserver ( nas ) and filled in the config. I can’t manage to get it working. not on SSL ( 443 ) and not on normal ( 80 ).
Someone knows this issue?my config:
<?php // App $app['title'] = 'Thermostaat'; // App title $app['password'] = ''; // App password // Pimatic $pimatic['user'] = 'admin'; // Pimatic username $pimatic['pass'] = 'xxxxxxxxx'; // Pimatic password $pimatic['host'] = 'example.nl'; // Pimatic IP address $pimatic['port'] = 443; // Pimatic port $pimatic['ssl'] = true; // Use https (SSL) $pimatic['poll'] = 5000; // Polling interval //Thermostaat $therm['id'] = 'thermostaat'; // ID of the thermostat device $therm['eco'] = 18; // Eco temperature $therm['comf'] = 20; // Comfort temperature //Temperature sensor $temp['id'] = 'variable_device_temp2'; // The full variable of the device like: livingroom.temperature //Lights $light['id'] = '' // ID of the light switch //$light['id'] = ''; // Make empty if lights are not used ?>
-
@countjuh debug it with chrome developer tab… Should give you some info.
-
i allready did. But. i can’t seem to find the problem. well, i see what, but i can’t solve it cause i dont know where to find it in the php files thats a lack of programming skillz, sry.
-
@countjuh hm, your folder structure doesnt look like the one on github. Where did you get the thermostaat.php code?
-
var setTemp = <?php echo getValue($therm['id'].'.temperatureSetpoint'); ?>;
Error is probably because it cant find your thermostat id. Sure the config.php is correct?
//Thermostaat $therm['id'] = 'thermostaat'; // ID of the thermostat device $therm['eco'] = 18; // Eco temperature $therm['comf'] = 20;
-
looks the right id.
well, i have made a html gui. the credentials are the same there. -
@countjuh you mean that you made your own gui based on this code?
If so, you should try this code first. If the problem maintains you should post all of your code in order to see what is wrong.
It already fails at the first php variable and sweebee’s php codes look fine to me.
-
I meant that i have made a gui for pimatic based on koffienl’s gui.
The thermostat is complete original. I didnt change a single thing.