H
HASS.Agent•5mo ago
Cyroslade

Newbie trying to get mqtt to work

Hey, im trying to get MQTT to work and connect from my home assistant green to MQTT using the hass.agent software but its not working, ive made sure to put in the same information but it never connects
Solution:
hey, thanks for replying, it seems to have worked now, i reinstalled everything, still didnt work but i watched a tutorial, im more of a visual person so yeah, all good now, but now my geolocation with my phone when i leave my house, my pc doesnt turn off or on, dunno if its my mqtt or just my phone being weird
Jump to solution
7 Replies
Amadeo
Amadeo•5mo ago
👋 first question "the same information" that includes username/password/userid? while username/password could be same for both HA and HASS.Agent, the userid/clientid needs to be unique for each client
Cyroslade
CyrosladeOP•5mo ago
each client wdym?, and yeah user and password are same
Amadeo
Amadeo•5mo ago
the clientd needs to be different between HA and HASS.Agent
Cyroslade
CyrosladeOP•4mo ago
seriously?, whyyy xD, ill fix it soon and lyk yours looks newer, i dont have nfc, and it still doesnt connect it didnt work however, im a dumby, when i made a user in ha for mqtt, i uh...didnt know it was the username and password for hass.agent, but now my other thing wont work, i cant get my geolocation to work
Amadeo
Amadeo•4mo ago
hmm it's there starting with 2.1.0 ok so we need to go one level lower, do you maybe have MQTTExplorer? that's a pc program to connect to mqtt brokers
Solution
Cyroslade
Cyroslade•4mo ago
hey, thanks for replying, it seems to have worked now, i reinstalled everything, still didnt work but i watched a tutorial, im more of a visual person so yeah, all good now, but now my geolocation with my phone when i leave my house, my pc doesnt turn off or on, dunno if its my mqtt or just my phone being weird

Did you find this page helpful?