GetTemperatue returns 0
Closed this issue · 5 comments
I tried to get temperature value using Tasker's Locus Map Tasker Plugin .
Of course in LocauMap4, it shows temperatures well in Sensor Manager.
In Tasker, all other sensor values are gotten well, but tempeature is 0 all the time.
So I doubt the missing part may be in Locus Map itself, not Tasker plugin or LocusMap API.
I'm not sure this place is for this problem. Anyway, I'd like to notify this problem.
Thanks.
There are multiple temperatures, some are related to Bluetooth connected Sensors. Some related to ANT Sensors and one is for the Battery Temperature.
Did you try to output all Temperature values to see which field has your readout?
But I agree that you may found a device/version which may have an API issue because temperature readout is less tested than other API functionalities.
Hi guys, if values are visible directly in the app dashboard (please check this). then it should be available over API as well > they share the exactly same object. I'm double-checking it and do not see any problem here.
Btw. are we talking about temperature from the external sensors right?
In Locus Map's dashboard, sensor temperature is well displayed.
In Tasker's Locus plugin, I'm using "Request sensors and stats" action, however, in list, only one temperature is displayed(for example, battery temperatue is not there).
When triggering that action, I get "0.0" value. I'm not sure this problem is on Locus Map's API part or plugin part...
@alogblog could you retry testing? It wasn't clear if you have external temperature sensors available or if this issue was a misunderstanding about temperature sensor sources. So I did add Battery Temp in the plugin as a 2nd option to make it more obvious that locus uses multiple temperature sources.
use this link to join or leave the beta program
https://play.google.com/apps/testing/falcosc.locus.addon.tasker
@menion I suggest closing and let him reopen it if this wasn't a misunderstanding.
Just to make it clear:
sensor_temperature
- temperature from the ANT+ based temperature sensorsensor_battery_temperature
- temperature of you devices battery (phone battery)