(OBSOLETE) ESP MQTT JSON Multisensor for Home Assistant. Supported sensors include the TEMT6000 light, AM312 PIR, DHT22 temperature/humidity sensors. RGB led supports flash, fade, and transition. Over-The-Air (OTA) uploading, too!
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).
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.