Ad Widget

Collapse

Using band() in calculated items

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • lvg
    Junior Member
    • Oct 2013
    • 1

    #1

    Using band() in calculated items

    The bitwise and function (band()) works good in triggers.
    When I want to use it in a calculated item for normalizing monitored items I can't get is to work. What I think de syntax must be for filtering the lowest 16 bits of a value:

    Code:
    band("item.key",65535)
    This however doesn't work. I've tried several related versions of this but I can't get is to work!

    What is the correct code to do this?

    Btw: I need this for an item prototype (discovery thing)
Working...