qHAWAX Module
The file shows the functions that register and request data related to the qHAWAX table.
qhawax.getIncaQhawaxInca()#
Gets qHAWAX Inca value.
Parameters:
- qhawax_name (string) - qHAWAX name
qhawax.getActiveQhawaxModeCustomer()#
Gets all active qHAWAXs that are in field in mode customer.
No parameters required
qhawax.updateIncaData()#
Saves qHAWAX Inca value.
Parameters:
name (string) - qHAWAX name
value_inca (integer) - qHAWAX inca value
qhawax.sendQhawaxStatusOff()#
Endpoint to set qHAWAX OFF because script detect no new data within five minutes.
Json input of following fields:
Parameters:
name (string) - qHAWAX name
qhawax_lost_timestamp (string) - the last time qHAWAX send measurement with timezone
description (string) - qHAWAX description
person_in_charge (string) - person who did this action
qhawax.sendQhawaxStatusOn()#
Sets qHAWAX ON due to module reset (sensors reset).
Json input of following fields:
Parameters:
name (string) - qHAWAX name
description (string) - qHAWAX description
person_in_charge (string) - person who did this action
qhawax.getTimeAllActiveQhawax()#
Gets time all active qHAWAX - Script
Parameters:
- name (string) - qHAWAX name
qhawax.createQhawax()#
Creates a qHAWAX
Json input of following fields:
Parameters:
name (string) - qHAWAX name
qhawax_type (string) - qHAWAX type (STATIC or AEREO)
description (string) - qHAWAX description
person_in_charge (string) - person who did this action
qhawax.qhawaxChangeToCalibration()#
qHAWAX update to Calibration mode, set main inca -2 value.
Json input of following fields:
Parameters:
qhawax_name (string) - qHAWAX name
description (string) - qHAWAX description
person_in_charge (string) - username who change mode
qhawax.qhawaxEndCalibration()#
qHAWAX update end calibration mode, set main inca original, depends of mode (custome or stand by).
Parameters:
qhawax_name (string) - qHAWAX name
person_in_charge (string) - username who change mode
qhawax.getQhawaxProcessedLatestTimestamp()#
Gets qHAWAX Processed Measurement latest timestamp.
Parameters:
- qhawax_name (string) - qHAWAX name
qhawax.getQhawaxValidProcessedLatestTimestamp()#
To get qHAWAX Valid Processed Measurement latest timestamp.
Parameters:
- qhawax_name (string) - qHAWAX name
qhawax.getQhawaxStatus()#
Gets qHAWAX status
Parameters:
- qhawax_name (string) - qHAWAX name