-
-
Notifications
You must be signed in to change notification settings - Fork 14
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
Can't connect to mosquitto mqtt broker #7
Comments
Same problem here. |
Hi, It might be stupid but did you press the "Commit values" and then "Save to flash and reboot?" |
Hi @ljalves , I promise I have :) |
I also use mosquitto without any issue. Can you check(paste here) mosquitto log while you reboot the module? |
For me the issue was that my password for mqtt was too long (64 Chars), now I have 25 chars and it works! |
Interesting... never thought on that and now looking at the code I can see that I only have a max. of 30 chars for password... do you think I should make it bigger? |
Hmh I think the length is okay, sure always is bigger better but 30 is good enough. On the other hand if it is possible to make it bigger than why not do it :) ? |
Hi, I've flashed an Ankuoo NEO with PLUG UPGRADE. Then with MQTT, I've liked it to Home Assistant as a switch and works (I'm able to turn on and off). The issue is that when I press the switch, the light turn on but on HA the switch toggle off after few seconds. Then to turn it off I need to turn on again the switch and rapidly turn it off. It seems that the switch is unable to return the state to home assistant and for that reason it toggle off on Love UI. My setup on the http://192.168.XX.YY/config_mqtt is: The setup on Home Assistant configuration.yaml is: Actually I've made tons of attempts changing the value of qos, retain and tried adding other value to HA configuration like availability topic etc. Someone can help me? |
"Ankuoo NEO"? That plug is not on the "supported hardware" list... does it work?? (apart from the issue with the state). About your issue, several things can be going wrong.
Post here your results. |
Hi,
|
If this status page AFTER turning itself OFF "automatically"? If not, then you really need to check the status page AFTER the switch turns OFF (for no reason) to find out what caused it. |
By the way, the reference model is printed in the sticker at the back (not asking for the wifi module model). |
Hi!
I have a RaspberryPi (OS: dietpi) with homebridge and mosquitto: both seem to work fine.
My problem is that I cannot get my Ankuoo rec modules to connect to the mqtt server...
Here are my configuration files:
MODULE
HOMEBRIDGE
mqtt settings seem to work - If I subscribe another mqtt client to those topics, I correcly see homebridge sending messages.
Anyway, in the status page of the ankuoo module I always get "MQTT server: Disconnected".
Any ideas on what I'm missing?
Thank you in advance, and congratulations for your excellent work on this firmware.
The text was updated successfully, but these errors were encountered: