How to "trigger" an mqtt topic to read another topic

:frowning_face: This is not how MQTT is supposed to work. The device should just publish the voltage value. It shouldn’t require the subscribers to do anything to get the value.

If you want to do anything with the Channels you must link them to Items.

Not in this case I think.

On first thought, assuming you have more than one of these devices:

  • Create a Generic Thing for each device. Have a Channel for the refresh topic, the value topic, and any other topic provided/used by that device.
  • Link Items to all the Channels you care about. The refresh Channel should probably be a Switch type. then you can sendCommand(ON) to it and it will publish the empty message to the refresh topic in response.
  • Add all the Items linked to the refresh topic to a Group:Switch.
  • Create a Time cron triggered Rule that periodically sendComman(ON) on the Group. The command will be forwarded to all the members of the Group, which will result in the message being sent to the refresh topic and in turn the devices will publish the value to the state topic which will be received by OH and the Items updated. I believe this trigger type works in the NGRE PaperUI Rules UI.

Step back a second. You are trying to run before you can walk. Review How to get started (there is no step-by-step tutorial). Your struggles are because you lack an understanding of how OH works. In particular, the relationships between Things, Items and Rules.