Legacy Outputs (Air and Sky) should not be created unless the hardware needs them. A toggle should be added to the configuration to configure these versus the new output structure.
|
public class TempestConfig extends SensorConfig { |
|
|
|
/** |
|
* The unique identifier for the configured sensor (or sensor platform). |
|
*/ |
|
@DisplayInfo.Required |
|
@DisplayInfo(desc = "Serial number or unique identifier") |
|
public String serialNumber = "myTempestDevice"; |
|
|
|
@DisplayInfo(desc = "Legacy devices refer to the discontinued WeatherFlow AIR and SKY sensors that were replaced by the all-in-one Tempest weather station") |
|
public boolean legacyDevice = false; |
|
|
|
@DisplayInfo(desc = "Communication settings for receiving Tepest json Messges (e.g. UDP, TCP, serial)") |
|
public CommProviderConfig<?> commSettings; |
|
} |
Legacy Outputs (Air and Sky) should not be created unless the hardware needs them. A toggle should be added to the configuration to configure these versus the new output structure.
osh-addons/sensors/weather/sensorhub-driver-tempest/src/main/java/org/sensorhub/impl/sensor/tempest/TempestConfig.java
Lines 26 to 40 in 6914782