Hi there all,
how can I have the topic IP for all topic messages please ?
I mean, I just want to see the IP of every client that send a topic
Thanks all
Denis
Hi there all,
how can I have the topic IP for all topic messages please ?
I mean, I just want to see the IP of every client that send a topic
Thanks all
Denis
Afaik that’s not part of the message. You’ll have to use logging on the server and check there.
I just put this 2 lines on the conf. page of Mosquitto broker and then reload it
But I see nothing new on the topics.
log_type: all
log_dest: topic
How and where can I see every topic in some log file and how can I do in order to see the IP please ?
Thanks a lot for the help
Denis
log_dest topic
means that all your logs will be sent to a topic. This is great if you’re actively looking for them, but, if you want historical information, a log file is better.
I also start mosquitto in verbose mode in the portainer console
in order to see Hassio MQTT docker using: mosquitto -v
But I can’t understand from where the msg. topic arrive
What I see is something like:
1609839882: Received PUBLISH from 5KX5TJ8psygKIlVqvzLZhI (d0, q0, r0, m0, ‘luce.garage/cmnd/POWER’, … (2 bytes))
But I don’t understand who is “5KX5TJ8psygKIlVqvzLZhI”
What I want in order to understand who is send a strange topic from some
home device is at last have the topic client IP.
Is there possibility to have that IP please ?
Thanks a lot for the help
Denis