Is it possible to have a switch in the notification to turn on a switch?
-
[Solved] pimatic tasker temperature
-
I think it’s possible. But I didn’t try this.
you can use tasks to switch devices.
Now we have to find out how we can trigger tasks out of the notification. -
Another short question.
One or two switches or more? -
I hope this help you! Maybe I try to make it work 4 me too
-
fabikrauss. Could you help me. I have Tasker 4.6 installed and I’m trying to get temperature from on of my DHT22 sensors to display on my android 5.0.2 phone. I wrote the script according to your example but it’s displaying all of the data from the variable.
{ "variable": { "name": "pilight-koti-temperature5.temperature", "readonly": true, "type": "attribute", "value": 5.1, "unit": "°C" }, "success": true }
My script
var arr = [];
arr = JSON.parse(global(“HTTPD”));
var DHT22_ulko_temp = arr.variable.value;How can I get it to show only the temperature value?
I was able to get a button to my homescreen to popup the temperature info. Is it possible get the temperature to show like a widget in the homescreen?
-
in tasker you should add %DHT22_ulko_temp to your notification than it should work. maybe you used %HTTPD.
add a profile status: displaystatus on. then use your DHT22 task. every time you unlock your tablet/phone. the temp. will be read from pimatic and is shown in the notification.
-
Here is my tasker task. Does it look ok?
[img]https://www.dropbox.com/s/68tuvqh9h4tql84/Screenshot_2015-04-30-13-25-45.png?dl=0[\img]
If the popup is %DHT22_ulko_temp then it shows text “dht22_ulko_temp”. And if I change it to %HTTPD I’m right where I started.
-
First: you should remove yourusername and password. in the picture
Second: have you tried to remove the coma before the %
Try to rename the variable in the js file to “test” and in tasker too, to get sure you have no wrong letter set.
-
Thanks for the hint.
Changing the variable name to test did the trick, it’s working now. The comma comes from leaving the Title empty.
-
Maybe tasker dont accept the _