I try to connect my old Homey by a MQTT connection to HA.
So I installed Mosquitto broker on HA.
I didn’t use login in the config.
MQTT broker is started and showing up in integration (no connected entities)
In Homey I installed a MQTT client and trying to configure it.
As Ip/DNS I used my https:// myname.duckdns.org I normally use for login to HA
Portnr: 1883
I didn’t select TLS and also not the username and password in the settingspart of my Homey MQTT client part (because I did not fill this in in HA MQTT config).
(Or do I need to fill in here my login of HA?, I tried anyway also without succes)
I did setup a flow to send a message to HA.
After setup Homey there is no (Homey) entity showing up in the integrations part of HA.
Thanks for the fast reply.
I changed the IP to my internal IP.
Still no entity showing up in HA.
If I look at the Mosquitto log there is now a connection, (It was there not before)
It is shwowing:
1585247305: New client connected from xx.xxx.xxx as auto-3BEAE7BB-5E42-43B0-6443-1397C73999E0 (p2, c1, k60, u'homeassistant').
1585247305: New connection from 192.168.x.xx on port 1883.
1585247305: Socket error on client <unknown>, disconnecting.
It says socket error.
What does this mean?
Do I need to define the client somewhere or so?
(At least there is a connection now )
EDIT: I’m further. I did give a username and passwd and now there is a connection
But still no entity
EDIT2:
I’m able to send message from and to client and broker in de tools section MQTT at publish and listen.
How to do this in node red if there is no entitie?