C# Mine
LightSensor_PPFDBase.SensorEdit Method

Allows for the update of the specific type of sensor.

public static void SensorEdit(ISensor sens, double? heartBeat, double? awareStateHeartBeat, int? assessmentsPerHeartBeat, double? minimumThreshold, double? maximumThreshold, double? Hysteresis, bool? EnableTemperatureCompensation, int? dliStartTime, int? measurementInterval, double? dliThreshold);
ISensor sens 
sens the Sensor object to be updated  
double? heartBeat 
How often the sensor communicates with the gateway if no activity recorded. 
double? awareStateHeartBeat 
How often the sensor communicates with the gateway while in Aware State. 
int? assessmentsPerHeartBeat 
How many times between heartbeats a sensor will check its measurements against its thresholds to determine whether it will enter the Aware State. Warning if your sensor firmware is less than Setting assessments greater than one will cause this sensor to not self elect follow a gateway to a new channel. if you reform your gateway you will need to power cycle the sensor for it to link on a new channel. 
double? minimumThreshold 
Sensor will report "No Light" if the light is below this threshold (NO AWARE BEHAVIOR) 
double? maximumThreshold 
Sensor will report "saturatated light" and go aware if the light level is above this threshold. 
double? Hysteresis 
Buffer value to prevent rapid transitioning between Aware States. To change states, the "Saturated Light Threshold" in addition to this buffer must be exceeded. 
bool? EnableTemperatureCompensation 
When enabled the sensor will apply a temperature compensation adjustments to the sensor transducer readings. If the sensor base is not in close to the same temperature environment as the element on the end of the lead recomend disabling temperature compensation. Temperature compensation has very little effect at 20 Celsius so if the environment will be kept in 20 C +/- 5 C then compensation will have less than a 1% impact on the sensor reading. If fast temperature swings that occur in less than 30 minutes are common in your application it is also recommended that temperature compensation be disabled. NOTE: The temperature element is in the sensor base, not in the light sensing element on the end of the lead. Since the temperature element is sealed in the sensor base, temperature response will be very slow and may not be well matched to what temperature the sensor is actually experiencing, keep this in mind when using temperature compensation. Behavioral note: When this config is sent to the sensor the sensor will reset PAR. 
int? dliStartTime 
Valid values 0-95. The value correlates to a UTC DateTime: 0 = 00:00 (Midnight), 1 = 00:15, 2 = 00:30,..., 52 = 13:00, ..., 95 = 23:45. At this time each day the sensor will reset the PAR DLI accumulation to 0. Sensor will report total 24 hour PAR accumulation at the reset time indicated. PAR DLI will reset to zero and on the next heartbeat the sensor will report the PAR DLI since the reset. This configuration will not automaticaly adjust for daylight savings. That will require a manual adjustmet if desired. Behavioral note: When this config is sent to the sensor the sensor will reset PAR. 
int? measurementInterval 
Frequency, in minutes, of PPFD measurements used to calculate PAR DLI. Behavioral note: When this config is sent to the sensor the sensor will reset PAR. 
double? dliThreshold 
Sensor will go aware and report when the PAR DLI value goes above this threshold. Behavioral note: When this config is sent to the sensor the sensor will reset PAR. 
Copyright (c) 2022. All rights reserved.
What do you think about this topic? Send feedback!