Changing Temperature Targets Via KumoApp

20 views
Skip to first unread message

Fraser Gillies

unread,
Mar 12, 2016, 6:36:50 AM3/12/16
to Wireless Sensor Tags
Hi

I am using kumoapp to control some heaters and have got it working to say if temp is too high turn off heater and vice versa - magic!

I would like to be able to say "If I'm home then set these temperature targets, if I'm not then these ones". I've got some ideas for the 'if I'm home" bit but the latter part is harder. I think I have two options

1. Use kumoapps to programmatically change tag temperature targets - Is this possible? Can't find it in the docs!
2. Assign the targets in the code - less flexible but OK. Would prefer 1 if possible

Any ideas?

Many thanks

Fraser

Tom Wright

unread,
Mar 12, 2016, 7:35:52 PM3/12/16
to Wireless Sensor Tags
Hi Fraser,

I'm new to this but I sort of managed to do something similar to what you describe, only with the adjustment to the temperature targets occuring at a specified time rather than location:

var tags = <#tags_[12|13|52|72|21]_N#>;
<@Set time@>.Task=function(){
KumoApp.Log("New parameters set");
tags.forEach(function (tag){
tag.setTempSensorThresholds(<%Minimum Temperature_N%>, <%Maximum Temperature_N%>);
});
}

It is by no means pretty but it seems to work.

Regards
Tom

Reply all
Reply to author
Forward
0 new messages