I’m currently having pimatic running and try to push some sensor data by using the pimatic-log-reader. I have an ESP8266 running which is sending some UDP data to pimatic.
I used netcat to pipe the UDP message into a log file, but it would be nice to use a named pipe instead.
Is it possible to read a named pipe instead of a logfile?
I have no idea how improve LineByLineReader(@config.file) which is used to read the logfile.
Maybe someone can help or give me a hint howto read UDP data.