-
-
Notifications
You must be signed in to change notification settings - Fork 28
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
Seems to have failed to establish a connection with the mq service #64
Comments
I have the same setup. The application does not keep connection to MQTT server and does not subscribe to any topics. So you will not see it in clients list. If all goes well with MQTT part (you may use external client, like MQTT Explorer, to make sure), then just add and setup the integration to HA. If you have any troubles, please check wiki, README and fell free ask for help here. ps. I'll keep this issue open, please let me know if us have succeed or any troubles. |
I integrated mq into hass and saw SleepAsAndroid in the mq console (as shown) I can't seem to get the entity information from the hacs mq base? Thank You! |
Just enable MQTT in the application now, set topic like Corresponding device will be created on the integrations page in HA. |
I've never actually used the data from SAA for anything yet but I had assumed it was working. I just saw a post on the HA forum saying that their mqtt from SAA to the broker isn't working. I just tested it and found the same. In HA there are no entities created in the integration. I checked that mqtt is enabled in SAA and the mqtt URL is "tcp://:@192.168.1.11:1883". which everything is correct locally (except maybe the tcp part?) When I click the "test" button it shows as "connecting" then "failed". I don't see any way to troubleshoot this. |
Sorry for delay, Try to check EMQX logs. It looks like authorisation issue. try to add user and password to SAA connection string, like |
I'm using emqx as the server side of mqtt, and SleepAsAndroid configured emqx's server and the test is successful, but I can't see the corresponding client device in emqx's client list.
What should I do now? I can see mqtt coming from other devices like nodered.
Thank You!
The text was updated successfully, but these errors were encountered: