powerapi
powerapi copied to clipboard
tcp connection to communicate with sensor in daemon mode
This pull request is associated with the pull request on hwpc-sensor. I added the daemon report (tcp server), on the sensor.
Here I added client tcp to read from the sensor. And output tcp to write into a tcp server the result of the formula (power report, formula report).
So the new options are :
- For input,
--input tcp -U url -P port -m model -n name - For output
--output tcp -U url -P port -m modelThe output url is for accepted urls.