Exporting item state to mqtt

Correct.

Two ways:

  1. Configure the Follow Profile on the link. Updates from the Channel get forwarded as commands to the second Channel Configure the MQTT Channel as the second.

  2. MQTT Event Bus [4.0.0.0;4.9.9.9]

This approach will be a lot less work than you think though.

First of all, you wouldn’t necessarily need extra Items and it would just be one rule.

  1. Add all the Items you care about to a Group
  2. Create a rule triggered by changes to the Group
  3. Use the MQTT binding publishMQTT Action to publish the state to a topic generated based on the name of the triggering Item.

It’d be like four lines of code. But 1 or 2 above would be even less work.