If the number is the first thing in the string then it should be working right
away (if number is expected, but string is given, then it automatically tries
to convert the string to number).
If a string is returned like this “-70 dBm” are you saying this will try and convert this automatically to a number? If that is true is it going to convert it to -70 or 70? Wouldn’t it try and convert the " dBm" also? Can you give me an example how I can convert
“-70 dBm” → -70 or 70
I am not sure if the Dude will graph negative numbers.
Thank you for your input, there was a bug, that negative values would not be
graphed correctly when using manually created ‘function’ type data sources.
Bug fixed, wait for next release.
shea, if function will return “-100 dBm” dude will graph value -100
automatically
Heres an example of a data source I use. Hopefully this will help others with the whole negative value thing if you really want it to show up as a positive in the Dude.
using 3 beta 6 for a while now…
Subscriber Unit off a Trango 5830 AP:
name: customer RSSI
type: function
data: gauge
scale mode: multiply
scale: 1.000
unit: dBm
rate: none
device: Trango 5830 AP