Temperature Setpoint & PHP script
Posted: Friday 13 November 2015 10:48
Hello,
I would launch a script when I modify a temperature setpoint
I have a Netatmo thermostat and I have implemented a PHP script to show temperature and thermostat status.
That's working well
Now, I would to be able to set the temperature with Domoticz.
But the temperature setpoint widget, doesn't allow to launch a script when I change the temperature (as for ON/OFF button).
A solution is to use CRON, to compare the Domoticz setpoint and netatmo setpoint.
If values are differents, send the new temperature to netatmo.
-> the risk is to erase domoticz setpoint when I update data from netatmo before checking setpoints
Is someone know how launch a PHP script when temperature setpoint is modified?
Thanks
I would launch a script when I modify a temperature setpoint
I have a Netatmo thermostat and I have implemented a PHP script to show temperature and thermostat status.
That's working well
Now, I would to be able to set the temperature with Domoticz.
But the temperature setpoint widget, doesn't allow to launch a script when I change the temperature (as for ON/OFF button).
A solution is to use CRON, to compare the Domoticz setpoint and netatmo setpoint.
If values are differents, send the new temperature to netatmo.
-> the risk is to erase domoticz setpoint when I update data from netatmo before checking setpoints
Is someone know how launch a PHP script when temperature setpoint is modified?
Thanks