Monnit Mine Java
ContentsIndexHome
PreviousUpNext
CTPowerBase.UpdateSensorProfileConfig1 Method
Syntax
Java
public static void UpdateSensorProfileConfig1(Sensor sens, Boolean Accumulate, double kWhLED, double awareMaxPowerThreshold, double maxPowerThreshold, Boolean sendSensorUpdate);
Parameters 
Description 
Sensor sens 
the Sensor object to be updated  
double kWhLED 
kWh LED will flash every time this many Wh are accumulated. Saving this as 0 will turn off the LED  
double awareMaxPowerThreshold 
If the sensor is aware and power accumulation is less than this value the sensor will become not aware.  
double maxPowerThreshold 
if the sensor is not aware and power accumulation exceeds this value in a single standard heartbeat the sensor will become aware and report immediately  
Boolean sendSensorUpdate 
a Boolean flag that lets the sensor know if it should send up the new configuration 
accumulate 
This will cause the kWh reading to accumulate.  

 

sets all data for the ProfileConfig1 configuration available on the sensor  

 

Copyright (c) 2016. All rights reserved.
What do you think about this topic? Send feedback!