[Help] nc values falling to be recognised

Hello

Forgive my ignorance but cannot seem to get this formula to work. Whether I try to set it as a Global, or directly add it to some of the items. The result box shows it correctly, but seemingly only 0 (zero) is read.

The weird thing is this formula is an old one of mine, and only stopped working when I re-saved the widget following some minor updates and adding a second SIM.

The formula is simple and is only supposed to convert cell signal strength (0-4) into a percentage.

See images.

Any advice/help appreciated.

Sony Xperia 1 V

Hi there,

Try this code snippet:

  • For SIM #1: $mu(round, nc(csig, 0)*100/4)$
  • For SIM #2: $mu(round, nc(csig, 1)*100/4)$

I hope this would help.
:smiling_face: :+1:

Thank you

Unfortunately it still maintains a very persistent and annoyingly big fat zero.

Would be weird, since preview shows something other than 0, but maybe permissions? Try revoking all of them and reapplying.

Hi there,

Based on your screenshots, the $nc(csig)$ value must be 2 ➞ 2 * (100 / 4) = 2 * 25 = 50

I hope this would help.
:smiling_face::+1: