I am unable to get my items to appear in the UI within OpenHAB.
I believe I have configured MQTT in OH2 correctly - the items I have configured appear in the “Configuration>Items” page - however they are not visible in the “Control” page, nor the Basic UI.
I am running this on a RasPi 3B running Raspbian Lite. Both Mosquitto and OH2 appear to be operating correctly.
The /etc/openhab2/services/mqtt.cfg file has this line:
mqtt:broker.url=tcp://localhost:1883
The /etc/openhab2/items/weather.items has these lines:
Number temperature "Temperature [%.1f]" {mqtt="<[broker:weatherstation/reading:state:JSONPATH($.temperature)]"}
Number humidity "Humidity [%.1f%%]" {mqtt="<[broker:weatherstation/reading:state:JSONPATH($.humidity)]"}
A sample message from that topic is here:
{"Sensor_ID":"A4E","humidity":75,"temperature":15.5,"wind_speed":4.3,"wind_speed_max":5.4,"wind_dir":135,"rain_sum":24.6,"validity":1,"full_message":"A4 E2 2B 4B 4 5 0 52 6 F2 ","packet_count":949,"bad_count":242,"spacing":95974,"average_interval":95102,"rain_mm":0}