Hi and thanks, with that page you gave me make it easy to search and did find this
MQTT Broker Bridge to HiveMQ Cloud - Configuration - Home Assistant Community
what I can see in the log it is ok but not sure.
When i add the mqtt in the Automations it does not show anything
I know the connector from MQTT and Agent DVR works when I run a client but is this wrong??
action: mqtt.publish
metadata: {}
data:
evaluate_payload: false
qos: "1"
retain: false
topic: agentdvr/commands
payload: cmd=detect&ot=2&oid=6