Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Problems adding MQTT Broker #16

Open
ubarni opened this issue Jul 4, 2023 · 4 comments
Open

Problems adding MQTT Broker #16

ubarni opened this issue Jul 4, 2023 · 4 comments

Comments

@ubarni
Copy link

ubarni commented Jul 4, 2023

Hi,
i successfully connected my ESP to my Truma and was able to control it from the Web UI.
Now i wanted to add anything to my MQTT Server.
I use this in several ESPHOME projects and it worked out of the box:

mqtt:
  broker: !secret mqtt_url -> "192.168.178.11"
  port: !secret mqtt_port -> "1883"
  discovery: false
  topic_prefix: service/truma/set

But what i got in the Web UI Console is:

19:07:25	[D]	[mqtt:183]	Resolving MQTT broker IP address...
19:07:25	[D]	[mqtt:216]	Resolved broker IP address to 185.198.140.245
19:07:25	[I]	[mqtt:246]	Connecting to MQTT...
19:07:43	[W]	[mqtt:335]	MQTT Disconnected: TCP disconnected.
19:07:43	[I]	[mqtt:246]	Connecting to MQTT...
19:08:02	[W]	[mqtt:335]	MQTT Disconnected: TCP disconnected.
19:08:02	[I]	[mqtt:246]	Connecting to MQTT...
19:08:12	[E]	[mqtt:370]	Can't connect to MQTT... Restarting...
19:08:12	[I]	[app:127]	Forcing a reboot...

Is there a way to configure the MQTT Broker?

Regards...
Uwe

@ubarni
Copy link
Author

ubarni commented Jul 4, 2023

What i want to achieve is to control my Truma in my Camper Van from my Home Assistant at home.
So i have to send the data from my local Camper Van WiFi to my MQTT Server at home.

@Fabian-Schmidt
Copy link
Owner

I will look at this issue in a couple of days. Need to setup a test so I can reproduce this issue.

@Fabian-Schmidt
Copy link
Owner

Hi,
I finally found some time and installed an MQTT broker on my OpenWRT router to test. So far it is working for me without any issues.
Can you ensure there is no network related issue?

@dougle03
Copy link

What i want to achieve is to control my Truma in my Camper Van from my Home Assistant at home.
So i have to send the data from my local Camper Van WiFi to my MQTT Server at home.

Did you get this sorted? The MQTT element in ESPHome is independent of the Truma components. From your logs the ESP is unable to find your MQTT server. Ensure you are able to reach your MQTT from the local wifi network your ESP is connected to. Failing that, try posting your MQQT issue on the main ESPHome page or the FB group

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants