Skip to content
This repository was archived by the owner on Dec 8, 2019. It is now read-only.
This repository was archived by the owner on Dec 8, 2019. It is now read-only.

Bruh Multisensor unable to set PIR value and status in Openhab #57

@msgowdara

Description

@msgowdara

I am beginner. I am using Openhab2. I can eaxtract Temp, Humidity and LDR, but unable to extract PIR motion status to Openhab2 Basic UI.

My item is as below
String LivingRoom_Motion "Motion Sensor [JSONPATH($.motion):%.1f]" (LivingRoom, gMotion) { mqtt="<[mqttbroker:home/livingroom:state:JSONPATH($.motion)]" }

I am getting "Err" value beside motion in Basic UI.

What should be the item type (I tried Switch, Number and Contact but no success).

Kindly help me in item creation to fetch value.

I am getting following JSON value from sensor

home/livingroom {"state":"OFF","color":{"r":255,"g":255,"b":255},"brightness":255,"humidity":"59.60","motion":"standby","ldr":"9","temperature":"31.70","heatIndex":"27.37"}

Kindly help.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions