Hello
I used HiveMQ for some applications and reasons, for example external MQTT Server to which I can connect IOT devices that I don't want to see on my local network.
To retreive data from HiveMQ cluster, I use Paho (python mqtt client) and ssh transfer data to FHEM.
I didn't try to use MQTT2 FHEM tools for this job because it seems that Hive used MQTT protocol version 5 which was not compatible with MQTT2_SERVER (thread from this forum date 2020).
My solution works well but seems to me a little bit complicated.
Does anyone here have a better solution to integrate Hive cluster services to FHEM ?
Thanks for your attention
Olivier
It is still true, that both MQTT2_SERVER and MQTT2_CLIENT are not implementing protocol version 5, but I would be surprized, if HiveMQ would not be able to support version 3.1.1 clients.
Zitat von: olivierbardot am 08 Februar 2023, 20:54:58
I didn't try to use MQTT2 FHEM tools for this job because it seems that Hive used MQTT protocol version 5 which was not compatible with MQTT2_SERVER (thread from this forum date 2020).
HiveMQ currently supports MQTT 3.1, 3.1.1 and MQTT 5. Please try MQTT2_CLIENT.
@rudolf
@christoph
Thanks for your answer !
I should have tried with MQTT2_CLIENT so ...
Best regards
Olivier
MQTT2_CLIENT works fine with HiveMQ broker
It seems that :
- MQTT protocol version (3.1.1) (attr mqttVersion)
- SSL (attr SSL)
have to be specified for the stability of the opened connection