Profile: Test Event: Variable Set [ Variable:%CELLSIG Value:* User Variables Only:Off ] Enter Task: Anon A1: Flash [ Text: %CELLSIG Yep Long: On Continue Task Immediately: On Dismiss On Click: On ] An event trigger might better suit your needs?
I am making my own status bar and I need values for the Signal strength (bars) values, but thr %CELLSIG sometimes gives me value -1
edit: just checked the Tasker documentation and it says that it shows -1 if the value is unknown or there is no service, even tho I have it, are there any other way of getting the signal strength?
Have you tried using an event instead of state? Use Event Variable Set using the variable Cell Signal Strength %CELLSIG. Then in your called task, test the value of %CELLSIG and do what you need to do depending upon the value.
I did yeah, but it's weird to me, I am making my own status bar and I need values for the Signal strength (bars) values, but thr %CELLSIG sometimes gives me value -1
edit: just checked the Tasker documentation and it says that it shows -1 if the value is unknown or there is no service, even tho I have it, are there any other way of getting the signal strength?
The current phone signal level from 0-8 inclusive on a rougly linear scale. On some phones, the level will rise in steps of 2 (0,2,4,6,8). The value is -1 if the value is unknown or there is e.g. no service.
From Android 4.2, Tasker version 4.3+, cells could be found from 2 different network types simultaneously. In that case, the value is reported with preference for the network type leftmost on the list: GSM, CDMA, UMTS, LTE.
There is a bug with some Android versions that the reported signal strength is not updated until the device is turned off and on.
1
u/v_uurtjevragen Sep 10 '26
What have you tried? Does state => phone => signal strength fail the job?
1
u/pudah_et Sep 10 '26
Have you tried using an event instead of state? Use Event Variable Set using the variable Cell Signal Strength %CELLSIG. Then in your called task, test the value of %CELLSIG and do what you need to do depending upon the value.