To test, you can go to Developer Tools -> MQTT and in the Listen to a topic enter # and press start listening (this will listen to all topics). Now publish a message from another device to any topic you like and see if it shows anything. You can also check out this page for more info on MQTT testing
I am builidung a measurement and controller application for my aquarium with an Rpi that I can manage from HA.
For example, being able to give an order from the HA to the pi “start temperature measurement”.
And then get back a status and measurement value that I can further process in HA (storage in database, making images, etc.).
I build it up slowly.
First I want to send a meesage from HA via MQTT to the pi that starts a python script (I think via developers tools “publish a packet”?).
And then being able to send a message to HA from a python script and receive it there (I think through developers tools “listen to a topic”?).
Is this a good approach, or would you do it differently?