[SOLVED] [MQTTv2] MqttBroker connection configuration faulty: host : You need to provide a hostname/IP!

Then you should not use mqtt.cfg anymore. This is for MQTTv1 (same with the MQTT Action Addon)

For MQTTv2 Read:

  1. smarthome/extensions/binding/org.eclipse.smarthome.binding.mqtt/README.md at master · eclipse-archived/smarthome · GitHub
  2. [CLOSED] MQTT binding version 2.4 (Pre-release !)

Also: read: How to ask a good question / Help Us Help You (you should have mentioned your OH2 and binding version in the first post :stuck_out_tongue:)