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

Seems to have failed to establish a connection with the mq service #64

Open
MagicStarTrace opened this issue Jan 27, 2024 · 3 comments
Open
Labels
documentation Improvements or additions to documentation need more info

Comments

@MagicStarTrace
Copy link

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!

@IATkachenko
Copy link
Owner

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.

@IATkachenko IATkachenko added documentation Improvements or additions to documentation need more info labels Jan 28, 2024
@MagicStarTrace
Copy link
Author

MagicStarTrace commented Jan 29, 2024

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)

image

I can't seem to get the entity information from the hacs mq base?
What should I do and how do I tune

Thank You!

@IATkachenko
Copy link
Owner

Just enable MQTT in the application now, set topic like SleepAsAndrod/MagicStarTrace and press start tracking.
You will see message from the application in this topic, and the integration will create entity for you with sensor.sleepasandroid_magicstartrace.

Corresponding device will be created on the integrations page in HA.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
documentation Improvements or additions to documentation need more info
Projects
None yet
Development

No branches or pull requests

2 participants