Openhab 3 Mqtt Broker Problems

Muchas Gracias

After created them directory and mosquitto.conf and changed the fileowner to mosquitto everything is working fine :slight_smile: :slight_smile:

OH 3 Broker is green to

Thank you

2 Likes

Username and Password dose help to get it going.

Now how did you install openhabian and mosquitto so the team can see what went wrong. This is an issue @mstormi will fix if he has enough information to fix it. He is likely looking for the steps you took to install openhaian.

Can you both also goto help and about / technical details / View details / copy and past contents here.

runtimeInfo:
  version: 3.0.0
  buildString: Release Build
locale: en_AU
systemInfo:
  configFolder: /etc/openhab
  userdataFolder: /var/lib/openhab
  logFolder: /var/log/openhab
  javaVersion: 11.0.9
  javaVendor: Azul Systems, Inc.
  javaVendorVersion: Zulu11.43+88-CA
  osName: Linux
  osVersion: 5.4.79-v8+
  osArchitecture: aarch64
  availableProcessors: 4
  freeMemory: 85160224
  totalMemory: 335544320
bindings:
  - astro
  - bom
  - chromecast
  - http
  - ipcamera
  - irtrans
  - mqtt
  - sensibo
clientInfo:
  device:
    ios: false
    android: false
    androidChrome: false
    desktop: true
    iphone: false
    ipod: false
    ipad: false
    edge: false
    ie: false
    firefox: false
    macos: false
    windows: true
    cordova: false
    phonegap: false
    electron: false
    nwjs: false
    webView: false
    webview: false
    standalone: false
    os: windows
    pixelRatio: 1
    prefersColorScheme: dark
  isSecureContext: false
  locationbarVisible: true
  menubarVisible: true
  navigator:
    cookieEnabled: true
    deviceMemory: N/A
    hardwareConcurrency: 12
    language: en-US
    languages:
      - en-US
      - en
    onLine: true
    platform: Win32
  screen:
    width: 1920
    height: 1080
    colorDepth: 24
  support:
    touch: false
    pointerEvents: true
    observer: true
    passiveListener: true
    gestures: false
    intersectionObserver: true
  themeOptions:
    dark: light
    filled: true
    pageTransitionAnimation: default
    bars: filled
    homeNavbar: default
    homeBackground: default
    expandableCardAnimation: default
  userAgent: Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML,
    like Gecko) Chrome/87.0.4280.88 Safari/537.36
timestamp: 2020-12-26T14:07:25.358Z

I installed openhabian on a SD-Card using Etcher and mosquitto via the openhab-configtool. This is my output:

runtimeInfo:
  version: 3.0.0
  buildString: Release Build
locale: de_DE
systemInfo:
  configFolder: /etc/openhab
  userdataFolder: /var/lib/openhab
  logFolder: /var/log/openhab
  javaVersion: 11.0.9
  javaVendor: Azul Systems, Inc.
  javaVendorVersion: Zulu11.43+88-CA
  osName: Linux
  osVersion: 5.4.79-v7+
  osArchitecture: arm
  availableProcessors: 4
  freeMemory: 98470032
  totalMemory: 194838528
bindings:
  - enocean
  - homematic
  - mqtt
  - shelly
  - zigbee
clientInfo:
  device:
    ios: false
    android: false
    androidChrome: false
    desktop: true
    iphone: false
    ipod: false
    ipad: false
    edge: false
    ie: false
    firefox: true
    macos: false
    windows: true
    cordova: false
    phonegap: false
    electron: false
    nwjs: false
    webView: false
    webview: false
    standalone: false
    os: windows
    pixelRatio: 1.25
    prefersColorScheme: light
  isSecureContext: false
  locationbarVisible: true
  menubarVisible: true
  navigator:
    cookieEnabled: true
    deviceMemory: N/A
    hardwareConcurrency: 4
    language: de
    languages:
      - de
      - en-US
      - en
    onLine: true
    platform: Win32
  screen:
    width: 1536
    height: 1024
    colorDepth: 24
  support:
    touch: false
    pointerEvents: true
    observer: true
    passiveListener: true
    gestures: false
    intersectionObserver: true
  themeOptions:
    dark: dark
    filled: true
    pageTransitionAnimation: default
    bars: filled
    homeNavbar: default
    homeBackground: default
    expandableCardAnimation: default
  userAgent: Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:84.0) Gecko/20100101
    Firefox/84.0
timestamp: 2020-12-26T14:19:42.046Z

@Superpedro did you resatert the pi?
for me after restart the problem still existed.

After I followed the instructions in this post it now survives a restart as well:

Hi,

yes it´s gone after reboot :frowning:

Thanks god ahhh Markus - perfect work it´s working now

Hello, can you please help me? Openhab3 MQTT system broker connection screen is blank.

We would need more information to be able to help you @haybolat

What broker are your using?
How did you install your broker?

Is it this screen that is blank?

What broker are your using?

Mosquitto

How did you install your broker?

I installed it via openhab-config

Is it this screen that is blank?

Yes

I reinstalled openhab3 2 times. It didn’t happen again, I don’t know where I’m making a mistake.

Ok that doesn’t look good

You don’t need a system broker to get it working.

Install the MQTT Binding if you haven’t already then create a thing /broker

Yes, I just reinstalled. I did what he said before installing mosquitto. Thank you very much.
Why is this happening? is this a system error?

I assume the main issue is that mosquitto changed something and now openHABian needs to catch up in the way it is installed but thats just a guess,

The System broker page being blank is a new issue and if more people experience it the an github issue should be raised.

Understood. Thank you very much.

My MQTT has a communication error. Can I set up a broker in Openhab 3 from the binding or do I have to install Mosquitto, etc?
Thanks

No. openHAB 3 does not come with an MQTT broker.

You don’t have to, there are other options, but Mosquitto is very popular.

Again, the mqtt broker setting page is empty, I think this makes the system settings (locale and timezone) when the settings change.

Setting locale and timezone to default setting is fixed. This is a system error in my opinion. let us report it where.