I want to display float values in a neutral grey color. The values are transmitted from a advanced custom sensor via XML. On the web page the flaot values are either displayed in green color or if I use a lookup file the values are displayed grey but as integer instead of float. I need both.

lookup:

<?xml version="1.0" encoding="UTF-8"?>
  <ValueLookup id="value.statenone" desiredValue="1" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:noNamespaceSchemaLocation="PaeValueLookup.xsd">
    <Lookups>
      <Range state="None" from="-99999999" to="99999999"></Range>    
    </Lookups>
  </ValueLookup>

Article Comments

Hello Timo,

lookups only work with integer values. This is because their are conceived to map individual status codes.

Float values can be only used in limit ranges (upper/lower error/warning limits).


Aug, 2021 - Permalink