sehaas / ha_hisense_tv

Hisense TV integration for Home Assistant
MIT License
100 stars 22 forks source link

not connect #2

Closed wifi75 closed 3 years ago

wifi75 commented 3 years ago

Hello after insert data from HA: image the circle always turns and does not finish the setup, why? image

In HA, in which folder should the certificates be copied?

sehaas commented 3 years ago

Have you configured the MQTT bridge? There you need the certificates. See https://github.com/sehaas/ha_hisense_tv#mqtt

wifi75 commented 3 years ago

I have broker already installed: image

wifi75 commented 3 years ago

sorry what do you mean this below?

image

wifi75 commented 3 years ago

then in zip file there is two certificate: rcm_certchain_pem.cer rcm_pem_privkey.pkcs8

your configuration for mqtt bridge it is like below:

connection hisense address :36669 username password clientid HomeAssistant bridge_tls_version tlsv1.2 bridge_cafile hisense_ca.pem bridge_certfile hisense_client.pem bridge_keyfile hisense_client.key bridge_insecure true start_type automatic try_private true topic /remoteapp/# both 0 ""

what is the correct line for certicate?

certificate do I have to copy them where?

sehaas commented 3 years ago

Just from the names I suggest you try: rcm_certchain_pem.cer => hisense_client.pem and rcm_pem_privkey.pkcs8 => hisense_client.key

I have my client certificate and key next to the mosquitto.conf file with the bridge configuration

sehaas commented 3 years ago

It looks like you were able to establish a connection, so I'll close this issue.