Returns a json object containing data about the Flite controller.
-
URL
/getControllerInfo
-
Method:
GET
-
Success Response:
- Code: 200
Content:{"id": "5WfDzd0feF", "version": "1.3.1"}
- Code: 200
-
Error Response:
- Code: 404 NOT FOUND
- Code: 404 NOT FOUND
-
Sample Call:
curl 192.168.1.123/getControllerInfo
curl 5WfDzd0feF.local/getControllerInfo
Returns a json object containing the sensors that are currently active in this Flite controller.
-
URL
/getSensorsSelected
-
Method:
GET
-
Success Response:
- Code: 200
Content:{"black": true, "blue": false, "red": false, "green": false}
- Code: 200
-
Error Response:
- Code: 404 NOT FOUND
- Code: 404 NOT FOUND
-
Sample Call:
curl 192.168.1.123/getSensorsSelected
curl 5WfDzd0feF.local/getSensorsSelected
Returns a json object containing the interval and units at which the controller reads the sensors.
-
URL
/getSensorsUpdateInterval
-
Method:
GET
-
Success Response:
- Code: 200
Content:{"interval": "300", "units": "seconds"}
- Code: 200
-
Error Response:
- Code: 404 NOT FOUND
- Code: 404 NOT FOUND
-
Sample Call:
curl 192.168.1.123/getSensorsUpdateInterval
curl 5WfDzd0feF.local/getSensorsUpdateInterval
Returns a json object representing the current values and units for a connected Black Flite Sensor.
-
URL
/getValuesBlack
-
Method:
GET
-
Success Response:
- Code: 200
Content:{"level": "4.4", "levelUnits": "Gallons", "temperature": "75.1", "temperatureUnits": "DegF", "pressure": "0.1", "pressureUnits": "PSI"}
- Code: 200
-
Error Response:
- Code: 404 NOT FOUND
- Code: 404 NOT FOUND
-
Sample Call:
curl 192.168.1.123/getValuesBlack
curl 5WfDzd0feF.local/getValuesBlack
Returns a json object representing the stored zero pressure offset and units for a connected Black Flite Sensor.
-
URL
/getZeroPressureBlack
-
Method:
GET
-
Success Response:
- Code: 200
Content:{"pressure": "14.6", "pressureUnits": "PSI"}
- Code: 200
-
Error Response:
- Code: 404 NOT FOUND
- Code: 404 NOT FOUND
-
Sample Call:
curl 192.168.1.123/getZeroPressureBlack
curl 5WfDzd0feF.local/getZeroPressureBlack
Returns a json object representing the stored temperature offset and units for a connected Black Flite Sensor.
-
URL
/getTempOffsetBlack
-
Method:
GET
-
Success Response:
- Code: 200
Content:{"temperature": "7.5", "temperatureUnits": "DegF"}
- Code: 200
-
Error Response:
- Code: 404 NOT FOUND
- Code: 404 NOT FOUND
-
Sample Call:
curl 192.168.1.123/getTempOffsetBlack
curl 5WfDzd0feF.local/getTempOffsetBlack
Returns a json object representing the stored high and low calibration coefficients for a connected Black Flite Sensor. Level high and level low represent the volume (in units provided) when the corrseponding calibration was performed. Distance high and distance low represent the distance away from the sensor when the corrseponding calibration was performed.
-
URL
/getLevelCalBlack
-
Method:
GET
-
Success Response:
- Code: 200
Content:{"levelLow": "0.0", "levelHigh": "4.3", "levelUnits": "Gallons", "distanceLow": "600.0", "distanceHigh": "165.0", "distanceUnits": "mm"}
- Code: 200
-
Error Response:
- Code: 404 NOT FOUND
- Code: 404 NOT FOUND
-
Sample Call:
curl 192.168.1.123/getLevelCalBlack
curl 5WfDzd0feF.local/getLevelCalBlack