arendst / Tasmota

Alternative firmware for ESP8266 and ESP32 based devices with easy configuration using webUI, OTA updates, automation using timers or rules, expandability and entirely local control over MQTT, HTTP, Serial or KNX. Full documentation at
https://tasmota.github.io/docs
GNU General Public License v3.0
22.05k stars 4.78k forks source link

item Openhab #3662

Closed MabsHA closed 6 years ago

MabsHA commented 6 years ago

how do i create the item in openhab when i use wemos d1 mini with BH1750 and get the folowing MQTT

MQT: Mabs/SmartHouse/tele/Wemos/SENSOR = {"Time":"2018-09-01T11:30:18","BH1750":{"Illuminance":296}}

greeding Maurice

Jason2866 commented 6 years ago

Should work:

Number Test_Illuminance "Illuminance [%.1f Lux]" { mqtt="<[broker:Mabs/SmartHouse/tele/Wemos/SENSOR:state:JSONPATH($.BH1750.Illuminance)]" }

Jason2866 commented 6 years ago

Better ask questions OpenHab related at: https://community.openhab.org/

MabsHA commented 6 years ago

Yes!!!! works thank you very mutch