TwiceAsNice
2019-02-18
|
Functions | |
def | main () |
Variables | |
string | REMOTE_ROOT_NAME = "POWERMETERS.POWER_METERS" |
@brief This sapi script queries one power meters, prints the current measured value and then exits. The variable REMOTE_ROOT_NAME needs to be adapted to the basda service. Invocation example: sapi "--POWERMETERS.CONFIG:Endpoint=[NAME=PowerMeters.CONFIG, HOST=127.0.0.1, PORT=10031]" --PYTHON=./printPower_sapi.py
def printPower_sapi.main | ( | void | ) |
string printPower_sapi.REMOTE_ROOT_NAME = "POWERMETERS.POWER_METERS" |