This shows you the differences between two versions of the page.
localinterface [2011/09/26 14:59] paalsteek angelegt |
localinterface [2012/10/30 10:27] (current) |
||
---|---|---|---|
Line 3: | Line 3: | ||
<code>http://<ip address of the flukso>/sensor/<sensor id></code> | <code>http://<ip address of the flukso>/sensor/<sensor id></code> | ||
- | The flukso v2 requires additional parameters to be passed with the request | + | The flukso v2 requires additional parameters to be passed with the request. Please note that you have to use port 8080 to receive a downloadable file with the measurements in it. |
- | <code>http://<ip address of the flukso>/sensor/<sensor id>?unit=watt&interval=minute&version=1.0</code> | + | <code>http://<ip address of the flukso>:8080/sensor/<sensor id>?unit=watt&interval=minute&version=1.0</code> |
+ | |||
+ | You could use curl to access the file: | ||
+ | |||
+ | <code>curl --url "http://<ip address of the flukso>:8080/sensor/<sensor id>?unit=watt&interval=minute&version=1.0"</code> |