You are using port 8884 on hive and 1883 on Tasmota. If you are using TLS/SSL I think the port is 8883.
Rather than taking a screenshot of the output it’s better to just cut and paste the text after a restart of the device because we can see the connection trail.
Regards
Phil K
Sent from Mail for Windows
I have read so many articles about it on the internet. But somehow I could not communicate between hivemq and tasmota.
I run the tests from https://websocketclient.hivemq.cloud/. If this place works, I will have taken care of the javascript part.
On hivemq:
Host: ......s1.eu.hivemq.cloud
Port: 8884
UserName, Password, Client ID are correct.
SSL : True
When I say connect, it connects successfully.
After that, the Publish and Subscriptions sections do not work.
In the Publish section:
I am using cmnd/tasmota_kotx/POWER.
In the sub section
I am using stat/kotx1/RESULT code.
If Tasmota is in MQTT
Host: broker.hivemq.com
Port: 1883
Other info like on hivemq.
However, when I click the Publish button on Hivemq, it does nothing.
Do you have an example that you can recommend on this subject? It's about hivemq cloud and tasmota.
--
You received this message because you are subscribed to the Google Groups "TasmotaUsers" group.
To unsubscribe from this group and stop receiving emails from it, send an email to sonoffusers...@googlegroups.com.
To view this discussion on the web, visit https://groups.google.com/d/msgid/sonoffusers/cef1f1d4-1bbd-4e69-ba8e-780a70717360n%40googlegroups.com.
Well TLS isn’t supported in the standard builds so either disable TLS in hive or compile with TLS
From: Ydb
Sent: 01 June 2022 18:48
To: TasmotaUsers
Subject: Re: Hivemq - Tasmota - Javascript
Tasmota only connects when I type 1883. Tried all other port numbers, can't connect.
--
You received this message because you are subscribed to the Google Groups "TasmotaUsers" group.
To unsubscribe from this group and stop receiving emails from it, send an email to sonoffusers...@googlegroups.com.
To view this discussion on the web, visit https://groups.google.com/d/msgid/sonoffusers/cef1f1d4-1bbd-4e69-ba8e-780a70717360n%40googlegroups.com.
--
You received this message because you are subscribed to the Google Groups "TasmotaUsers" group.
To unsubscribe from this group and stop receiving emails from it, send an email to sonoffusers...@googlegroups.com.
To view this discussion on the web, visit https://groups.google.com/d/msgid/sonoffusers/6a85afff-1480-4bc8-8191-b7f35d5735ban%40googlegroups.com.
Reboot the device while in console (restart 1). Then cut and paste the console output from the restart until after it has connected to MQTT.
It doesn’t matter what hive thinks it’s what Tasmota thinks that’s important
Regards
Phil K
Sent from Mail for Windows
From: Ydb
Sent: 02 June 2022 10:38
To: TasmotaUsers
Subject: Re: Hivemq - Tasmota - Javascript
I installed Tasmota TLS version. But again it didn't.
I'm making the connection from https://websocketclient.hivemq.cloud/ for testing. It says connection successful. However, I cannot send or receive messages. I'm watching from the Tasmota console, there is no movement.
Do you know a link on how to communicate between websocket and tasmota?
1 Haziran 2022 Çarşamba tarihinde saat 21:51:32 UTC+3 itibarıyla knowles...@gmail.com şunları yazdı:
Well TLS isn’t supported in the standard builds so either disable TLS in hive or compile with TLS
From: Ydb
Sent: 01 June 2022 18:48
To: TasmotaUsers
Subject: Re: Hivemq - Tasmota - Javascript
Tasmota only connects when I type 1883. Tried all other port numbers, can't connect.
1 Haziran 2022 Çarşamba tarihinde saat 20:21:27 UTC+3 itibarıyla knowles...@gmail.com şunları yazdı:
To view this discussion on the web, visit https://groups.google.com/d/msgid/sonoffusers/f2ab5835-dee1-41d5-8a54-54b85f8356bdn%40googlegroups.com.