I have a WiFi module sending sensor data (every 1 second) from an Arduino Via UDP to a my RPi where I’m running an instance of Telegraf. I’ve setup the socket_listener input in the telegraf config.
The Arduino seems to be sending the UDP packets fine.
Telegraf says:
[inputs socket_listener] Listening on udp://[: :]:8888
I’m expecting to see data coming through, but I don’t see anything in the window.
Also when I query the influx database that its supposed to be writing to there are no results.
Be great if anyone on here has any pointers please?
This is now default, but it didn’t fix the issue unfortunately.
FYI I also have a similar post on Arduino forum to look at that side of it.
I guess the main difference from the Socket Listener example (in my case at least) is nc is using wired ethernet and the Arduino is using WiFi. Maybe some udp testing over WiFi. Could be some setting on my router maybe.