Hi All
What should the "Controller" settings be to get HiveMQ to work.
I have connected to HiveMQ from Node-RED to confirm the connection, but i am unable to get my ESP to connect:
MQTT : Intentional reconnect
MQTT : Broker C005 connection failed (6/0)
I am using:
ESP_Easy_mega_20201130_normal_ESP8266_4M1M
I have also tried the latest firmware with the same result.
Here is my Controller settings
Protocol: Home Assistant (openHAB) MQTT
Locate Controller: Use Hostname
Controller Hostname: broker.hivemq.com
Controller Port: 1883
Controller Queue
Minimum Send Interval: 100 [ms]
Max Queue Depth: 10
Max Retries: 10
Full Queue Action: Ignore New
Check Reply:
Ignore Acknowledgement
Client Timeout: 100 [ms]
Credentials
Use Extended Credentials: yes
Controller User: xxxyyyzzz
Controller Password: •••••
MQTT
Controller Client ID: %sysname%/%unit%
Unique Client ID on Reconnect:
Current Client ID: Coffee/1
Note: Updated on load of this page
Publish Retain Flag:
Controller Subscribe: %sysname%/#
Controller Publish: %sysname%/%tskname%/%valname%
Controller LWT Topic: %sysname%/%unit%/availability
LWT Connect Message: payload_available
LWT Disconnect Message: payload_not_available
Send LWT to broker: Will Retain:
Clean Session:
Enabled:
Please point me in the right direction.
Resolved - HiveMQ - What should the settings be?
Moderators: grovkillen, Stuntteam, TD-er
Resolved - HiveMQ - What should the settings be?
Last edited by Zodiac69 on 17 Jun 2021, 22:13, edited 1 time in total.
Re: HiveMQ - What should the settings be?
What is your IP configuration?
Or maybe an easier test, does the unit set the time properly if you only check to use NTP, without actually setting a host for NTP server.
Or maybe an easier test, does the unit set the time properly if you only check to use NTP, without actually setting a host for NTP server.
Re: HiveMQ - What should the settings be?
FWIW, some services need to have controller settings set to "Check Reply: Check Acknowledgement."Check Reply: Ignore Acknowledgement
This might not pertain to HiveMQ, but worth trying it out.
Note: I don't use HiveMQ so I can't test it out.
- Thomas
Re: HiveMQ - What should the settings be?
I think it doesn't matter for MQTT, this is mainly an issue with HTTP services.
Also that specific issue is mainly fixed in the tools-Advanced settings to wait for a reply after sending to HTTP.
His logs suggest the ESP can't even connect to the broker.
However since you're connecting to an online service, you may need to set the timeout to 1000 msec.
Also that specific issue is mainly fixed in the tools-Advanced settings to wait for a reply after sending to HTTP.
His logs suggest the ESP can't even connect to the broker.
However since you're connecting to an online service, you may need to set the timeout to 1000 msec.
Re: HiveMQ - What should the settings be?
Hi TD-er
So out of desperation i loaded - ESP_Easy_mega_20210615_normal_ESP8266_4M1M via https://td-er.nl/ESPEasy/
And it work 1st time...???
Instant connect with no errors.
So what has changed between ESPEasy_ESP82xx_mega-20210503 and ESP_Easy_mega_20210615_normal_ESP8266_4M1M?
That will give clarity on why mqtt to external broker is not working on ESPEasy_ESP82xx_mega-20210503_normal_ESP8266_4M1M.
So out of desperation i loaded - ESP_Easy_mega_20210615_normal_ESP8266_4M1M via https://td-er.nl/ESPEasy/
And it work 1st time...???
Instant connect with no errors.
So what has changed between ESPEasy_ESP82xx_mega-20210503 and ESP_Easy_mega_20210615_normal_ESP8266_4M1M?
That will give clarity on why mqtt to external broker is not working on ESPEasy_ESP82xx_mega-20210503_normal_ESP8266_4M1M.
Re: HiveMQ - What should the settings be?
The May build had some issues with processing WiFi events.
So I did fix these issues.
So I did fix these issues.
Who is online
Users browsing this forum: No registered users and 34 guests