Homeseer and Autoremote

134 views
Skip to first unread message

baudi

unread,
Oct 1, 2012, 4:19:36 PM10/1/12
to tas...@googlegroups.com
I just posted this message on one of the Homeseer forums. It explains how use AutoRemote to send an updated temperature reading from the thermostat in my house to Tasker. It also contains a neat little technique for sending javascript to the phone for execution. Here's the Tasker side of it.

Profile: set (176)
State: AutoRemote [ Configuration:set ]
Enter: Anon (177)
A1: JavaScriptlet [ Code:
        varn = arpar[1];
        setGlobal( varn, eval(arcomm)); 
    Libraries: Auto Exit:On Timeout (Seconds):45 ]

baudi

unread,
Oct 1, 2012, 6:24:04 PM10/1/12
to tas...@googlegroups.com
I tried making an even more generic version of this that would simply eval everything to the right of the =:=, but that doesn't work for the Tasker extensions such as setGlobal. In other words, if arcomm contains "setGlobal("Test","testvalue")", eval(arcomm) does not work.

Reply all
Reply to author
Forward
0 new messages