I am running EmonCMS on a separate RPi (192.168.60.6). Now I want to post several values from my feeds to my already running MQTT broker running on a different RPi (192.168.60.5)
My broker is working correctly. It receives data from my EmonESP and some other ESP’s.
I configured my emoncms/settings.php:
//3 #### MQTT // The 'subscriber' topic format is rx/* - where * is the emoncms input node number. // The 'publisher' topic format is user selectable from the 'Publish to MQTT' input process, for example power/solar $mqtt_enabled = true; // Activate MQTT by changing to true $mqtt_server = array( 'host' => '192.168.60.5', 'port' => 1883, 'user' => '', 'password' => '', 'basetopic'=> '/emon', 'client_id' => 'emoncms' );
My broker does not require username or password. I added “publish to MQTT” in my process list
but unfortunately my broker doesn’t get any data on /emon/emoncms/#
I don’t know where to look