How to send mqtt data with home assistant to hivemq cloud?

Hello. I have three Zigbee tyua sensors and I want to send mqtt data to hivemq cloud using Home Assistant. I think this can be arranged using zigbee2mqtt and a python script that will forward the data to hivemq. Can you suggest the best solution how to organize this?

Maybe

1 Like

Do I understand correctly that it is possible to republish data from zigbee2mqtt to hivemq?

Ah no. HA only supports a single mqtt broker.
What are trying to achieve, exactly, i.e. why do you need 2 brokers?

Thanks for the answer. I have connected the sensors to zigbee2mqtt and want to automatically publish their temperature, humidity and battery values to hivemq. Can I do this with some tool like MQTT automation or websocet in Home Assistant?

Actual question is: Why can’t you just connect Zigbee2MQTT to hivemq?
Or are you just using addons and not understanding my question?

setup a MQTT bridge

1 Like