I've just realised that there is now a thermostat device available. I have created a dummy thermostat which now appears on the web interface. When I change the temperature I want to execute a Perl script to communicate with my heatmiser thermostat.
The scripting is fine and my device.other script triggers fine when I change the value in the browser. I just cant see for the life of me how to read the new thermostat value in LUA.
I tried:
Code: Select all
devicechanged_svalues['Thermostat']
devicechanged_temperature['Thermostat']