Hi,
It seems that you have MQTT publisher and MQTT gateway configured. If you are configuring the device for monitoring according to the wiki article that you have linked, you need to configure MQTT publisher (you have already configured it) and MQTT broker (not MQTT gateway like you have configured). If you are using some other broker, then make sure that you enter the correct information.
Then, you should be able to obtain the information via the Mosquitto using the commands provided in the Wiki article. For example, you subscribe via the following command (change according to your own settings):
- mosquitto_sub -h 192.168.1.1 -p 1883 -u test -P test123 -t router/id
Now that the subscriber is listening, publish from another client via the following command:
- mosquitto_pub -h 192.168.1.1 -p 1883 -u test -P test123 -t router/get -m id
With these commands, you should be able to obtain a serial number which you can then use to subscribe/publish and get the information about the router.
Kind Regards,
Andzej