How to convert Optical RX Value to dBm Few Value are Ok But Few Value not ok

How to convert Optical RX Value to dBm Few Value are Ok But Few Value not ok

I Need Some For Convert To dBm Value

The easiest way to accomplish this is is a virtual param. This will give you the most flexibility.

Another way of accomplishing your goal is Admin → Config → Edit index page, then find your Pwr param and append || ' dBm' so you end up with something like this:

- label: "'Pwr'"
  parameter: Device.Some.Node.PowerOrSomeOtherParamName || ' dBm'

thanks for the same but this is not right — {Math.ceil(10*Math.log10(Value/10000))} for raw value to dbm convert

Then use a vparam to do the calculations

please give me some examples

console.log(Math.ceil(30 + (Math.log10((value rx power * (Math.pow(10,-7))))*10)));

i have this logic, how to add in my virtual parameter?

value rx power =

  • InternetGatewayDevice.WANDevice.*.X_ZTE-COM_WANPONInterfaceConfig.RXPower
  • InternetGatewayDevice.WANDevice.*.X_CT-COM_GponInterfaceConfig.RXPower